Ubuntu 14.04 Erros de compilação do ATI Legacy: /lib/modules/…/build/include/linux/version.h não encontrado

1

História curta, obtenha Error! Bad return status for module build on kernel: 3.13.0-24-generic (x86_64) e kernel includes at /lib/modules/3.13.0-24-generic/build/include not found or incomplete ao tentar instalar o fglrx do driver-amd-installer-catalyst-13.1-legacy-linux-x86.x86_64 para dois Radeon HD 2600 XT .

Longa história: ao instalar o Ubuntu 14.04 do livecd monitor4 não recebi nenhum sinal e recebi "Could not switch the monitor configuration/could not set the configuration for CRTC 64" erro. Eu empurrei. Depois que o monitor de instalação e reinicialização 4 começou a funcionar, mas 3 não e obteve o mesmo erro pop-up CRTC 64 na tela de login, também os gráficos / cursor estão um pouco saltados e não são suaves.

Pensei em instalar os drivers fglrx manualmente

$ sudo lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV630 XT [Radeon HD 2600 XT] [1002:9588]
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV630 XT [Radeon HD 2600 XT] [1002:9588]

Parece que vê todos os 4 monitores

$ sudo xrandr
Screen 0: minimum 320 x 200, current 7680 x 1200, maximum 8192 x 8192
DVI-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0  
...more resolutions...
DIN disconnected (normal left inverted right x axis y axis)
DVI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080      60.0*+   50.0     59.9  
   1920x1080i     60.1     50.0     60.0  
...more resolutions...
DVI-1-2 connected 1920x1080+3840+0 527mm x 296mm
   1920x1080      60.0*+   50.0     59.9     30.0     30.0  
   1920x1080i     60.1     50.0     60.0  
...more resolutions...
DIN-1-1 disconnected
DVI-1-3 connected 1920x1080+5760+0 527mm x 296mm
   1920x1080      60.0*+   50.0     59.9     30.0     30.0  
   1920x1080i     60.1     50.0     60.0  
...more resolutions...
  1920x1080 (0x45)  148.5MHz
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock   67.5KHz
        v: height 1080 start 1084 end 1089 total 1125           clock   60.0Hz
...more resolutions...

aviso Erro! Status de retorno incorreto para a compilação do módulo no kernel: 3.13.0-24-generic (x86_64)

$ sudo dpkg -i fglrx*.deb
Selecting previously unselected package fglrx.
(Reading database ... 167116 files and directories currently installed.)
Preparing to unpack fglrx_8.970-0ubuntu1_amd64.deb ...
Unpacking fglrx (2:8.970-0ubuntu1) ...
Selecting previously unselected package fglrx-amdcccle.
Preparing to unpack fglrx-amdcccle_8.970-0ubuntu1_amd64.deb ...
Unpacking fglrx-amdcccle (2:8.970-0ubuntu1) ...
Selecting previously unselected package fglrx-dev.
Preparing to unpack fglrx-dev_8.970-0ubuntu1_amd64.deb ...
Unpacking fglrx-dev (2:8.970-0ubuntu1) ...
Setting up fglrx (2:8.970-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: 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.970 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-24-generic
Building for architecture x86_64
Building initial module for 3.13.0-24-generic
Error! Bad return status for module build on kernel: 3.13.0-24-generic (x86_64)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up fglrx-amdcccle (2:8.970-0ubuntu1) ...
Setting up fglrx-dev (2:8.970-0ubuntu1) ...
Processing triggers for initramfs-tools (0.103ubuntu4) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
Processing triggers for libc-bin (2.19-0ubuntu6) ...

/var/lib/dkms/fglrx/8.970/build/make.log

$ cat /var/lib/dkms/fglrx/8.970/build/make.log
DKMS make.log for fglrx-8.970 for kernel 3.13.0-24-generic (x86_64)
Wed May  7 21:44:57 EDT 2014
AMD kernel module generator version 2.1
kernel includes at /lib/modules/3.13.0-24-generic/build/include not found or incomplete
file: /lib/modules/3.13.0-24-generic/build/include/linux/version.h

cabeçalhos linux instalados

$ sudo dpkg -l | grep linux-headers
ii  linux-headers-3.13.0-24                               3.13.0-24.47                                        all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-24-generic                       3.13.0-24.47                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                                 3.13.0.24.29                                        amd64        Generic Linux kernel headers

/lib/modules/3.13.0-24-generic/build/include/linux/version.h não está de fato lá

$ ls -l /lib/modules/3.13.0-24-generic/build/include/linux/ve*
lrwxrwxrwx 1 root root 57 May  2 20:39 /lib/modules/3.13.0-24-generic/build/include/linux/vermagic.h -> ../../../linux-headers-3.13.0-24/include/linux/vermagic.h
lrwxrwxrwx 1 root root 57 May  2 20:39 /lib/modules/3.13.0-24-generic/build/include/linux/vexpress.h -> ../../../linux-headers-3.13.0-24/include/linux/vexpress.h
    
por meccooll 08.05.2014 / 05:50

1 resposta

1

Os drivers legados proprietários foram mortos pelos drivers de código aberto; para a maioria das pessoas, os drivers de código aberto estão funcionando bem o suficiente. A partir do Ubuntu 13.10, a AMD já não suporta oficialmente drivers Linux para qualquer placa abaixo do HD5000 . Veja também o bug da barra de lançamento # 1058040 :

  

Um dos principais problemas para resolver esse problema é a AMD atualmente   não pretende suportar o XServer 1.13 (para o Ubuntu o pacote é   xserver-xorg-core) para o driver legado 12.6, que o Quantal usa

O erro de compilação sobre version.h parece com o Ubuntu bug # 859101 .

Para resolver o seu problema, a opção realista é comprar uma nova placa gráfica multi-monitor, como o Eyefinity 6.

    
por bain 09.05.2014 / 02:34