You are not logged in.

#1 2016-05-06 20:19:28

astromodder
Member
Registered: 2016-05-04
Posts: 1

Catalyst - startx freezes/hangs but SSH still available

I've seen a few posts on this topic however most were either unresolved or deal with mixed graphics card vendors.

I'm trying to set up a multi-head setup with 2x AMD/ATI Radeon HD 7970 cards with a total of 6 displays.  For now I'm only concerned about getting 1 display running on 1 card.

[root@pc010 log]# lspci | grep VGA
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]

When I run startx, the normal output startx text appears on the screen however it then freezes.  I can't switch to any other ttys or do anything else at the console.  I am able to SSH from another computer.

I'm using kernel 4.4.8-1 LTS, catalyst-total 15.9-11 from AUR, and xorg 1.17 from Vi0L0's repo.  I have tried installing the drivers from Vi0L0's repo with the same results.  I also tried the open source drivers and I was able to start Xorg but ran into other problems.  I'd rather use the proprietary drivers.  I have tried the 4.5 and 4.1 kernels as well with the same result.  Also, nomodeset does not make a difference.

While I have a SSH session open, when I first run startx I see this output with ps aux:

[root@pc010 ~]# ps aux | grep -i x
root       313  0.0  0.0      0     0 ?        S<   20:37   0:00 [ext4-rsv-conver]
a*****r    675  0.0  0.0  11880  2512 tty1     S+   20:47   0:00 /bin/sh /usr/bin/startx
a*****r    697  0.0  0.0  15920   952 tty1     S+   20:47   0:00 xinit /etc/X11/xinit/xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.kR58r3C1nm
root       698 96.8  0.0  98908 13880 tty1     R    20:47   0:34 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.kR58r3C1nm
root      1036  0.0  0.0  32848  2700 pts/0    R+   20:48   0:00 ps aux
root      1037  0.0  0.0   8996   872 pts/0    S+   20:48   0:00 grep -i x

The CPU usage nears 100% for the Xorg process.  Eventually the startx, xinitrc, and Xorg processes all end.  I'm sort of at a loss on what else to try now.  There is a stack trace in the kern.log that appears to be related but I'm not sure how to troubleshoot it.  Here are the related configs/logs:

Xorg config - Note: the 2 cards are PCI:5:0:0 and PCI:6:0:0.  I have tried both:

[root@pc010 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:6: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

[root@pc010 log]# cat /etc/X11/Xwrapper.config
needs_root_rights = yes

Kernel info:

[root@pc010 ~]# uname -a
Linux pc010.svsn.int 4.4.8-1-lts #1 SMP Wed Apr 20 15:13:52 CEST 2016 x86_64 GNU/Linux

[root@pc010 log]# lsmod | grep radeon
[root@pc010 log]# lsmod | grep fglrx
fglrx               13299712  4
button                 16384  1 fglrx
amd_iommu_v2           20480  1 fglrx

[root@pc010 log]# dmesg | grep modeset
[    0.000000] Command line: initrd=\initramfs-linux-lts.img root=/dev/mapper/vg_pc010-lv_root rw nomodeset
[    0.000000] Kernel command line: initrd=\initramfs-linux-lts.img root=/dev/mapper/vg_pc010-lv_root rw nomodeset

Xorg.0.log:

[root@pc010 log]# cat Xorg.0.log
[   581.329]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   581.329] X Protocol Version 11, Revision 0
[   581.329] Build Operating System: Linux 4.2.5-1-ARCH x86_64
[   581.329] Current Operating System: Linux pc010.svsn.int 4.4.8-1-lts #1 SMP Wed Apr 20 15:13:52 CEST 2016 x86_64
[   581.329] Kernel command line: initrd=\initramfs-linux-lts.img root=/dev/mapper/vg_pc010-lv_root rw nomodeset
[   581.329] Build Date: 01 November 2015  10:36:50AM
[   581.329] 
[   581.329] Current version of pixman: 0.34.0
[   581.330]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   581.330] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   581.330] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May  3 20:47:29 2016
[   581.363] (==) Using config file: "/etc/X11/xorg.conf"
[   581.363] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   581.363] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   581.424] (==) ServerLayout "aticonfig Layout"
[   581.424] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[   581.424] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[   581.443] (**) |   |-->Device "aticonfig-Device[0]-0"
[   581.443] (==) Automatically adding devices
[   581.443] (==) Automatically enabling devices
[   581.443] (==) Automatically adding GPU devices
[   581.468] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   581.468]    Entry deleted from font path.
[   581.468] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   581.468]    Entry deleted from font path.
[   581.468]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   581.468] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   581.468]    Entry deleted from font path.
[   581.468]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   581.468] (==) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/
[   581.468] (==) ModulePath set to "/usr/lib/xorg/modules"
[   581.468] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   581.482] (II) Loader magic: 0x817d60
[   581.482] (II) Module ABI versions:
[   581.482]    X.Org ANSI C Emulation: 0.4
[   581.482]    X.Org Video Driver: 19.0
[   581.482]    X.Org XInput driver : 21.1
[   581.482]    X.Org Server Extension : 9.0
[   581.486] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[   581.489] (--) PCI: (0:5:0:0) 1002:6798:1787:2317 rev 0, Mem @ 0x80000000/268435456, 0xa0400000/262144, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[   581.489] (--) PCI:*(0:6:0:0) 1002:6798:174b:e208 rev 0, Mem @ 0x90000000/268435456, 0xa0300000/262144, I/O @ 0x00003000/256, BIOS @ 0x????????/131072
[   581.490] (II) Open ACPI successful (/var/run/acpid.socket)
[   581.490] (II) "glx" will be loaded by default.
[   581.490] (II) LoadModule: "glx"
[   581.519] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   581.545] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[   581.545]    compiled for 6.9.0, module version = 1.0.0
[   581.545] (II) LoadModule: "fglrx"
[   581.545] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[   581.878] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[   581.878]    compiled for 1.4.99.906, module version = 15.20.3
[   581.878]    Module class: X.Org Video Driver
[   581.892] (II) Loading sub module "fglrxdrm"
[   581.892] (II) LoadModule: "fglrxdrm"
[   581.892] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[   581.922] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[   581.922]    compiled for 1.4.99.906, module version = 15.20.3
[   581.922] (II) AMD Proprietary Linux Driver Version Identifier:15.20.3
[   581.922] (II) AMD Proprietary Linux Driver Release Identifier: UNSUPPORTED-15.201.1151             
[   581.922] (II) AMD Proprietary Linux Driver Build Date: Sep  8 2015 15:06:35
[   581.922] (++) using VT number 1

[   581.922] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   581.922] (WW) Falling back to old probe method for fglrx
[   582.013] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[   582.024] ukiDynamicMajor: found major device number 247
[   582.024] ukiDynamicMajor: found major device number 247
[   582.024] ukiOpenByBusid: Searching for BusID PCI:6:0:0
[   582.024] ukiOpenDevice: node name is /dev/ati/card0
[   582.024] ukiOpenDevice: open result is 11, (OK)
[   582.210] ukiOpenByBusid: ukiOpenMinor returns 11
[   582.210] ukiOpenByBusid: ukiGetBusid reports PCI:5:0:0
[   582.210] ukiOpenDevice: node name is /dev/ati/card1

Some other info that may help:
Installed catalyst and xorg packages: http://pastebin.com/g9MHQ4hz
/var/log/kern.log: http://pastebin.com/wVatcV83

Thanks for any suggestions or help.

Offline

Board footer

Powered by FluxBB