Are my gpus drivers installed correctly?

I want to make sure things drivers for both of my gpus Intel+AMD are installed because I’m experiencing slightly sluggish performance and I’m not sure if something is wrong with gpu or not

I run gnome 46 on wayland, and have a hybrid system of intel and AMD gpu on a laptop
I ran the following commands and got this:

$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620]
	DeviceName: Onboard - Video
	Subsystem: Dell Device 08c9
$ xrandr --listproviders
Providers: number : 0
$ DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: HAINAN (radeonsi, , LLVM 17.0.6, DRM 2.50, 6.8.9-arch1-2)

and when I tried checking dmesg and I get some results about “fence driver” for AMD that keep repeating through dmesg log

[ 7248.403053] [drm] ring test on 0 succeeded in 1 usecs
[ 7248.403060] [drm] ring test on 1 succeeded in 1 usecs
[ 7248.403065] [drm] ring test on 2 succeeded in 1 usecs
[ 7248.403073] [drm] ring test on 3 succeeded in 4 usecs
[ 7248.403081] [drm] ring test on 4 succeeded in 5 usecs
[ 7248.403196] [drm] ib test on ring 0 succeeded in 0 usecs
[ 7248.403310] [drm] ib test on ring 1 succeeded in 0 usecs
[ 7248.403417] [drm] ib test on ring 2 succeeded in 0 usecs
[ 7248.403432] [drm] ib test on ring 3 succeeded in 0 usecs
[ 7248.403444] [drm] ib test on ring 4 succeeded in 0 usecs
[ 7799.094036] [drm] PCIE gen 3 link speeds already enabled
[ 7799.102920] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[ 7799.103031] radeon 0000:01:00.0: WB enabled
[ 7799.103033] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00
[ 7799.103035] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04
[ 7799.103037] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08
[ 7799.103038] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c
[ 7799.103039] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10

what does that log mean and how do I make sure I’m using the correct drivers?

What does inxi -Ga show?

Hello, here’s the output of inxi -Ga

$ inxi -Ga
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3ea0
    class-ID: 0300
  Device-2: AMD Jet PRO [Radeon R5 M230 / R7 M260DX Radeon 520/610 Mobile]
    vendor: Dell driver: radeon v: kernel alternate: amdgpu arch: GCN-1
    code: Southern Islands process: TSMC 28nm built: 2011-20 pcie: gen: 3
    speed: 8 GT/s lanes: 4 link-max: lanes: 8 bus-ID: 01:00.0
    chip-ID: 1002:6665 class-ID: 0380 temp: 41.0 C
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:3 chip-ID: 0c45:671e
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: gnome-shell v: 46.1 driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x0802 built: 2018 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: amd radeonsi platforms: device: 0
    drv: radeonsi device: 1 drv: iris device: 2 drv: swrast surfaceless:
    drv: radeonsi wayland: drv: iris x11: drv: iris inactive: gbm
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.7-arch1.3
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
    GT2) device-ID: 8086:3ea0 memory: 7.44 GiB unified: yes display-ID: :0.0

Since it is a hybrid laptop it is rendering on Intel gpu.

API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.7-arch1.3
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
    GT2) device-ID: 8086:3ea0 memory: 7.44 GiB unified: yes display-ID: :0.0

It is a Southern Islands card so it should be using radeon which i see. You can set kernel parameters also if needed.

https://wiki.archlinux.org/title/AMDGPU#Set_kernel_module_parameters

Also how are you switching to use the amd gpu? You would need to use a method to do that such as optimus-manager or other method in order to render on the amd gpu.

I’m sorry I don’t know much about gpu drivers, I just wanted to make sure both drivers are installed correctly and they aren’t causing any problems.

It is a Southern Islands card so it should be using radeon which i see. You can set kernel parameters also if needed.

when do I need to set the kernel parameters as opposed to just sudo pacman -S needed-driver?

Also how are you switching to use the amd gpu? You would need to use a method to do that such as optimus-manager or other method in order to render on the amd gpu.

I haven’t tried running things through amd gpu yet. when I used fedora I could right click applications and choose run with the discrete gpu but not on endeavouros, is there any package I need to install?

what got me worried was the “fence driver” repeated messages in dmesg. do they indicate any sort of a problem?

thanks in advance!!

amdgpu is a kernel module automatically included so there are no drivers to install. If you aren’t having any issues i think you are probably good. You can set kernel parameters if need be.

amdgpu is the open source graphics driver for AMD Radeon graphics cards since the Graphics Core Next family. You card is a Southern Islands so follow section 2.2 to enable if needed.

https://wiki.archlinux.org/title/AMDGPU#Enable_Southern_Islands_(SI)_and_Sea_Islands_(CIK)_support

Edit: Keep in mind the install is using dracut so the last line in the wiki under 2.2.2.1 is not needed. You may have to set it in dracut. I’m not that familiar with it.

https://discovery.endeavouros.com/installation/dracut/2022/12/

I use grub so i would just be adding the kernel parameters directly into the command line and updating grub. You may be able to also do that in the kernel command line if using systemd-boot

https://discovery.endeavouros.com/installation/systemd-boot/2022/12/

None of this may even be necessary if your system is working okay using the amdgpu and radeon.

Edit: Like i say your system is rendering on the Intel gpu anyway. You’ll only know if there is an issue if using the amd gpu.

1 Like

thank you so much for the info, that was very detailed and helpful!

one last question, do you know if the dmesg output indicates anything? because that message keeps repeating in the dmesg log even though as you said I’m mainly using intel gpu to render and have never switched to amd

Read through this post on Arch as it is related. It may be helpful to you. You can always try these and check & see if it makes it better or worse or no change. You could also post the dmesg info by using this command and post the url.

sudo dmesg | eos-sendlog

Edit: As per the info on the Arch Wiki the amdgpu has to be loaded before radeon. Since you are not yet switching to the amd gpu you may not notice any issue anyway.

1 Like

thank you for your time, this was very helpful!

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