Archief - Ati driver probleem (zeer raar)

Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.

Stijneman

Legacy Member
Tis int engels omda ik het ook op engels forum heb gezet:

Hello,

This is kinda hard to describe... I'll try my best ;-)

When Composite = enabled:
Code:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)

No real problems except that i dont have direct rendering...
Code:
stino@ina ~ $ glxinfo | grep direct
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

When Composite = disabled:
The fglrxinfo tells me i use ATi technologies or something like that ;)
so the driver works fine...
i get direct rendering: Yes
BUT
here come the problems:
If i start fluxbox: instant kernel panic/crash (the keyboard leds flash or the computer crashes)
If i start kde: all works well (i can watch the fglrxinfo and all) but then after a while, or when i start some program (amsn supposedly crashed it once, so did irssi) i get the same problem as with fluxbox...
If i look in /var/log/messages i never got an error except once, with irssi, the error i got was:
Code:
Mar 25 14:51:39 ina irssi[2071]: segfault at 0000000000000000 rip 000000000041d70e rsp 00007fff254b8310 error 4

Now i would like to disable composite without my computer crashing, but i dont know why it crashes...


My Xorg.conf:
Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "BlankTime" "120"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
	Load  "extmod"
	Load  "xtrap"
	Load  "record"
	Load  "dbe"
	Load  "freetype"
	Load  "type1"
	Load  "dri"
	Load  "drm"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbLayout" "be"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/psaux"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

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

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

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "DesktopSetup" "horizontal"
	BusID       "PCI:1:0:0"
  	Option      	"BlockSignalsOnLock" 	"on"
  	Option      	"KernelModuleParm" 	"locked-userpages=0"
   	Option      	"VideoOverlay" 		"on"
   	Option		"EnablePrivateBackZ" 	"yes" 
   	Option     	"backingstore" 		"true"
	Option		"no_accel"		"no"
	Option		"no_dri"		"no"
	Option		"mtrr"			"off"
	Option		"VideoOverlay"		"on"
	Option		"OpenGLOverlay"		"off"
	Option		"UseFastTLS"		"2"
	Option		"UseInternalAGPGART"	"yes"
	Option		"ForceGenericCPU"	"no"
EndSection

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

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

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

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Enable"
# If i write Disable here, i get the crashes, same if i put a "#" in front of the line ;)
EndSection

I hope someone can help me, and understands this thread :p

Another thing i found in /var/log/messages that was written before every crash:
Code:
Mar 25 16:27:50 ina [fglrx] Maximum main memory to use for locked dma buffers: 921 MBytes.
Mar 25 16:27:50 ina [fglrx] Internal AGP support requested, but kernel AGP support active.
Mar 25 16:27:50 ina [fglrx] Have to use kernel AGP support to avoid conflicts.
Mar 25 16:27:50 ina [fglrx] AGP detected, AgpState   = 0x1f000a1b (hardware caps of chipset)
Mar 25 16:27:50 ina agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Mar 25 16:27:50 ina agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
Mar 25 16:27:50 ina agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
Mar 25 16:27:50 ina [fglrx] AGP enabled,  AgpCommand = 0x1f000312 (selected caps)
Mar 25 16:27:50 ina [fglrx] total      GART = 67108864
Mar 25 16:27:50 ina [fglrx] free       GART = 51113984
Mar 25 16:27:50 ina [fglrx] max single GART = 51113984
Mar 25 16:27:50 ina [fglrx] total      LFB  = 268435456
Mar 25 16:27:50 ina [fglrx] free       LFB  = 255848448
Mar 25 16:27:50 ina [fglrx] max single LFB  = 255848448
Mar 25 16:27:50 ina [fglrx] total      Inv  = 268435456
Mar 25 16:27:50 ina [fglrx] free       Inv  = 268435456
Mar 25 16:27:50 ina [fglrx] max single Inv  = 268435456
Mar 25 16:27:50 ina [fglrx] total      TIM  = 0
I have no idea what it means but the last line with TIM = 0 doesnt seen right ;)
i really dont get it :s
so i changed composite to disabled, started KDE, all was fine, started an aterm, fglrxinfo showed me the Ati stuff, did an fgl_glxgears => i saw the cube with the gears spinning, got about 500 FPS... then when i shut the fgl_glxgears down, i get another kernel panic and then 2 boots the same untill i enabled composite again....

