You are not logged in.

#1 2017-04-22 19:52:32

slaecker
Member
From: Germany
Registered: 2013-10-27
Posts: 9

ATI Catalyst blackscreen instead of DM

Hi folks,

I'm going crazy over here because of the laptop of my step daughter. End of last year I set up the old Sony VPCEB3Z1E for the little one to start tinkering with the wonderful world of computers and start right away with Linux.
Because of the poor graphics performance of the open-source AMD driver on this machine (the gpu fan ran crazy all the time and desktop performance was worse than bad) I decided to install the Catalyst driver. I followed the Wiki page and after some tinkering I got it running and all was good ... until last Tuesday. After powering the laptop off normally the next time it was turned on when normally the display manager (lightdm) would show up the screen stayed black with a white cursor and that was all, no mouse working, no keyboard shortcuts. I can't even switch to another TTY, complete lockup. Booting a desktop live cd (in my case Antergos with Gnome) works fine.

Today I finally found time to look at it and I have to confess I can't exactly recall what steps I've tried because it were many ... in fact the whole day through.

What I have now is ...

tl;dr
Laptop ran fine with Catalyst driver for several months but now shows black screen with white cursor instead of lightdm greeter. No mouse, keyboard or switching to other TTY work, complete lockup. Desktop live cd works fine so the GPU seems ok.

GPU

$ lspci | grep -e VGA -e 3D
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M]

Packages
Previously I had catalyst-total installed via AUR but switched to the repo to handle the mesa compatibility issues. I also switched to the LTS kernel and did a full system upgrade.

$ cat /etc/pacman.conf
[...]
[xorg117]
Server = http://mirror.hactar.xyz/Vi0L0/xorg117/$arch

[catalyst]
Server = http://mirror.hactar.xyz/Vi0L0/catalyst/$arch
[...]
$ pacman -Q | egrep -i '(catalyst|opencl|xorg-server)'
catalyst-control-old 15.9-4
catalyst-dkms 15.12-7
catalyst-libgl 15.12-5
catalyst-utils 15.12-3
lib32-catalyst-libgl 15.12-4
lib32-catalyst-utils 15.12-2
lib32-opencl-catalyst 15.12-3
opencl-catalyst 15.12-6
xorg-server 1.17.4-2
xorg-server-common 1.17.4-2
xorg-server-utils 7.6-4

Before I had the regular catalyst-control installed where the issue occured, too.

Grub

$ cat /etc/default/grub
[...]
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
[...]

Modules

$ cat /etc/modules-load.d/catalyst.conf 
fglrx

$ cat /etc/modprobe.d/blacklist.conf 
blacklist radeon
blacklist amdgpu
blacklist kms
blacklist drm_kms_helper

$ lsmod | grep fglrx
fglrx               15241216  0
button                 16384  1 fglrx
amd_iommu_v2           20480  1 fglrx

The blacklisting of amdgpu, kms and drm_kms_helper was found on the catalyst-total AUR page in a comment by maintainer

Xorg Config

cat /etc/X11/x
xinit/                xorg.conf-catalyst    xorg.conf.fglrx-0     xorg.conf.fglrx-2     xorg.conf.original-1
xorg.conf             xorg.conf.d/          xorg.conf.fglrx-1     xorg.conf.original-0  
[root@linux-17bdb6 log]# cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Logs

There are no errors shown in journalctl nor elsewhere ...

/var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.22.0, UID=0 PID=478
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.07s] DEBUG: Monitoring logind for seats
[+0.07s] DEBUG: New seat added from logind: seat0
[+0.07s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.07s] DEBUG: Seat seat0: Starting
[+0.07s] DEBUG: Seat seat0: Creating greeter session
[+0.07s] DEBUG: Seat seat0: Creating display server of type x
[+0.07s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.07s] DEBUG: Using VT 7
[+0.07s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.07s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.07s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.07s] DEBUG: XServer 0: Launching X Server
[+0.07s] DEBUG: Launching process 490: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.07s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.07s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.07s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.07s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.07s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.08s] DEBUG: User slaecker added
[+0.08s] DEBUG: User natalie added

/var/log/lightdm/x-0.log

