Ubuntu Hoary y los drivers de ATI

Pedro J. Lledo pls en usebox.net
Vie Abr 15 03:46:45 CDT 2005


Llevo ya prácticamente 2 semanas sin poder usar la aceleración 3D ( la
2D funciona a la perfección) de mi Hoary, antes funcionaba perfectamente
pero después de alguna de las actualizaciones (antes de que Hoary fuera
oficial) dejo de funcionar. La tarjeta es una ATI Radeon 9800pro y mi
ordenador un amd athlon XP 2000.
Creo que tengo el problema localizado, pero aun así no consigo saber
como arreglarlo y necesito algo de ayuda de externa =P
Os voy a ir dejando algunos logs importantes que me indican que la cosa
no anda nada bien:
$fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org <-- esto deberían ser
los drivers de ATI
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)

$glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No <--- No hay aceleración =(

var/log/Xorg.0.log (No lo pondré entero, solo las partes que yo pienso
son las conflictivas )
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(WW) fglrx(0): could not detect XFree86 version (query_status=-3)
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(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): ********************************************* *
.......
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled

$ modprobe fglrx
FATAL: Module fglrx not found.

El problema parece venir principalmente del DRM y DRI aunq no tengo ni
idea de como solucionarlo =(
He encontrado casos parecidos pero con kernels para AMD64 y la solución
que me indican no me parece viable (instalar una versión mas antigua de
kernel que si funcione correctamente).
Os adjunto mi Xorg.conf y termino de rematar la faena =P


Section "Files"    
	RgbPath	"/usr/X11R6/lib/X11/rgb"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	    SubSection  "extmod"
 	     Option    "omit xfree86-dga"   # don't initialise the DGA
extension
	    EndSubSection
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"GLcore"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

#
#
#	DE AQUI PARA ABAJO ES INFORMACION SOBRE EL DRIVER DE ATI!
#
#
Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
	Driver		"fglrx"
    # ### generic DRI settings ###
    # === disable PnP Monitor  ===
Option							 "NoDDC"
    # === disable/enable XAA/DRI ===
 	Option "no_accel"				 "no"
 	Option "no_dri"					 "no" #
    # === misc DRI settings ===
 	Option "mtrr"					 "off" # disable DRI mtrr mapper, driver has its own
code for mtrr
    # ### FireGL DDX driver module specific settings ###
    # === Screen Management ===
 	Option "DesktopSetup"			 "0x00000000"
 	Option "MonitorLayout"			 "AUTO, AUTO"
 	Option "IgnoreEDID"				 "off"
 	Option "HSync2"					 "unspecified"
 	Option "VRefresh2"				 "unspecified"
    	Option "ScreenOverlap"			  "0"
    # === TV-out Management ===
 	Option "NoTV"					 "no"
 	Option "TVStandard"				 "PAL-B"
 	Option "TVHSizeAdj"				 "0"
 	Option "TVVSizeAdj"				 "0"
 	Option "TVHPosAdj"				 "0"
 	Option "TVVPosAdj"				 "0"
    	Option "TVHStartAdj"			    "0"
 	Option "TVColorAdj"				 "0"
    	Option "GammaCorrectionI"		   "0x0872187d"
    	Option "GammaCorrectionII"		  "0x00000000"
    # === OpenGL specific profiles/settings ===
 	Option "Capabilities"			 "0x00000000"
    # === Video Overlay for the Xv extension ===
    	Option "VideoOverlay"			   "on"
    # === OpenGL Overlay ===
    # Note: When OpenGL Overlay is enabled, Video Overlay
    #	   will be disabled automatically
    	Option "OpenGLOverlay"			  "off"
    # === Center Mode (Laptops only) ===
 	Option "CenterMode"			 "off"
    # === Pseudo Color Visuals (8-bit visuals) ===
    	Option "PseudoColorVisuals"		 "off"
    # === QBS Management ===
 	Option "Stereo"				 "off"
    	Option "StereoSyncEnable"		  "1"
    # === FSAA Management ===
 	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"
    # === Misc Options ===
 	Option "UseFastTLS"			 "0"
    	Option "BlockSignalsOnLock"		 "on"
    	Option "UseInternalAGPGART"		 "no"
    	Option "ForceGenericCPU"		"no"
    # === Custom Options ===
   	# XV Fix 230604 -- 3.9.0 is bad -- 3.11.1 is a little better
        #			   -- 3.12.0 and 6.8.0 seem to work
    	# Option "XaaNoOffscreenPixmaps"
    
    	# Make driver think card is a firegl (for 3dnow)
    	# Option "KernelModuleParm" "su_flags=0xdead0003"
    
    	# 131104 - Doom3 fix? No!
    	# Fixes this though: [fglrx:firegl_agp_lock_pages] *ERROR*
agp_allocate_memory_phys_list failed
    	Option "KernelModuleParm" "agplock=0"

#
#
#	DE AQUI PARA ARRIBA ES INFORMACION SOBRE EL DRIVER!!!!!
#
#
    BusID "PCI:1:5:0"    # vendor=1002, device=4e48
    Screen 0
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	ModelName    "GSM 4349"
	Option "DPMS"

# These are the DDC-probed settings and modelines
	HorizSync    30-71
	VertRefresh  50-160

# 640x480, 60.0Hz; hfreq=31.469000, vfreq=59.939999
ModeLine "640x480"	 25.17  640  648  744  784  480  482  484  509 -hsync
-vsync
# 640x480, 72.0Hz; hfreq=37.861000, vfreq=72.808998
ModeLine "640x480"	 31.50  640  656  696  816  480  481  484  504 -hsync
-vsync
# 640x480, 75.0Hz; hfreq=37.500000, vfreq=75.000000
ModeLine "640x480"	 31.50  640  656  720  840  480  481  484  500 -hsync
-vsync
# 640x480, 75.0Hz; hfreq=37.500000, vfreq=75.000000
ModeLine "640x480"	 31.50  640  656  720  840  480  481  484  500 -hsync
-vsync
# 640x480, 85.0Hz; hfreq=43.269001, vfreq=85.008003
ModeLine "640x480"	 36.00  640  696  752  832  480  481  484  509 -hsync
-vsync
# 800x600, 56.0Hz; hfreq=35.155998, vfreq=56.250000
ModeLine "800x600"	 36.00  800  824  896 1024  600  601  603  625 +hsync
+vsync
# 800x600, 60.0Hz; hfreq=37.879002, vfreq=60.317001
ModeLine "800x600"	 40.00  800  840  968 1056  600  601  605  628 +hsync
+vsync
# 800x600, 75.0Hz; hfreq=46.875000, vfreq=75.000000
ModeLine "800x600"	 49.50  800  816  896 1056  600  601  604  625 +hsync
+vsync
# 800x600, 75.0Hz; hfreq=46.875000, vfreq=75.000000
ModeLine "800x600"	 49.50  800  816  896 1056  600  601  604  625 +hsync
+vsync
# 800x600, 85.0Hz; hfreq=53.674000, vfreq=85.060997
ModeLine "800x600"	 56.25  800  832  896 1048  600  601  604  631 +hsync
+vsync
# 1024x768, 60.0Hz; hfreq=48.362999, vfreq=60.004002
ModeLine "1024x768"	 65.00 1024 1048 1184 1344  768  771  777  806
-hsync -vsync
# 1024x768, 70.0Hz; hfreq=56.476002, vfreq=70.069000
ModeLine "1024x768"	 75.00 1024 1048 1184 1328  768  771  777  806
-hsync -vsync
# 1024x768, 75.0Hz; hfreq=60.022999, vfreq=75.028999
ModeLine "1024x768"	 78.75 1024 1040 1136 1312  768  769  772  800
+hsync +vsync
# 1024x768, 70.0Hz; hfreq=56.476002, vfreq=70.069000
ModeLine "1024x768"	 75.00 1024 1048 1184 1328  768  771  777  806
-hsync -vsync
# 1024x768, 75.0Hz; hfreq=60.022999, vfreq=75.028999
ModeLine "1024x768"	 78.75 1024 1040 1136 1312  768  769  772  800
+hsync +vsync
# 1024x768, 85.0Hz; hfreq=68.677002, vfreq=84.997002
ModeLine "1024x768"	 94.50 1024 1072 1168 1376  768  769  772  808
+hsync +vsync
# 1280x1024, 75.0Hz; hfreq=79.975998, vfreq=75.025002
ModeLine "1280x1024"	135.00 1280 1296 1440 1688 1024 1025 1028 1066
+hsync +vsync
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon 9800 Pro (R350 NH)"
	Monitor		"monitor0"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

Si habéis soportado todo esto y además me dais una solución que funcione
os compro un jamón fijo XD
Gracias de antemano ^^




Más información sobre la lista de distribución ubuntu-es