lange post hihi :p hopelijk kan iemand me helpen :(

dJeez

Legacy Member
Dump de uitvoer van lspci hier ook eens, om te zien welke graka er herkend wordt.

Stijneman

Legacy Member
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 71c6
01:00.1 Display controller: ATI Technologies Inc Unknown device 71e6
maar de ati drivers (als composite af staat) herkent wel dat het een ATI RX1650 pro is ;) (met de lspci staat composite hier aan he ;))

Stijneman

Legacy Member
Ok nu wor ik gek :p
Dus
Code:
ina OperaDownloads # sh ati-driver-installer-8.35.5-x86.x86_64.run 
Created directory fglrx-install.Y9XqE8
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.35.5.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager 
==================================================
Detected configuration:
Architecture: x86_64 (64-bit)
X Server: X.Org 7.2.x 64-bit

Detected version of X does not have a matching 'x720_64a' directory
You may override the detected version using the following syntax:
     X_VERSION=<xdir> ./ati-driver-installer-<ver>-<arch>.run [--install]

The following values may be used for <xdir>:
    x430        XFree86 4.3.x
    x430_64a    XFree86 4.3.x 64-bit
    x680        X.Org 6.8.x
    x680_64a    X.Org 6.8.x 64-bit
    x690        X.Org 6.9.x
    x690_64a    X.Org 6.9.x 64-bit
    x700        X.Org 7.0.x
    x700_64a    X.Org 7.0.x 64-bit
    x710        X.Org 7.1.x
    x710_64a    X.Org 7.1.x 64-bit
Removing temporary directory: fglrx-install.Y9XqE8
maar uit
Code:
(II) fglrx(0): detected X.org 7.1.0.0
(EE) fglrx(0): GART is not initialized, disabling DRI
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
blijkt duidelijk da ik 7.1 heb (heb ooit 7.2 gehad maar gedowngrade)
dan doe ik
Code:
ina OperaDownloads # X_VERSION="x710_64a" sh /home/stino/OperaDownloads/ati-driver-installer-8.35.5-x86.x86_64.run
alles werkt enzo em zeoogt ksuccesful enzo, en kijk ik in de log...
Klik voor logfile
ik re-emerge dan maar m'n 8.34.8 is da zeker, (den nieuwste zit nog ni in portage)
en nu krijg ik:
Code:
ina OperaDownloads # modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.20.4/video/fglrx.ko): Operation not permitted
door die fucked up fglrx van 8.35 ...
nu krijg ik dus als ik X opstart (met composite disabled !)
Code:
(II) fglrx(0): detected X.org 7.1.0.0
(EE) fglrx(0): GART is not initialized, disabling DRI
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *
Code:
ina stino # dmesg | grep agpgart
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 64M @ 0xdc000000
Linux agpgart interface v0.101 (c) Dave Jones

da is het zo een beetje :p

Stijneman

Legacy Member
Ok, de nieuwste drivers zaten in portage dus heb ik geupgrade, maar ik heb nog steeds hetzelfde voor...
zowel bij:
Option "UseFastTLS" "2"
als bij
Option "UseFastTLS" "1"
als bij
Option "UseFastTLS" "0"
:(
Het archief is een bevroren moment uit een vorige versie van dit forum, met andere regels en andere bazen. Deze posts weerspiegelen op geen enkele manier onze huidige ideeën, waarden of wereldbeelden en zijn op sommige plaatsen gecensureerd wegens ontoelaatbaar. Veel zijn in een andere tijdsgeest gemaakt, al dan niet ironisch - zoals in het ironische subforum Off-Topic - en zouden op dit moment niet meer gepost (mogen) worden. Toch bieden we dit archief nog graag aan als informatiedatabank en naslagwerk. Lees er hier meer over of start een gesprek met anderen.
Terug
Bovenaan