X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64 
Current Operating System: Linux linux-17bdb6 4.9.24-1-lts #1 SMP Fri Apr 21 11:27:32 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=93f31e6c-b136-4989-9b13-2299d2e5636f rw rootflags=subvol=@root quiet nomodeset
Build Date: 01 November 2015  10:36:50AM
 
Current version of pixman: 0.34.0
	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 22 20:53:13 2017
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

/var/log/Xorg.0.log

[    43.236] 
X.Org X Server 1.17.4
Release Date: 2015-10-28
[    43.236] X Protocol Version 11, Revision 0
[    43.236] Build Operating System: Linux 4.2.5-1-ARCH x86_64 
[    43.236] Current Operating System: Linux linux-17bdb6 4.9.24-1-lts #1 SMP Fri Apr 21 11:27:32 CEST 2017 x86_64
[    43.236] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=93f31e6c-b136-4989-9b13-2299d2e5636f rw rootflags=subvol=@root quiet nomodeset
[    43.236] Build Date: 01 November 2015  10:36:50AM
[    43.236]  
[    43.236] Current version of pixman: 0.34.0
[    43.236] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    43.236] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    43.236] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 22 20:53:13 2017
[    43.240] (==) Using config file: "/etc/X11/xorg.conf"
[    43.240] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    43.240] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    43.241] (==) ServerLayout "aticonfig Layout"
[    43.241] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    43.241] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    43.241] (**) |   |-->Device "aticonfig-Device[0]-0"
[    43.241] (==) Automatically adding devices
[    43.241] (==) Automatically enabling devices
[    43.241] (==) Automatically adding GPU devices
[    43.246] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    43.246] 	Entry deleted from font path.
[    43.247] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    43.247] 	Entry deleted from font path.
[    43.247] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    43.247] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    43.247] 	Entry deleted from font path.
[    43.247] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    43.247] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    43.247] (==) ModulePath set to "/usr/lib/xorg/modules"
[    43.247] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    43.247] (II) Loader magic: 0x817d60
[    43.247] (II) Module ABI versions:
[    43.247] 	X.Org ANSI C Emulation: 0.4
[    43.247] 	X.Org Video Driver: 19.0
[    43.247] 	X.Org XInput driver : 21.1
[    43.247] 	X.Org Server Extension : 9.0
[    43.249] (EE) systemd-logind: failed to get session: PID 490 does not belong to any known session
[    43.254] (--) PCI:*(0:1:0:0) 1002:68c1:104d:9071 rev 0, Mem @ 0xe0000000/268435456, 0xf0020000/131072, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[    43.254] (II) Open ACPI successful (/var/run/acpid.socket)
[    43.255] (II) "glx" will be loaded by default.
[    43.255] (II) LoadModule: "glx"
[    43.260] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    43.265] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[    43.265] 	compiled for 6.9.0, module version = 1.0.0
[    43.265] (II) LoadModule: "fglrx"
[    43.269] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[    43.417] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[    43.417] 	compiled for 1.4.99.906, module version = 15.30.3
[    43.417] 	Module class: X.Org Video Driver
[    43.417] (II) Loading sub module "fglrxdrm"
[    43.417] (II) LoadModule: "fglrxdrm"
[    43.417] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[    43.421] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[    43.422] 	compiled for 1.4.99.906, module version = 15.30.3
[    43.422] (II) AMD Proprietary Linux Driver Version Identifier:15.30.3
[    43.422] (II) AMD Proprietary Linux Driver Release Identifier: UNSUPPORTED-15.302                   
[    43.422] (II) AMD Proprietary Linux Driver Build Date: Dec 17 2015 02:43:16
[    43.422] (++) using VT number 7

[    43.687] (WW) Falling back to old probe method for fglrx
[    43.733] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[    43.735] ukiDynamicMajor: found major device number 246
[    43.735] ukiDynamicMajor: found major device number 246
[    43.735] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[    43.735] ukiOpenDevice: node name is /dev/ati/card0
[    43.735] ukiOpenDevice: open result is 11, (OK)

As per the Troubleshooting section of the Wiki article I've also set

$ aticonfig --acpi-services=off

If I forgot to add some information sorry, please let me know, I will add it as soon as I can.

Have a nice weekend, everybody.

Regs,
Dennis

Offline

Board footer

Powered by FluxBB