Depois de instalar o kernel 3.4.3, por que não consigo construir o módulo binário de gráficos da AMD? [fechadas]

2

Atualizei recentemente meu kernel do Ubuntu 12.04 para o 3.4.3-generic e agora meus drivers ATI / AMD não serão instalados corretamente. O AMD Catalyst Control Center está lá, e eu posso abri-lo bem, mas ele só mostra gráficos 2D como sendo habilitados. Minha placa de vídeo é a Radeon HD 7770, e estava funcionando perfeitamente no meu kernel antigo (2.5.xx). Eu recebo a seguinte saída ao tentar instalar os drivers mais recentes da AMD (o erro é um pouco mais do que meio caminho):

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

Rodar fglrxinfo na linha de comando retorna o seguinte:

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

Basicamente, parece que o instalador está falhando ao tentar construir para o kernel 3.4.3 ... há algo que eu possa fazer sobre isso, ou eu tenho que esperar que a AMD libere drivers atualizados?

Por fim, aqui está a saída gravada em /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

Alguém sabe o que se houver algo que eu possa fazer? Obrigado antecipadamente!

    
por triq6 22.06.2012 / 07:43

1 resposta

1

Bem-vindo ao mundo de nenhuma API do kernel estável.

Enfim, parece que será corrigido no Catalyst 12.5, ou se você precisar de uma solução alternativa: link

    
por Bryce 22.06.2012 / 08:06