You are not logged in.

#1 2015-09-14 14:07:24

jmenkus
Member
Registered: 2015-09-14
Posts: 3

Catalyst driver causes startx to hang

Running

startx

causes my machine to lock up. I can't switch terminals with ctrl+alt+f2 or anything. I can still SSH in, though, so the machine is still alive.

Here is the log file:

/var/log/Xorg.0.log wrote:

[   200.039]
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   200.040]
X.Org X Server 1.16.2.901 (1.16.3 RC 1)
Release Date: 2014-12-09
[   200.043] X Protocol Version 11, Revision 0
[   200.044] Build Operating System: Linux 3.17.2-1-ARCH x86_64
[   200.045] Current Operating System: Linux axios 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST 2015 x86_64
[   200.045] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ce2f975b-8861-4865-9373-20de176085b2 rw nomodeset
[   200.047] Build Date: 10 December 2014  02:34:24PM
[   200.048] 
[   200.049] Current version of pixman: 0.32.6
[   200.052]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   200.052] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   200.057] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 14 13:51:27 2015
[   200.087] (==) Using config file: "/etc/X11/xorg.conf"
[   200.089] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   200.129] (==) ServerLayout "aticonfig Layout"
[   200.129] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[   200.129] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[   200.144] (**) |   |-->Device "aticonfig-Device[0]-0"
[   200.144] (==) Automatically adding devices
[   200.144] (==) Automatically enabling devices
[   200.144] (==) Automatically adding GPU devices
[   200.186] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   200.187]     Entry deleted from font path.
[   200.199] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[   200.199] (==) ModulePath set to "/usr/lib/xorg/modules"
[   200.199] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   200.214] (II) Loader magic: 0x818d80
[   200.214] (II) Module ABI versions:
[   200.214]     X.Org ANSI C Emulation: 0.4
[   200.214]     X.Org Video Driver: 18.0
[   200.214]     X.Org XInput driver : 21.0
[   200.214]     X.Org Server Extension : 8.0
[   200.220] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   200.223] (--) PCI: (0:0:2:0) 8086:0116:106b:00dc rev 9, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00003000/64
[   200.223] (--) PCI:*(0:1:0:0) 1002:6760:106b:00e1 rev 0, Mem @ 0x90000000/268435456, 0xb0800000/131072, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
[   200.223] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   200.224] (II) "glx" will be loaded by default.
[   200.224] (II) LoadModule: "glx"
[   200.240] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   200.261] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[   200.261]     compiled for 6.9.0, module version = 1.0.0
[   200.261] (II) LoadModule: "fglrx"
[   200.276] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[   200.677] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[   200.677]     compiled for 1.4.99.906, module version = 15.20.3
[   200.677]     Module class: X.Org Video Driver
[   200.685] (II) Loading sub module "fglrxdrm"
[   200.685] (II) LoadModule: "fglrxdrm"
[   200.685] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[   200.716] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[   200.716]     compiled for 1.4.99.906, module version = 15.20.3
[   200.716] (II) AMD Proprietary Linux Driver Version Identifier:15.20.3
[   200.716] (II) AMD Proprietary Linux Driver Release Identifier: 15.20.1046                           
[   200.716] (II) AMD Proprietary Linux Driver Build Date: Jun 22 2015 21:28:37
[   200.716] (++) using VT number 1

[   200.716] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   200.716] (WW) Falling back to old probe method for fglrx
[   200.831] (II) Loading PCS database from /etc/ati/amdpcsdb /etc/ati/amdpcsdb.default
[   200.852] ukiDynamicMajor: found major device number 249
[   200.852] ukiDynamicMajor: found major device number 249
[   200.852] ukiOpenByBusid: Searching for BusID PCI:1:0:0
[   200.852] ukiOpenDevice: node name is /dev/ati/card0
[   200.852] ukiOpenDevice: open result is 10, (OK)
[   200.897] ukiOpenDevice: open result is 10, (OK)
[   200.897] ukiOpenByBusid: ukiOpenMinor returns 10
[   200.897] ukiOpenByBusid: ukiGetBusid reports PCI:1:0:0
[   200.925] (--) Chipset Supported AMD Graphics Processor (0x6760) found
[   200.926] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[   200.941] (II) fglrx(0): pEnt->device->identifier=0x22c2d40

No error messages as far as I can see. I am running a late-2011 Macbook pro. Some other information that might be useful:

