gamescope icon indicating copy to clipboard operation
gamescope copied to clipboard

Crash on Steam Deck (Beta) when disconnecting HDMI (with refresh rate set below 60)

Open bziemons opened this issue 2 years ago • 6 comments

I am getting a gamescope crash when I was in a game and disconnected HDMI from an external USB C dock.

See the following gist for a backtrace:

https://gist.github.com/bziemons/5525e82ddd004c20733f7ea4a2afcf01

Do you need any other information?

bziemons avatar Jul 09 '22 12:07 bziemons

Do you have any info on the version of SteamOS you were using at the time and maybe send the coredump? I can grab symbols from the version at the time and check what assert it was.

I have tried to reproduce here doing a bunch of in/out cycles constantly on my HDMI on the dock and was not able to reproduce.

misyltoad avatar Jul 16 '22 01:07 misyltoad

@Joshua-Ashton the package installed from jupiter-beta is 3.11.33.beta1-3

I just produced a fresh coredump for you: core.gamescope.1000.5656fcfc311f486396292327ed0474ed.1098.1658146055000000.zip

A question on the side, if you happen to know: is there a way to get debuginfod on the Steam Deck to work (or otherwise get debug symbols without self-compiling)?

bziemons avatar Jul 18 '22 12:07 bziemons

There is a gamescope-debug package.

Thanks for the dump! I'll try and check it out now :)

misyltoad avatar Jul 19 '22 01:07 misyltoad

The abort is this:

				if ( g_DRM.current.mode_id == 0 )
				{
					xwm_log.errorf("We failed our modeset and have no mode to fall back to! (Initial modeset failed?): %s", strerror(-ret));
					abort();
				}

misyltoad avatar Jul 19 '22 02:07 misyltoad

There is a gamescope-debug package.

Thanks :) Maybe too obvious for me.

I have tried to reproduce here doing a bunch of in/out cycles constantly on my HDMI on the dock and was not able to reproduce.

@Joshua-Ashton since you have trouble reproducing this issue, I did a little bit of testing: First I thought it might have been the resolution or FSR upscaling, but setting the game's resolution to the Deck's native resolution and switching scaling to linear did not help. I did, however, find out the setting gamescope started crashing with: setting the refresh rate in the performance setting below 60. Maybe you can reproduce the issue by changing that setting? Otherwise it might also be my hardware... I can live with setting the refresh rate to 60 when using the HDMI output, though.

There is also a special when setting the refresh rate to exactly 50, but that's for another issue.

bziemons avatar Jul 19 '22 16:07 bziemons

Thanks, refresh sounds like a good lead

misyltoad avatar Jul 19 '22 17:07 misyltoad