Debian Installation Guide: Difference between revisions

From cchtml.com
(mcZCUepTPmLfzkpV)
m (Reverted edits by 158.109.125.214 (talk) to last revision by Mooninite)
Line 1: Line 1:
# begin build properties# aunraeteogted by buildinfo.shro.build.id=GRH78Cro.build.display.id=GRH78Cro.build.version.incremental=eng.gituser.20110718.111643ro.build.version.sdk=9ro.build.version.codename=RELro.build.version.release=2.3.2ro.build.date=Mon Jul 18 11:17:29 PDT 2011ro.build.date.utc=1311013049ro.build.type=userro.build.user=gituserro.build.host=superlinuxcompro.build.tags=release-keysro.product.model=VTAB1008ro.product.brand=Vizioro.product.name=VTAB1008ro.product.device=VTAB1008ro.product.board=VTAB1008ro.product.cpu.abi=armeabi-v7aro.product.cpu.abi2=armeabiro.product.manufacturer=Vizioro.product.locale.language=enro.product.locale.region=USro.wifi.channels=ro.board.platform=# ro.build.product is obsolete; use ro.product.devicero.build.product=VTAB1008# Do not try to parse ro.build.description or .fingerprintro.build.description=VTAB1008-user 2.3.2 GRH78C eng.gituser.20110718.111643 release-keysro.build.fingerprint=Vizio/VTAB1008/VTAB1008:2.3.2/GRH78C/eng.gituser.20110718.111643:user/release-keys# end build properties## ADDITIONAL_BUILD_PROPERTIES#ro.sf.lcd_density=240persist.sys.timezone=America/Los_Angelesro.sf.hwrotation=270ro.tether.denied=truero.com.google.clientidbase=android-viziopersist.sys.language=enpersist.sys.country=USro.board.platform=VTAB1008ro.com.google.locationfeatures=1keyguard.no_require_sim=truero.product.board=VTAB1008ro.board.platform=VTAB1008ro.config.notification_sound=F1_MissedCall.oggro.setupwizard.mode=DISABLEDro.com.google.gmsversion=2.3_r1net.bt.name=Androiddalvik.vm.stack-trace-file=/data/anr/traces.txt
2007-11, see http://wiki.debian.org/AtiHowTo
----
As of November 2005, ATI's drivers are in the non-free area of Debian. Make sure your /etc/apt/sources.list contains "contrib non-free" as well as main. You will, however, have to build your own kernel modules.
 
''Warning: do not mix the non-free packages with the packages created by the installer as they will conflict in non-obvious ways. Before switching from one method to another, completely remove all fglrx-related packages. Never do upgrade from one method to another directly!''
 
The buildpackage will fail on Debian 6.0 (Squeeze). They're quite broken.
 
In addition, the generic installer will fail if your / partition has less space available than it wants, even if all of the files would be placed on a different partition (such as /usr).
== Update the xorg.conf file (Configuration) ==
<pre>
sudo aticonfig --initial
</pre>
Now restart X, or reboot for the driver changes to take effect.
 
== Confirm that it worked ==
<pre>
$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)
</pre>
 
If it didn't work, you may need to run:
<pre>
# mkdir -p /usr/X11R6/lib/modules/dri
# ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri
</pre>
 
