You are not logged in.

#1 2021-10-20 18:43:06

palwd
Member
Registered: 2021-10-20
Posts: 1

Trouble getting amd dedicated graphics to work on my dell inspiron 14

I have a dell inspiron 14 3480 laptop, and I am having issues with getting the dedicated graphics to work on my laptop.
So far I've just been using the integrated graphics.
The laptop I have a Radeon 520 which has the GCN 1 architecture and so following the arch wiki on amdgpu I have:

  • made sure Southern Islands support is enabled

  • I have specified the correct module order

  • set the required module parameters

    options  root=/dev/nvme0n1p3 rw radeon.si_support=0 amdgpu.si_support=1

but my lspci ouput shows that the modules aren't being used.
output of lspci -k:

00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0]
        DeviceName: Onboard - Video
        Subsystem: Dell Device [1028:08c7]
        Kernel driver in use: i915
        Kernel modules: i915

01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile] [1002:6665] (rev c3)
        Subsystem: Dell Device [1028:08c7]
        Kernel modules: radeon, amdgpu

here is my dmesg output:

[    0.000000] Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/nvme0n1p3 rw radeon.si_support=0 amdgpu.si_support=1
[    0.028966] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=/dev/nvme0n1p3 rw radeon.si_support=0 amdgpu.si_support=1
[    1.117616] [drm] amdgpu kernel modesetting enabled.
[    1.117972] amdgpu: CRAT table not found
[    1.117974] amdgpu: Virtual CRAT table created for CPU
[    1.117981] amdgpu: Topology: Add CPU node
[    1.118073] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[    1.118135] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[    1.118830] kfd kfd: amdgpu: HAINAN  not supported in kfd
[    1.144631] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ATRM
[    1.144634] amdgpu: ATOM BIOS: BR40919.001
[    1.148149] amdgpu 0000:01:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[    1.148151] amdgpu 0000:01:00.0: amdgpu: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
[    1.148176] [drm] amdgpu: 2048M of VRAM memory ready
[    1.148178] [drm] amdgpu: 3072M of GTT memory ready.
[    1.148912] amdgpu 0000:01:00.0: amdgpu: PCIE GART of 256M enabled (table at 0x000000F400000000).
[    1.149820] [drm] amdgpu: dpm initialized
[    1.605104] amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx test failed (-110)
[    1.605306] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* hw_init of IP block <gfx_v6_0> failed -110
[    1.605526] amdgpu 0000:01:00.0: amdgpu: amdgpu_device_ip_init failed
[    1.605541] amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
[    1.605556] amdgpu 0000:01:00.0: amdgpu: amdgpu: finishing device.
[    1.606987] amdgpu: probe of 0000:01:00.0 failed with error -110
[    1.607028] [drm] amdgpu: ttm finalized

I can't figure out why it isn't working.
Any help would be appreciated.

Last edited by palwd (2021-10-20 18:47:51)

Offline

#2 2024-03-22 05:42:27

arch_kk_linux
Member
Registered: 2017-02-17
Posts: 54

Re: Trouble getting amd dedicated graphics to work on my dell inspiron 14

Try adding

DRI_PRIME=1

as a environment variable. ( it will force applications to use discrete card)

 sudo vim /etc/environment

Offline

#3 2024-03-22 09:30:10

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,091

Re: Trouble getting amd dedicated graphics to work on my dell inspiron 14

DRI_PRIME won't help, things go south on a lower level.

[    1.605104] amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring gfx test failed (-110)
[    1.605306] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* hw_init of IP block <gfx_v6_0> failed -110
[    1.605526] amdgpu 0000:01:00.0: amdgpu: amdgpu_device_ip_init failed
[    1.605541] amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
[    1.605556] amdgpu 0000:01:00.0: amdgpu: amdgpu: finishing device.
[    1.606987] amdgpu: probe of 0000:01:00.0 failed with error -110

Please post the full output of lspci -knn .
Also run as root journalctl -b | curl -F 'file=@-' 0x0.st . It will output a link , post that link.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB