You are not logged in.

#1 2020-07-17 11:20:04

hilaolu
Member
Registered: 2020-07-17
Posts: 2

[Solved]Gnome Display Manager doesn't load amdgpu driver

Hi guys.I have archlinux fresh installed on my amd 4800H laptop, which use vega 7 gpu only.I installed kernel 5.7 and xf86-video-amdgpu and mesa then choose gnome for DE and gdm for display manager.However gdm can't work correctly.Here's /var/log/Xorg.0.log:

[     2.834] (--) Log file renamed from "/var/log/Xorg.pid-591.log" to "/var/log/Xorg.0.log"
[     2.834] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[     2.834] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     2.834] Build Operating System: Linux Arch Linux
[     2.834] Current Operating System: Linux hilaolu-Laptop 5.7.8-arch1-1 #1 SMP PREEMPT Thu, 09 Jul 2020 16:34:01 +0000 x86_64
[     2.834] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=0c96bece-071a-4b34-9ec7-cb3aac665826 rw loglevel=3 radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1
[     2.834] Build Date: 05 May 2020  05:08:17AM
[     2.834]  
[     2.834] Current version of pixman: 0.40.0
[     2.834] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.834] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.834] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 17 18:50:37 2020
[     2.836] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     2.836] (==) No Layout section.  Using the first Screen section.
[     2.836] (==) No screen section available. Using defaults.
[     2.836] (**) |-->Screen "Default Screen Section" (0)
[     2.836] (**) |   |-->Monitor "<default monitor>"
[     2.837] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     2.837] (==) Automatically adding devices
[     2.837] (==) Automatically enabling devices
[     2.837] (==) Automatically adding GPU devices
[     2.837] (==) Automatically binding GPU devices
[     2.837] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     2.837] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     2.837] 	Entry deleted from font path.
[     2.838] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     2.838] 	Entry deleted from font path.
[     2.838] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     2.838] 	Entry deleted from font path.
[     2.838] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     2.838] (==) ModulePath set to "/usr/lib/xorg/modules"
[     2.838] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.838] (II) Module ABI versions:
[     2.838] 	X.Org ANSI C Emulation: 0.4
[     2.838] 	X.Org Video Driver: 24.1
[     2.838] 	X.Org XInput driver : 24.1
[     2.838] 	X.Org Server Extension : 10.0
[     2.839] (++) using VT number 1

[     2.841] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     2.843] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256
[     2.843] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.843] (II) LoadModule: "glx"
[     2.844] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     2.845] (II) Module glx: vendor="X.Org Foundation"
[     2.845] 	compiled for 1.20.8, module version = 1.0.0
[     2.845] 	ABI class: X.Org Server Extension, version 10.0
[     2.845] (==) Matched ati as autoconfigured driver 0
[     2.845] (==) Matched modesetting as autoconfigured driver 1
[     2.845] (==) Matched fbdev as autoconfigured driver 2
[     2.845] (==) Matched vesa as autoconfigured driver 3
[     2.845] (==) Assigned the driver to the xf86ConfigLayout
[     2.845] (II) LoadModule: "ati"
[     2.846] (WW) Warning, couldn't open module ati
[     2.846] (EE) Failed to load module "ati" (module does not exist, 0)
[     2.846] (II) LoadModule: "modesetting"
[     2.846] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     2.846] (II) Module modesetting: vendor="X.Org Foundation"
[     2.846] 	compiled for 1.20.8, module version = 1.20.8
[     2.846] 	Module class: X.Org Video Driver
[     2.846] 	ABI class: X.Org Video Driver, version 24.1
[     2.846] (II) LoadModule: "fbdev"
[     2.846] (WW) Warning, couldn't open module fbdev
[     2.846] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     2.846] (II) LoadModule: "vesa"
[     2.846] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     2.847] (II) Module vesa: vendor="X.Org Foundation"
[     2.847] 	compiled for 1.20.8, module version = 2.4.0
[     2.847] 	Module class: X.Org Video Driver
[     2.847] 	ABI class: X.Org Video Driver, version 24.1
[     2.847] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     2.847] (II) VESA: driver for VESA chipsets: vesa
[     2.847] (EE) open /dev/dri/card0: No such file or directory
[     2.847] (WW) Falling back to old probe method for modesetting
[     2.847] (EE) open /dev/dri/card0: No such file or directory
[     2.847] (EE) Screen 0 deleted because of no matching config section.
[     2.847] (II) UnloadModule: "modesetting"
[     2.847] (II) Loading sub module "vbe"
[     2.847] (II) LoadModule: "vbe"
[     2.847] (II) Loading /usr/lib/xorg/modules/libvbe.so
[     2.847] (II) Module vbe: vendor="X.Org Foundation"
[     2.847] 	compiled for 1.20.8, module version = 1.1.0
[     2.847] 	ABI class: X.Org Video Driver, version 24.1
[     2.847] (II) Loading sub module "int10"
[     2.847] (II) LoadModule: "int10"
[     2.847] (II) Loading /usr/lib/xorg/modules/libint10.so
[     2.848] (II) Module int10: vendor="X.Org Foundation"
[     2.848] 	compiled for 1.20.8, module version = 1.0.0
[     2.848] 	ABI class: X.Org Video Driver, version 24.1
[     2.848] (II) VESA(0): initializing int10
[     2.848] (EE) VESA(0): V_BIOS address 0x0 out of range
[     2.848] (II) UnloadModule: "vesa"
[     2.848] (II) UnloadSubModule: "int10"
[     2.848] (II) Unloading int10
[     2.848] (II) UnloadSubModule: "vbe"
[     2.848] (II) Unloading vbe
[     2.848] (EE) Screen(s) found, but none have a usable configuration.
[     2.848] (EE) 
Fatal server error:
[     2.848] (EE) no screens found(EE) 
[     2.848] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     2.848] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     2.848] (EE) 
[     2.849] (EE) Server terminated with error (1). Closing log file.

