Another Debian Site : accueil
Pages : 1
Ben voilà : j’ai une carte graphique ATI radeon HD 5750 et je m’en vais vous conter son histoire, avant que d’appeler à l’aide.
Cette carte n’étant pas supportée par les drivers radeon et radeonhd qui figurent dans l’archive non-free.
J’ai chargé son driver propriétaire ici, j’ai suivi son mode d’emploi :
# ./ati-driver-installer-10-3-x86.x86_64.run --listpkg
Created directory fglrx-install.lFthZe
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.712.....................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
List of generatable packages:
Package Maintainer(s): Aric Cyr <[email protected]>
Mario Limonciello <[email protected]>
Status: *UNVERIFIED*
Debian Packages:
Debian/sid
Debian/unstable
Debian/etch
Debian/stable
Debian/lenny
Debian/testing
Debian/experimental
...Suivent les autres distributions installables, SuSE, SlackWare, Ubuntu… La page se termine par :
...
Ubuntu/lucid
Ubuntu/source
For example, to build a Debian Etch package, run the following:
% ./ati-driver-installer-<version>-<architecture>.run --buildpkg Debian/etch
Removing temporary directory: fglrx-install.lFthZe
#Illico presto, je tape la commande suivante :
# ./ati-driver-installer-10-3-x86.x86_64.run --buildpkg Debian/lennyRésultat :
Created directory fglrx-install.PjgXvx
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.712.....................................................................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Debian/lenny
cp: cannot stat `/home/patrick/fglrx-install.PjgXvx/x710/*': No such file or directory
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.712-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
debian/rules build
dpkg-buildpackage: host architecture i386
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: `usr/X11R6/lib64': No such file or directory
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'
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: `usr/X11R6/lib64': No such file or directory
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
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
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/lib/*.so*" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/dri" "usr/lib"
dh_install -pfglrx-driver "usr/X11R6/lib/modules/linux" "usr/lib/xorg/modules"
cp: cannot stat `./usr/X11R6/lib/modules/linux': No such file or directory
dh_install: command returned error code 256
make: *** [binary] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.PjgXvx
#Les lignes suivante m’effraient un rien :
cp: cannot stat `/home/patrick/fglrx-install.PjgXvx/x710/*': No such file or directory
Package build failed!cp: cannot stat `./usr/X11R6/lib/modules/linux': No such file or directory… surtout la dernière !
La commande suivante fonctionne :
stat /usr/X11R6/lib/modules/linuxAlors que celle-là ne fonctionne logiquement pas :
stat ./usr/X11R6/lib/modules/linuxJ’en déduis qu’il y a un point en trop dans le script (avant le « /usr »), point que je ne puis corriger (téléchargez donc ledit script, vous comprendrez).
Totalement désespéré, je continue à tester la commande « ./ati-driver-installer-<version>-<architecture>.run –buildpkg Distribution/version ».
J’essaye les paquets source d’Ubuntu et là, ô suprise, v’là-t’y pas qu’ça télécharge quequ’chose :
# ./ati-driver-installer-<version>-<architecture>.run --buildpkg Ubuntu/sourceJ’obtiens des répertoires :
fglrx.TKowBQ/arch:
total 16
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 x86
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 x86_64
fglrx.TKowBQ/debian:
total 40
drwxr-xr-x 9 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
-rw-rw-r-- 1 pathe pathe 178 avr 17 12:43 changelog
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 gutsy
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 hardy
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 intrepid
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 jaunty
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 karmic
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 lucid
drwxr-xr-x 7 pathe pathe 4096 avr 17 14:37 source
fglrx.TKowBQ/etc:
total 12
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 ati
fglrx.TKowBQ/lib:
total 12
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 modules
fglrx.TKowBQ/usr:
total 28
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 include
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 sbin
drwxr-xr-x 7 pathe pathe 4096 avr 17 12:43 share
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 src
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 X11R6
fglrx.TKowBQ/x740:
total 12
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 usr
fglrx.TKowBQ/x740_64a:
total 12
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 .
drwx------ 9 pathe pathe 4096 avr 17 12:43 ..
drwxr-xr-x 4 pathe pathe 4096 avr 17 12:43 usrLe répertoire debian/source contient ceci :
total 144
drwxr-xr-x 7 pathe pathe 4096 avr 17 14:37 .
drwxr-xr-x 9 pathe pathe 4096 avr 17 12:43 ..
-rwxr--r-- 1 pathe pathe 354 avr 17 12:43 10fglrx.in
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 acpi
-rwxr--r-- 1 pathe pathe 271 avr 17 12:43 amdcccle.desktop
-rwxr--r-- 1 pathe pathe 16280 avr 17 12:43 changelog.in
-rwxr--r-- 1 pathe pathe 2 avr 17 12:43 compat
-rwxr--r-- 1 pathe pathe 2420 avr 17 12:43 control
-rwxr--r-- 1 pathe pathe 12154 avr 17 12:43 copyright
drwxr-xr-x 3 pathe pathe 4096 avr 17 12:43 dkms
-rwxr--r-- 1 pathe pathe 411 avr 17 12:43 dkms.conf.in
-rwxr--r-- 1 pathe pathe 235 avr 17 12:43 fglrx-amdcccle.install.in
-rwxr--r-- 1 pathe pathe 1153 avr 17 12:43 fglrx.atieventsd.init
-rwxr--r-- 1 pathe pathe 118 avr 17 12:43 fglrx.default
-rwxr--r-- 1 pathe pathe 290 avr 17 12:43 fglrx-dev.install.in
-rwxr--r-- 1 pathe pathe 204 avr 17 12:43 fglrx-dev.links
-rwxr--r-- 1 pathe pathe 14 avr 17 12:43 fglrx.dirs
-rwxr--r-- 1 pathe pathe 1742 avr 17 12:43 fglrx.install.in
-rwxr--r-- 1 pathe pathe 490 avr 17 12:43 fglrx.links
-rwxr--r-- 1 pathe pathe 32 avr 17 12:43 fglrx.manpages
-rwxr--r-- 1 pathe pathe 75 avr 17 12:43 fglrx-modaliases.install
-rwxr--r-- 1 pathe pathe 4585 avr 17 12:43 fglrx.postinst
-rwxr--r-- 1 pathe pathe 1537 avr 17 12:43 fglrx.postrm
-rwxr--r-- 1 pathe pathe 3634 avr 17 12:43 fglrx.preinst
-rwxr--r-- 1 pathe pathe 622 avr 17 12:43 fglrx.prerm
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 modaliases
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 overrides
-rwxr--r-- 1 pathe pathe 3020 avr 17 12:43 README.Debian
drwxr-xr-x 2 pathe pathe 4096 avr 17 12:43 replacements
-rwxr--r-- 1 pathe pathe 4064 avr 17 12:43 rulesÇa devient intéressant, ça ressemble au contenu d’un paquet debian… mais c’est pas tout à fait ça !
Quelqu’un pourrait-il m’indiquer comment installer tout ça à la mano ? Parce que là, même l’excellent « Debian : Administration et configuration avancées » de Martin Krafft n’est pas assez précis (en même temps, ce livre n’est pas là pour décrire le cauchemar du debianiste).
Que puis-je faire ?
Créer un paquet .deb à partir de cette arborescence ?
Installer les fichiers un par un dans les répertoires adéquats – à supposer que je les connaisse ?
Laisser tomber debian et me servir d’Ubuntu (non, non…) ?
À l’aide ! L’image de mon écran est toute déformée !
À l’aide !
Kiva, le micro-crédit efficace & facile.
*********** GPG : 45F03D8C ***********
Hors ligne
Hello,
Tu as essayé de compresser ton écran pour que l’image redevienne lisible et non déformée ? ![]()
Normalement, s’il y a tout ce qu’il faut, un simple debuild dans le répertoire te construira le paquet Debian aquaquat. ![]()
Sinon, si le paquet pour Ubuntu se construit, essaie de l’installer, ça m’est arrivé de le faire pour des logiciels que je voulais tester sans re-compiler un vrai paquet pour ma Squeeze.
Usti
Faut pas énerver un tigre …
Hors ligne
Sinon, si le paquet pour Ubuntu se construit, essaie de l’installer, ça m’est arrivé de le faire pour des logiciels que je voulais tester sans re-compiler un vrai paquet pour ma Squeeze.
Merci Usti !
Mais comment faire pour installer un paquet ubuntu sur une debian ?
Kiva, le micro-crédit efficace & facile.
*********** GPG : 45F03D8C ***********
Hors ligne
Ben :
$ sudo dpkg -i ton-paquet-buntu.deb![]()
Par contre, lors de la création du paquet, il faudra sélectionner une version de Buntu qui serait compatible avec ta Lenny, qui comment à dater … ![]()
Usti
Faut pas énerver un tigre …
Hors ligne
Tu as tenté de compiler le module fglrx (le paquet source étant fglrx-source) livré dans les archives officielles en passant par module-assistant pour se simplifier la vie ?
++
Gune
Dernière modification par Gune (07/07/2010 00:13:17)
Hors ligne
Le driver propriétaire a fini par fonctionner : j’ai une image format 1920 X 1080.
En revanche, le traitement des images est aléatoire : parfois la résolution est impeccable, parfois c’est parfaitement pixellisé.
Par exemple, le logo de wikipedia commons est chez moi entièrement fait d’escaliers :
Et le pépin avec les logiciels propriétaires, c’est qu’il est difficile d’intervenir dessus ![]()
PS : le paquet fglrx ne gère pas encore les cartes Radeon HD.
Kiva, le micro-crédit efficace & facile.
*********** GPG : 45F03D8C ***********
Hors ligne
Le driver propriétaire a fini par fonctionner : j’ai une image format 1920 X 1080.
En revanche, le traitement des images est aléatoire : parfois la résolution est impeccable, parfois c’est parfaitement pixellisé.
Par exemple, le logo de wikipedia commons est chez moi entièrement fait d’escaliers :
http://pathe.free.fr/logoWP-C.jpg
Et le pépin avec les logiciels propriétaires, c’est qu’il est difficile d’intervenir dessusPS : le paquet fglrx ne gère pas encore les cartes Radeon HD.
Cool. ![]()
++
Gune
Dernière modification par Gune (07/07/2010 18:22:13)
Hors ligne
Pages : 1