IGCIT / Intel-GPU-Community-Issue-Tracker-IGCIT

IGCIT is a Community-driven issue tracker for Intel GPUs.
GNU General Public License v3.0
118 stars 4 forks source link

VRR not functioning properly above 165Hz #833

Open raidhy opened 3 months ago

raidhy commented 3 months ago

Checklist [README]

Game [Required]

Baldur's Gate 3

Game Platform [Required]

Other game platform

No response

Processor / Processor Number [Required]

AMD Ryzen 5 5600

Graphic Card [Required]

Acer BiFrost A770 16GB

GPU Driver Version [Required]

32.0.101.5768

Other GPU Driver version

No response

Rendering API [Required]

Windows Build [Required]

Windows 11 24H2

Other Windows build

No response

Intel System Support Utility report

igcit_ssu.txt

Description and steps to reproduce [Required]

VRR doesn't seem to be working properly in certain titles at refresh rates higher than 165Hz. I've replicated this behaviour in Baldur's Gate 3 (both DX11 and VK), Forza Horizon 4, and Battlefield 2042. Opening any of these games with any window type at a refresh rate of 270Hz results in a refresh rate that fluctuates seemingly randomly without regard to the in-game framerate. However, setting the refresh rate to 165Hz either in game or in Windows, VRR works as expected. This appears to always happen, regardless of if VRR is set to only fullscreen or fullscreen+windowed. Capping framerate manually or with VSync doesn't change the outcome.

The monitor is G-Sync Compatible and previously worked as intended with my 1660S. Arc Control shows a variable refresh rate range of 48-270Hz. Installing IGCC and turning off Adaptive Sync Plus appears to get VRR working as intended at 270Hz in the above titles, but my desktop is then stuck at 48Hz.

VRR for unsupported games is turned on in Windows. ReBAR and 4G are enabled and this was tested with a clean (DDU) installation of the latest drivers, though I've noted this behaviour on the previous drivers also.

I used Microsoft's Dynamic Refresh Rate Tool for the graphs below, and its output is identical to the values displayed by the monitor's OSD.

Screenshot 2024-08-07 220000 Working as intended when monitor is set to 165Hz in BG3 (VK), returning to 270Hz when alt-tabbing.

Screenshot 2024-08-07 220118 This is the graph for BG3 (VK) when at 270Hz, again tabbing out at the end.

Both of these were recorded while in the main menu (~105fps), but the issue persists throughout all gameplay for all the mentioned titles no matter what window type (Exclusive Fullscreen, Borderless Windowed, Windowed).

This isn't a universal issue as it seems to work as intended in CS2, though comes with it's own weird behaviour where my desktop sits at 180Hz after tabbing out of the game.

Screenshot 2024-08-07 221752 Working as intended in CS2 but then stuck at 180Hz when tabbing out.

Game graphic quality [Required]

Game resolution [Required]

2560x1440

Game VSync [Required]

Off

Game display mode [Required]

Detailed game settings [Required]

BG3 graphicSettings.txt

Device / Platform name

No response

Crash dumps [Required, if applicable]

No response

Save game

No response

mujeeb-intel commented 3 months ago

Hi @raidhy thanks for reaching out. I'm going to try to replicate this issue.

Can you just confirm if the following repro steps/understanding are right:

  1. Have a Monitor that has a capability of running more than 260hz? Anything lower than 260hz doesn't have this issue.
  2. Run forza horizon 4
  3. And observe the refresh rate fluctuating.
  4. Using a770 and windows 11

Is this all the replication steps?

raidhy commented 3 months ago

I'm unsure exactly when the problem arises as I don't have custom resolutions, so my refresh rate options go 165, 240, 270Hz. Only the former has functioning VRR, 240Hz also doesn't work from my experience. Other than that, those should be the steps, yes.

mujeeb-intel commented 3 months ago

Okay, sounds good. I think we have 144hz and 165hz as well. Not sure about the 260hz but I'll give it a shot and get back to you if I have any questions.

Thanks.

raidhy commented 3 months ago

Sorry if i wasnt clear. From my testing you won't run into the issue on a 165Hz screen. I think a 240Hz or higher would be necessary. I can try and see if the issue still arises at say 180Hz, but as far as I'm aware VRR functions correctly at 165Hz and you would need a higher refresh rate to test it.

mujeeb-intel commented 3 months ago

Ah! Okay. That helps narrowing it down. Yeah if you can test it at 180hz let me know. I'll start my hunt for a higher refresh rate monitor.

mujeeb-intel commented 3 months ago

Hey @raidhy any confirmation on 180Hz? Trying to understand exactly when this issue happens so I can easily replicate it.

Edit:1 and you are connected through display port?

raidhy commented 3 months ago

@mujeeb-intel Sorry, life has been in the way recently! I'm not sure of how much use the testing would be though as it would involve creating a custom resolution which may introduce its own issues.

Both displays are connected via displayport.

smylava commented 2 months ago

Hi @raidhy, We used a panel which supports highr RR like 240, 300 and 360 too and still unable to replicate the isuse, VRR functionality is as expected duting the gameplay. Is it possible for you to share the panel edid with which you are able to replicate the isuse?

raidhy commented 2 months ago

@smylava The panel I'm using is an Asus XG27AQM, which is 1440p 270Hz. Is the panel that you tested on a 1080p panel? I just tested again with Baldur's Gate 3 and found if I reduce panel resolution to 1080p then VRR works as expected even at 270Hz, so it appears to only break at high refresh rate + high resolution. I hope this helps.

raidhy commented 1 month ago

@smylava @mujeeb-intel Okay, so I did a little more testing and what I said above isn't actually the case - what is actually happening is that the reduction in resolution results in a framerate increase from ~105fps to ~150fps, and this increase then seems to allow VRR to function correctly. This would explain why it works in your testing (presumably at 1080p) and why it works in CS2 but not the other titles for me. I'm not sure at what exact framerate VRR stops working, but setting graphics all to low at 1440p 270Hz results in ~150fps and working VRR. My monitor supports 48-270Hz so 105fps shouldn't be a problem, as such I don't believe it to be the monitor that is the issue. Of course, this doesn't explain why it starts working again at 165Hz at 105fps. Perhaps it's the large discrepancy between the refresh rate and actual framerate? Hope this helps diagnose the problem.

raidhy commented 1 month ago

Further testing seems to point at the problem being any framerate that is lower than half of the refresh rate - getting a game (such as BG3 medium settings) to run at 135fps has it work at 270Hz, but anything lower doesn't - I also tested this with other refresh rates, ie 120fps at 240Hz is the limit etc. I've noticed that the most recent driver update is causing screen flicker when VRR is functioning properly, leading me to now have to disable adaptive sync completely.

mujeeb-intel commented 1 month ago

Hey @raidhy Thanks alot for your findings. This will really help us.

We need one help from you. We need to obtain the EDID for your monitor. Its super easy.

  1. Replicate your issue.
  2. Just search for "DispDiag.exr" in "This PC" and run it
  3. It will create a .dat file under dispdiag folder and you can share that with us.
raidhy commented 1 month ago

Here you go, sorry for taking a while - hopefully I did it correctly: dispdiag.zip (Also to clarify the .zip, github doesn't let me upload .dat)