I tried sddm and gnome works well. And I noticed

Failed to load module "ati" (module does not exist, 0)

So I tried to install xf86-video-ati,and gdm works first,then it doesn't work next time.
Here's /var/log/Xorg.0.log(gdm works):

[     3.227] (--) Log file renamed from "/var/log/Xorg.pid-611.log" to "/var/log/Xorg.0.log"
[     3.227] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[     3.227] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[     3.227] Build Operating System: Linux Arch Linux
[     3.227] Current Operating System: Linux hilaolu-Laptop 5.7.8-arch1-1 #1 SMP PREEMPT Thu, 09 Jul 2020 16:34:01 +0000 x86_64
[     3.227] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=0c96bece-071a-4b34-9ec7-cb3aac665826 rw loglevel=3 quiet
[     3.227] Build Date: 05 May 2020  05:08:17AM
[     3.227]  
[     3.227] Current version of pixman: 0.40.0
[     3.227] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     3.227] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.228] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 17 17:43:18 2020
[     3.229] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.230] (==) No Layout section.  Using the first Screen section.
[     3.230] (==) No screen section available. Using defaults.
[     3.230] (**) |-->Screen "Default Screen Section" (0)
[     3.230] (**) |   |-->Monitor "<default monitor>"
[     3.230] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     3.230] (==) Automatically adding devices
[     3.230] (==) Automatically enabling devices
[     3.230] (==) Automatically adding GPU devices
[     3.230] (==) Automatically binding GPU devices
[     3.230] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     3.230] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     3.230] 	Entry deleted from font path.
[     3.232] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     3.232] 	Entry deleted from font path.
[     3.232] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     3.232] 	Entry deleted from font path.
[     3.232] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     3.232] (==) ModulePath set to "/usr/lib/xorg/modules"
[     3.232] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     3.232] (II) Module ABI versions:
[     3.232] 	X.Org ANSI C Emulation: 0.4
[     3.232] 	X.Org Video Driver: 24.1
[     3.232] 	X.Org XInput driver : 24.1
[     3.232] 	X.Org Server Extension : 10.0
[     3.234] (++) using VT number 1

