Forum Clubic

Problème installation pilotes proprio ATI sur Debian 5.0

Bonjour à tous,

j’ai récemment installé une Debian 5.0 Lenny amd64 sur mon ordi. Tout s’est bien passé jusqu’au moment où j’ai voulu installer les pilotes proprio ATI pour ma HD 4870… Sachant par avance que les pilotes ATI étaient assez galère à installer sous Linux, j’ai directement regardé des tutos. J’ai ainsi trouvé plusieurs méthodes, mais aucune n’ont marché.

En fait à chaque fois que je redémarre mon ordi après une install des pilotes, l’écran reste noir, et je suis obligé de redémarrer avec un live-cd ubuntu pour restaurer le fichier xorg.conf dont j’avais fait un backup avant.

Après une install, fglrxinfo me renvoie :


display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.4)

J’ai trouvé quelques pages sur le net qui traitent du problème “Mesa”, mais aucune ne résout le problème.
Donc voilà je voulais savoir s’il y avait une méthode pour installer ces pilotes ou si le cas était désespéré … :arf:

Merci d’avance,
a+ :hello:
Edité le 30/03/2009 à 20:11

Personne n’a jamais eu ce problème ? :etonne2:

En tout cas, la meilleure méthode que j’ai trouvée semblait etre de générer les paquets .deb depuis l’installateur fourni par ATI, j’ai donc fait :


sudo sh ./ati-driver-installer-9-3-x86.x86_64.run --buildpkg Debian/lenny

Là en théorie ca aurait du me générer des paquets .deb que j’aurais ensuite pu installer, mais le script commence, puis semble se bloquer et finit par générer des erreurs et quitte :


