Xorg has high CPU and GPU usage

The xf86-video-amdgpu provides tear free for non-composited xorg setups, which the modesetting driver doesn’t. xf86-video-amdgpu" is the xorg driver.

Edit: If not installed you run on modesetting

1 Like

Now you’re trying to confuse me! Here’s my inxi -G - which seems to show that modesetting is unloaded, and amdgpu is the driver. :thinking:

inxi -G
┌18:45:02 WD= [~]
└───freebird@nest ─▶$ inxi -G
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu
           v: kernel
           Display: x11 server: X.Org 1.21.1.1 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa resolution:
           1: 3840x2160~60Hz 2: 1800x2400~60Hz
           OpenGL: renderer: AMD Radeon RX 580 Series (POLARIS10 DRM 3.42.0 5.14.16-zen1-1-zen LLVM 12.0.1) v: 4.6 Mesa 21.2.4

No …Display or Xorg is using amdgpu . Modesetting is unloaded. Do you have xf86-video-amdgpu installed?

Edit: I don’t have it installed

[ricklinux@arch ~]$ pacman -Qi xf86-video-amdgpu
error: package 'xf86-video-amdgpu' was not found
[ricklinux@arch ~]$ 

On mine it is using modestting on xorg

[ricklinux@arch ~]$ inxi -Ga
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel
           bus-ID: 03:00.0 chip-ID: 1002:1636 class-ID: 0300
           Device-2: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo bus-ID: 1-3:3 chip-ID: 04f2:b6f1
           class-ID: 0e02 serial: 0001
           Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: modesetting unloaded: vesa
           alternate: ati,fbdev display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
           Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9") diag: 355mm (14")
           OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.14.16-arch1-1 LLVM 12.0.1) v: 4.6 Mesa 21.2.4 direct render: Yes
[ricklinux@arch ~]$ 

Or am i confused? :thinking:

Edit: This is on my laptop with Ryzen 4700U

Edit2 Okay …on my RX590 desktop

[ricklinux@eos-kde ~]$ inxi -Ga
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: Gigabyte
           driver: amdgpu v: kernel bus-ID: 2d:00.0 chip-ID: 1002:67df class-ID: 0300
           Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver: loaded: amdgpu,ati
           unloaded: fbdev,modesetting,vesa display-ID: :0 screens: 1
           Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.5x10.9") s-diag: 523mm (20.6")
           Monitor-1: DVI-D-0 res: 1680x1050 hz: 60 dpi: 90 size: 473x296mm (18.6x11.7") diag: 558mm (22")
           OpenGL: renderer: AMD Radeon RX 590 Series (POLARIS10 DRM 3.42.0 5.14.16-arch1-1 LLVM 12.0.1) v: 4.6 Mesa 21.2.4
           direct render: Yes
[ricklinux@eos-kde ~]$ 

Edit3: xf86-video-amdgpu is installed on here.

[ricklinux@eos-kde ~]$ xf86-video-amdgpu
bash: xf86-video-amdgpu: command not found
[ricklinux@eos-kde ~]$ pacman -Qi xf86-video-amdgpu
Name            : xf86-video-amdgpu
Version         : 21.0.0-2
Description     : X.org amdgpu video driver
Architecture    : x86_64
URL             : https://xorg.freedesktop.org/
Licenses        : custom
Groups          : xorg-drivers
Provides        : None
Depends On      : systemd-libs  mesa
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : xorg-server<1.20.0  X-ABI-VIDEODRV_VERSION<25  X-ABI-VIDEODRV_VERSION>=26
Replaces        : None
Installed Size  : 165.78 KiB
Packager        : Laurent Carlier <lordheavym@gmail.com>
Build Date      : Sat 06 Nov 2021 06:13:59 AM
Install Date    : Tue 09 Nov 2021 05:59:19 PM
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

[ricklinux@eos-kde ~]$ 

@freebird54

Am i wrong about this? :thinking: Now you got me thinking?

I’m shooting in the dark; I don’t know much about graphics. But I’ve had this issue 2 times (once on EnOS and once on Mint). Both times, it was the Gtk theme at fault. Switching to a different Gtk theme solved it for me. You could try it, switch to the default Adwaita theme and see if the CPU usage comes down.

If you didn’t change your Gtk theme recently or it hasn’t been updated, you probably don’t need to worry about this.

I see no sign of either modesetting on my system. (this is the 7 - 3700x +_ Rx580 setup). The xf86 is installed, but apparently not in use (inxi says v kernel, which I take as meaning the kernel version of the driver is in use. I guess I could try removing it, and see what happens!

On my other machine. it does not say v kernel, so I think that means the xf86 version IS in use - and that I have tearfree set for it (that system is using integrated AMD graphics on a Ryzen 5 2400G). No problems on either setup though - but then again I don’t have any hybrid stuff on my desktops!

I just know it’s an Xorg driver and on my Arch laptop Ryzen 4700U it isn’t installed. I’m going to install it and see what it shows.

Yes…now it shows amdgpu loaded and modesetting unloaded for xorg

Edit: The graphics card shows amdgpu obviously on both my laptop and tower in either case.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.