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

            Bug ID: 408668
           Summary: Hardware acceleration does not work in kwin_wayland
           Product: kwin
           Version: 5.14.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: eug...@shatsky.net
  Target Milestone: ---

SUMMARY
Hardware acceleration does not work in kwin_wayland.

STEPS TO REPRODUCE
Launch kwin_wayland, directly or via dbus-run-session startplasmacompositor,
run some apps.

OBSERVED RESULT
High CPU usage, low FPS, capable apps reporting llvmpipe driver being used.

EXPECTED RESULT
High performance similar to kwin_x11 or weston, with no noticeable CPU usage in
non-demanding apps, GPU-specific GL driver being used by apps.

SOFTWARE/OS VERSIONS
Operating System: NixOS 19.03.172866.4649b6ef4b5
KDE Plasma Version: 5.14.5
Qt Version: 5.12.0
KDE Frameworks Version: 5.54.0
Kernel Version: 4.19.49
OS Type: 64-bit
Processors: 4 × Intel® Xeon® CPU E3-1225 V2 @ 3.20GHz
Memory: 15.4 GiB of RAM

ADDITIONAL INFORMATION
This problem may be specific to NixOS with its non-canonical filesystem
hierarchy, however I think there should be at least some code to log useful
info about whatever steps required to use hardware acceleration and make it
available to clients have failed. I've tried various args and env vars, didn't
get anything.
I've also tried running apps under kwin_wayland with env captured in weston, no
luck.
I noticed that unlike weston and kwin_x11, kwin_wayland has its /proc/<pid>/
contents owned by root. Probably capabilities related, not sure if it matters.
/dev/dri/card0 is opened, as expected.
I've got 2nd GPU in my system, but it's blacklisted and passed to VM.

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

Reply via email to