Problem mit ATI-Treiber

Code:
Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "aticonfig-Screen[0]"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
EndSection

Section "DRI"
	Mode         0666
EndSection

So würde ich den Server aufsetzen und dann bei Problemen in die log Datei schauen. Wenn der neue Treiber richtig installiert ist, sollte es laufen.
 
Mit den Prop. ATi Treibern ist fast immer ein Riesenproblem, es gibt u.a. sehr viele Abhängigkeiten bei Hard- und Software (Kernel, Bibliotheken, Compiler, X-Server, mesa ...).
Ein Blick auf Phoronix ergab, die HD4850 / 70 wird ab Catalyst 8.5 (wenn auch buggy) unterstützt. Ab Version 8.8 (fglrx8.522) soll es dann einigermaßen gut laufen. Ergo verbleiben für die HD4850 / 70 nur die Treiber >= 8.5.
Problem 1, lassen sich die *.deb Pakete überhaupt erst einmal erstellen? Probieren.
Problem 2 läuft das Kernelmodul (depmod -a, modprobe -k fglrx,-> lsmod grep | fglrx, dmesg | grep fglrx). Falls nicht oder Fehler, andere Version testen.
Problem 3, aticonfig --initial -f, Kontrolle xorg.conf, ggf. korrigieren. aticonfig legt Sicherungsdatei der vorigen Konfiguration an. Der Schritt darf nicht ausgelassen werden wegen der ATI DB (/etc/ati).

X starten und egal ob läuft oder nicht /var/log/Xorg.0.log auswerten!
Falls X läuft solte fglrxinfo etwa folgendes liefern:

fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 4800 Series
OpenGL version string: 2.1.8087 Release
---------------------------------------------------------
Beispiel xorg.conf

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

------------------------------
PS. Habe gerade die 8.12 unter Ubuntu 8.04.1 LTS installiert, funktioniert. Die 8.11 sind hier buggy (Fehler im Kernelmodul, dmesg).
 
Zuletzt bearbeitet:
@magus16:

Genauso habe ich es schon versucht. Und bringt mir denselben Fehler:
No screen found.

@BlackMan:
Sprichst du von Methode 1 oder 2?
 
