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

            Bug ID: 448818
           Summary: Wayland display image freezes on multi-GPU VA-API
                    usage
           Product: kwin
           Version: 5.23.90
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 145661
  --> https://bugs.kde.org/attachment.cgi?id=145661&action=edit
VLC plasma 5.23.90 full log - see at end for error

SUMMARY
The display freezes showing a static image.

This happens on a system with a dedicated AMDGPU and Intel iGPU. AMD is the
main card with all monitors connected. The iGPU is only used for certain apps
to utilize the integrated media encoder/decoder. For example VLC is started
with `DRI_PRIME=1 /usr/bin/vlc`.

STEPS TO REPRODUCE
1. Launch VLC with `DRI_PRIME=1 /usr/bin/vlc`
2. Start playing a video
3. Double click the video to trigger fullscreen

OBSERVED RESULT

The app goes fullscreen and display image freezes. The screen is still "there",
so you can move the mouse over and interact with its content, but the display
is never updated. Error:

kwin_wayland_drm: drmModeAddFB2WithModifiers on GPU "/dev/dri/card1" failed for
a buffer with format XR24 and modifier 0 Invalid argument
kwin_wayland_drm: Atomic commit failed! This should never happen! Device or
resource busy

EXPECTED RESULT

The display image shouldn't freeze. This was working as expected in plasma
5.23.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.15.15-237-tkg-bmq (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11400 @ 2.60GHz
Memory: 31,2 GiB of RAM
Graphics Processor: AMD Radeon RX 5500 XT

ADDITIONAL INFORMATION
This happens not only with VLC but other applications started via `DRI_PRIME=1`
, e.g. Firefox (wayland mode) switching a video to fullscreen. 

Fullscreen only triggers the issue immediately, often it runs fine in
non-fullscreen mode but freezes eventually.

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

Reply via email to