Thanks to Maciej Matysiak for the clear debug [http://lists.debian.org/debian-amd64/2006/02/msg00217.html here] and solution [http://lists.debian.org/debian-amd64/2006/02/msg00311.html here].
 
If it's still not working, try:
<pre>
# rm /usr/lib/libGL.so*
# rm /usr/X11R6/lib/libGL.so*
# cd /usr/X11R6/lib
# cp /usr/lib/fglrx/diversions/lib/libGL.so.1.2 .
# ln -s libGL.so.1.2 libGL.so.1
# ldconfig
</pre>
and confirm that 'ldd /usr/bin/fglrxinfo' is pointing to the right one.
 
 
People seem to be experiencing a broken libGL.so.1 after installing 8.41 on Debian/etch. If `amdcccle` complains that libGL.so.1 does't exist, DONT DELETE /usr/lib/libGL.so.1.2 LIKE IT SAYS ABOVE. Make symbolic link to libGL.so.1.2 (which is included in fglrx package - 14 megs in size):
<pre>
# cd /usr/lib
# ln -s libGL.so.1.2 libGL.so.1
</pre>
 
 
[[Category:Installation Documentation]]
 
This work fine for ATI mobility radeon 1400
 
(make backup the olds xorg.* files in your folder)
 
<pre>
$ cp /etc/X11/xorg.conf /home/username/xorg.conf.old
$ cp /var/log/Xorg.0.log /home/username/Xorg.0.log.old
</pre>
 
(add contrib non-free in repositories)
 
<pre>
$ apt-get update
$ apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2
</pre>
 
(from www.amd.com download the current version of driver for your ATI)
 
<pre>
$ sh ./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Debian/lenny
</pre>                       
 
<pre>
$ apt-get install fglrx-amdcccle_8.40.4-1_i386.deb
$ apt-get install fglrx-driver-_8.40.4-1_i386.deb
$ apt-get install fglrx-driver-dev_8.40.4-1_i386.deb
$ apt-get install fglrx-kernel-src_8.40.4-1_i386.deb
$ apt-get -f upgrade
$ apt-get update
</pre>
 
 
 
<pre>
$ module-assistant prepare
$ module-assistant update
$ module-assistant a-i fglrx
</pre>
 
<pre>
$ aticonfig --initial
</pre>
 
(reboot computer)
 
<pre>
$ fglrxinfo
</pre>
 
<pre>
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)
</pre>

Revision as of 02:23, 11 December 2012

2007-11, see http://wiki.debian.org/AtiHowTo


As of November 2005, ATI's drivers are in the non-free area of Debian. Make sure your /etc/apt/sources.list contains "contrib non-free" as well as main. You will, however, have to build your own kernel modules.

Warning: do not mix the non-free packages with the packages created by the installer as they will conflict in non-obvious ways. Before switching from one method to another, completely remove all fglrx-related packages. Never do upgrade from one method to another directly!

The buildpackage will fail on Debian 6.0 (Squeeze). They're quite broken.

In addition, the generic installer will fail if your / partition has less space available than it wants, even if all of the files would be placed on a different partition (such as /usr).

Update the xorg.conf file (Configuration)

sudo aticonfig --initial

Now restart X, or reboot for the driver changes to take effect.

Confirm that it worked

$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)

If it didn't work, you may need to run:

# mkdir -p /usr/X11R6/lib/modules/dri
# ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib/modules/dri

Thanks to Maciej Matysiak for the clear debug here and solution here.

If it's still not working, try:

# rm /usr/lib/libGL.so*
# rm /usr/X11R6/lib/libGL.so*
# cd /usr/X11R6/lib
# cp /usr/lib/fglrx/diversions/lib/libGL.so.1.2 .
# ln -s libGL.so.1.2 libGL.so.1
# ldconfig

and confirm that 'ldd /usr/bin/fglrxinfo' is pointing to the right one.


People seem to be experiencing a broken libGL.so.1 after installing 8.41 on Debian/etch. If `amdcccle` complains that libGL.so.1 does't exist, DONT DELETE /usr/lib/libGL.so.1.2 LIKE IT SAYS ABOVE. Make symbolic link to libGL.so.1.2 (which is included in fglrx package - 14 megs in size):

# cd /usr/lib
# ln -s libGL.so.1.2 libGL.so.1

This work fine for ATI mobility radeon 1400

(make backup the olds xorg.* files in your folder)

$ cp /etc/X11/xorg.conf /home/username/xorg.conf.old
$ cp /var/log/Xorg.0.log /home/username/Xorg.0.log.old

(add contrib non-free in repositories)

$ apt-get update
$ apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2

(from www.amd.com download the current version of driver for your ATI)

$ sh ./ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Debian/lenny
$ apt-get install fglrx-amdcccle_8.40.4-1_i386.deb
$ apt-get install fglrx-driver-_8.40.4-1_i386.deb
$ apt-get install fglrx-driver-dev_8.40.4-1_i386.deb
$ apt-get install fglrx-kernel-src_8.40.4-1_i386.deb
$ apt-get -f upgrade
$ apt-get update


$ module-assistant prepare
$ module-assistant update
$ module-assistant a-i fglrx
$ aticonfig --initial

(reboot computer)

$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON 9700 Generic
OpenGL version string: 1.3.5461 (X4.3.0-8.19.10)