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

            Bug ID: 511022
           Summary: When running two concurrent Wayland seats (seat0 →
                    amdgpu, seat1 → nvidia-drm), both Plasma sessions
                    enumerate all DRM devices. As a result, the NVIDIA
                    kernel driver logs WARNs about "revoke modeset
                    permission", and both compositors occasionally crash.
    Classification: Plasma
           Product: kwin
      Version First 6.3.6
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

System
-------
• Debian 13, Plasma 6.3.6
• systemd 257
• Kernel 6.12.48
• NVIDIA 550.163.01, amdgpu (Ryzen 9 7950X iGPU)
• seat0: amdgpu + 1 monitor
• seat1: nvidia + 3 monitors

Symptoms
--------
- `journalctl` shows NVIDIA kernel warning:
  `nv_drm_revoke_modeset_permission+0x327/0x340 [nvidia_drm]`
- `kwin_x11` / `plasmashell` / `drkonqi` sometimes crash
- Chrome under Wayland SIGILLs repeatedly (GPU process)
- Disabling one GPU or running single-seat Wayland removes the issue

Expected
--------
Each KWin instance should restrict itself to the DRM device(s) belonging to its
own seat.

Diagnostics
-----------
`loginctl seat-status seat0/seat1` correctly lists devices, yet both
compositors still appear to open `/dev/dri/card0` and `/dev/dri/card1`.
Logs and kernel WARN attached.

Related upstream discussion
----------------------------
https://forums.developer.nvidia.com/t/multi-seat-wayland-amd-nvidia-causes-nv-drm-revoke-modeset-permission-warn-and-repeated-user-space-crashes/348845

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

Reply via email to