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

            Bug ID: 528708
           Summary: Laptop internal panel AMD iGPU doesn't display with
                    KWIN_DRM_DEVICES set to NVIDIA first on a hybrid
                    graphics laptop, fixed with KWIN_DISABLE_VULKAN=1 or
                    RADV_DEBUG=nodcc envvar
    Classification: Plasma
           Product: kwin
      Version First 6.8.2
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 198365
  --> https://bugs.kde.org/attachment.cgi?id=198365&action=edit
KWIN Journal with `QT_LOGGING_RULES="kwin_wayland_drm.debug=true"` envvar

DESCRIPTION
After updating to 6.8.2 upon boot with
`KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2` envvar set, the laptop's
integrated display using the AMD iGPU stays black with only a mouse cursor,
external display port display directly outputted from the NVIDIA GPU works as
normal. Setting `KWIN_DISABLE_VULKAN=1`  or `RADV_DEBUG=nodcc` envvars fixes
the issue.

STEPS TO REPRODUCE
1. Set `KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2` in `/etc/environment`
where card1 is NVIDIA dGPU and card2 is AMD iGPU
2. Reboot
3. Laptop screen stays blank with a mouse cursor, if external screen is
connected, login screen is shown on the external screen but laptop screen stays
blank.
4. To get it working: append `KWIN_DISABLE_VULKAN=1` or `RADV_DEBUG=nodcc` to
`/etc/environment`

OBSERVED RESULT
Blank integrated screen on boot, external screen displays normally

EXPECTED RESULT
Both screens display normally

SOFTWARE/OS VERSIONS
Operating System: CachyOS
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0

HARDWARE
AMD Cezanne Radeon Vega iGPU
NVIDIA RTX3080 dGPU

ADDITIONAL INFORMATION
bug 521716 seems similiar, however, its using a AMD dGPU and trying to boot
with `KWIN_DRM_USE_MODIFIERS=0` doesn't work, the other workarounds discussed
in the comments there also don't work.

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

Reply via email to