josdemmers / Diablo4Companion

A companion app for Diablo IV to help you find your perfect gear affixes.
MIT License
207 stars 35 forks source link

Cursor Flickering #112

Open curtiola opened 2 weeks ago

curtiola commented 2 weeks ago

First, it wouldn't let me download a preset until I turned on debug mode, the download button was just greyed out. Now, it seems it only scans bottom left of my screen, no matter what 1440p preset I choose. When I'm in game it just constantly makes my cursor flicker. It works when I select a 1080p preset and move D4 to my other monitor.

D4Companion_eHvkcFwpIf

Perhaps this is somehow because my 2nd non-primary monitor is 1080p? Or that my 1440p monitor is 165Hz?

josdemmers commented 2 weeks ago

Hi @curtiola

First, it wouldn't let me download a preset until I turned on debug mode

You can't update the preset while the overlay is active. The button will be enabled when you turn it off.

image

Now, it seems it only scans bottom left of my screen, no matter what 1440p preset I choose.

That is normal. It only needs the bottom part to find the tooltip.

image

The other debug images will have a complete view of the tooltip.

When I'm in game it just constantly makes my cursor flicker.

Not sure about this one. Any other overlays active?

It works when I select a 1080p preset and move D4 to my other monitor.

Could you try a 1440p preset again that matches your font settings? Then check the debug window if it recognizes the Shift key.

curtiola commented 2 weeks ago

Apologies, it is working properly when I select the small font preset. I must have screwed up when I was testing it. Though it's still flickering, and I'm not using any other overlays at the moment. I tried reducing the refresh rate to 60 to match my other monitor, no luck.

josdemmers commented 2 weeks ago

If you like to do some testing and have some time. You could disconnect your other monitor and only use the 1440p one. Just to test if that influences the flickering.

I'm also using two monitors, but both at 1440p, no mouse flickering ingame. But now that you mention it I do notice some flickering while I'm typing this message.

When is your mouse cursor flickering, ingame? Or only outside the game when you the normal windows cursor?

josdemmers commented 2 weeks ago

If it's only outside the game you can quickly turn the overlay on/off using the hotkeys. image

curtiola commented 2 weeks ago

When the overlay is enabled it flickers in and out of the game, on both monitors. Unplugging the 1080p monitor has no effect, though unplugging the 1440p one completely removes the flicker. It's a Benq EX2710Q, HDR is off. No DLSS or NVIDIA Reflex settings are enabled in game. I tried plugging it into a different displayport just in case, no difference.

I'm totally fine with disabling the overlay until it's time to sort through my stash dumps.

curtiola commented 2 weeks ago

I found the culprit, it's Discord!

Edit: No idea why, hardware acceleration is off, so is the game overlay setting. I use Better Discord and I tried disabling the theme and all the plugins but it still flickered. Also curious why unplugging the 1440p 165Hz monitor would fix the issue.

josdemmers commented 2 weeks ago

Thank you for the extra details! If I find some more info on how Discord is causing issues I'll let you know.

Also curious why unplugging the 1440p 165Hz monitor would fix the issue.

Maybe g-sync is causing problems?

curtiola commented 2 weeks ago

Oh, it does! Disabling G-SYNC stops the flicker in game, now it's just flickering when I Alt Tab

Edit: Nevermind, it still flickers in game too, just seems a lot less noticible.

curtiola commented 2 weeks ago

Appreciate this overlay a ton btw, stash sorting is so much faster now, solid idea, excellent execution. Flickering isn't really an issue, it's easy enough to just enable it when I need it.

josdemmers commented 2 weeks ago

Good to hear, glad you like it. I'll keep this issue open for others that experience flickering as well.