Which chain in the desktop stack is responsible for this?

I’ve been running a vanilla GNOME desktop (wayland) on Arch Linux for about a year now and each time this happens it catches me off guard and I was wondering if it has something to do with Mutter, with Proton/Wine or something else.
I’m trying to find where to submit this specific issue I’ll describe below.

I play Diablo 2 Resurrected, not officially supported on Linux of course so the Battle.net launcher I added as a non-steam game to launch.
Game runs great.

Now here’s the kicker.
I often connect my Tuxedo laptop to an external screen with HDMI and close the laptop lid while gaming which works great, but sometimes I want to move from my office to somewhere else in the house so I open up the laptop lid again, disconnect the external monitor while the game is still running and it leaves Diablo and the rest of my desktop in a frozen state.

Nothing responds to key or mouse input, audio does keep playing and the automatic scaling of the game back to the laptop resolution doesn’t seem to go quite right as seen below:

I have to hold the power key to force shutdown and start it again since no amount of waiting or button mashing gets it unfrozen.

I think I also had this before when watching a YouTube video and doing the same procedure that it froze forever which makes me think it’s not specifically Proton/Wine related.

What would be the right place to submit this issue?

Thanks in advance :smile:

It could be a compositor issue, it could be a kernel issue, and it could be a OpenGL driver issue. I’d start with two things:

  • If you have another machine you can use to ssh into the frozen one, do so when having reproduced and run gdb -p $(pgrep -x gnome-shell -u $UID) then thread apply all backtrace to see if its stuck in a deadlock somewhere

  • Run with KMS debug logging enabled (Lookig Glass → Flags → KMS), then after reproducing, check if there is for example a missing page flip callback after a atomic commit.

Feel free to attach debug logs here, or open an issue.

1 Like

Thanks Jonas,
I’ll set it up and try it out in the coming days and report back.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.