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

            Bug ID: 409040
           Summary: Framerate decreases rapidly in Wayland on nVidia with
                    proprietary drivers
           Product: kwin
           Version: 5.16.1
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: carlon.l...@gmail.com
  Target Milestone: ---

Performance of kwin on Wayland on nVidia GM107GLM [Quadro M1200 Mobile]
(proprietary drivers) is much worse than performance on X11. Animations seem to
have a lower framerate and seem to degrade more severely with the number of
open applications.

STEPS TO REPRODUCE
It is very simple to notice. Just move around a window and you should see the
difference. However this is a test I made to quantificate.
1. Enable some effects like wobbling windows and animations on
minimize/maximize.
2. Enable the overlay with the framerate chart.
3. Open a window with many widgets, like System Settings -> Desktop Behavior ->
Desktop Effects.
4. Move the window around, the window should deform and become
semi-transparent.

OBSERVED RESULT
In X11, framerate is typically 60fps. While moving the window as reported
above, the framerate remains properly at 60fps. Result is excellent.
In Wayland, framerate quickly decreases and is around 30fps or lower while
moving the window. Actually, I don't even need to move the window: just move
the pointer over the window and framerate decreases.

EXPECTED RESULT
I'd expect Wayland to be no worse than X11, and of course not to halve the
framerate.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.04
KDE Plasma Version: 5.6.1
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
I guess this is not related, but I had to patch both kwin and Qt because of
this bug: https://bugs.kde.org/show_bug.cgi?id=406180. So my current setup
includes those two patches.
Also I had to set:

export __GL_MaxFramesAllowed=1
export PLASMA_USE_QT_SCALING=1

because of other kwin bugs.

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

Reply via email to