web-dev-qa-db-fra.com

Après avoir installé le noyau principal 3.4.3, pourquoi ne puis-je pas construire le module binaire graphique AMD?

J'ai récemment mis à jour mon noyau Ubuntu 12.04 en version 3.4.3-générique, et maintenant mes pilotes ATI/AMD ne s'installeront pas correctement. AMD Catalyst Control Center est là, et je peux l'ouvrir correctement, mais il ne montre que les graphiques 2D comme étant activés. Ma carte graphique est la Radeon HD 7770 et fonctionnait parfaitement sur mon ancien noyau (2.5.xx). J'obtiens la sortie suivante lorsque j'essaie d'installer les derniers pilotes d'AMD (l'erreur est un peu plus de la moitié):

Selecting previously unselected package fglrx.
(Reading database ... 261454 files and directories currently installed.)
Unpacking fglrx (from fglrx_8.961-0ubuntu1_AMD64.deb) ...
restore of system environment completed
Error! There are no instances of module: fglrx
8.961 located in the DKMS tree.
Errors during DKMS module removal
Uninstall fglrx driver complete.
For detailed log of uninstall, please see /etc/ATI/fglrx-uninstall.log
System must be rebooted to avoid system instability and potential data loss.
Selecting previously unselected package fglrx-amdcccle.
Unpacking fglrx-amdcccle (from fglrx-amdcccle_8.961-0ubuntu1_AMD64.deb) ...
Selecting previously unselected package fglrx-dev.
Unpacking fglrx-dev (from fglrx-dev_8.961-0ubuntu1_AMD64.deb) ...
Setting up fglrx (2:8.961-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken.
update-alternatives: warning: skip creation of /etc/OpenCL/vendors/amdocl32.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl32.icd (of link group x86_64-linux-gnu_gl_conf) doesn't exist.
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.961 DKMS files...
First Installation: checking all kernels...
Building only for 3.4.3-030403-generic
Building for architecture x86_64
Building initial module for 3.4.3-030403-generic
ERROR (dkms apport): kernel package linux-headers-3.4.3-030403-generic is not supported
Error! Bad return status for module build on kernel: 3.4.3-030403-generic (x86_64)
Consult /var/lib/dkms/fglrx/8.961/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle (2:8.961-0ubuntu1) ...
Setting up fglrx-dev (2:8.961-0ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.4.3-030403-generic

L'exécution de fglrxinfo dans la ligne de commande renvoie ce qui suit:

X Error of failed request:  BadRequest (invalid request code or no such operation)
Major opcode of failed request:  138 (ATIFGLEXTENSION)
Minor opcode of failed request:  66 ()
Serial number of failed request:  13
Current serial number in output stream:  13

Fondamentalement, il semble que le programme d'installation échoue lors de la tentative de génération pour le noyau 3.4.3 ... puis-je faire quelque chose à ce sujet, ou dois-je attendre qu'AMD publie les pilotes mis à jour?

Enfin, voici la sortie enregistrée dans /var/lib/dkms/fglrx/8.961/build/make.log:

DKMS make.log for fglrx-8.961 for kernel 3.4.3-030403-generic (x86_64)
Tue Jun 19 23:40:17 CDT 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.4.3-030403-generic/build SUBDIRS=/var/lib/dkms/fglrx/8.961/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.4.3-030403-generic'
  CC [M]  /var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c: In function ‘kasInitExecutionLevels’:
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:4157:5: error: ‘cpu_possible_map’ undeclared (first use in this function)
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:4157:5: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.c:4157:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
make[2]: *** [/var/lib/dkms/fglrx/8.961/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.961/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.4.3-030403-generic'
make: *** [kmod_build] Error 2
build failed with return value 2

Quelqu'un sait-il s'il y a quelque chose que je peux faire? Merci d'avance!

2
triq6

Bienvenue dans le monde sans API noyau stable.

Quoi qu'il en soit, il semble que cela sera corrigé dans Catalyst 12.5, ou si vous avez besoin d'une solution: http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/475575-warning- noyau-3-4-AMD-catalyseur-12-4-non-compatible.html

1
Bryce