HGL
like-gold

Games render black screen, but alt-tab shows rendered images

I'm running OpenSuse Tumbleweed, fully updated (zypper, yast, discover, flatpak) running AMD, and since a few days ago, games that worked correctly, now have minor flicker during startup, but render nothing once the game is loaded. As in, black screen, no video. I can alt-tab out, and I can see the correct image when the game is non-focussed. I can hear audio, i can move, but nothing is rendered if the game is in focus. This first presented while playing Cyberpunk 2077, but it is replicable in other games (Surviving Mars Gog HGL and Graveyard Keeper STEAM). It's not hardware, as the same thing happens with a very old AMD card I have as a spare. What's weird is that in Cyperpunk, I can press [esc] and the menu renders with the faded out view of what's happening in the game, but when i exit the menu, the game renders black again. I tried to find some info but only managed to find issues similar to mine that blame a version of MESA, but that has since been resolved and I'm running a seemingly fixed version.
8 Replies
like-gold
like-goldOP5mo ago
Here's the log: https://0x0.st/886Z.log Here's Surviving Mars : https://0x0.st/886N.log
other-emerald
other-emerald5mo ago
%command% is never to be included in anything except Steam. you have it in both logs Surviving Mars is being run as a native app. it would probably be better if you used the Windows build. for both games, disable Steam Runtime, enable UMU
like-gold
like-goldOP5mo ago
I removed the env values from both, Enabled UMU, and disabled the steam runtime. Now, Surviving Mars won't even start (while steam runtime is disabled for it) and Cyberpunk shows no improvement either way.
rival-black
rival-black5mo ago
post logs
like-gold
like-goldOP5mo ago
Cyberpunk: https://0x0.st/885_.log Surviving Mars (no Steam runtime, won't even start): https://0x0.st/885L.log
other-emerald
other-emerald5mo ago
/usr/lib/i386-linux-gnu/GL/default/share/libdrm/amdgpu.ids: No such file or directory This leads me to think that you’re missing Mesa stuff in your flatpak runtimes
like-gold
like-goldOP5mo ago
How would I fix that? I don't understand why it would be missing, unless an update removed it. I've played around a bit, and I have found that using X11 instead of Wayland lets me play games (Heroic and Steam). Unfortunately, I don't know how to reverse this issue, as even updates to Mesa do not seem to change this bug. I would prefer to go back to Wayland however, as X11 has slightly different input handling.
like-gold
like-goldOP4mo ago
Reddit
From the openSUSE community on Reddit
Explore this post and more from the openSUSE community

Did you find this page helpful?