Amdgpu driver is not in use

i have an old pc and i installed manjaro xfce on it.
i installed amdgpu driver for it but the problem is the kernel is not using amdgpu instead of radeon

these are the solutions i tried:
1- create conf files in /etc/modprobe.d to pass module parameters
2- pass module parameters directly to the kernel via grub:

/vmlinuz-6.2-x86_64 root=UUID=4b3100de-0f4f-44f5-8c02-0372ef232bc6 rw  quiet apparmor=1 security=apparmor udev.log_priority=3 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=0

3- blacklist radeon driver

that also didn’t work. i just got stuck on boot loading black screen but i switched onto tty2 and typed the following commands:

startx

X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
Current Operating System: Linux alstand-o 6.2.10-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Apr  6 19:11:10 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-6.2-x86_64 root=UUID=4b3100de-0f4f-44f5-8c02-0372ef232bc6 rw quiet apparmor=1 security=apparmor udev.log_priority=3 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=0
 
Current version of pixman: 0.42.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 15 07:42:54 2023
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

sudo inxi -FzjJxy

System:
  Kernel: 6.2.10-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    Console: tty 2 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Dell product: OptiPlex 580 v: N/A serial: N/A
  Mobo: Dell model: N/A serial: <filter> BIOS: Dell v: A04 date: 11/25/2010
CPU:
  Info: dual core model: AMD Athlon II X2 B22 bits: 64 type: MCP arch: K10
    rev: 3 cache: L1: 256 KiB L2: 2 MiB
  Speed (MHz): avg: 800 min/max: 800/2800 boost: disabled cores: 1: 800
    2: 800 bogomips: 11205
  Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Graphics:
  Device-1: AMD Caicos XT [Radeon HD 7470/8470 / R5 235/310 OEM] vendor: Dell
    driver: N/A arch: TeraScale-2 bus-ID: 01:00.0
  Display: server: X.org v: 1.21.1.8 driver: X: loaded: N/A unloaded: amdgpu
    gpu: N/A tty: 80x30
  API: OpenGL Message: GL data unavailable in console for root.
Audio:
  Device-1: AMD SBx00 Azalia vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:14.2
  Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5
    230/235/235X OEM] vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  API: ALSA v: k6.2.10-1-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.68 status: off
  Server-3: PulseAudio v: 16.1 status: off
Network:
  Device-1: Broadcom NetXtreme BCM5761 Gigabit Ethernet PCIe vendor: Dell
    driver: tg3 v: kernel port: N/A bus-ID: 02:00.0
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 614.81 GiB used: 20.67 GiB (3.4%)
  ID-1: /dev/sda vendor: Western Digital model: WD1600AAJS-08L7A0
    size: 149.05 GiB
  ID-2: /dev/sdb type: USB vendor: Western Digital model: WD5000BPVT-00HXZT1
    size: 465.76 GiB
Partition:
  ID-1: / size: 22.75 GiB used: 20.27 GiB (89.1%) fs: ext4 dev: /dev/sdb2
  ID-2: /boot size: 468.7 MiB used: 407.9 MiB (87.0%) fs: ext4 dev: /dev/sdb3
Swap:
  Alert: No swap data was found.
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 3 rev: 1.1
  Hub-2: 2-0:1 info: Full speed or root hub ports: 6 rev: 2.0
  Hub-3: 3-0:1 info: Full speed or root hub ports: 6 rev: 2.0
  Device-1: 3-1:2 info: LG USA External HDD Drive type: Mass Storage
    driver: usb-storage rev: 2.0
  Hub-4: 4-0:1 info: Full speed or root hub ports: 3 rev: 1.1
  Hub-5: 5-0:1 info: Full speed or root hub ports: 3 rev: 1.1
  Device-1: 5-2:2 info: Pixart Imaging Optical Mouse type: Mouse
    driver: hid-generic,usbhid rev: 2.0
  Hub-6: 6-0:1 info: Full speed or root hub ports: 3 rev: 1.1
  Device-1: 6-1:2 info: CASUE USB Keyboard type: Keyboard,HID
    driver: hid-generic,usbhid rev: 1.1
  Hub-7: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1
Sensors:
  System Temperatures: cpu: 24.2 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 120 Uptime: 4m Memory: 3.83 GiB used: 406.7 MiB (10.4%)
  Init: systemd Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1169 Shell: Bash
  v: 5.1.16 inxi: 3.3.26

cat /var/log/Xorg.0.log

