There is a problem with installing display drivers for my ATI Radeon HD 6470m on Ubuntu 10.04.
Code:
# lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc NI Seymour [AMD Radeon HD 6470M] [1002:6760]
Code:
# xrandr
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1600 x 900
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.0*
800x600 61.0
1600x900_60.1 60.0
NOTE: 1600x900_60.1 was manually added and when implemented, it gives the error:
Code:
The selected configuration for displays could not be applied
Could not set the configuration for CRTC 264
The pre-packaged ati and radeon drivers forced my screen resolution to 1024x768. So, I decided to install fglrx. However, during installation of fglrx, the following errors are given:
Code:
E: fglrx: subprocess installed post-installation script returned error exit status 10
E: fglrx-amdcccle: dependency problems - leaving unconfigured
The terminal output for the installation shows the following:
Code:
Error! Bad return status for module build on kernel: 2.6.38 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.723.1/build for more information
.
.
.
[more error code]
The file referenced, make.log, states the following:
Code:
DKMS make.log for fglrx-8.723.1 for kernel 2.6.38 (x86_64)
Wed Jul 27 12:31:23 CDT 2011
AMD kernel module generator version 2.1
make.sh: line 373: [: =: unary operator expected
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
make -C /lib/modules/2.6.38/build SUBDIRS=/var/lib/dkms/fglrx/8.723.1/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-source-2.6.38'
CC [M] /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:402: error: unknown field ‘ioctl’ specified in initializer
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:402: warning: initialization from incompatible pointer type
In file included from /var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:443:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/drm_proc.h: In function ‘FGLDRM__vma_info’:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/drm_proc.h:497: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 5 has type ‘phys_addr_t’
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘fglrx_pci_suspend’:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:833: error: implicit declaration of function ‘acquire_console_sem’
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:855: error: implicit declaration of function ‘release_console_sem’
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘KCL_SetPageCache_Array’:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1316: warning: passing argument 1 of ‘KCL_ConvertPageToKernelAddress’ makes pointer from integer without a cast
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.h:325: note: expected ‘void *’ but argument is of type ‘long unsigned int’
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘__ke__cmpxchg’:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__ret’ declared void
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__old’ declared void
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:1473: error: variable or field ‘__new’ declared void
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c: In function ‘KAS_Mutex_Initialize’:
/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.c:5051: error: implicit declaration of function ‘init_MUTEX’
make[2]: *** [/var/lib/dkms/fglrx/8.723.1/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.723.1/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.38'
make: *** [kmod_build] Error 2
build failed with return value 2
Regardless, the package manager still says fglrx is installed. When running aticonfig, the following occurs:
Code:
# aticonfig --initial
aticonfig: No supported adapters detected.
Lastly, I tried forcing the boot commands to load the drivers as discussed here: http://www.backtrack-linux.org/forum...n-hd6470m.html
Please advise on how we can tackle this error to get proper video drivers loaded. Thanks for your time.
...psylence...