ChimeraOS / chimeraos

A Steam Big Picture based couch gaming OS
MIT License
1.64k stars 115 forks source link

Games crash to black screen #707

Open Meowcantosh opened 1 year ago

Meowcantosh commented 1 year ago

System Specs: GPU: 7900xtx CPU: 7600x

Around a couple months ago (I think around the release of ChimeraOS 42) I started having crashes to a black screen after playing a bit in most games.

I've tried looking at my logs, but all I've found is a bunch of xprops segfaults due to the -set GAMESCOPECTRL_BASELAYER_APPID being empty (note: I think argc was 10 but I only saw 7 arguments in argv): Screenshot_20230802-042718_Gallery

It seems like those might be related to this commit? I'm not sure if that explains the crashes in general though.

Steam does come back up if I put it to sleep and then wake it, but the games themselves don't come back.

I tried rolling back to 41 / 42, but I ran into the same issues with both.

I also tried unlocking and updating the kernel, which fixed a separate issue I had with the steam ui being invisible in game, but it had no effect on stability. Removing the Nvidia drivers and resetting my motherboard settings also had no effect.

ibanezbass commented 1 year ago

Just an FYI, I see the xprops segfaults in dmesg on my fully working system, 6700xt/10700k. You might try updating to gamescope-git and mesa-git. You can do this by running pikaur -S gamescope-git mesa-git. I have to use gamescope-git to fix an HDR bug in the latest ChimeraOS versions.

Meowcantosh commented 1 year ago

Tried using mesa-git and gamescope-git, but ran into the same issue. I did see an aborted gamescope process in coredumpctl.

Also just thought it might be relevant that I'm using a caldigit display port 2.0 to HDMI 2.1 adapter so I can do stuff at 4k 120. I had an issue with it at 4k 120 once a while back, so I'll try testing some other resolution / refresh rates to see if that affects it any

Meowcantosh commented 1 year ago

I tried rolling back to 41 again and that seems to have resolved it. It also fixed a separate issue I had in Watch Dogs 2 where the shadows were constantly flashing

Meowcantosh commented 1 year ago

Ran into frozen shader compilation with SF6 on 41, so I tried upgrading to 42 again. At least for the bit I tested it I didn't see any crashes, but the visuals in Watch Dogs 2 became bugged again

Meowcantosh commented 1 year ago

Looks like it's a regression in Mesa 23, downgrading to 22.3.6 on the newest release fixed all my issues