pacman -Qe | grep xorg
xorg-bdftopcf 1.0.5-1
xorg-docs 1.7.1-1
xorg-font-util 1.3.1-1
xorg-fonts-100dpi 1.0.3-2
xorg-fonts-75dpi 1.0.3-2
xorg-fonts-encodings 1.0.4-4
xorg-mkfontdir 1.0.7-2
xorg-mkfontscale 1.1.2-1
xorg-server 1.16.2.901-1
xorg-server-utils 7.6-4
xorg-setxkbmap 1.3.1-1
xorg-smproxy 1.0.6-1
xorg-x11perf 1.6.0-1
xorg-xclock 1.0.7-1
xorg-xcursorgen 1.0.6-1
xorg-xdpyinfo 1.3.2-1
xorg-xdriinfo 1.0.5-1
xorg-xev 1.2.2-1
xorg-xinit 1.3.4-2
xorg-xkbcomp 1.3.0-1
xorg-xkbevd 1.1.4-1
xorg-xkbutils 1.0.4-2
xorg-xkill 1.0.4-1
xorg-xlsatoms 1.1.2-1
xorg-xlsclients 1.1.3-1
xorg-xpr 1.0.4-2
xorg-xprop 1.2.2-1
xorg-xvinfo 1.1.3-1
xorg-xwd 1.0.6-1
xorg-xwininfo 1.1.3-1
xorg-xwud 1.0.4-2

cat /etc/modprobe.d/modprobe.conf

blacklist radeon
fglrx

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]

Any pointers?

Offline

#2 2015-09-14 16:19:09

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: Catalyst driver causes startx to hang

What's your xorg.conf?

Also, is that a laptop with hybrid Intel/AMD GPU?

Offline

#3 2015-09-14 17:07:39

jmenkus
Member
Registered: 2015-09-14
Posts: 3

Re: Catalyst driver causes startx to hang

Hi, thanks for the response. I used

 aticonfig --initial 

to generate xorg.conf. Here it is:

xorg.conf wrote:

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

Yes, I believe the Intel one is a chipset and the AMD is a dedicated graphics card? I'm not sure though. I have no idea how Apple designs its products.

Thanks again for having a look at my problem.

Offline

#4 2015-09-14 17:11:05

jmenkus
Member
Registered: 2015-09-14
Posts: 3

Re: Catalyst driver causes startx to hang

Also, I'm using an old version of xorg-server (1.16.2) because catalyst refuses to play with anything over 1.17.

Why am I not using the open source driver? Because that requires kernel modesetting to be enabled, and I can't get the system to boot at all if I enable it.

In other words, this thread.

Offline

#5 2015-09-14 18:30:22

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 757

Re: Catalyst driver causes startx to hang

Well, if it's a hybrid intel/amd graphics, you will need intel driver as well. And Intel driver requires KMS. But, you said it's an Apple product, so I really have no idea ( not exactly an Apple fan).

This line from the log is a bit weird, though:

[   200.926](WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found

Apparently, it is trying to set up the device at BusID "PCI:1:0:1" (if I'm reading that correctly), and fails, which is why X won't start.

Also, log shows nothing about Intel IGP, if it is a hybrid, as stated before, you will need intel driver up and running for it to work. (in a muxless setup. radeon chip doesn't have a direct access to display, but offloads to framebuffer of integrated chip, and IGP displays picture).

Offline

#6 2015-09-28 18:26:54

Pyromaniac
Member
From: Euskirchen, Germany
Registered: 2011-09-19
Posts: 6

Re: Catalyst driver causes startx to hang

Hi all!

Any new information here?

I just returned from my vacation and updated my system. Now it does not start X with the same sympthoms. However, if I remove the kernel driver, it starts up fine but without any hw acceleration obviously. My xorg-server is 1.17.2-4, catalyst is 15.9-1 from catalyst repo (all latest). The vc is Fury X.

Offline

#7 2015-09-28 18:41:11

Pyromaniac
Member
From: Euskirchen, Germany
Registered: 2011-09-19
Posts: 6

Re: Catalyst driver causes startx to hang

So the problem was resolved by rolling back the kernel to 4.1.6-1. Thanks everyone! :3

Offline

#8 2015-09-28 19:29:48

niceman
Member
Registered: 2015-08-31
Posts: 55

Re: Catalyst driver causes startx to hang

just for curiosity, why not use Mac OS X ?

Offline

#9 2015-10-06 10:11:23

Thymo
Member
From: Hengelo OV, The Netherlands
Registered: 2015-02-22
Posts: 6
Website

Re: Catalyst driver causes startx to hang

It's already a known issue that linux 4.2 and catalyst 15.9 don't work together properly. Read the comments on AUR packages next time.

Offline

Board footer

Powered by FluxBB