Difference between revisions of "Installation of ATI graphics adapter driver"

From froelix.com - Wiki
Jump to: navigation, search
(Created page with ''''Problem:''' * After running ''ati-driver-installer-X-X.run'', the X-Server failed to start. '''Solution:''' * Read log file at ''/usr/share/ati/fglrx-install.log'' * Install …')
 
 
Line 6: Line 6:
 
* Install the fglrx kernel module by running the following script: ''/lib/modules/fglrx/make_install.sh''
 
* Install the fglrx kernel module by running the following script: ''/lib/modules/fglrx/make_install.sh''
 
* If this does not work, you can restore the previous settings by running ''aticonfig --initial -f'' as root
 
* If this does not work, you can restore the previous settings by running ''aticonfig --initial -f'' as root
 +
 +
'''Note:'''
 +
 +
If the ATI driver fails to install after a system update of Debian, this may be caused by a function rename.
 +
The following workaround could help:
 +
* Run the installer ''ati-driver-installer-X-X.run''
 +
* Go to the directory ''/lib/modules/fglrx/build_mod/''
 +
* Edit line 196 of the file ''kcl_ioctl.c'' from
 +
return compat_alloc_user_space(size);
 +
to
 +
return arch_compat_alloc_user_space(size);
 +
* Run the script ''make.sh'' out of this directory to build the fglrx kernel module
 +
* Install the fglrx kernel module by running the following script: /lib/modules/fglrx/make_install.sh

Latest revision as of 16:30, 23 September 2010

Problem:

  • After running ati-driver-installer-X-X.run, the X-Server failed to start.

Solution:

  • Read log file at /usr/share/ati/fglrx-install.log
  • Install the fglrx kernel module by running the following script: /lib/modules/fglrx/make_install.sh
  • If this does not work, you can restore the previous settings by running aticonfig --initial -f as root

Note:

If the ATI driver fails to install after a system update of Debian, this may be caused by a function rename. The following workaround could help:

  • Run the installer ati-driver-installer-X-X.run
  • Go to the directory /lib/modules/fglrx/build_mod/
  • Edit line 196 of the file kcl_ioctl.c from
return compat_alloc_user_space(size);

to

return arch_compat_alloc_user_space(size);
  • Run the script make.sh out of this directory to build the fglrx kernel module
  • Install the fglrx kernel module by running the following script: /lib/modules/fglrx/make_install.sh