Bekomme DRI bei ATI Radeon nicht zum Laufen

Post Reply
Message
Author
User avatar
Lateralus
prolinux-forum-admin
Posts: 1238
Joined: 05. May 2004 7:35

Bekomme DRI bei ATI Radeon nicht zum Laufen

#1 Post by Lateralus »

Ich bin ein bisschen verzweifelt, deshalb schreibe ich hier, um eventuell neue Ansätze zu finden. Ich bekomme kein DRI bei meiner ATI Radeon 9200 Pro unter Gentoo zum Laufen.

Die AGP-Karte sitzt auf einem SiS-Mainboard. Das Problem scheint die Zeile

(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.

zu sein, aber ich weiß nicht, wie es dazu kommt.

Hier noch etwas, was mir gerade erst aufgefallen ist:

Code: Select all

user@Aurora ~ $ dmesg | grep agp; dmesg | grep drm
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected SiS 746 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
[drm] Initialized drm 1.0.1 20051102
[drm] Initialized radeon 1.25.0 20060524 on minor 0
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 8004 using kernel context 0
Xorg Ausgabe:

Code: Select all

X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-gentoo-r6 i686 
Current Operating System: Linux Aurora 2.6.19-gentoo-r5-aurora #5 Sun Mar 4 22:42:25 CET 2007 i686
Build Date: 08 January 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar  4 23:39:38 2007
(==) Using config file: "/etc/X11/xorg.conf"
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(**) RADEON(0): RADEONPreInit
(**) RADEON(0): RADEONScreenInit c0000000 0
(**) RADEON(0): Map: 0xc0000000, 0x08000000
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0x81f7958)
(**) RADEON(0): Read: 0x00000007 0x00060065 0x00000000
(**) RADEON(0): Read: rd=7, fd=101, pd=6
(**) RADEON(0): RADEONSaveMode returns 0x81f7958
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(**) RADEON(0): RADEONDRICloseScreen
(**) RADEON(0): RADEONInitMemoryMap() : 
(**) RADEON(0):   mem_size         : 0x08000000
(**) RADEON(0):   MC_FB_LOCATION   : 0xc7ffc000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0): RADEONModeInit()
1280x1024     135.00  1280 1296 1440 1688  1024 1025 1028 1066 (24,32) +H +V
1280x1024     135.00  1280 1296 1440 1688  1024 1025 1028 1066 (24,32) +H +V
(**) RADEON(0): Pitch = 10485920 bytes (virtualX = 1280, displayWidth = 1280)
(**) RADEON(0): dc=13500, of=27000, fd=120, pd=2
(**) RADEON(0): RADEONInit returns 0x81f8308
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x81f8308)
(**) RADEON(0): RADEONRestoreMemMapRegisters() : 
(**) RADEON(0):   MC_FB_LOCATION   : 0xc7ffc000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00000000
(**) RADEON(0): Wrote: 0x0000000c 0x00010078 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=12, fd=120, pd=1
(**) RADEON(0): GRPH_BUFFER_CNTL from 20077c7c to 20135c5c
(**) RADEON(0): RADEONSaveScreen(0)
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
(**) RADEON(0): Initializing backing store
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 160
(**) RADEON(0): EngineRestore (32/32)
(**) RADEON(0): Initializing DPMS
(**) RADEON(0): Initializing Cursor
(**) RADEON(0): Initializing color map
(**) RADEON(0): Initializing DGA
(**) RADEON(0): Initializing Xv
(**) RADEON(0): RADEONScreenInit finished
(EE) AIGLX: Screen 0 is not DRI capable
    xkb_keycodes             { include "xfree86+aliases(qwertz)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+de(nodeadkeys)" };
    xkb_geometry             { include "pc(pc105)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning&#58;          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONSaveScreen&#40;2&#41;
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONLeaveVT
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONRestore
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONRestoreMode&#40;&#41;
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONRestoreMode&#40;0x81f7958&#41;
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONRestoreMemMapRegisters&#40;&#41; &#58; 
&#40;**&#41; RADEON&#40;0&#41;&#58;   MC_FB_LOCATION   &#58; 0x1fff0000
&#40;**&#41; RADEON&#40;0&#41;&#58;   MC_AGP_LOCATION  &#58; 0x27ff2000
&#40;**&#41; RADEON&#40;0&#41;&#58;   Map Changed ! Applying ...
&#40;**&#41; RADEON&#40;0&#41;&#58;   Map applied, resetting engine ...
&#40;**&#41; RADEON&#40;0&#41;&#58; Updating display base addresses...
&#40;**&#41; RADEON&#40;0&#41;&#58; Memory map updated.
&#40;**&#41; RADEON&#40;0&#41;&#58; Programming CRTC1, offset&#58; 0x00000000
&#40;**&#41; RADEON&#40;0&#41;&#58; Wrote&#58; 0x00000007 0x00060065 0x00000000 &#40;0x0000bf00&#41;
&#40;**&#41; RADEON&#40;0&#41;&#58; Wrote&#58; rd=7, fd=101, pd=6
&#40;**&#41; RADEON&#40;0&#41;&#58; Ok, leaving now...
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONCloseScreen
&#40;**&#41; RADEON&#40;0&#41;&#58; RADEONDRIStop
&#40;**&#41; RADEON&#40;0&#41;&#58; Disposing accel...
&#40;**&#41; RADEON&#40;0&#41;&#58; Disposing cusor info
&#40;**&#41; RADEON&#40;0&#41;&#58; Disposing DGA
&#40;**&#41; RADEON&#40;0&#41;&#58; Unmapping memory
FreeFontPath&#58; FPE "/usr/share/fonts/misc/" refcount is 2, should be 1; fixing.
lsmod

Code: Select all

Module                  Size  Used by
sha256                  9856  0 
aes                    26688  2 
cbc                     1920  1 
blkcipher               2432  1 cbc
snd_pcm_oss            26528  0 
snd_mixer_oss           9472  1 snd_pcm_oss
snd_seq_oss            17536  0 
snd_seq_midi_event      2752  1 snd_seq_oss
snd_seq                24528  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          3148  2 snd_seq_oss,snd_seq
usblp                   7424  0 
floppy                 38628  0 
sis900                 12672  0 
mii                     2624  1 sis900
snd_intel8x0           17244  4 
snd_ac97_codec         64736  1 snd_intel8x0
snd_ac97_bus             960  1 snd_ac97_codec
snd_pcm                39944  4 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              10052  3 snd_seq,snd_pcm
snd                    24036  15 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               2656  1 snd
snd_page_alloc          4040  2 snd_intel8x0,snd_pcm
rtc                     5364  0 
dm_crypt                6728  1 
sis_agp                 2820  1 
radeon                 98912  0 
drm                    43092  1 radeon
agpgart                14448  2 sis_agp,drm
e1000                  84160  0 
nfs                    74940  0 
lockd                  37768  1 nfs
sunrpc                 90236  2 nfs,lockd
jfs                   130460  0 
dm_mod                 27800  3 dm_crypt
sbp2                   13508  0 
ohci1394               22000  0 
ieee1394               48568  2 sbp2,ohci1394
sl811_hcd               6784  0 
ohci_hcd               11844  0 
uhci_hcd               13192  0 
usb_storage            23300  0 
ehci_hcd               17416  0 
usbcore                70852  7 usblp,sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
lspci (gekürzt)

Code: Select all

01&#58;00.0 VGA compatible controller&#58; ATI Technologies Inc RV280 &#91;Radeon 9200 PRO&#93; &#40;rev 01&#41;
01&#58;00.1 Display controller&#58; ATI Technologies Inc RV280 &#91;Radeon 9200 PRO&#93; &#40;Secondary&#41; &#40;rev 01&#41;
glxinfo Ausgabe:

Code: Select all

name of display&#58; &#58;0.0
display&#58; &#58;0  screen&#58; 0
direct rendering&#58; No
server glx vendor string&#58; SGI
server glx version string&#58; 1.2
server glx extensions&#58;
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, 
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string&#58; SGI
client glx version string&#58; 1.4
client glx extensions&#58;
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version&#58; 1.2
GLX extensions&#58;
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_EXT_texture_from_pixmap
OpenGL vendor string&#58; Mesa project&#58; www.mesa3d.org
OpenGL renderer string&#58; Mesa GLX Indirect
OpenGL version string&#58; 1.2 &#40;1.5 Mesa 6.5.1&#41;
OpenGL extensions&#58;
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
    GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
    GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, 
    GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, 
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat, 
    GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, 
    GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection, 
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, 
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
    GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, 
    GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
xorg.conf

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/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/"
	FontPath     "/usr/share/fonts/freefont/"
	FontPath     "/usr/share/fonts/jmk/"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
	Option          "XkbVariant"    "nodeadkeys"

EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	Option       "DPMS"
EndSection

Section "Device"
        ### Available Driver options are&#58;-
        ### Values&#58; <i>&#58; integer, <f>&#58; float, <bool>&#58; "True"/"False",
        ### <string>&#58; "String", <freq>&#58; "<f> Hz/kHz/MHz"
        ### &#91;arg&#93;&#58; arg optional
        Option     "NoAccel"     "False"       	# &#91;<bool>&#93;
        #Option     "SWcursor"           	# &#91;<bool>&#93;
        #Option     "Dac6Bit"            	# &#91;<bool>&#93;
        #Option     "Dac8Bit"            	# &#91;<bool>&#93;
        #Option     "BusType"            	# &#91;<str>&#93;
        #Option     "CPPIOMode"          	# &#91;<bool>&#93;
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# &#91;<bool>&#93;
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# &#91;<bool>&#93;
        #Option     "EnablePageFlip"     	# &#91;<bool>&#93;
        #Option     "NoBackBuffer"       	# &#91;<bool>&#93;
        #Option     "DMAForXv"           	# &#91;<bool>&#93;
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "AccelDFS"           	# &#91;<bool>&#93;
        #Option     "PanelOff"           	# &#91;<bool>&#93;
        #Option     "DDCMode"            	# &#91;<bool>&#93;
        #Option     "MonitorLayout"      	# &#91;<str>&#93;
        #Option     "IgnoreEDID"         	# &#91;<bool>&#93;
        #Option     "UseFBDev"           	# &#91;<bool>&#93;
        #Option     "MergedFB"           	# &#91;<bool>&#93;
        #Option     "CRT2HSync"          	# &#91;<str>&#93;
        #Option     "CRT2VRefresh"       	# &#91;<str>&#93;
        #Option     "CRT2Position"       	# &#91;<str>&#93;
        #Option     "MetaModes"          	# &#91;<str>&#93;
        #Option     "MergedDPI"          	# &#91;<str>&#93;
        #Option     "MergedXinerama"     	# &#91;<bool>&#93;
        #Option     "MergedXineramaCRT2IsScreen0" 	# &#91;<bool>&#93;
        #Option     "MergedNonRectangular" 	# &#91;<bool>&#93;
        #Option     "MergedMouseRestriction" 	# &#91;<bool>&#93;
        #Option     "DisplayPriority"    	# &#91;<str>&#93;
        #Option     "PanelSize"          	# &#91;<str>&#93;
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# &#91;<bool>&#93;
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "RageTheatreCompositePort" 	# <i>
        #Option     "RageTheatreSVideoPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "RenderAccel"        	# &#91;<bool>&#93;
        #Option     "SubPixelOrder"      	# &#91;<str>&#93;
        #Option     "ShowCache"          	# &#91;<bool>&#93;
        #Option     "DynamicClocks"      	# &#91;<bool>&#93;
        #Option     "BIOSHotkeys"        	# &#91;<bool>&#93;
        #Option     "VGAAccess"          	# &#91;<bool>&#93;
        #Option     "ReverseDDC"         	# &#91;<bool>&#93;
        #Option     "LVDSProbePLL"       	# &#91;<bool>&#93;
        #Option     "AccelMethod"        	# <str>
        #Option     "ConstantDPI"        	# &#91;<bool>&#93;
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "RV280 &#91;Radeon 9200 PRO&#93;"
	BusID       "PCI&#58;1&#58;0&#58;0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes     "1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "dri"
	Mode 0666
EndSection

Post Reply