ValveSoftware / SteamVR-for-Linux

Issue tracker for the Linux port of SteamVR
919 stars 45 forks source link

KDE unresponsive if SteamVR started #583

Open aaronw2 opened 1 year ago

aaronw2 commented 1 year ago

If I start Steam VR and attempt to use my desktop all KDE applications become unresponsive. It is impossible to click on or use a KDE console, for example. If I take off the headset, clicking on any KDE button does not respond either.

Your system information

Steam 1682723851 OpenSUSE 15.4 Kernel 5.14.21-150400.24.64-default X Server Release 12003000 KDE Framework 5.105.0 Qt 5.15.8 Plasma Desktop 5.27.4

Non-beta Latest updates

System: AMD Ryzen Threadripper 1920X 12-core, stepping 0x1 NVidia GeForce RTX 3060 with driver 4.6.0 525.116.04 128GB RAM 3 monitors, 2x3840x2160 monitors, 1920x1200 monitor NVME hard drive (for Steam and OS).

VR: HTC Vive MV (lighthouse)

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Steps for reproducing this issue:

  1. Start Steam
  2. Start VR
  3. Enter VR Home
  4. Remove headset
  5. Try to interact with any KDE application

This is especially problematic if I attempt to run Neos VR since I need to access files on the desktop, i.e. copy/paste the random password I use. If anything goes wrong with SteamVR (which is not uncommon), my only recourse is to type Ctrl+Alt+F1 to exit X11 entirely and manually kill the VR processes because it is impossible to do anything with KDE in X11 until Steam VR is killed. If I had to guess, Steam VR is capturing all keyboard and mouse events before KDE can get them.

This problem started around a month ago. Before this, there were no problems.

megagtrwrath commented 1 year ago

Hello, I am having a similar issue [https://github.com/ValveSoftware/SteamVR-for-Linux/issues/582] Seeing as you are also using an Nvidia graphics card, I think the issue might be related. I am unable to downgrade my Nvidia driver at this time, but I have a feeling it might have been an Nvidia update that caused this to occur. Are you able to downgrade the driver?

System Information (please complete the following information): CPU: Ryzen 7 5800X RAM: 64GB GPU: 3070 TI Distribution: Endeavour OS KDE SteamVR version: 1.25.8 Steam client version: 1683944175 Opted into Steam client beta?: Yes Graphics driver version: 530.41.03 Gist for SteamVR System Information: (https://gist.github.com/megagtrwrath/b032b76a48bc3290fa08dcbc1d47968e)

Danielduel commented 1 year ago

It might help with narrowing down the core issue. Issue is NOT present on:

Full amd setup 5950X + 7900XTX, maybe latest nvidia has some issue? I have GTX 1080Ti around which I was using couple months ago (early January 2023 and before) with gnome+arch - steamvr was just smooth, sadly I don't remember which exact driver I was using. // https://www.nvidia.com/en-us/drivers/unix/linux-amd64-display-archive/

Steam 1682708537 Arch Kernel 6.3.1-arch2-1 xorg-server 21.1.8-1 KDE Framework (not sure which version to provide) Qt (qt-base) 5.15.9+kde+r151-1 Plasma Desktop 5.27.5 KWin

mesa 23.0.3-1 vulkan-radeon 23.0.3-1

Non-beta Latest updates

System: AMD Ryzen 5950X AMD RX 7900 XTX 32GB RAM single 5120x1440 monitor sata-based ssds

VR: Valve Index, running on 120Hz

aaronw2 commented 1 year ago

This is a bit difference in that the display doesn't stop. Non-KDE applications continue to work. For example, if I start xterm before starting Steam I can still access xterm. While the VR headset works, it tends to be very unstable and glitchy. It could very well be the latest Nvidia drivers though this happened with the previous Nvidia release as well. I can switch away from X and kill SteamVR and everything starts working again.