Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High GPU usage after suspend with scene wallpaper on dual monitor setup #192

Open
abstractionmage opened this issue Jun 21, 2022 · 2 comments

Comments

@abstractionmage
Copy link

abstractionmage commented Jun 21, 2022

Describe the bug

If I have scene wallpapers on any one of my two displays, suspend my PC and wake it up again, my GPU usage becomes unusually high (up to 99% while idle, depends on the scene wallpaper) and my Plasma desktop session gets a bit laggy. The issue persists until I either reboot or replace any of those scene wallpapers with any other wallpapers (including other scene wallpapers).

Workshop link

Evening Shinjuku view is especially bad, but the issue affects all scene wallpapers on my machine.

System Information

  • Kde: 5.25.0
  • Qt: 5.15.5
  • OS: Manjaro
  • Installation Source: AUR plasma-5-wallpaper-engine-without-mpv-git

Additional context

Web and Video wallpapers seem to be working fine.

Screenshot of gpu usage before and after suspension with "Evening Shinjuku view" scene wallpaper on my primary display:
gpu load before and after suspend, screenshot from aroun's Load Overview page in Plasma System Monitor

inxi log:

$ inxi -Fxxxz
System:
  Kernel: 5.15.48-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    Desktop: KDE Plasma v: 5.25.0 tk: Qt v: 5.15.5 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG STRIX B350-F GAMING v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 5603
    date: 07/28/2020
CPU:
  Info: 6-core model: AMD Ryzen 5 1600 bits: 64 type: MT MCP smt: enabled
    arch: Zen rev: 1 cache: L1: 576 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 1586 high: 2407 min/max: 1550/3400 boost: disabled
    cores: 1: 2188 2: 1293 3: 1349 4: 1361 5: 1928 6: 1334 7: 2407 8: 1360
    9: 1343 10: 1367 11: 1754 12: 1359 bogomips: 81629
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Vega 10 XL/XT [Radeon RX 56/64] vendor: Sapphire
    driver: amdgpu v: kernel arch: GCN 5 pcie: speed: 8 GT/s lanes: 16 ports:
    active: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2 bus-ID: 0a:00.0
    chip-ID: 1002:687f class-ID: 0300
  Device-2: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:5 chip-ID: 045e:0779
    class-ID: 0102
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.2
    compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
    s-diag: 1055mm (41.54")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: primary,left
    model: Samsung S24F350 serial: <filter> res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.5") modes: max: 1920x1080
    min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI-A-1 pos: primary,right model: Sharp HDMI
    res: 1920x1080 dpi: 59 size: 820x460mm (32.28x18.11") diag: 940mm (37")
    modes: max: 1920x1080 min: 720x400
  OpenGL:
    renderer: AMD Radeon RX Vega (vega10 LLVM 13.0.1 DRM 3.42 5.15.48-1-MANJARO)
    v: 4.6 Mesa 22.1.1 direct render: Yes
Audio:
  Device-1: AMD Vega 10 HDMI Audio [Radeon 56/64] driver: snd_hda_intel
    v: kernel pcie: bus-ID: 1-1:2 chip-ID: 046d:0a4d speed: 8 GT/s lanes: 16
    class-ID: 0300 bus-ID: 0a:00.1 chip-ID: 1002:aaf8 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 0c:00.3 chip-ID: 1022:1457
    class-ID: 0403
  Device-3: Logitech G430 Surround Sound Gaming Headset type: USB
    driver: hid-generic,snd-usb-audio,usbhid
  Device-4: Microsoft LifeCam HD-3000 type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-2.2:5 chip-ID: 045e:0779
    class-ID: 0102
  Sound Server-1: ALSA v: k5.15.48-1-MANJARO running: yes
  Sound Server-2: PulseAudio v: 16.0 running: no
  Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: anbox0 state: down mac: <filter>
Drives:
  Local Storage: total: 3.09 TiB used: 876.03 GiB (27.7%)
  ID-1: /dev/sda vendor: Western Digital model: WD20EZRZ-00Z5HB0
    size: 1.82 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-2: /dev/sdb vendor: Patriot model: Burst size: 223.57 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 61.2 scheme: GPT
  ID-3: /dev/sdc vendor: Crucial model: CT1000BX500SSD1 size: 931.51 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 030 scheme: GPT
  ID-4: /dev/sdd vendor: Samsung model: HD160JJ size: 149.05 GiB
    speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0-33 scheme: MBR
Partition:
  ID-1: / size: 211.29 GiB used: 97.18 GiB (46.0%) fs: ext4 dev: /dev/sdc5
  ID-2: /boot/efi size: 96 MiB used: 30.4 MiB (31.6%) fs: vfat
    dev: /dev/sdc1
Swap:
  ID-1: swap-1 type: partition size: 19.26 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb1
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 66.0 C
    mem: 54.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1465
Info:
  Processes: 488 Uptime: 3m wakeups: 1 Memory: 15.56 GiB
  used: 3.39 GiB (21.8%) Init: systemd v: 251 default: graphical Compilers:
  gcc: 12.1.0 clang: 13.0.1 Packages: 1791 pacman: 1765 flatpak: 23 snap: 3
  Shell: fish v: 3.4.1 default: Zsh v: 5.9 running-in: yakuake inxi: 3.3.19
@Jelgnum
Copy link
Contributor

Jelgnum commented Jun 21, 2022

The AUR package you are using is an out of date fork of this addon, while this could still be a problem with the main commit we cannot be sure because of how dated that fork is.
I would test this myself but my system is not set up with suspend in mind. You can try contacting the maintainer of the AUR package or you can update to the current main and see if that fixes it.

@abstractionmage
Copy link
Author

Updating to the main version seemed to improve the issue, but not fix it entirely:
gup usage after update to main version
The default animation for switching between virtual desktops still stutters a little bit after suspending, but opening and closing windows with the Burn-My-Windows desktop effects enabled is as smooth as ever. Not too annoying anymore imo, but not perfect either.
Btw. I can't reproduce this bug on my Lenovo Thinkpad L13 Yoga (with an integrated intel gpu), so it might be hardware-specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants