You are not logged in.

#1 2014-07-30 22:29:08

electrojustin
Member
Registered: 2014-04-12
Posts: 8

[Solved] Xorg fglrx module not properly loading

Xorg.0.log:

[    55.254] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[    55.254] X Protocol Version 11, Revision 0
[    55.254] Build Operating System: Linux 3.15.7-1-ARCH x86_64 
[    55.255] Current Operating System: Linux justin-desktop 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014 x86_64
[    55.255] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=8decdfd2-698e-4834-b091-a2c529d0bc50 rw quiet nomodeset
[    55.255] Build Date: 30 July 2014  05:11:57PM
[    55.255]  
[    55.255] Current version of pixman: 0.32.6
[    55.256] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[    55.256] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    55.256] (==) Log file: "/home/justin/.local/share/xorg/Xorg.0.log", Time: Wed Jul 30 18:14:06 2014
[    55.313] (==) Using config file: "/etc/X11/xorg.conf"
[    55.313] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    55.314] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[    55.359] (==) ServerLayout "aticonfig Layout"
[    55.359] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    55.359] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    55.369] (**) |   |-->Device "aticonfig-Device[0]-0"
[    55.369] (==) Automatically adding devices
[    55.369] (==) Automatically enabling devices
[    55.369] (==) Automatically adding GPU devices
[    55.440] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    55.440] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[    55.440] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    55.440] (II) Loader magic: 0x80bc40
[    55.440] (II) Module ABI versions:
[    55.440] 	X.Org ANSI C Emulation: 0.4
[    55.440] 	X.Org Video Driver: 18.0
[    55.440] 	X.Org XInput driver : 21.0
[    55.441] 	X.Org Server Extension : 8.0
[    55.442] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    55.443] (--) PCI:*(0:1:0:0) 1002:6758:1682:318c rev 0, Mem @ 0xd0000000/268435456, 0xfdfc0000/131072, I/O @ 0x0000ee00/256, BIOS @ 0x????????/131072
[    55.443] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    55.443] (II) "glx" will be loaded by default.
[    55.443] (II) LoadModule: "glx"
[    55.444] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    55.493] (II) Module glx: vendor="X.Org Foundation"
[    55.493] 	compiled for 1.16.0, module version = 1.0.0
[    55.493] 	ABI class: X.Org Server Extension, version 8.0
[    55.493] (==) AIGLX enabled
[    55.493] (II) LoadModule: "fglrx"
[    55.494] (WW) Warning, couldn't open module fglrx
[    55.494] (II) UnloadModule: "fglrx"
[    55.494] (II) Unloading fglrx
[    55.494] (EE) Failed to load module "fglrx" (module does not exist, 0)
[    55.494] (EE) No drivers available.
[    55.494] (EE) 
Fatal server error:
[    55.494] (EE) no screens found(EE) 
[    55.494] (EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
[    55.494] (EE) Please also check the log file at "/home/justin/.local/share/xorg/Xorg.0.log" for additional information.
[    55.494] (EE) 

My 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 

Any ideas?

Last edited by electrojustin (2014-07-31 05:14:30)

Offline

#2 2014-07-30 22:35:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xorg fglrx module not properly loading

It's Catalyst (proprietary ATI driver), so I  think you have to wait until it's xorg-server 1.16-ompatible.

Offline

#3 2014-07-30 22:46:01

electrojustin
Member
Registered: 2014-04-12
Posts: 8

Re: [Solved] Xorg fglrx module not properly loading

It's Catalyst (proprietary ATI driver), so I  think you have to wait until it's xorg-server 1.16-ompatible.

The only incompatibility issue I've been able to identify was the removal of LoadExtension in /usr/bin/Xorg, which I guess libglx.so was dynamically linked to.

I've already gone through the commit logs of the xorg-server repository and re-added NewExtensionModule () and LoadExtension(const ExtensionModule * e, Bool builtin) to my own copy of the source. A quick recompilation and a verification that LoadExtension did indeed make it into the final binary later, I've eliminated all the errors but the "Failed to load module 'fglrx' (module does not exist, 0)" error I'm struggling with currently.

Offline

#4 2014-07-30 23:07:48

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: [Solved] Xorg fglrx module not properly loading

You would probably be better served by just downgrading to 1.15 until AMD releases a driver compatible with 1.16.  If it was just so simple it would have already been done.  There is a thread, Here, which is specific to AMD graphics in Arch Linux.  It is an old old thread so ignore the first two hundred and fifty pages or so and go right to the end for where it's at now.

Edit: Reading the last page of that thread, your efforts are futile.  The proprietary Catalyst driver does not contain symbols needed for X 1.16.  They just aren't there.  Even if you could patch in a load for the module, X wouldn't know how to use it because it has no symbols to tell what anything is.

Last edited by headkase (2014-07-30 23:14:34)

Offline

#5 2014-07-30 23:13:29

electrojustin
Member
Registered: 2014-04-12
Posts: 8

Re: [Solved] Xorg fglrx module not properly loading

If I could, I would, but downgrading proved to be a laborious process that only yielded an xorg that spat out cryptic error messages with fglrx installed and completely broken mouse/keyboard support without fglrx installed. Perhaps I screwed up the process?

Edit: spelling error

Last edited by electrojustin (2014-07-30 23:17:12)

Offline

#6 2014-07-30 23:17:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Xorg fglrx module not properly loading

Downgrading should be pretty straightforward https://wiki.archlinux.org/index.php/Catalyst#xorg115

Offline

#7 2014-07-30 23:18:06

headkase
Member
Registered: 2011-12-06
Posts: 1,975

Re: [Solved] Xorg fglrx module not properly loading

I assume you have read the wiki on Catalyst?

Have you tried the Open-Source Driver?  That might be all you need and will sure give you quite fewer headaches (upgrade and maintenance wise) than Catalyst will..

(I made an edit to my previous post that you might have missed).

Last edited by headkase (2014-07-30 23:18:44)

Offline

#8 2014-07-30 23:18:16

electrojustin
Member
Registered: 2014-04-12
Posts: 8

Re: [Solved] Xorg fglrx module not properly loading

Oh was I supposed to use that method? I just went into /var/cache/pacman/pkg and started installing a whole bunch of outdated things that seemed Xorg related.

Edit 1: Yes, I have tried the open source driver, but unfortunately it does not really suite my needs (I do a lot of gaming, the open source drivers aren't quite up to par with the proprietary ones in terms of speed).

Edit 2: It's not supposed to load? There don't seem to be any symbol conflicts after fixing the aforementioned LoadExtension one. I did a little poking around, and found that the Xorg fglrx modules were all installed to /usr/lib/xorg/modules instead of /usr/local/lib/modules, the latter being where the X server actually looks. Copying them over, the only error I get is xf86OpenConsole: cannot open /dev/tty0 (No such file or directory).

Edit 3: Actually got something to work running startxfce4 as root. Had some problems with keymaps because X was looking for keymaps in /usr/local/share/X11 instead of /usr/share/X11. Mouse and keyboard don't work.

Edit 4: I've got startx working; my xfce desktop pops up and I can watch my clock widget tick up. I do have a serious problem though: my mouse, and possibly my keyboard, do not work (I can't actually test my keyboard because I don't have a meta key, therefore I need to rely on my mouse to open all programs). Any suggestions?

FINAL UPDATE: After running out of ideas on how to get the mouse working, I just gave up and tried downgrading xorg and installing catalyst from the repos, like everyone suggested. I managed to get passed the whole xf86-input-evdev/xorg-server conflict this time around by uninstalling everything xf86 related, installing xorg-server, and then going back and installing the xorg package. Running startxfce4 still returns the cannot open /dev/tty0 error message, but startx works, which is really strange considering my .xinitrc literally just says "exec startxfce4". I still have no idea why mouse and keyboard didn't work with xorg 1.16. I theorize it was probably something to do with me incorrectly copying xorg modules and had nothing to do with me adding LoadExtension back into xorg, but I turned my changes into patches and incorporated them into the PKGBUILD for xorg 1.16 in the repos and had the same problems, so I don't really know for sure. I don't particularly want to test this either; it took me a solid day to get a stable system, so I'm just going to mark this thread as solved. Thanks for all the suggestions!

Last edited by electrojustin (2014-07-31 05:14:12)

Offline

Board footer

Powered by FluxBB