View previous topic :: View next topic |
Author |
Message |
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Thu Sep 01, 2005 9:02 am Post subject: ATI-Treiber und DRI [solved] |
|
|
Hallo,
ich habe hier ein neues Notebook zur Verfügung gestellt bekommen und das hat leider eine neuere ATI-Grafikarte (9700M).
Da ich vorher noch nie irgendwelche Zusatztreiber installieren musste (Radeon 7200 lief native) habe ich mich an die Installation gemacht.
Kernel (2.6.12) installiert compiliert,....
emerge ati-drivers ( ati-drivers-8.14.13-r1 und später ati-drivers-8.16.20)
opengl-update ati
gemacht,
mit fglrxconfig meine Xorg.conf angelegt und gestartet.
Ok es geht schonmal soweit, nur leider geht kein Opengl
Laut Xorg-logfile sollte es funktionieren:
Code: |
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): [DRI] installation complete
|
tut es aber nicht
fgl_glxgears geht gar nicht ( stürzt beim Start ab)
Code: |
~ # fgl_glxgears
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 33
Current serial number in output stream: 33
|
glxgears gibt was aus, aber das definitiv zu wenig Frames
Code: |
glxgears
1499 frames in 5.0 seconds = 299.800 FPS
1695 frames in 5.0 seconds = 339.000 FPS
|
OpenGL-Spiele gehen gar nicht.
dmesg sagt auch nix böses über das Kernelmodul:
Code: |
[4294712.524000] Linux agpgart interface v0.101 (c) Dave Jones
[4294712.526000] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[4294712.534000] [fglrx] Maximum main memory to use for locked dma buffers: 429 MBytes.
[4294712.534000] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 6 (level, low) -> IRQ 6
[4294712.534000] [fglrx] module loaded - fglrx 8.16.20 [Aug 16 2005] on minor 0
[4294712.536000] [fglrx] Maximum main memory to use for locked dma buffers: 429 MBytes.
[4294712.536000] Fire GL built-in AGP-support
[4294712.536000] Based on agpgart interface v0.99 (c) Jeff Hartmann
[4294712.536000] agpgart: Maximum main memory to use for agp memory: 439M
[4294712.536000] agpgart: Detected an Intel 855PM Chipset, no integrated grapics found.
[4294712.536000] agpgart: Detected Intel i855PM chipset
[4294712.540000] agpgart: AGP aperture is 256M @ 0xe0000000
[4294712.540000] Power management callback for AGP chipset installed
[4294712.540000] [fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
[4294712.541000] AGP: Found 2 AGPv2 devices
[4294712.541000] AGP: Doing enable for AGPv2
[4294712.541000] [fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
[4294712.547000] [fglrx] free AGP = 256126976
[4294712.547000] [fglrx] max AGP = 256126976
[4294712.547000] [fglrx] free LFB = 114274304
[4294712.547000] [fglrx] max LFB = 114274304
[4294712.547000] [fglrx] free Inv = 0
[4294712.547000] [fglrx] max Inv = 0
[4294712.547000] [fglrx] total Inv = 0
[4294712.547000] [fglrx] total TIM = 0
[4294712.547000] [fglrx] total FB = 0
[4294712.547000] [fglrx] total AGP = 65536
|
Woran könnte es liegen?
Was braucht ihr noch für Angaben?
phixom
Last edited by phixom on Wed Sep 07, 2005 10:56 am; edited 1 time in total |
|
Back to top |
|
|
Raistlin l33t
Joined: 17 May 2004 Posts: 691 Location: Boston, MA
|
Posted: Thu Sep 01, 2005 9:24 am Post subject: |
|
|
Hmmm,
bist du mit der Kernel-Config den HowTos gefolgt?
Gruss, r. _________________ Zwei Was Eins Initially
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." |
|
Back to top |
|
|
Roller Tux's lil' helper
Joined: 22 Jan 2005 Posts: 114 Location: Esslingen/Germany
|
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Thu Sep 01, 2005 11:10 am Post subject: |
|
|
ich habe ja verschiedenste HowTos durchgelesen, die sich teilweise auch widersprachen, aber bis jetzt hat das nix gebracht.
Manche Aussagen sind auch fehlerhaft.
z.B. in dem Howto siehe link:
Quote: |
Hinweis:
Wenn Ihr /dev/agpgart (AGP Support) fest eincompiliert muss später in der /etc/X11/xorg.conf "UseInternalAGPGART" auf "no" gesetzt werden bzw. als Modul (agpgart) ebensolches geladen werden.
Verwendet Ihr das Kernelmodul nicht sondern das vom ATI-Treiber muss "UseInternalAGPGART" "yes" eingetragen werden.
Dies ist wichtig für später wenn wir in Schritt 4 fglrxconfig ausführen. Dort wird dann gefragt ob genau dieser aktiviert werden soll; bitte in eigenem Ermessen und je nach Kernelkonfiguration selbst machen
|
Ok im Moment ist es bei als modul drin. Disable ich es und emerge die Ati-Treiber kommt:
Code: |
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-morph7
* Checking for MTRR support enabled ... [ ok ]
* Checking for AGP support enabled ... [ !! ]
* You don't have AGP support enabled, the direct rendering
* will not work.
* Checking for DRM support disabled ... [ ok ]
* X11 implementation is xorg-x11.
>>> Unpacking source...
>>> Unpacking fglrx_6_8_0-8.16.20-1.i386.rpm
* Applying ioctl32.patch ... [ ok ]
>>> Source unpacked.
|
Also muss es bei mir an sein und kann nich einfach aus sein? Ich dachte das fglrx-modul hat nen eigenen agp support? Den wollte ich gerne verwenden.
Das interessante ist ja, dass mir das Logfile sagt, das dri enabled ist, aber es trotzdem nicht geht.
phixom |
|
Back to top |
|
|
name n00b
Joined: 27 Apr 2005 Posts: 37 Location: Austria --> Wien
|
Posted: Thu Sep 01, 2005 11:12 am Post subject: |
|
|
Ähmm, ne kleine anmerkung: Nimm nen anderen Kernel, mit 2.6.12 hats bei mir auch nicht geklapppt _________________ emerge -pv reallife
Calculating dependencies ...done!
[blocks B ] =life/virtual-life* (is blocking life/real-life)
[ebuild N ] life/real-life-3.0 21,907 kB
Total size of downloads: 21,907 kB |
|
Back to top |
|
|
bbgermany Veteran
Joined: 21 Feb 2005 Posts: 1844 Location: Oranienburg/Germany
|
Posted: Thu Sep 01, 2005 11:53 am Post subject: |
|
|
die gleichen fehler (oder erfolgsmedungen hatte ich auch) und zwar egal mit welchem kernel (2.6.9 - 2.6.12 alle probiert). ati-drivers 8.14.x bis 8.16.20. keiner hat es geschafft dri anzuschalten, obwohl das modul geladen war, keine fehlermeldung beim compilieren kam und das modul beim starten von X benutzt war. _________________ Desktop: Ryzen 5 5600G, 32GB, 2TB, RX7600
Notebook: Dell XPS 13 9370, 16GB, 1TB
Server #1: Ryzen 5 Pro 4650G, 64GB, 16.5TB
Server #2: Ryzen 4800H, 32GB, 22TB |
|
Back to top |
|
|
XMath Guru
Joined: 14 Aug 2004 Posts: 435 Location: Germany, Gaimersheim
|
Posted: Thu Sep 01, 2005 11:58 am Post subject: |
|
|
Hi,
kommentier mal aus deiner xorg.conf aus dem ATI-Block die Zeile Code: | Option "Capabilities" | aus, und probier es nochmal. |
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Thu Sep 01, 2005 1:10 pm Post subject: |
|
|
Ok
Code: |
Option "Capabilities"
|
auskommentieren brachte nix, kernel 2.6.11 brachte auch nix, noch irgendwelche Vorschläge?
phixom |
|
Back to top |
|
|
dbinw n00b
Joined: 30 Nov 2004 Posts: 44 Location: Switzerland
|
Posted: Fri Sep 02, 2005 9:09 am Post subject: |
|
|
Quote: | * Checking for AGP support enabled ... [ !! ]
* You don't have AGP support enabled, the direct rendering
* will not work. |
die fehlermeldung sagt dir ja bereits, dass du dri nicht nützen kannst!
das problem liegt meistens immer an den AGP einstellungen (modul, festeingebaut, auf der Karte oder doch etwas anderes)
ich benutze den schönen vanilla kernel 2.6.11.11 und ati-drivers-8.14.13-r2
kernel:
Code: | # Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
|
xorg.conf
Code: | # === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
#Option "NoDDC"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "(null)"
Option "ScreenOverlap" "0"
Option "TVFormat" "PAL-G"
Option "TVStandard" "VIDEO"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4e54
Screen 0
EndSection |
dadurch musst du agp nicht als modul beim booten laden. und deine glxinfo spukt dir folgendes raus
Code: | name of display: :0.0
display: :0 screen: 0
direct rendering: Yes |
so kommst du gemütlich mit einer MOBILITY FIREGL T2e auf die 2000 FPS (glxgears)
hoffe dies hat dir geholfen. ansonsten viel viel probieren. ich kann mich Roller nur anschliessen und dir das HOWTO von equinox0r empfehlen. es ist wohl eines der besten. hat mir auf jedenfall viel geholfen. _________________ gentoo 2006.0 - fluxbox
fujitsu siemens - celsius h210 |
|
Back to top |
|
|
matrix1977 n00b
Joined: 29 May 2004 Posts: 70
|
Posted: Fri Sep 02, 2005 9:38 am Post subject: |
|
|
Hallo,
ich habe genau dasselbe Problem wie der Threadstarter, wie ich hier schon mal beschrieben habe
https://forums.gentoo.org/viewtopic-t-372954.html
Alles gleich, Installation lief problemlos, der Kernel gibt keine Fehlermeldungen, im XOrg.0.log steht auch nix von Problemen, im Gegenteil, da steht
Code: | (II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled |
und trotzdem laufen nur die Mesa Treiber.
Das dumme bei mir ist, dass ich nicht mit den AGP Einstellungen experimentieren kann, da es sich um ein PCI-Express-System handelt. Übrigens kämpfe ich unter 64bit, aber nachdem ich dass hier gelesen habe, scheint das auch unter 32bit eine Katastrophe zu sein.
Gruß
matrix1977 |
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Sat Sep 03, 2005 8:03 am Post subject: |
|
|
Hat denn keiner eine Lösung?
Es kann doch nicht sein, dass kein OpenGL geht, obwohl DRI richtig initialisiert wurde?
phixom |
|
Back to top |
|
|
XMath Guru
Joined: 14 Aug 2004 Posts: 435 Location: Germany, Gaimersheim
|
Posted: Sat Sep 03, 2005 8:25 am Post subject: |
|
|
Moin,
mir fällt nur noch ein, dass die Treiber Probleme machten wenn mehr als 768MB RAM zur Verfügung stehen.
Das lässt sich aber mit einem Kernelparameter überbrücken, aber nicht lösen. Nur ist der Parameter mir grad entfallen. |
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Sat Sep 03, 2005 8:44 am Post subject: |
|
|
ich habe nur 512MB, also sollte das evtl kein Problem darstellen. Falls dir der Parameter doch noch einfällt, poste ihn mal, evtl. hilft er ja auch mit weniger RAM.
phixom |
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Wed Sep 07, 2005 10:56 am Post subject: |
|
|
Mit Kernel 2.6.13 scheint es wieder zu gehen.
Ausserdem vermute ich, dass beim gcc-3.4 zusätzlich noch die libstdc++v3 benötigt wird.
phixom |
|
Back to top |
|
|
|