[     3.236] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     3.237] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.243] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[     3.246] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256
[     3.246] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     3.246] (II) LoadModule: "glx"
[     3.247] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.248] (II) Module glx: vendor="X.Org Foundation"
[     3.248] 	compiled for 1.20.8, module version = 1.0.0
[     3.248] 	ABI class: X.Org Server Extension, version 10.0
[     3.248] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[     3.248] 	loading driver: amdgpu
[     3.249] (==) Matched amdgpu as autoconfigured driver 0
[     3.249] (==) Matched ati as autoconfigured driver 1
[     3.249] (==) Matched modesetting as autoconfigured driver 2
[     3.249] (==) Matched fbdev as autoconfigured driver 3
[     3.249] (==) Matched vesa as autoconfigured driver 4
[     3.249] (==) Assigned the driver to the xf86ConfigLayout
[     3.249] (II) LoadModule: "amdgpu"
[     3.249] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[     3.250] (II) Module amdgpu: vendor="X.Org Foundation"
[     3.250] 	compiled for 1.20.8, module version = 19.1.0
[     3.250] 	Module class: X.Org Video Driver
[     3.250] 	ABI class: X.Org Video Driver, version 24.1
[     3.250] (II) LoadModule: "ati"
[     3.250] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[     3.250] (II) Module ati: vendor="X.Org Foundation"
[     3.250] 	compiled for 1.20.8, module version = 19.1.0
[     3.250] 	Module class: X.Org Video Driver
[     3.250] 	ABI class: X.Org Video Driver, version 24.1
[     3.250] (II) LoadModule: "modesetting"
[     3.250] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     3.251] (II) Module modesetting: vendor="X.Org Foundation"
[     3.251] 	compiled for 1.20.8, module version = 1.20.8
[     3.251] 	Module class: X.Org Video Driver
[     3.251] 	ABI class: X.Org Video Driver, version 24.1
[     3.251] (II) LoadModule: "fbdev"
[     3.251] (WW) Warning, couldn't open module fbdev
[     3.251] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     3.251] (II) LoadModule: "vesa"
[     3.251] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     3.251] (II) Module vesa: vendor="X.Org Foundation"
[     3.251] 	compiled for 1.20.8, module version = 2.4.0
[     3.251] 	Module class: X.Org Video Driver
[     3.251] 	ABI class: X.Org Video Driver, version 24.1
[     3.251] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[     3.251] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     3.251] (II) VESA: driver for VESA chipsets: vesa
[     3.252] (WW) Falling back to old probe method for modesetting
[     3.253] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     3.253] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[     3.253] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[     3.253] (==) AMDGPU(0): Default visual is TrueColor
[     3.253] (==) AMDGPU(0): RGB weight 888
[     3.253] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[     3.253] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x1636)
[     3.253] (II) Loading sub module "fb"
[     3.253] (II) LoadModule: "fb"
[     3.253] (II) Loading /usr/lib/xorg/modules/libfb.so
[     3.253] (II) Module fb: vendor="X.Org Foundation"
[     3.253] 	compiled for 1.20.8, module version = 1.0.0
[     3.253] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.253] (II) Loading sub module "dri2"
[     3.253] (II) LoadModule: "dri2"
[     3.253] (II) Module "dri2" already built-in
[     3.330] (II) Loading sub module "glamoregl"
[     3.330] (II) LoadModule: "glamoregl"
[     3.330] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     3.333] (II) Module glamoregl: vendor="X.Org Foundation"
[     3.333] 	compiled for 1.20.8, module version = 1.0.1
[     3.333] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.344] (II) AMDGPU(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.37.0, 5.7.8-arch1-1, LLVM 10.0.0)
[     3.344] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[     3.344] (==) AMDGPU(0): TearFree property default: auto
[     3.344] (==) AMDGPU(0): VariableRefresh: disabled
[     3.344] (II) AMDGPU(0): KMS Pageflipping: enabled
[     3.344] (II) AMDGPU(0): Output eDP has no monitor section
[     3.344] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[     3.362] (WW) EDID timing clock 138.50 exceeds claimed max 135MHz, fixing
[     3.362] (II) AMDGPU(0): EDID for output eDP
[     3.362] (II) AMDGPU(0): Manufacturer: SHP  Model: 14c3  Serial#: 0
[     3.362] (II) AMDGPU(0): Year: 2019  Week: 9
[     3.362] (II) AMDGPU(0): EDID Version: 1.4
[     3.362] (II) AMDGPU(0): Digital Display Input
[     3.362] (II) AMDGPU(0): 8 bits per channel
[     3.362] (II) AMDGPU(0): Digital interface is DisplayPort
[     3.362] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[     3.362] (II) AMDGPU(0): Gamma: 2.20
[     3.362] (II) AMDGPU(0): No DPMS capabilities specified
[     3.362] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 
[     3.362] (II) AMDGPU(0): Default color space is primary color space
[     3.362] (II) AMDGPU(0): First detailed timing is preferred mode
[     3.362] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[     3.362] (II) AMDGPU(0): Display is continuous-frequency
[     3.362] (II) AMDGPU(0): redX: 0.640 redY: 0.329   greenX: 0.300 greenY: 0.600
[     3.362] (II) AMDGPU(0): blueX: 0.149 blueY: 0.060   whiteX: 0.312 whiteY: 0.328
[     3.362] (II) AMDGPU(0): Manufacturer's mask: 0
[     3.362] (II) AMDGPU(0): Supported detailed timing:
[     3.362] (II) AMDGPU(0): clock: 138.5 MHz   Image Size:  344 x 194 mm
[     3.362] (II) AMDGPU(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[     3.362] (II) AMDGPU(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1109 v_border: 0
[     3.362] (II) AMDGPU(0): Ranges: V min: 48 V max: 60 Hz, H min: 66 H max: 66 kHz, PixClock max 139 MHz
[     3.362] (II) AMDGPU(0): Monitor name: LQ156M1JW01
[     3.362] (II) AMDGPU(0): EDID (in hex):
[     3.362] (II) AMDGPU(0): 	00ffffffffffff004d10c31400000000
[     3.362] (II) AMDGPU(0): 	091d0104a522137807de50a3544c9926
[     3.362] (II) AMDGPU(0): 	0f505400000001010101010101010101
[     3.362] (II) AMDGPU(0): 	0101010101011a3680a070381d403020
[     3.362] (II) AMDGPU(0): 	350058c210000018000000fd00303c42
[     3.362] (II) AMDGPU(0): 	420d010a202020202020000000100000
[     3.362] (II) AMDGPU(0): 	000000000000000000000000000000fc
[     3.362] (II) AMDGPU(0): 	004c513135364d314a5730310a20006b
[     3.362] (II) AMDGPU(0): Printing probed modes for output eDP
[     3.362] (II) AMDGPU(0): Modeline "1920x1080"x60.0  138.50  1920 1968 2000 2080  1080 1083 1088 1109 -hsync -vsync (66.6 kHz eP)
[     3.362] (II) AMDGPU(0): Modeline "1680x1050"x60.0  138.50  1680 1968 2000 2080  1050 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "1280x1024"x60.0  138.50  1280 1968 2000 2080  1024 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "1440x900"x60.0  138.50  1440 1968 2000 2080  900 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "1280x800"x60.0  138.50  1280 1968 2000 2080  800 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "1280x720"x60.0  138.50  1280 1968 2000 2080  720 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "1024x768"x60.0  138.50  1024 1968 2000 2080  768 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "800x600"x60.0  138.50  800 1968 2000 2080  600 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): Modeline "640x480"x60.0  138.50  640 1968 2000 2080  480 1083 1088 1109 -hsync -vsync (66.6 kHz e)
[     3.362] (II) AMDGPU(0): EDID for output HDMI-A-0
[     3.362] (II) AMDGPU(0): Output eDP connected
[     3.362] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[     3.362] (II) AMDGPU(0): Using exact sizes for initial modes
[     3.362] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
[     3.362] (II) AMDGPU(0): mem size init: gart size :bf7b6000 vram size: s:1e388000 visible:1e388000
[     3.362] (==) AMDGPU(0): DPI set to (96, 96)
[     3.362] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[     3.363] (II) Loading sub module "ramdac"
[     3.363] (II) LoadModule: "ramdac"
[     3.363] (II) Module "ramdac" already built-in
[     3.363] (II) UnloadModule: "modesetting"
[     3.363] (II) Unloading modesetting
[     3.363] (II) UnloadModule: "vesa"
[     3.363] (II) Unloading vesa
[     3.363] (II) AMDGPU(0): [DRI2] Setup complete
[     3.363] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[     3.363] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[     3.423] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[     3.424] (II) AMDGPU(0): SYNC extension fences enabled
[     3.424] (II) AMDGPU(0): Present extension enabled
[     3.424] (==) AMDGPU(0): DRI3 enabled
[     3.424] (==) AMDGPU(0): Backing store enabled
[     3.424] (II) AMDGPU(0): Direct rendering enabled
[     3.443] (II) AMDGPU(0): Use GLAMOR acceleration.
[     3.443] (II) AMDGPU(0): Acceleration enabled
[     3.443] (==) AMDGPU(0): DPMS enabled
[     3.443] (==) AMDGPU(0): Silken mouse disabled
[     3.443] (II) AMDGPU(0): Set up textured video (glamor)
[     3.462] (II) Initializing extension Generic Event Extension
[     3.462] (II) Initializing extension SHAPE
[     3.462] (II) Initializing extension MIT-SHM
[     3.462] (II) Initializing extension XInputExtension
[     3.462] (II) Initializing extension XTEST
[     3.462] (II) Initializing extension BIG-REQUESTS
[     3.462] (II) Initializing extension SYNC
[     3.462] (II) Initializing extension XKEYBOARD
[     3.462] (II) Initializing extension XC-MISC
[     3.462] (II) Initializing extension SECURITY
[     3.462] (II) Initializing extension XFIXES
[     3.462] (II) Initializing extension RENDER
[     3.462] (II) Initializing extension RANDR
[     3.462] (II) Initializing extension COMPOSITE
[     3.462] (II) Initializing extension DAMAGE
[     3.462] (II) Initializing extension MIT-SCREEN-SAVER
[     3.462] (II) Initializing extension DOUBLE-BUFFER
[     3.462] (II) Initializing extension RECORD
[     3.462] (II) Initializing extension DPMS
[     3.462] (II) Initializing extension Present
[     3.462] (II) Initializing extension DRI3
[     3.462] (II) Initializing extension X-Resource
[     3.462] (II) Initializing extension XVideo
[     3.462] (II) Initializing extension XVideo-MotionCompensation
[     3.462] (II) Initializing extension GLX
[     3.465] (II) AIGLX: Loaded and initialized radeonsi
[     3.465] (II) GLX: Initialized DRI2 GL provider for screen 0
[     3.465] (II) Initializing extension XFree86-VidModeExtension
[     3.465] (II) Initializing extension XFree86-DGA
[     3.465] (II) Initializing extension XFree86-DRI
[     3.465] (II) Initializing extension DRI2
[     3.467] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[     3.592] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[     3.592] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     3.592] (II) LoadModule: "libinput"
[     3.592] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     3.594] (II) Module libinput: vendor="X.Org Foundation"
[     3.594] 	compiled for 1.20.8, module version = 0.30.0
[     3.594] 	Module class: X.Org XInput Driver
[     3.594] 	ABI class: X.Org XInput driver, version 24.1
[     3.594] (II) Using input driver 'libinput' for 'Power Button'
[     3.595] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 23 paused 0
[     3.595] (**) Power Button: always reports core events
[     3.595] (**) Option "Device" "/dev/input/event3"
[     3.595] (**) Option "_source" "server/udev"
[     3.599] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     3.599] (II) event3  - Power Button: device is a keyboard
[     3.600] (II) event3  - Power Button: device removed
[     3.600] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[     3.600] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     3.600] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     3.600] (II) event3  - Power Button: device is a keyboard
[     3.600] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[     3.600] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     3.600] (II) Using input driver 'libinput' for 'Video Bus'
[     3.602] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 26 paused 0
[     3.602] (**) Video Bus: always reports core events
[     3.602] (**) Option "Device" "/dev/input/event4"
[     3.602] (**) Option "_source" "server/udev"
[     3.603] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[     3.603] (II) event4  - Video Bus: device is a keyboard
[     3.603] (II) event4  - Video Bus: device removed
[     3.603] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:27/LNXVIDEO:00/input/input4/event4"
[     3.603] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     3.604] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[     3.604] (II) event4  - Video Bus: device is a keyboard
[     3.604] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     3.604] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     3.604] (II) Using input driver 'libinput' for 'Power Button'
[     3.605] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 27 paused 0
[     3.605] (**) Power Button: always reports core events
[     3.605] (**) Option "Device" "/dev/input/event0"
[     3.605] (**) Option "_source" "server/udev"
[     3.606] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     3.606] (II) event0  - Power Button: device is a keyboard
[     3.606] (II) event0  - Power Button: device removed
[     3.606] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[     3.606] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[     3.606] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     3.606] (II) event0  - Power Button: device is a keyboard
[     3.607] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[     3.607] (II) No input driver specified, ignoring this device.
[     3.607] (II) This device may have been added with another device file.
[     3.607] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[     3.607] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     3.607] (II) Using input driver 'libinput' for 'Sleep Button'
[     3.608] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 28 paused 0
[     3.608] (**) Sleep Button: always reports core events
[     3.608] (**) Option "Device" "/dev/input/event1"
[     3.608] (**) Option "_source" "server/udev"
[     3.609] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[     3.609] (II) event1  - Sleep Button: device is a keyboard
[     3.609] (II) event1  - Sleep Button: device removed
[     3.609] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[     3.609] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[     3.609] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[     3.609] (II) event1  - Sleep Button: device is a keyboard
[     3.610] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event9)
[     3.610] (II) No input driver specified, ignoring this device.
[     3.610] (II) This device may have been added with another device file.
[     3.610] (II) config/udev: Adding input device HD Webcam: HD Webcam (/dev/input/event13)
[     3.610] (**) HD Webcam: HD Webcam: Applying InputClass "libinput keyboard catchall"
[     3.610] (II) Using input driver 'libinput' for 'HD Webcam: HD Webcam'
[     3.611] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 29 paused 0
[     3.611] (**) HD Webcam: HD Webcam: always reports core events
[     3.612] (**) Option "Device" "/dev/input/event13"
[     3.612] (**) Option "_source" "server/udev"
[     3.612] (II) event13 - HD Webcam: HD Webcam: is tagged by udev as: Keyboard
[     3.612] (II) event13 - HD Webcam: HD Webcam: device is a keyboard
[     3.612] (II) event13 - HD Webcam: HD Webcam: device removed
[     3.613] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3:1.0/input/input15/event13"
[     3.613] (II) XINPUT: Adding extended input device "HD Webcam: HD Webcam" (type: KEYBOARD, id 10)
[     3.614] (II) event13 - HD Webcam: HD Webcam: is tagged by udev as: Keyboard
[     3.614] (II) event13 - HD Webcam: HD Webcam: device is a keyboard
[     3.615] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/event14)
[     3.615] (**) PixArt USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[     3.615] (II) Using input driver 'libinput' for 'PixArt USB Optical Mouse'
[     3.616] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 30 paused 0
[     3.616] (**) PixArt USB Optical Mouse: always reports core events
[     3.616] (**) Option "Device" "/dev/input/event14"
[     3.616] (**) Option "_source" "server/udev"
[     3.617] (II) event14 - PixArt USB Optical Mouse: is tagged by udev as: Mouse
[     3.617] (II) event14 - PixArt USB Optical Mouse: device set to 1000 DPI
[     3.617] (II) event14 - PixArt USB Optical Mouse: device is a pointer
[     3.617] (II) event14 - PixArt USB Optical Mouse: device removed
[     3.617] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4.1/1-4.1:1.0/0003:093A:2510.0002/input/input16/event14"
[     3.617] (II) XINPUT: Adding extended input device "PixArt USB Optical Mouse" (type: MOUSE, id 11)
[     3.617] (**) Option "AccelerationScheme" "none"
[     3.617] (**) PixArt USB Optical Mouse: (accel) selected scheme none/0
[     3.617] (**) PixArt USB Optical Mouse: (accel) acceleration factor: 2.000
[     3.617] (**) PixArt USB Optical Mouse: (accel) acceleration threshold: 4
[     3.618] (II) event14 - PixArt USB Optical Mouse: is tagged by udev as: Mouse
[     3.618] (II) event14 - PixArt USB Optical Mouse: device set to 1000 DPI
[     3.619] (II) event14 - PixArt USB Optical Mouse: device is a pointer
[     3.619] (II) config/udev: Adding input device PixArt USB Optical Mouse (/dev/input/mouse2)
[     3.619] (II) No input driver specified, ignoring this device.
[     3.619] (II) This device may have been added with another device file.
[     3.619] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event10)
[     3.619] (II) No input driver specified, ignoring this device.
[     3.619] (II) This device may have been added with another device file.
[     3.619] (II) config/udev: Adding input device HD-Audio Generic Mic (/dev/input/event11)
[     3.619] (II) No input driver specified, ignoring this device.
[     3.619] (II) This device may have been added with another device file.
[     3.620] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event12)
[     3.620] (II) No input driver specified, ignoring this device.
[     3.620] (II) This device may have been added with another device file.
[     3.620] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Touchpad (/dev/input/event8)
[     3.620] (**) UNIW0001:00 093A:0255 Touchpad: Applying InputClass "libinput touchpad catchall"
[     3.620] (II) Using input driver 'libinput' for 'UNIW0001:00 093A:0255 Touchpad'
[     3.621] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 31 paused 0
[     3.621] (**) UNIW0001:00 093A:0255 Touchpad: always reports core events
[     3.621] (**) Option "Device" "/dev/input/event8"
[     3.621] (**) Option "_source" "server/udev"
[     3.622] (II) event8  - UNIW0001:00 093A:0255 Touchpad: is tagged by udev as: Touchpad
[     3.623] (II) event8  - UNIW0001:00 093A:0255 Touchpad: device is a touchpad
[     3.623] (II) event8  - UNIW0001:00 093A:0255 Touchpad: device removed
[     3.623] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:02/i2c-0/i2c-UNIW0001:00/0018:093A:0255.0001/input/input10/event8"
[     3.623] (II) XINPUT: Adding extended input device "UNIW0001:00 093A:0255 Touchpad" (type: TOUCHPAD, id 12)
[     3.624] (**) Option "AccelerationScheme" "none"
[     3.624] (**) UNIW0001:00 093A:0255 Touchpad: (accel) selected scheme none/0
[     3.624] (**) UNIW0001:00 093A:0255 Touchpad: (accel) acceleration factor: 2.000
[     3.624] (**) UNIW0001:00 093A:0255 Touchpad: (accel) acceleration threshold: 4
[     3.625] (II) event8  - UNIW0001:00 093A:0255 Touchpad: is tagged by udev as: Touchpad
[     3.626] (II) event8  - UNIW0001:00 093A:0255 Touchpad: device is a touchpad
[     3.626] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Touchpad (/dev/input/mouse1)
[     3.626] (II) No input driver specified, ignoring this device.
[     3.626] (II) This device may have been added with another device file.
[     3.626] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Mouse (/dev/input/event7)
[     3.626] (**) UNIW0001:00 093A:0255 Mouse: Applying InputClass "libinput pointer catchall"
[     3.626] (II) Using input driver 'libinput' for 'UNIW0001:00 093A:0255 Mouse'
[     3.628] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 32 paused 0
[     3.628] (**) UNIW0001:00 093A:0255 Mouse: always reports core events
[     3.628] (**) Option "Device" "/dev/input/event7"
[     3.628] (**) Option "_source" "server/udev"
[     3.629] (II) event7  - UNIW0001:00 093A:0255 Mouse: is tagged by udev as: Mouse Pointingstick
[     3.629] (II) event7  - UNIW0001:00 093A:0255 Mouse: device is a pointer
[     3.629] (II) event7  - UNIW0001:00 093A:0255 Mouse: device removed
[     3.629] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:02/i2c-0/i2c-UNIW0001:00/0018:093A:0255.0001/input/input9/event7"
[     3.629] (II) XINPUT: Adding extended input device "UNIW0001:00 093A:0255 Mouse" (type: MOUSE, id 13)
[     3.629] (**) Option "AccelerationScheme" "none"
[     3.629] (**) UNIW0001:00 093A:0255 Mouse: (accel) selected scheme none/0
[     3.629] (**) UNIW0001:00 093A:0255 Mouse: (accel) acceleration factor: 2.000
[     3.629] (**) UNIW0001:00 093A:0255 Mouse: (accel) acceleration threshold: 4
[     3.630] (II) event7  - UNIW0001:00 093A:0255 Mouse: is tagged by udev as: Mouse Pointingstick
[     3.630] (II) event7  - UNIW0001:00 093A:0255 Mouse: device is a pointer
[     3.631] (II) config/udev: Adding input device UNIW0001:00 093A:0255 Mouse (/dev/input/mouse0)
[     3.631] (II) No input driver specified, ignoring this device.
[     3.631] (II) This device may have been added with another device file.
[     3.631] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[     3.631] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     3.631] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     3.632] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 33 paused 0
[     3.632] (**) AT Translated Set 2 keyboard: always reports core events
[     3.632] (**) Option "Device" "/dev/input/event5"
[     3.632] (**) Option "_source" "server/udev"
[     3.633] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     3.634] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[     3.634] (II) event5  - AT Translated Set 2 keyboard: device removed
[     3.634] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[     3.635] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 14)
[     3.636] (II) event5  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     3.636] (II) event5  - AT Translated Set 2 keyboard: device is a keyboard
[     3.638] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[     3.638] (II) No input driver specified, ignoring this device.
[     3.638] (II) This device may have been added with another device file.
[     3.642] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0 /dev/dri/card0
[     3.642] xf86: remove device 0 /sys/devices/pci0000:00/0000:00:08.1/0000:04:00.0/drm/card0
[     3.642] failed to find screen to remove
[     3.937] (WW) EDID timing clock 138.50 exceeds claimed max 135MHz, fixing
[     3.937] (II) AMDGPU(0): EDID vendor "SHP", prod id 5315
[     3.937] (II) AMDGPU(0): Using EDID range info for horizontal sync
[     3.937] (II) AMDGPU(0): Using EDID range info for vertical refresh
[     3.937] (II) AMDGPU(0): Printing DDC gathered Modelines:
[     3.937] (II) AMDGPU(0): Modeline "1920x1080"x0.0  138.50  1920 1968 2000 2080  1080 1083 1088 1109 -hsync -vsync (66.6 kHz eP)
[    11.073] (**) Option "fd" "23"
[    11.073] (II) event3  - Power Button: device removed
[    11.073] (**) Option "fd" "26"
[    11.073] (II) event4  - Video Bus: device removed
[    11.073] (**) Option "fd" "27"
[    11.073] (II) event0  - Power Button: device removed
[    11.074] (**) Option "fd" "28"
[    11.074] (II) event1  - Sleep Button: device removed
[    11.074] (**) Option "fd" "29"
[    11.074] (II) event13 - HD Webcam: HD Webcam: device removed
[    11.074] (**) Option "fd" "30"
[    11.074] (II) event14 - PixArt USB Optical Mouse: device removed
[    11.075] (**) Option "fd" "31"
[    11.075] (II) event8  - UNIW0001:00 093A:0255 Touchpad: device removed
[    11.075] (**) Option "fd" "32"
[    11.075] (II) event7  - UNIW0001:00 093A:0255 Mouse: device removed
[    11.075] (**) Option "fd" "33"
[    11.075] (II) event5  - AT Translated Set 2 keyboard: device removed
[    11.076] (II) AIGLX: Suspending AIGLX clients for VT switch
[    11.105] (EE) AMDGPU(0): failed to set mode: Permission denied
[    11.106] (II) systemd-logind: got pause for 13:64
[    11.106] (II) systemd-logind: got pause for 13:72
[    11.106] (II) systemd-logind: got pause for 13:69
[    11.106] (II) systemd-logind: got pause for 13:77
[    11.106] (II) systemd-logind: got pause for 13:78
[    11.106] (II) systemd-logind: got pause for 13:67
[    11.106] (II) systemd-logind: got pause for 13:71
[    11.106] (II) systemd-logind: got pause for 13:65
[    11.106] (II) systemd-logind: got pause for 13:68
[    11.106] (II) systemd-logind: got pause for 226:0
[   278.647] (II) UnloadModule: "libinput"
[   278.647] (II) systemd-logind: releasing fd for 13:69
[   278.682] (II) UnloadModule: "libinput"
[   278.682] (II) systemd-logind: releasing fd for 13:71
[   278.713] (II) UnloadModule: "libinput"
[   278.713] (II) systemd-logind: releasing fd for 13:72
[   278.732] (II) UnloadModule: "libinput"
[   278.732] (II) systemd-logind: releasing fd for 13:78
[   278.766] (II) UnloadModule: "libinput"
[   278.766] (II) systemd-logind: releasing fd for 13:77
[   278.782] (II) UnloadModule: "libinput"
[   278.782] (II) systemd-logind: releasing fd for 13:65
[   278.804] (II) UnloadModule: "libinput"
[   278.804] (II) systemd-logind: releasing fd for 13:64
[   278.849] (II) UnloadModule: "libinput"
[   278.849] (II) systemd-logind: releasing fd for 13:68
[   278.873] (II) UnloadModule: "libinput"
[   278.874] (II) systemd-logind: releasing fd for 13:67
[   278.916] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   278.916] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   278.916] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
[   278.917] (II) Server terminated successfully (0). Closing log file.

