Skip to content
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

Gamescope Session crashing when launching Desktop apps while a game runs. #4

Open
39sdev opened this issue Aug 30, 2024 · 7 comments
Open

Comments

@39sdev
Copy link

39sdev commented Aug 30, 2024

encountered a really bug that doesn't allow me to run Discord, Vesktop, Firefox or any desktop application in parallel with a game in the Gamescope session.

For example starting Vesktop (flatpak) or Firefox (native) as a non-steam game while another is already running consistently crashes the the entire session,
causing it to automatically restart after a 1m30s timeout during which I stare at a non-interactive tty.

I think it might be related to the desktop apps not having a fixed window size.
forcing a specific res in the properties doesn't help though.

tired looking at journalctl but I can only spot the coredump from the vesktop.bin process crashing.

My HW is a AMD Ryzen 7 8840U w/ Radeon 780M Graphics (16) @ 5,13 GHz

@39sdev 39sdev changed the title Gamescope Session crashing when launching Chromium/Electron App while a game runs. Gamescope Session crashing when launching Desktop apps while a game runs. Aug 30, 2024
@39sdev
Copy link
Author

39sdev commented Aug 30, 2024

Update: The issue seems to be related to the touchscreen, trying to invoke the maliit virtual keyboard when starting an app that has a textfield on it's lauchpage

edit: at least that was my theory. the virtual keyboard seems to be inactive though.
something is off with the touchscreen. (Display (BOE0B7B): 2560x1600 @ 165 Hz (as 1462x914) in 14″ )
Selecting a textfield via touch consistently causes the crash to happen.
Only while another game is already running in the background though.
very weird.

@GloriousEggroll
Copy link
Contributor

can you recheck this? gamescope has been updated and im not able to reproduce

@39sdev
Copy link
Author

39sdev commented Oct 9, 2024

Sorry about the late reply, as far as I am aware, it was still happening.

Cannot test it atm because as soon as I start anything the steam overlay or side panel stop responding to Ctrl 1 2, or the xbox button. :/

I may add another thing that might me related though:

My Tablet's Display is stuck at the maximum resolution.
When i try changing it, the screen begins to glitch out, flickering and showing static until the changes are reverted back automatically by KDE.
This is only happening on the main integrated display, external monitors work fine.

This also happens in the live environment.

I tested it on KDE Neon to see if its an issue with KDE Wayland, but it works fine there, even with the integrated display.

--
I'm on the handheld edition of Nobara specifically btw.

@GloriousEggroll
Copy link
Contributor

Sorry about the late reply, as far as I am aware, it was still happening.

Cannot test it atm because as soon as I start anything the steam overlay or side panel stop responding to Ctrl 1 2, or the xbox button. :/

I may add another thing that might me related though:

My Tablet's Display is stuck at the maximum resolution. When i try changing it, the screen begins to glitch out, flickering and showing static until the changes are reverted back automatically by KDE. This is only happening on the main integrated display, external monitors work fine.

This also happens in the live environment.

I tested it on KDE Neon to see if its an issue with KDE Wayland, but it works fine there, even with the integrated display.

-- I'm on the handheld edition of Nobara specifically btw.

which tablet? I have been using it with the minisforum v3 with no issues. Your issue sounds like it's specific to whatever graphics driver the tablet uses

@39sdev
Copy link
Author

39sdev commented Oct 9, 2024

it is in fact the minisforum v3... hm. now that is quite odd... especially since i experienced the same when booting from the live env.

speaking of graphics driver, I had issues running a game patcher program due to libGL errors telling me that drivers failed to load.
This's especially weird since they have explicit Steam Deck / Linux support.

Trying to run it in standalone wine or different Proton versions always prompted the same error.

I have posted the logs in this issue thread:
CommitteeOfZero/polyversal-coz-linux-patcher#31

Maybe this is somehow related?

pretty much all steam games I have tried to run till now work fine, so this seems especially confusing.

@GloriousEggroll
Copy link
Contributor

im on a fresh install on minisforum v3 and everything is running perfectly. That error is indicating that it's failing to find/run 32 OpenGL drivers:

libGL error: MESA-LOADER: failed to open radeonsi: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/swrast_dri.so: wrong ELF class: ELFCLASS64 (search paths /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast

Specitfically:

failed to open radeonsi: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/dri/radeonsi_dri.so: wrong ELF class: ELFCLASS64

It's trying to load 64 bit amd opengl drivers (radeonsi) but it wants 32 bit (wrong ELF class: ELFCLASS64). After that fails it tries the backup default (swrast) with the same result.

That's not related to umu but to where the application/script is looking for files.

As for apps -- I'm able to run Firefox and Vesktop just fine inside gamescope in parallel and switch between them just fine. Additionally we have added DeckyLoader as a default with the browser plugin and a few others added as well, which should function better on tablet than a standard firefox window.

I do recommend making sure your system is fully up to date as there have been a large amount of updates regarding handheld/gamescope quality of life improvements in the last few weeks.

@39sdev
Copy link
Author

39sdev commented Oct 10, 2024

Thanks for the valuable information.

Guess I'll just get a fresh image and see how it goes.
My current install is fully up to date but was always kinda quirky.
Like, the updater going over all quirk checks on every launch & sometimes prompting to reboot after flatpak updates only.

Is the Handheld iso the right choice for the V3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants