Triggering OSD while having any game open, makes my screen to turn black. #14828
Unanswered
Reason7322
asked this question in
Bugs - Renderer
Replies: 3 comments 3 replies
|
It also happens if i do not run any kind of shell, a Steam notification can trigger that behavior as well. |
0 replies
|
This is expected behaviour with DS enabled, monitor is simply modesetting because the app went fullscreen and notification goes over it. Either disable DS or dont have any popups.
|
3 replies
|
Hey would you be able to check if your issue might be caused by the same things as my issue? #15881 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello.
Ever since ive swapped my config from hyprlang to lua ive been dealing with a bug that makes my screen to go black anytime i trigger an audio pop up, while using Noctalia shell.
Whenever i have a game open(it doesnt matter if its a native linux game, or one running through proton, it doesnt matter if its running through xwayland, gamescope makes no difference, fullscreen vs borderless makes no difference either) and then i trigger an audio volume popup, my screen goes black for a ~second, and when im done adjusting the volume, the popup dissappears, and my screen goes black again for a ~second. However, if the game has HDR on, the screen doesnt go black, the colors, the saturation, the contrast gets changed instead.
The only way to prevent this, is by removing/commenting out this config line in my hyprland config:
direct_scanout = true
hyprland.txt
systeminfo.txt
When i was using hyprlang for my config, it never has happened.
Ive reported this issue to Noctalia devs - noctalia-dev/noctalia#2695 (comment)
I obviously do not have to use Noctalia shell, but it used to work without an issue in the past.
Ive tried troubleshooting it with Claude, everything below this point has been written by it:
Bug: Brief black screen when OSD/layer surface appears while any game is running
System:
Description:
Whenever any game is running and a layer surface appears (Noctalia volume OSD in this case), the screen briefly goes black for a fraction of a second before returning to normal. This happens consistently and repeatedly every time the OSD is triggered.
Reproduction steps:
What was tested and ruled out:
The one consistent distinguishing factor that remains unexplained:
glmark2-wayland does not trigger the bug under any tested condition (windowed, fullscreen, with or without GameMode, native Wayland). Every actual game triggers it regardless of compatibility layer, window mode, or launch method. The specific difference between glmark2 and a game process that causes this has not been identified.
Relevant hyprctl clients output:
glmark2 (does NOT trigger bug):
Slay the Spire 2 (triggers bug):
NFS Most Wanted 2005 via Wine (triggers bug):
L4D2 native Wayland (triggers bug):
Note: glmark2 fullscreened via compositor keybind also shows
overFullscreen: 1but still does not trigger the bug, sooverFullscreenalone is not the trigger either.Conclusion:
Since the bug is absent on the same hardware under KDE Plasma but present under Hyprland, and survives all the above variable eliminations, the cause appears to be in Hyprland's handling of layer surface compositing when a game-class window is present. The specific code path that differs between glmark2 and an actual game process has not been identified and likely requires compositor-level instrumentation to find.
All reactions