Почему я не могу собрать двоичный графический модуль AMD после установки основного ядра 3.4.3? [закрыто]

Я недавно обновил свое ядро ​​Ubuntu 12.04 до версии 3.4.3-generic, и теперь мои драйверы ATI / AMD не устанавливаются правильно . AMD Catalyst Control Center есть, и я могу открыть его нормально, но он показывает только 2D-графику как включенную. Моя видеокарта - Radeon HD 7770, и она полностью работала с моим старым ядром (2.5.xx). При попытке установить последние версии драйверов от AMD я получаю следующий результат (ошибка чуть больше половины пути):

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

Запуск fglrxinfo в командной строке возвращает следующее:

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

В основном это выглядит как установщик не работает при попытке собрать ядро ​​3.4.3 ... могу ли я что-нибудь с этим поделать, или мне нужно подождать, пока AMD выпустит обновленные драйверы?

Наконец, вот результат, записанный в / 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

Кто-нибудь знает, что, если я могу что-то сделать? Заранее спасибо!

2
задан 22 June 2012 в 10:23

1 ответ

Добро пожаловать в мир нестабильного API ядра.

В любом случае звучит так, как будто это будет исправлено в Catalyst 12.5, или если вам нужен обходной путь: http://forums.opensuse.org/english/get-technical-help-here/tumbleweed/475575- предупреждение-ядро-3-4-драм-катализатор-12-4-не-compatible.html

0
ответ дан 22 June 2012 в 10:23

Другие вопросы по тегам:

Похожие вопросы: