Bug 379866 - Sped-up animations on nVidia system
Summary: Sped-up animations on nVidia system
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.5
Platform: Neon Linux
: NOR grave
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 17:21 UTC by abhigenie92
Modified: 2017-07-30 22:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abhigenie92 2017-05-15 17:21:54 UTC
**Issue details:**

Whenever I install nvidia drivers on my issue. 

 1. The icon-only Task manager animations are super fast, not smooth. 
 2. When I boot my PC, CPU usage is 100%! 
 3. When I boot my PC, the kde boot screen flashes several times and loading wheel animation is super fast not smooth.

Reproducibility: It happens always.
**Related Issues:**

It might relate to these, but I am not sure. (Listed in decreasing order of relevance.):


 1. https://github.com/psi-im/psi/issues/249#issuecomment-301460795 
 2. https://bugs.kde.org/show_bug.cgi?id=288065
 3. https://devtalk.nvidia.com/default/topic/571813/linux/nvidia-100-cpu-usage-pls-help-me-it-is-very-important-/

**Hardware details:**

    inxi -F
    System:    Host: neon Kernel: 4.8.0-51-generic x86_64 (64 bit) Desktop: KDE Plasma 5.9.5
               Distro: neon 16.04 xenial
    Machine:   System: HP (portable) product: HP Pavilion Notebook v: Type1ProductConfigId
               Mobo: HP model: 80A4 v: 91.1D Bios: Insyde v: F.79 date: 04/14/2016
    CPU:       Dual core Intel Core i7-6500U (-HT-MCP-) cache: 4096 KB 
               clock speeds: max: 3100 MHz 1: 499 MHz 2: 499 MHz 3: 499 MHz 4: 499 MHz
    Graphics:  Card-1: Intel Sky Lake Integrated Graphics
               Card-2: NVIDIA GM108M [GeForce 940M]
               Display Server: X.Org 1.18.4 driver: nvidia Resolution: 1920x1080@59.93hz
               GLX Renderer: GeForce 940M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 381.22
    Audio:     Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel Sound: ALSA v: k4.8.0-51-generic
    Network:   Card-1: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be
               IF: wlo1 state: up mac: 68:14:01:23:d3:83
               Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller driver: r8169
               IF: eno1 state: down mac: 70:5a:0f:25:69:96
    Drives:    HDD Total Size: 500.1GB (72.3% used) ID-1: /dev/sda model: Samsung_SSD_850 size: 500.1GB
    Partition: ID-1: / size: 443G used: 322G (77%) fs: ext4 dev: /dev/sda2
               ID-2: swap-1 size: 17.01GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
    RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
    Sensors:   System Temperatures: cpu: 40.5C mobo: N/A gpu: 43C
               Fan Speeds (in rpm): cpu: N/A
    Info:      Processes: 276 Uptime: 4:57 Memory: 5796.1/15885.7MB Client: Shell (fish) inxi: 2.2.35 

**Nvidia-drivers I use(installed using ubuntu-drivers autoinstall):**

    sudo dpkg -l | grep nvidia
    ii  nvidia-381                                      381.22-0ubuntu0~gpu16.04.2                   amd64        NVIDIA binary driver - version 381.22
    ii  nvidia-opencl-icd-381                           381.22-0ubuntu0~gpu16.04.2                   amd64        NVIDIA OpenCL ICD
    ii  nvidia-prime                                    0.8.2                                        amd64        Tools to enable NVIDIA's Prime
    ii  nvidia-settings                                 381.22-0ubuntu0~gpu16.04.1                   amd64        Tool for configuring the NVIDIA graphics driver
Comment 1 abhigenie92 2017-05-15 18:13:26 UTC
Video showing the issue:
https://vimeo.com/217543616
0:03-0:04- Kde boot screen animation rotating wheel not smooth, too fast.
0:05-0:06- Screen flasjes for no reason.
0:35 - High CPU on CPU 2 usage 92%
0:43 -High CU usage on graph
0:55 onwards icon-manager fast not smooth animation.

I would like to add the 100% CPU usage happens from time to time. That is, even after startup.
Comment 2 Fang He 2017-07-06 10:57:44 UTC
I have the same problem. I am using PRIME with

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1)

After enabling NVIDIA kernel mode setting by adding nvidia-drm.modeset=1 to kernel parameter, the problem is solved.

Some information:
OS: Arch Linux
Kernel: x86_64 Linux 4.11.9-1-ARCH
DE: KDE 5.35.0 / Plasma 5.10.3
CPU: Intel Core i7-6700HQ
GPU: GeForce GTX 965M
Comment 3 David Edmundson 2017-07-06 11:50:04 UTC
Can both of you list your Qt versions please.
Comment 4 David Edmundson 2017-07-06 21:37:02 UTC
Please reset the status to unconfirmed when you reply.
Comment 5 Fang He 2017-07-07 01:30:03 UTC
Qt: 5.9.1
nvidia: 381.22
xf86-video-intel: 1:2.99.917+777+g6babcf15
Comment 6 Fang He 2017-07-07 01:33:30 UTC
Seems that I do not have privileges change the status.
Comment 7 Christoph Feck 2017-07-17 16:09:05 UTC
Thanks for the update; changing status.
Comment 8 David Edmundson 2017-07-19 09:56:37 UTC
Can you try closing plasmashell (kquitapp5 plasmashell) and reporting on both the following:

QSG_FIXED_ANIMATION_STEP=yes plasmashell 

QT_QUICK_BACKEND=software plasmashell
Comment 9 Fang He 2017-07-21 14:00:15 UTC
Sorry that I switched to Intel graphics card due to hot summer, and I switched to i3wm as well. I can not test your solutions right now.
Comment 10 David Edmundson 2017-07-30 22:52:18 UTC
Then we can't continue debugging this. Closing.