Created directory fglrx-install.KqhVZC
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.593...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Debian/lenny
Package build failed!
Package build utility output:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.593-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture amd64
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
`debian/fglrx.default' -> `debian/fglrx'
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
debian/rules binary
dh_testdir
# move licenses away from binary dir
if [ ! -d usr/share/doc/fglrx ]; then \
mkdir -p usr/share/doc/fglrx; \
mv usr/X11R6/bin/LICENSE.* usr/share/doc/fglrx; \
fi
# set executable on user apps
find usr/X11R6/bin -type f | xargs chmod a+x
# remove exec bit from files that don't deserve it
find usr/X11R6/include \
usr/X11R6/lib \
usr/X11R6/lib64 \
usr/share usr/src -type f | xargs chmod -x
find lib -not -name "*.sh" -type f | xargs chmod -x
find lib -name "*.sh" -type f | xargs chmod +x
# set proper permissions on /etc files
if [ -d etc/ati ]; then \
chmod 755 etc/ati ; \
chmod 644 etc/ati/* ; \
chmod a+x etc/ati/*.sh ; \
fi
if [ -f debian/fglrx.default ]; then \
mv -v debian/fglrx.default debian/fglrx; \
fi
# remove exec bit from 64-bit libs too
find usr/X11R6/lib64 -type f | xargs chmod -x
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Create the directories to install into
dh_installdirs -pfglrx-driver \
usr \
usr/lib/xorg \
usr/lib/xorg/modules \
usr/lib/dri \
usr/bin \
usr/sbin \
etc/acpi \
etc/acpi/events \
etc/default \
etc/X11/Xsession.d
# the amd64 package includes 32bit compatibility libraries
dh_installdirs -pfglrx-driver \
emul/ia32-linux/usr/lib \
emul/ia32-linux/usr/lib/xorg \
emul/ia32-linux/usr/lib/xorg/modules \
emul/ia32-linux/usr/lib/dri
dh_installdirs -pfglrx-driver-dev \
usr \
usr/include \
usr/lib
dh_installdirs -pfglrx-kernel-src \
usr/src/modules/fglrx \
usr/src/modules/fglrx/debian
dh_installdirs -A -pfglrx-amdcccle \
usr \
usr/bin \
usr/share \
usr/share/applnk \
usr/share/applications \
usr/share/icons \
usr/share/pixmaps
dh_installdirs -p \
usr/src
dh_install
ldconfig -n usr/X11R6/lib/
dh_install -pfglrx-driver "usr/X11R6/bin/fgl*" "usr/bin"
dh_install -pfglrx-driver "usr/X11R6/bin/aticonfig" "usr/bin"
dh_install -pfglrx-driver "usr/sbin/atieventsd" "usr/sbin"
dh_installman -pfglrx-driver "usr/share/man/man8/atieventsd.8"
# amd64 needs some library redirection
dh_install -pfglrx-driver "usr/X11R6/lib64/*.so*" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/dri" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/linux" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/drivers" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/extensions" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.so" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib64/modules/*.a" "usr/lib/xorg/modules"
dh_install -pfglrx-driver "usr/X11R6/lib/*.so*" "emul/ia32-linux/usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri" "emul/ia32-linux/usr/lib"
dh_install -pfglrx-driver "etc/fglrx*" "etc"
dh_install -pfglrx-driver "etc/ati" "etc"
dh_install -pfglrx-driver "debian/70fglrx" "etc/X11/Xsession.d"
dh_install -pfglrx-driver "debian/fglrx-powermode.sh" "etc/acpi"
dh_install -pfglrx-driver "debian/fglrx-*-aticonfig" "etc/acpi/events"
dh_install -pfglrx-driver "debian/fglrx" "etc/default"
dh_installinit -pfglrx-driver --name="atieventsd"
# create symlinks to shared libs
dh_link -pfglrx-driver "usr/lib/libGL.so.1.2" "usr/lib/libGL.so.1"
dh_link -pfglrx-driver "emul/ia32-linux/usr/lib/libGL.so.1.2" "emul/ia32-linux/usr/lib/libGL.so.1"
dh_install -pfglrx-driver-dev "usr/X11R6/lib64/*.a" "usr/lib"
dh_install -pfglrx-driver-dev "usr/X11R6/include/*" "usr/include"
dh_install -pfglrx-driver-dev "usr/include/*" "usr/include"
dh_install -pfglrx-kernel-src \
lib/modules/fglrx/build_mod/*.c \
lib/modules/fglrx/build_mod/*.h \
lib/modules/fglrx/build_mod/*.sh \
lib/modules/fglrx/build_mod/lib* \
lib/modules/fglrx/build_mod/2.6.x/Makefile \
usr/src/modules/fglrx
dh_install -pfglrx-kernel-src "debian/changelog" "usr/src/modules/fglrx/debian"
dh_install -pfglrx-kernel-src \
debian/copyright \
debian/compat \
module/rules \
module/control.template \
module/dirs.template \
module/postinst \
usr/src/modules/fglrx/debian
(cd debian/fglrx-kernel-src/usr/src \
&& chown -R root:src modules \
&& tar -jcf fglrx.tar.bz2 modules \
&& rm -rf modules)
# control panel package
dh_install -A -pfglrx-amdcccle "usr/X11R6/bin/amdcccle" "usr/bin"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/icons"
dh_install -A -pfglrx-amdcccle "usr/share/icons/*.xpm" "usr/share/pixmaps"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.desktop" "usr/share/applications"
dh_install -A -pfglrx-amdcccle "debian/amdcccle.kdelnk" "usr/share/applnk"
dh_install -A -pfglrx-amdcccle "usr/share/ati" "usr/share"
dh_desktop -pfglrx-amdcccle
dh_installdocs
dh_installdocs -pfglrx-driver usr/share/doc/fglrx/*
#dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_installdeb
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: failure: couldn't find library libstdc++.so.5 needed by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
dh_shlibdeps: command returned error code 512
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.KqhVZC

PS: j’ai aussi essayé avec les 9.1 et ca fait le meme problème :frowning:
Edité le 30/03/2009 à 18:33

Il te manque une librairie (que tu dois installer), regardes les dernieres erreurs.
libstdc++5 certainement…
Edité le 30/03/2009 à 19:32

Merci Woooooow, en effet il me manquait une librairie. Du coup j’ai pu générer les packages et les installer (non sans mal à cause de certaines dépendances), mais rien n’y fait ca marche toujours pas…

Jai suivi ce tuto et quand je fais “aticonfig --initial” j’ai un joli :


Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-2
aticonfig: Writing to '/etc/X11/xorg.conf' failed. Bad file descriptor.