Okay, aber ich benutze ja Debian etch.
Lenny ließ sich erst gar nicht installieren. Da ist die Installation bei "starting the partitioner" bei 47% hängen geblieben...
Und ich verstehe immernoch nicht, was das Problem ist mit dem fglrx Treiber. :(
 
@puzzler
Bei der Debian sollte es analog bis auf diesen Blacklist Kram funktionieren. Wie ich oben bemerkte ist erst einmal ein ATI Treiber zu finden der sich mit buildpkg übersetzen lässt (ab 8.5 für die HD4850 / 70).
----------------
z.B. sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Ubuntu/hardy liefert (64BIT System)

ati-driver-installer-8-12-x86.x86_64.run
fglrx-amdcccle_8.561-0ubuntu1_amd64.deb
fglrx-installer_8.561-0ubuntu1_amd64.changes
fglrx-kernel-source_8.561-0ubuntu1_amd64.deb
fglrx-modaliases_8.561-0ubuntu1_amd64.deb
libamdxvba1_8.561-0ubuntu1_amd64.deb
xorg-driver-fglrx_8.561-0ubuntu1_amd64.deb
xorg-driver-fglrx-dev_8.561-0ubuntu1_amd64.deb

sudo dpkg -i *8.561*.deb
sudo aticonfig --initial -f
----------------------------------------------------
Am besten extra Verzeichnis erstellen z.B. ati812
Ati Treiber reinkopieren

sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Debian/etch
...
 
Zuletzt bearbeitet:
Der neuste Treiber von der Ati Seite funktioniert wunderbar mit ubuntu 8.1 64bit. Obwohl ich nur den automatischen Installer benutzt habe.
Da habe ich nur sh ati-driver-installer-8-12-x86.x86_64.run und durch den Installer klicken. Fertig. :D

Unter debian etch meint er bei deiner methode:

Code:
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
 fglrx-amdcccle depends on ia32-libs; however:
  Package ia32-libs is not installed.
dpkg: error processing fglrx-amdcccle (--install):
 dependency problems - leaving unconfigured

und

Code:
sudo apt-get install ia32-libs
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ia32-libs has no installation candidate

und

Code:
sudo aticonfig --initial -f
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-7
 
Zuletzt bearbeitet:
Du kannst die ia32-libs auch manuell hier herunterladen und dann installieren.
 
Ich weiss jetzt nicht, wie genau die Probleme sind, aber bei meinem Debian Etch war nach Treiber 8.11 das Bild schwarz. Als ich dann wieder im Single Login 8.10 installiert hatte, war auch wieder ein Bild da. Obs jetzt mit dem neuen 8.12 anders ist, kann ich noch nicht sagen. Aber vielleicht hat hier auch einer den 8.11 probiert.

Edit: Allerdings habe ich eine 3850 und keine 4xxx
 
Zuletzt bearbeitet:
BlackMan schrieb:
1. sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Debian/etch

2. ???

3. sudo dpkg -i *8.561*.deb

4. sudo aticonfig --initial -f

Die Anleitung zur MEthode 2 sieht ja genau so aus. Bis auf Schritt Nummer 2. Da muss ich doch den fglrx-driver und fglrx-kernel-src mit

2. sudo apt-get -t etch-backports install fglrx-driver fglrx-kernel-src

installieren und die restlichen Pakete vom normalen Ati Treiber installieren, wie in Schritt 3.

Oder kann ich ds nicht miteinander Mixen? Bzw. muss ich noch weitere Pakete aus den backports verwenden?
 
Das Problem scheint zu sein, dass der backport Treiber nicht aktuell genug ist, um fehlerfrei mit deiner Karte zu laufen. Es muss also nach Methode 2 laufen.
Ohne es jetzt testen zu können:
Code:
su

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

sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Debian/etch
dpkg -i fglrx-*.deb
sudo apt-get -f upgrade

rm -r /usr/src/fglrx-kernel*

sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant a-i fglrx

aticonfig --initial
Falls nötig, die ia32-libs manuell herunterladen und installieren.
 
Hat dies hier irgendwas zu bedeuten? Mir dünkt so :D

Code:
sudo aticonfig --initial
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-9

EDIT:

Okay, hat nun wunderbar geklappt.
Es lag vermutlich an

rm -r /usr/src/fglrx-kernel*

Dies hatte ich eben zwar gemacht obwohl keine weiteren fglrx-kernel-src vorhanden waren, aber gestern abend konnte ich dort etwas loeschen.
Ich gehe mal davoin aus, dass er bei den vielen anderen Versuchen der Installation immer den flalschen genommen hat. :/

Besten Dank!!! :D
 
Zuletzt bearbeitet:
BlackMan schrieb:
@BrollyLSSJ der 8.11 ist irgendwie buggy, das 8.10 und der 8.12 funktionieren.

Danke, dann kann ich den ja beruhigt installieren =) Zur Vorsicht bewahre ich aber den 8.10 auch noch auf (hatte den bei der Installation von 8.11 geloescht gehabt und durfte ihn neu laden => gut dass ich lynx per console installieren konnte).
 
So, ich habe dann doch mal geschafft Lenny beizubringen, bei der Installation mein Festplatten zu erkennen. Aber nun folgendes.
Wenn ich nach Methode 2 wie hier http://wiki.cchtml.com/index.php/Debian_Installation_Guide
Also beim letzten Schritt von:
Code:
su
cd ~
apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 wget
wget -c https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-8.42.3-x86.x86_64.run
./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx
cd fglrx
cd arch/x86_64/usr/X11R6
ln -s lib64 lib
## One more link needed for 8.2
## begin 8.2
ln -sf libfglrx_gamma.so.1.0 lib/libfglrx_gamma.so.1
## end 8.2 ;-)
cd ~-
./packages/Debian/ati-packager.sh --buildpkg etch #replace with lenny or sid when appropriate
cd ..
dpkg -i fglrx-driver_8.42.3-1_amd64.deb fglrx-driver-dev_8.42.3-1_amd64.deb fglrx-kernel-src_8.42.3-1_amd64.deb fglrx-amdcccle_8.42.3-1_amd64.deb
bekomme ich die Meldung:
Code:
...
...
...
dpkg: dependency problems prevent configuration of fglrx-driver-dev:
 fglrx-driver-dev depends on fglrx-driver; however:
  Package fglrx-driver is not installed.
dpkg: error processing fglrx-driver-dev (--install):
 dependency problems - leaving unconfigured
Setting up fglrx-kernel-src (8.561-1) ...
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
 fglrx-amdcccle depends on fglrx-driver; however:
  Package fglrx-driver is not installed.
