You are not logged in.

#1 2022-08-25 09:36:02

laxure
Member
Registered: 2022-08-25
Posts: 1

Xorg fails to start AMDGPU

I configured my system to automatically log me in via tty and startx when i login in my .bash_profile file.
This setup never gave me any problems until about a week ago when i upgraded the kernel and i noticed an increase of my boot time of about 10 seconds.
The X server gives me an error telling me to check out the log, but then it tries starting the server again after about 10 seconds and it starts perfectly fine.
I tested the LTS kernel and it doesn't have this issue.

Here's the X Log

[     6.565] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[     6.565] Current Operating System: Linux laxure-host 5.19.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 21 Aug 2022 18:55:22 +0000 x86_64
[     6.565] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=eda08a68-3f70-4a6e-9bef-b5b07f844be7 rw loglevel=0
[     6.565]  
[     6.565] Current version of pixman: 0.40.0
[     6.565] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     6.565] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.565] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 25 12:20:32 2022
[     6.569] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     6.569] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.571] (==) No Layout section.  Using the first Screen section.
[     6.571] (==) No screen section available. Using defaults.
[     6.571] (**) |-->Screen "Default Screen Section" (0)
[     6.571] (**) |   |-->Monitor "<default monitor>"
[     6.571] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[     6.571] (**) |   |-->Device "AMD Graphics"
[     6.571] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     6.571] (==) Automatically adding devices
[     6.571] (==) Automatically enabling devices
[     6.571] (==) Automatically adding GPU devices
[     6.571] (==) Automatically binding GPU devices
[     6.572] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.572] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     6.572] 	Entry deleted from font path.
[     6.574] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/OTF".
[     6.574] 	Entry deleted from font path.
[     6.574] 	(Run 'mkfontdir' on "/usr/share/fonts/OTF").
[     6.574] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.574] 	Entry deleted from font path.
[     6.574] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     6.574] 	Entry deleted from font path.
[     6.574] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     6.574] 	Entry deleted from font path.
[     6.574] (==) FontPath set to:
	/usr/share/fonts/TTF
[     6.574] (==) ModulePath set to "/usr/lib/xorg/modules"
[     6.574] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     6.574] (II) Module ABI versions:
[     6.574] 	X.Org ANSI C Emulation: 0.4
[     6.574] 	X.Org Video Driver: 25.2
[     6.574] 	X.Org XInput driver : 24.4
[     6.574] 	X.Org Server Extension : 10.0
[     6.574] (++) using VT number 1

[     6.574] (--) controlling tty is VT number 1, auto-enabling KeepTty
[     6.575] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[     6.577] (--) PCI:*(41@0:0:0) 1002:731f:1002:0b36 rev 192, Mem @ 0x7c00000000/8589934592, 0x7e00000000/268435456, 0xfce00000/524288, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[     6.577] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.577] (II) LoadModule: "glx"
[     6.580] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     6.585] (II) Module glx: vendor="X.Org Foundation"
[     6.585] 	compiled for 1.21.1.4, module version = 1.0.0
[     6.585] 	ABI class: X.Org Server Extension, version 10.0
[     6.585] (II) LoadModule: "amdgpu"
[     6.585] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[     6.591] (II) Module amdgpu: vendor="X.Org Foundation"
[     6.591] 	compiled for 1.21.1.3, module version = 22.0.0
[     6.591] 	Module class: X.Org Video Driver
[     6.591] 	ABI class: X.Org Video Driver, version 25.2
[     6.591] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[     6.591] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[     6.591] (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:29:00.0: No such file or directory
[     6.591] (EE) Screen 0 deleted because of no matching config section.
[     6.591] (II) UnloadModule: "amdgpu"
[     6.591] (EE) Device(s) detected, but none match those in the config file.
[     6.591] (EE) 
Fatal server error:
[     6.591] (EE) no screens found(EE) 
[     6.591] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     6.591] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     6.591] (EE) 
[     6.591] (EE) Server terminated with error (1). Closing log file.

What seems to be causing the issue is the line:

[     6.591] (EE) AMDGPU(0): [drm] Failed to open DRM device for pci:0000:29:00.0: No such file or directory

It's not a big deal but its certainly annoying, anyone know how to fix?

Offline

#2 2022-08-25 11:37:03

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

Re: Xorg fails to start AMDGPU

Looks like the wellknown race condition where userspace tries to access stuff before the stuff has finished initialising .

Try configuring early KMS start

Last edited by Lone_Wolf (2022-08-25 11:39:13)


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