https://bugs.kde.org/show_bug.cgi?id=493148

            Bug ID: 493148
           Summary: Plugging in Valve Index VR headset freezes screen and
                    blocks inputs - error: kwin_wayland[1174]:
                    kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error
                    generated. <image> and <target> are incompatible
    Classification: Plasma
           Product: kwin
           Version: 6.1.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: scene-opengl
          Assignee: kwin-bugs-n...@kde.org
          Reporter: joni.hil...@yahoo.de
  Target Milestone: ---

SUMMARY

Some background that is connected to the issue:
Due to Nvidia driver issues, when booting my system, sometimes my Valve Index
VR headset gets initialized in an unusable state where it isn't recognized by
SteamVR. To re-initialize it into a usable state I have to unplug it's power
cable and then plug it back in.
This is also discussed here: https://bugs.kde.org/show_bug.cgi?id=487938

Now my "real" issue:
Whenever I plug back in the VR headset's power cable to re-initialize it, the
screen freezes and no mouse/keyboard inputs are registered anymore. I also
can't switch to a TTY (e.g. Ctrl+alt+F3).
If I leave a youtube video playing before plugging in the headset, it's sound
continues playing but the screen including the video freezes. Pausing the video
doesn't work because inputs aren't registered anymore.
If I unplug the VR headset's power cable the screen unfreezes and everything
works again.

ADDITIONAL INFORMATION:
- I can hear KDE's "device connected" jingle twice before the screen locks up.
- ssh to the PC after the freeze works fine and it responds to commands.
- I found the following errors being spammed into journalctl multiple times per
second while the system is locked up:
Sep 15 11:00:08 linuxjoni04 kwin_wayland[1174]: kwin_scene_opengl: 0x502:
GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
Sep 15 11:00:08 linuxjoni04 kwin_wayland[1174]: kwin_scene_opengl: Invalid
framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Sep 15 11:00:08 linuxjoni04 kwin_wayland[1174]: kwin_wayland_drm: Checking test
buffer failed!
Sep 15 11:00:08 linuxjoni04 kwin_wayland[1174]: kwin_scene_opengl: 0x502:
GL_INVALID_OPERATION error generated. <image> and <target> are incompatible

(see attached journalctl --boot 0 for full journal)


STEPS TO REPRODUCE
1. Boot PC & Log in
2. Plug in VR headset
3. Try to move mouse or type anything on keyboard

OBSERVED RESULT
-> Screen freezes and no inputs are registered anymore

EXPECTED RESULT
-> Being able to continue using the PC with the headset plugged in

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-2-cachyos-lto (64-bit)
Graphics Platform: Wayland
Processors: 24 × 13th Gen Intel® Core™ i7-13700K
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090 Ti/PCIe/SSE2
Manufacturer: ASUS

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to