ppy / osu-stable-issues

Report critical osu-stable issues here
59 stars 11 forks source link

Intel GPU drivers starting from v30.0.101.19xx break exclusive fullscreen on Windows #1082

Open navidmafi opened 1 year ago

navidmafi commented 1 year ago

Environment

cpu : Intel 11400H gpu : Intel UHD Graphics Xe 16EUs (Tiger Lake-H) os : Windows 10 LTSC 2021 build 21H2 with latest updates osu version : b20230119cuttingedge

Problem

It looks like exclusive fullscreen is not working on stable with the v30 and v31 series driver. I encountered this after a 4 month break and a windows re-install after that.

Not using exclusive fullscreen is very "feelable" and results in noticeable cursor input delay, noticable DWM gpu overhead and windows UI elements showing in-game

Disabling Microsoft's fullscreen optimizations at a global level (registry) and app level program compatibility settings) did not change anything

Rolling back to Intel driver v27.20.100. 9466 allows the game to capture exclusive fullscreen.

Using directx renderer (compatibility mode) with v27, v30 and v31 also allows the game to capture exclusive fullscreen, but with more stutters and windows "night light" filter being bypassed.

game generated logs didn't seem to include anything useful, but feel free to ask for it or any other useful logs.

image

Image 1 : The game is still in focus (rendering at 126fps). but task manager is shown and being updated. this wouldn't be possible if FSE capture worked as intended

smoogipoo commented 1 year ago

Seems like a duplicate of https://github.com/ppy/osu-stable-issues/issues/412

Can you test if it works in osu!lazer? I tried to fix this originally but it's not a simple one.

navidmafi commented 1 year ago

lazer shows the error that it "couldn't enter FSE" but looks like it does since no window (or anything) can overlay it. Also input latency is around what you would expect. So I assume it works on lazer.

I actually read that issue before opening this but it was moved to lazer repo as a discussion for some reason?

Also the issue author stated that the regression (if you call it) happened at 26.20.100.7000 when 27 series and actually some of the 30.101 series work fine (my bad for the misleading title since I'm still DDUing and testing every driver version to exactly pinpoint the issue)

I'll try to narrow down the issue to a specific driver version if it helps and update the issue.

navidmafi commented 1 year ago

Driver version 30.0.101.1960 seems to be the first version that introduces this issue

igfx_win_101.1660 and before work fine and osu! can capture FSE and render with much lower latency and higher performance on those versions.

based on this download list:

https://www.techpowerup.com/download/intel-integrated-graphics-drivers/

navidmafi commented 9 months ago

compatibility mode works fine as long as the GL device is the integrated graphics and not the Optimus dGPU

all of the above was tested using the iGPU and nvidia GPU disabled