Ubuntu 12.10 HD5770 Catalyst Problem
#1
Tongue 
Hello,

maybe anyone can help me out a bit. I try to bring a Radeon HD5770 into harmony with Ubuntu 12.10 Server (X installed) and the Catalyst 12.8 drivers .

Unfortunately, it does not work.

I downloaded the Catalyst Driver and created a .deb package. (three .debs)

No problem reported at this point.

Installing the .debs failed.

Some Output:

Code:
root:~/CustomDebs# sudo dpkg -i fglrx*.deb Vormals nicht ausgewähltes Paket fglrx wird gewählt. (Lese Datenbank ... 107306 Dateien und Verzeichnisse sind derzeit installiert.) Entpacken von fglrx (aus fglrx_8.982-0ubuntu1_amd64.deb) ... Vormals nicht ausgewähltes Paket fglrx-amdcccle wird gewählt. Entpacken von fglrx-amdcccle (aus fglrx-amdcccle_8.982-0ubuntu1_amd64.deb) ... Vormals nicht ausgewähltes Paket fglrx-dev wird gewählt. Entpacken von fglrx-dev (aus fglrx-dev_8.982-0ubuntu1_amd64.deb) ... fglrx (2:8.982-0ubuntu1) wird eingerichtet ... update-alternatives: /usr/lib/fglrx/ld.so.conf wird verwendet, um /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) im Auto-Modus bereitzustellen update-alternatives: Warnung: Erstellung von /etc/OpenCL/vendors/amdocl32.icd wird übersprungen, weil die zugehörige Datei /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (der Link-Gruppe x86_64-linux-gnu_gl_conf) nicht existiert update-alternatives: Warnung: Neuinstallation der Alternative /usr/lib/fglrx/ld.so.conf ist erzwungen, weil Linkgruppe x86_64-linux-gnu_gl_conf defekt ist update-alternatives: Warnung: Erstellung von /etc/OpenCL/vendors/amdocl32.icd wird übersprungen, weil die zugehörige Datei /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (der Link-Gruppe x86_64-linux-gnu_gl_conf) nicht existiert update-alternatives: /usr/lib/fglrx/alt_ld.so.conf wird verwendet, um /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) im Auto-Modus bereitzustellen update-initramfs: deferring update (trigger activated) Loading new fglrx-8.982 DKMS files... First Installation: checking all kernels... Building only for 3.5.0-19-generic Building for architecture x86_64 Building initial module for 3.5.0-19-generic Error! Bad return status for module build on kernel: 3.5.0-19-generic (x86_64) Consult /var/lib/dkms/fglrx/8.982/build/make.log for more information. update-initramfs: deferring update (trigger activated) Trigger für ureadahead werden verarbeitet ... ureadahead will be reprofiled on next reboot fglrx-amdcccle (2:8.982-0ubuntu1) wird eingerichtet ... fglrx-dev (2:8.982-0ubuntu1) wird eingerichtet ... Trigger für initramfs-tools werden verarbeitet ... update-initramfs: Generating /boot/initrd.img-3.5.0-19-generic Trigger für libc-bin werden verarbeitet ... ldconfig deferred processing now taking place

Make.log:
Code:
DKMS make.log for fglrx-8.982 for kernel 3.5.0-19-generic (x86_64) So 9. Dez 09:44:34 CET 2012 AMD kernel module generator version 2.1 doing Makefile based build for kernel 2.6.x and higher rm -rf *.c *.h *.o *.ko *.a .??* *.symvers make -C /lib/modules/3.5.0-19-generic/build SUBDIRS=/var/lib/dkms/fglrx/8.982/build/2.6.x modules make[1]: Betrete Verzeichnis '/usr/src/linux-headers-3.5.0-19-generic' CC [M] /var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.o /var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c: In Funktion »KCL_MEM_AllocLinearAddrInterval«: /var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:2131:5: Fehler: Implizite Deklaration der Funktion »do_mmap« [-Werror=implicit-function-declaration] /var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:2131:13: Warnung: Typkonvertierung in Zeiger von Ganzzahl anderer Breite [-Wint-to-pointer-cast] cc1: Einige Warnungen werden als Fehler behandelt make[2]: *** [/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.o] Fehler 1 make[1]: *** [_module_/var/lib/dkms/fglrx/8.982/build/2.6.x] Fehler 2 make[1]: Verlasse Verzeichnis '/usr/src/linux-headers-3.5.0-19-generic' make: *** [kmod_build] Fehler 2 build failed with return value 2

Code:
root:~/CustomDebs# fglrxinfo X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Serial number of failed request: 17 Current serial number in output stream: 18 root:~/CustomDebs#

Code:
root:~/CustomDebs# lspci -k | grep -A2 VGA 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series] Subsystem: PC Partner Limited Device e147 Kernel driver in use: radeon root:~/CustomDebs#

Code:
root:~# dpkg -l | grep fglrx ii fglrx 2:8.982-0ubuntu1 amd64 Video driver for the AMD graphics accelerators ii fglrx-amdcccle 2:9.000-0ubuntu3 amd64 Catalyst Control Center for the AMD graphics accelerators ii fglrx-dev 2:8.982-0ubuntu1 amd64 Video driver for the AMD graphics accelerators (devel files) root:~#

Code:
root:~# lspci|grep ATI 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.1 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0 USB OHCI1 Controller 00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 3c) 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Juniper [Radeon HD 5700 Series] 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Juniper HDMI Audio [Radeon HD 5700 Series] root:~#

Code:
root:~# X -version X.Org X Server 1.13.0 Release Date: 2012-09-05 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-32-generic x86_64 Ubuntu Current Operating System: Linux local 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:48:01 UTC 2012 x86_64 Kernel command line: root=UUID=2d11d478-c804-4e01-a289-f95e6f06f3eb ro Build Date: 27 November 2012 07:44:35AM xorg-server 2:1.13.0-0ubuntu6.1 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.26.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. root:~#
#2
grep EE /home/user/CustomDebs/Xorg.0.log
Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 721.532] Initializing built-in extension MIT-SCREEN-SAVER [ 721.545] (EE) Failed to load /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension [ 721.545] (EE) Failed to load module "fglrx" (loader failed, 7) [ 721.555] (EE) Failed to load /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so: /usr/lib/x86_64-linux-gnu/xorg/extra-modules/extra-modules.dpkg-tmp/modules/drivers/fglrx_drv.so: undefined symbol: noXFree86DRIExtension [ 721.555] (EE) Failed to load module "fglrx" (loader failed, 7) [ 721.561] (EE) open /dev/dri/card0: No such file or directory [ 721.562] (EE) open /dev/fb0: No such file or directory [ 721.562] (EE) Screen 0 deleted because of no matching config section. [ 722.206] (EE) GLX error: Can not get required symbols. [ 722.219] (II) XKB: reuse xkmfile /tmp/server-76D2B5A359D34EEB9BFAEB1701EF70014DF39715.xkm
#3
Catalyst 12.8 does not support Ubuntu 12.10s Kernel...

With 12.04 everything works as it should.
#4
I experienced the same issue with my 5870, but I got it resolved. Try installing the fglrx-updates with apt-get. You may need to add a ppa repository to do this, but a quick google search will help you find it.
#5
I`m done with Quantal Quezal. ^_^ It broke multiple compizplugins like Wallpaper, Expo was limited, Expo could not be used as curve, cube crashed if used with 3D Windows and/or transform and some other problems caused by X.

12.04 is fine. Everything works.