dpkg: error processing fglrx-amdcccle (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 fglrx-driver_8.561-1_amd64.deb
 fglrx-driver-dev
 fglrx-amdcccle

Nun steht ja auch in der Anleitung:
Code:
You might get some errors regarding dependencies during the dpkg process. You can ignore them since they should be resolved when you run the upgrade step.

Worauf ich
Code:
sudo apt-get -f upgrad
durchführe und dies erhalte:
Code:
dpkg: serious warning: files list file for package `fglrx-driver' missing, assuming package has no files currently installed.
74873 files and directories currently installed.)
Preparing to replace fglrx-driver 8.561-1 (using .../fglrx-driver_1%3a8-7-3_amd64.deb) ...
Unpacking replacement fglrx-driver ...
dpkg: error processing /var/cache/apt/archives/fglrx-driver_1%3a8-7-3_amd64.deb (--unpack):
 trying to overwrite `/usr/lib/libfglrx_tvout.a', which is also in package fglrx-driver-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx-driver_1%3a8-7-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Und ich weiß nicht wo das Problem liegt. :freak:
 
Wenn du bei Methode 2 weiter herunterscrollst, siehst du schon mehrere aktualisierte Schritte, weil die ursprüngliche Vorgehensweise mittlerweile ein bisschen veraltet ist.

Klappt denn die Anleitung, die ich gepostet habe, bei lenny nicht? Da müsste doch eigentlich nur einmal "etch" gegen "lenny" getauscht werden.
 
Schon beim ersten Schritt erhalte ich:

Code:
sudo sh ati-driver-installer-8-12-x86.x86_64.run --buildpkg Debian/lenny
...
...
...

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: warning: symbol _XEatData used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XOpenDisplay used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XF86DRIGetDeviceInfo used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XCloseDisplay used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XF86DRIOpenConnection used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XInitThreads used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol pow used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XF86DRICreateContext used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XMissingExtension used by debian/fglrx-driver/usr/lib/libAMDXvBA.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: 14 other similar warnings have been skipped (use -v to see them all).
dpkg-shlibdeps: warning: symbol XQueryFont used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XEatData used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFillRectangle used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReadPad used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFreeGC used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XFree used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XGetErrorDatabaseText used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XAddToExtensionList used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XDrawString16 used by debian/fglrx-driver/emul/ia32-linux/usr/lib/libGL.so.1.2 found in none of the libraries.
dpkg-shlibdeps: warning: 18 other similar warnings have been skipped (use -v to see them all).
dpkg-shlibdeps: warning: symbol _XFlush used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/fglrx-driver/usr/lib/libfglrx_pp.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/fglrx-driver/usr/lib/libfglrx_pp.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_gamma.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_gamma.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_gamma.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_gamma.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_gamma.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_gamma.so.1.0 found in none of the libraries.
dpkg-shlibdeps: failure: couldn't find library libfglrx_gamma.so.1 needed by debian/fglrx-driver/usr/bin/fglrx_xgamma (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.mEZAgZ
:D

Ich denke das liegt an der Geschichte mit fglrx_gamma.so.1.0.
Also erst auspacken und mit ln Link erstellen oder sowas. Keine Ahnung was die da genau machen in der Anleitung. :freak:
 
Ich schreibe mal meine Lösung, wie ich es geschafft habe den Treiber unter Lenny zu installieren.
Ich musste nämlich 2 verschiedene Installationsvarianten zusammenfügen:

Zunächst einmal wie hier beschrieben:
http://wiki.cchtml.com/index.php/Debian_Installation_Guide

Code:
su
cd ~

apt-get install module-assistant build-essential fakeroot dh-make debconf bzip2 ia32-libs libstdc++5 linux-headers-$(uname -r) debhelper

./ati-driver-installer-8.42.3-x86.x86_64.run --extract fglrx

cd fglrx

cd arch/x86_64/usr/X11R6

ln -s lib64 lib

ln -sf libfglrx_gamma.so.1.0 lib/libfglrx_gamma.so.1

cd ~-

./packages/Debian/ati-packager.sh --buildpkg lenny

cd ..

dpkg -i fglrx-driver_*_amd64.deb

dpkg -i fglrx-driver-dev_*_amd64.deb

dpkg -i fglrx-kernel-src_*_amd64.deb

dpkg -i fglrx-amdcccle_*_amd64.deb

Habe die .deb zur Übersicht nacheinander installiert.

Danach geht es mit einer anderen Variante weiter, und zwar:
http://cordonbloed.wordpress.com/20...reiber-unter-debian-lenny-testing-einrichten/

Code:
cd /usr/src

tar -xjf fglrx.tar.bz2

m-a prepare

m-a build fglrx

m-a install fglrx

aticonfig --initial

Die "i-a" Methode hat bei mir nicht funktioniert.

Danach neustarten und fertig.
Gegebenenfalls mit fglrxinfo nachschauen.

so, tschüss. :evillol:
 
Zurück
Oben