[AMDGPU] wayland shows higher power usage compared to xorg while idling
Affected version
Fedora 35
mutter-41.1-1.fc35.x86_64
Bug summary
Tested using an AMD RX6800 GPU with a single display (3440x1440) running at 100Hz on both sessions. The sessions were freshly started and left for 60 seconds before starting the log. Starting the log is the last user interaction (screensaver/auto lock is disabled).
In a 5 minute test period (did this two times with very similar results):
- Both sessions jitter almost the exact same time (about 53 seconds) before going into a common idle.
- Before that common idle xorg jitters around 7 watts, while wayland jitters around 20 watts.
Steps to manually reproduce
- Login to gnome-shell (using Xorg or wayland session)
-
watch sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info
2.1) Look for clocks and average GPU power usage
System information
System: Host: mershl-desktop Kernel: 5.15.4-201.fc35.x86_64 x86_64 bits: 64 compiler: gcc
v: 2.37-10.fc35 Desktop: GNOME 41.1 tk: GTK 3.24.30 wm: gnome-shell dm: GDM
Distro: Fedora release 35 (Thirty Five)
CPU: Info: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 2 rev: 0 cache:
L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 115208
Speed: 2200 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 1: 2200
2: 2198 3: 2100 4: 2052 5: 2201 6: 2229 7: 2795 8: 2224 9: 2056 10: 2061 11: 1865
12: 2800 13: 1864 14: 2249 15: 3596 16: 3648
Graphics: Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu v: kernel
bus-ID: 0a:00.0 chip-ID: 1002:73bf
Display: wayland server: X.Org 1.21.1.3 compositor: gnome-shell driver:
loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa
resolution: 3440x1440~100Hz s-dpi: 96
OpenGL: renderer: AMD Radeon RX 6800 (SIENNA_CICHLID DRM 3.42.0
5.15.4-201.fc35.x86_64 LLVM 13.0.0)
v: 4.6 Mesa 21.2.5 direct render: Yes
Edited by Mershl