-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam notifications crash gamescope when the output size is set too large #1690
Comments
Since this involves Steam, it may be helpful to include Steam's logs folder as well. Grabbed this command from the steam-for-linux template: |
steam-logs.tar.gz |
interestingly, notifications on big picture mode do not cause the crash on my machine but they do on normal mode. |
@ThomasPrzybylinski So this is likely the point at which it crashes for you based off the timeline you provided:
I'm no Steam expert but I'm not really seeing anything in your logs within Steam to indicate it's a Steam crash. If possible, it would be helpful to get a backtrace with symbols for gamescope, at least until I get home in a couple weeks and try to repro this. If your distro supports debuginfod, you should be able to use @Quince-Pie I'm assuming you're also on NVIDIA? Or what is your setup like? |
|
I am on AMD
Update: debug build bt: |
thanks, I see the crash on my own ROG Ally X as well now with
@misyltoad any ideas on what could be going on here? I'm pretty sure you should be able to repro this on SteamOS Main w/ Plasma Wayland. I tried all our standard ConVar options (disabling explicit sync, no DMA-BUF modifiers, surface_update_force_only_current_surface) and none of them seem to make a difference. I also tried @sharkautarch's various branches for the hangs we've been working on without any success. |
Mmm looks like there’s some issue that’s making the Wayland input thread call |
I vaguely remember someone w/ a custom Wayland compositor complaining about gamescope crashing when gamescope was given a {0,0} geometry or something |
AHHH yes so the message
Note the 0 in
|
@ThomasPrzybylinski @matte-schwartz @Quince-Pie Let me know if that fixes all of the steam notification issues, and if so, I will make a PR to fix this issue |
@sharkautarch Thanks! |
Good to hear that the branch fixes the crash I heard from matt that he also says it fixes the crash, but apparently the steam notifications are still invisible, so I would like to also try to address that as well, if I can, before making a PR with the fix |
I made another branch in an attempt to fix the remaining issue w/ the steam notifications window being invisible: |
The _v2 is crashing for me again, unfortunately. Running with WAYLAND_DEBUG=1, I assume this error is the reason: Just for the record, I was able to see the notifications show up in the previous branch. |
Hmmm weird, because it shouldn't be going against the spec, but maybe the spec is actually wrong? Let me know if v2 now works the same as v1 for you
Hmm interesting, could perhaps be due to matt using steam with a different set of params than you or something |
I'll doublecheck in a bit just to be safe, but all I ran was |
@matte-schwartz |
Yes. Looks like v2 works correctly for me now. |
@ThomasPrzybylinski |
for me, notifications started working once I also specified a width rather than only using |
Misyl, the official valve-contracted gamescope dev (note that she works on other valve projects too), told me that she’s planning on reviewing my pr that fixes this issue today or tomorrow (actually not sure which because of timezone-related ambiguity). |
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
Gamescope mostly works fine for me, but Steam notifications cause it to crash for me, both in Steam and during gameplay (e.g. achievements).
Fiddling around it seems like it has to do with setting an output size too large. My monitor and desktop resolution is 1440p, so that's what I normally set gamescope to, but it stops crashing if I set it smaller (largest I tried that worked was 1340p)
Steps To Reproduce
Hardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
Example run (this one might be running at a weird resolution like 1399)
Console output: gamescope.txt
Zip of core dump: core.zip (I don't think this had debugging symbols, so may be of limited use)
The text was updated successfully, but these errors were encountered: