CPU usage seems excessive

This is not a new problem, but once again KDE Plasma running on Wayland is causing excessive CPU usage. I switched back to X11, which is more stable, but it has its own issues. Moving a browser window to another monitor or resizing it causes delays of several seconds. Similar delays occur when launching applications or opening files.

I also got the following message:

amdgpu: DRM version is 3.49.0, but this driver is only compatible with 3.54.0 (kernel 6.6+) or later.

MESA: error: amdgpu: ac_query_gpu_info failed.

[VAAPI @ 0x564968cc8900] libva: /usr/lib/dri/radeonsi_drv_video.so init failed

[VAAPI @ 0x564968cc8900] Failed to initialise VAAPI connection: 2 (resource allocation failed).

Device creation failed: -5.

Failed to set value 'vaapi=vaapi0:' for option 'init_hw_device': Input/output error

Error parsing global options: Input/output error

My guess is that this is a kernel-related issue. Do you have any experience with this kind of problem or any ideas about what might be causing it?


Mod edit: Removed blockquote and added code formatting.

can you report

inxi -Fza 
sudo mhwd-kernel -li 
sudo journalctl -b0 | grep amdgpu

I solved it in the meantime. It was definitely an issue with the old kernel.

That’s the output of glxinfo -B:

name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.54, 6.6.141-1-MANJARO) (0x744c)
    Version: 26.1.1
    Accelerated: yes
    Video memory: 24576MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 22390 MB, largest block: 22390 MB
    VBO free aux. memory - total: 15757 MB, largest block: 15757 MB
    Texture free memory - total: 22390 MB, largest block: 22390 MB
    Texture free aux. memory - total: 15757 MB, largest block: 15757 MB
    Renderbuffer free memory - total: 22390 MB, largest block: 22390 MB
    Renderbuffer free aux. memory - total: 15757 MB, largest block: 15757 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 24576 MB
    Total available memory: 40584 MB
    Currently available dedicated video memory: 22390 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7900 XTX (radeonsi, navi31, ACO, DRM 3.54, 6.6.141-1-MANJARO)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 26.1.1-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 26.1.1-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 26.1.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Mod edit: Removed blockquote and added code formatting. :wink:

Which kernel were you using, and which kernel resolved the issue? This information may be helpful to others who encounter a similar issue.

2 Likes

The error literally told you it was an old kernel issue. But unfortunately you haven’t specified which kernel you were using so anyone else with the same issue can easily resolve it.

2 Likes

… and not with KDE Plasma, or Wayland; or with the Update, for that matter. The topic title has been changed to reflect the actual problem noticed, which updating your kernel solved.