[   208.832] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[   208.832] Current Operating System: Linux alstand-o 6.2.10-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu Apr  6 19:11:10 UTC 2023 x86_64
[   208.832] Kernel command line: BOOT_IMAGE=/vmlinuz-6.2-x86_64 root=UUID=4b3100de-0f4f-44f5-8c02-0372ef232bc6 rw quiet apparmor=1 security=apparmor udev.log_priority=3 radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=0
[   208.832]  
[   208.832] Current version of pixman: 0.42.2
[   208.832] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   208.832] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   208.832] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 15 07:42:54 2023
[   208.832] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   208.833] (==) No Layout section.  Using the first Screen section.
[   208.833] (**) |-->Screen "Screen0" (0)
[   208.833] (**) |   |-->Monitor "DVI-0"
[   208.833] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[   208.833] (**) |   |-->Device "Device0"
[   208.833] (==) Automatically adding devices
[   208.833] (==) Automatically enabling devices
[   208.833] (==) Automatically adding GPU devices
[   208.833] (==) Automatically binding GPU devices
[   208.833] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   208.833] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   208.833] 	Entry deleted from font path.
[   208.833] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   208.833] 	Entry deleted from font path.
[   208.833] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   208.833] 	Entry deleted from font path.
[   208.833] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   208.833] 	Entry deleted from font path.
[   208.833] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[   208.833] (==) ModulePath set to "/usr/lib/xorg/modules"
[   208.833] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   208.833] (II) Module ABI versions:
[   208.833] 	X.Org ANSI C Emulation: 0.4
[   208.833] 	X.Org Video Driver: 25.2
[   208.833] 	X.Org XInput driver : 24.4
[   208.833] 	X.Org Server Extension : 10.0
[   208.835] (++) using VT number 2

[   208.840] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   208.843] (--) PCI:*(1@0:0:0) 1002:6778:1028:2120 rev 0, Mem @ 0xd0000000/268435456, 0xfeae0000/131072, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[   208.844] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   208.844] (II) LoadModule: "glx"
[   208.844] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   208.846] (II) Module glx: vendor="X.Org Foundation"
[   208.846] 	compiled for 1.21.1.8, module version = 1.0.0
[   208.846] 	ABI class: X.Org Server Extension, version 10.0
[   208.846] (II) LoadModule: "amdgpu"
[   208.846] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   208.847] (II) Module amdgpu: vendor="X.Org Foundation"
[   208.847] 	compiled for 1.21.1.7, module version = 23.0.0
[   208.847] 	Module class: X.Org Video Driver
[   208.847] 	ABI class: X.Org Video Driver, version 25.2
[   208.847] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   208.847] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[   208.847] (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:01:00.0: No such file or directory
[   208.847] (EE) Screen 0 deleted because of no matching config section.
[   208.847] (II) UnloadModule: "amdgpu"
[   208.847] (EE) Device(s) detected, but none match those in the config file.
[   208.847] (EE) 
Fatal server error:
[   208.847] (EE) no screens found(EE) 
[   208.847] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   208.847] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   208.847] (EE) 
[   208.859] (EE) Server terminated with error (1). Closing log file.

sorry for bad english and thanks in advance

I think you have to remove those entries from kernel boot parameter and update grub after that. The system can’t use both radeon and amdgpu at the same time.

Where you did that? AFAIK is an AUR related package, so just remove it if is installed …

1 Like

tried it. nothing changed

i just created amdgpu.conf in /etc/modprobe.d/ and appended this to it

blacklist radeon
install radeon /bu

the second line to make sure if there’s another module depends on radeon so i force it to fail loading radeon module

Have you tried different kernel?
Another speculation: Did you made sure to NOT have the libxfce4ui-nocsd installed, since you are on XFCE, and instead install libxfce4ui, especially if you did some update after install? Also, you mentioned that you just installed it, so live environment was working as is, so what happened after that?

I’m not very knowledgeable regarding AMD GPU’s, so hopefully someone else will come by and give you some hints.

1 Like

seems like your card is of terascale 2 architecture, amdgpu only supports GCN and newer.

1 Like

libxfce4ui-nocsd is not installed. but libxfce4ui is actually installed.

i remember that the iso image that was burned to the flash drive was old (about 6 month old) so the first thing i have done after finishing installation was starting full update.
i think i have to re-install manjaro from an up-to-date image.
i will try it anyway.

no, it’s actually GCN.
you can see that from this table List of AMD graphics processing units

Architecture

VLIW5 TeraScale 2

if you know exactly what card you have (i only have your provided info) and are sure inxi is wrong then issue is elsewhere

1 Like

i think you are RIGHT. i will check it again anyway.

after some googling i found out that my gpu number is 7470, but at the same time it is based on HD 6450 architecture. so amgpu can’t work with my gpu

thanks for helping

thanks, seems like you need to live with radeonsi :slight_smile:

1 Like

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