I suppose

[     3.237] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.248] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[     3.248] 	loading driver: amdgpu

is critical.Gdm may not detect novel amdgpu in my opinion.But I don't understand why installing xf86-video-ati let it work for the first time.How it made a differece?
Any reply is appreciated.

Last edited by hilaolu (2020-07-18 12:27:12)

Offline

#2 2020-07-17 12:31:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,274

Re: [Solved]Gnome Display Manager doesn't load amdgpu driver

[     2.841] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     2.843] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256
[     3.236] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     3.237] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.243] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[     3.246] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256

Looks very much like a timing issue.

https://wiki.archlinux.org/index.php/Ke … de_setting , are you using late or early KMS ?


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2020-07-17 13:05:37

hilaolu
Member
Registered: 2020-07-17
Posts: 2

Re: [Solved]Gnome Display Manager doesn't load amdgpu driver

Lone_Wolf wrote:
[     2.841] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     2.843] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256
[     3.236] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[     3.237] (II) xfree86: Adding drm device (/dev/dri/card0)
[     3.243] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[     3.246] (--) PCI:*(4@0:0:0) 1002:1636:1d05:109f rev 198, Mem @ 0xd0000000/268435456, 0xe0000000/2097152, 0xfe600000/524288, I/O @ 0x0000e000/256

Looks very much like a timing issue.

https://wiki.archlinux.org/index.php/Ke … de_setting , are you using late or early KMS ?

Amazing.I add amdgpu into /etc/mkinitcpio.conf,it works.Though I don't know how it works and why it didn't work previously.
Many thanks!!

Offline

#4 2020-07-18 11:26:20

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,274

Re: [Solved]Gnome Display Manager doesn't load amdgpu driver

Display managers like sddm & gdm need to have the graphical environment up and running to be able to display anything .

Linux starts in a basic videomode and switches to graphical mode when the kernel module for the card is loaded (if you boot without quiet you can see when this happens).

The videocard needs time to make the switch.

Systemd relies on systemd-udev to tell the kernel what modules it needs to load and in which order.
It does look like the videocard related modules are often scheduled rather late.

Putting the kernel module in the initramfs ensures it's started early and vastly increases the chance it will be ready when it's needed.

Please prepend [Solved] to the thread title (edit first post).


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB