Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264599 - Xorg can't enable drm anymore with the new kernel(2.6.29), which disables about any hw accelled rendering
Summary: Xorg can't enable drm anymore with the new kernel(2.6.29), which disables abo...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-02 10:30 UTC by TeF
Modified: 2009-04-07 12:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg for gentoo-sources-2.26.9 (dmesg_2.26.9.txt,42.06 KB, text/plain)
2009-04-02 10:39 UTC, TeF
Details
Xorg.log when run on 2.6.29 (Xorg.0.log,55.73 KB, text/plain)
2009-04-02 10:40 UTC, TeF
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TeF 2009-04-02 10:30:38 UTC
Xorg can't enable drm anymore with the new kernel, which disables about any hw
accelled rendering (kde4 is dogslow). There are some messages in dmesg and
Xorg.log, I'll attach them.

Reproducible: Always
Comment 1 TeF 2009-04-02 10:36:35 UTC
 #dmesg |grep drm
[  741.312388] [drm] Initialized drm 1.1.0 20060810
[  741.332000] [drm] Initialized radeon 1.29.0 20080613 on minor 0
[  741.332505] [drm] Used old pci detect: framebuffer loaded
[  741.797152] [drm:radeon_do_init_cp] *ERROR* could not find ioremap agp regions!

#cat /proc/mtrr 
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size=  256MB, count=1: write-combining
reg02: base=0x0f8000000 ( 3968MB), size=   64MB, count=1: write-combining

#grep -e EE -e WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) RADEON(0): Direct rendering disabled

Comment 2 TeF 2009-04-02 10:39:27 UTC
Created attachment 187060 [details]
dmesg for gentoo-sources-2.26.9
Comment 3 TeF 2009-04-02 10:40:16 UTC
Created attachment 187061 [details]
Xorg.log when run on 2.6.29
Comment 4 TeF 2009-04-02 10:46:00 UTC
same problem I found form this website
http://bugzilla.kernel.org/show_bug.cgi?id=12441
Comment 5 TeF 2009-04-02 10:54:28 UTC
some message for /proc/mtrr 
#cat /proc/mtrr 
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x0e0000000 ( 3584MB), size=  256MB, count=1: write-combining
reg02: base=0x0f8000000 ( 3968MB), size=   64MB, count=1: write-combining
Comment 6 Rafał Mużyło 2009-04-02 13:31:15 UTC
There's an interesting part in your log:
(II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and newer. Please use EXA instead.
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): num quad-pipes is 1
(**) RADEON(0): Option "XaaNoOffscreenPixmaps" "True"
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)

Any comment ?
Comment 7 TeF 2009-04-02 14:28:57 UTC
(In reply to comment #6)
> There's an interesting part in your log:
> (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and
> newer. Please use EXA instead.
> (II) RADEON(0): Render acceleration disabled
> (II) RADEON(0): num quad-pipes is 1
> (**) RADEON(0): Option "XaaNoOffscreenPixmaps" "True"
> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
> 
> Any comment ?
> 
thanks for reply.If I can provide any more information, please ask.
Comment 8 TeF 2009-04-02 14:32:17 UTC
This is my xorg.conf
-----------------------------------------------------------------------------------------------------------
cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "Layout0"
	Screen      0  "Screen0" 0 0
EndSection

Section "Files"
#    FontPath 	"/usr/local/share/fonts"
    FontPath    "/usr/share/fonts/truetype"
EndSection

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


Section "ServerFlags"
#	Option "AutoAddDevices" "false"
#    	Option "AllowEmptyInput" "false"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    31.5 - 82.0
	VertRefresh  50.0 - 90.0
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	Option		"DRI"	"True"
	Option		"RenderAccel" "True"
	Option 		"AGPMode" "8"
	Option          "EnablePageFlip" "True"
	Option		"GARTSize" "64"
	Option		"XAANoOffscreenPixmaps" "True"
#Option         "AGPFastWrite" "True"
#Option         "AccelMethod"   "EXA" # or XXA
#Option		"BackingStore" "true"

#enable (partial) PowerPlay features
Option          "DynamicClocks" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1024x768"
	EndSubSection
EndSection

Section "DRI"
        Group        "video"
        Mode         0660cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "Layout0"
	Screen      0  "Screen0" 0 0
EndSection

Section "Files"
#    FontPath 	"/usr/local/share/fonts"
    FontPath    "/usr/share/fonts/truetype"
EndSection

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


Section "ServerFlags"
#	Option "AutoAddDevices" "false"
#    	Option "AllowEmptyInput" "false"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    31.5 - 82.0
	VertRefresh  50.0 - 90.0
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"radeon"
	BusID		"PCI:1:0:0"
	Option		"DRI"	"True"
	Option		"RenderAccel" "True"
	Option 		"AGPMode" "8"
	Option          "EnablePageFlip" "True"
	Option		"GARTSize" "64"
	Option		"XAANoOffscreenPixmaps" "True"
#Option         "AGPFastWrite" "True"
#Option         "AccelMethod"   "EXA" # or XXA
#Option		"BackingStore" "true"

#enable (partial) PowerPlay features
Option          "DynamicClocks" "on"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024" "1024x768"
	EndSubSection
EndSection

Section "DRI"
        Group        "video"
        Mode         0660
EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection

EndSection

Section "Extensions"
	Option "Composite" "Enable"
EndSection
Comment 9 TeF 2009-04-02 14:35:51 UTC
This is glxinfo
----------------------------------------------------------------------------------------------------------
#glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    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, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    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: 1.2
GLX extensions:
    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_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.4
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, 
    GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects, 
    GL_ARB_shading_language_100, GL_ARB_shading_language_120, GL_ARB_shadow, 
    GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_compression, 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_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, 
    GL_EXT_blend_equation_separate, 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_compiled_vertex_array, GL_EXT_convolution, 
    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord, 
    GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, 
    GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object, 
    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_shared_texture_palette, 
    GL_EXT_stencil_two_side, 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_mirror_clamp, GL_EXT_texture_object, 
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array, 
    GL_3DFX_texture_compression_FXT1, GL_APPLE_packed_pixels, 
    GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_ATI_fragment_shader, GL_ATI_separate_stencil, 
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_MESA_pack_invert, GL_MESA_program_debug, GL_MESA_resize_buffers, 
    GL_MESA_texture_array, GL_MESA_ycbcr_texture, GL_MESA_window_pos, 
    GL_NV_blend_square, GL_NV_fragment_program, GL_NV_light_max_exponent, 
    GL_NV_point_sprite, GL_NV_texture_rectangle, GL_NV_texgen_reflection, 
    GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_OES_read_format, 
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGI_texture_color_table, 
    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

3 GLX Visuals
   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
----------------------------------------------------------------------
0x21 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x22 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x70 32 tc  0 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None

64 GLXFBConfigs:
   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
----------------------------------------------------------------------
0x71  0 tc  0 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x72  0 tc  0 24  0 r  .  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x73  0 tc  0 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x74  0 tc  0 24  0 r  y  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x75  0 tc  0 24  0 r  .  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x76  0 tc  0 24  0 r  .  .  8  8  8  0  0  0  8 16 16 16  0  0 0 Slow
0x77  0 tc  0 24  0 r  y  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x78  0 tc  0 24  0 r  y  .  8  8  8  0  0  0  8 16 16 16  0  0 0 Slow
0x79  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x7a  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x7b  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x7c  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x7d  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x7e  0 tc  0 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x7f  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x80  0 tc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x81  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x82  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x83  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x84  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x85  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
0x86  0 tc  0 32  0 r  .  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
0x87  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
0x88  0 tc  0 32  0 r  y  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
0x89  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x8a  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x8b  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x8c  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x8d  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x8e  0 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x8f  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x90  0 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x91  0 dc  0 24  0 r  .  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x92  0 dc  0 24  0 r  .  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x93  0 dc  0 24  0 r  y  .  8  8  8  0  0  0  0  0  0  0  0  0 0 None
0x94  0 dc  0 24  0 r  y  .  8  8  8  0  0  0  0 16 16 16  0  0 0 Slow
0x95  0 dc  0 24  0 r  .  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x96  0 dc  0 24  0 r  .  .  8  8  8  0  0  0  8 16 16 16  0  0 0 Slow
0x97  0 dc  0 24  0 r  y  .  8  8  8  0  0  0  8  0  0  0  0  0 0 None
0x98  0 dc  0 24  0 r  y  .  8  8  8  0  0  0  8 16 16 16  0  0 0 Slow
0x99  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x9a  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x9b  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x9c  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x9d  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0x9e  0 dc  0 24  0 r  .  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x9f  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 None
0xa0  0 dc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0xa1  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xa2  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xa3  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0xa4  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0xa5  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
0xa6  0 dc  0 32  0 r  .  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
0xa7  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  8  0  0  0  0  0 0 None
0xa8  0 dc  0 32  0 r  y  .  8  8  8  8  0  0  8 16 16 16 16  0 0 Slow
0xa9  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0xaa  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0xab  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0xac  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0xad  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xae  0 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0xaf  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0xb0  0 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
Comment 10 TeF 2009-04-02 14:42:48 UTC
(In reply to comment #6)
> There's an interesting part in your log:
> (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and
> newer. Please use EXA instead.
> (II) RADEON(0): Render acceleration disabled
> (II) RADEON(0): num quad-pipes is 1
> (**) RADEON(0): Option "XaaNoOffscreenPixmaps" "True"
> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
> 
> Any comment ?
> 
If I add [Option         "AccelMethod"   "EXA"] in Section "Device" of xorg.conf , the information changed like following:
-------------------------------------------------------------------------------------------------------
#grep -i acceleration /var/log/Xorg.0.log
(**) RADEON(0): Using EXA acceleration architecture
(II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards.
(II)         Composite (RENDER acceleration)
(II) RADEON(0): Acceleration enabled
Comment 11 Rafał Mużyło 2009-04-02 18:23:00 UTC
There's one more option, you may find useful:
"AccelDFS" "true"
AFAIK, it's a default on PCI and PCI-E, but not
on AGP.
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2009-04-06 08:32:32 UTC
(In reply to comment #1)
>  #dmesg |grep drm
> [  741.312388] [drm] Initialized drm 1.1.0 20060810
> [  741.332000] [drm] Initialized radeon 1.29.0 20080613 on minor 0
> [  741.332505] [drm] Used old pci detect: framebuffer loaded
> [  741.797152] [drm:radeon_do_init_cp] *ERROR* could not find ioremap agp
> regions!

That's indeed the first bug to fix.

(In reply to comment #6)
> There's an interesting part in your log:
> (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and
> newer. Please use EXA instead.

(In reply to comment #11)
> There's one more option, you may find useful:
> "AccelDFS" "true"
> AFAIK, it's a default on PCI and PCI-E, but not on AGP.

Pretty useless to change any of these options if DRM is broken in the kernel.

@Tef, please install x11-base/x11-drm-9999 from the x11 overlay (you should copy it over into a local overlay, otherwise you'll have to update a bunch of unrelated libs).

Make sure you have all DRM stuff disabled in your kernel so that the x11-drm ebuild is able to build new modules for it.

Thanks
Comment 13 TeF 2009-04-07 08:01:47 UTC
(In reply to comment #12)
> (In reply to comment #1)
> >  #dmesg |grep drm
> > [  741.312388] [drm] Initialized drm 1.1.0 20060810
> > [  741.332000] [drm] Initialized radeon 1.29.0 20080613 on minor 0
> > [  741.332505] [drm] Used old pci detect: framebuffer loaded
> > [  741.797152] [drm:radeon_do_init_cp] *ERROR* could not find ioremap agp
> > regions!
> That's indeed the first bug to fix.
> (In reply to comment #6)
> > There's an interesting part in your log:
> > (II) RADEON(0): XAA Render acceleration unsupported on Radeon 9500/9700 and
> > newer. Please use EXA instead.
> (In reply to comment #11)
> > There's one more option, you may find useful:
> > "AccelDFS" "true"
> > AFAIK, it's a default on PCI and PCI-E, but not on AGP.
> Pretty useless to change any of these options if DRM is broken in the kernel.
> @Tef, please install x11-base/x11-drm-9999 from the x11 overlay (you should
> copy it over into a local overlay, otherwise you'll have to update a bunch of
> unrelated libs).
> Make sure you have all DRM stuff disabled in your kernel so that the x11-drm
> ebuild is able to build new modules for it.
> Thanks


Thanks for your advice.I emerge the  x11-base/x11-drm-9999 form overlay but nothing changed.
Alex Deucher at freedesktop.org advise me booting with "nopat" option(one of kernel commmand line options).I try it and it works.When I booting with nopat option,DRI works well and drm is loaded fine,dmesg |grep drm shows no error messeng anymore.

Does this cause my problem ? How can I fix it complete? any advices for me ?
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-04-07 09:03:21 UTC
(In reply to comment #13)
> Thanks for your advice.I emerge the  x11-base/x11-drm-9999 form overlay but
> nothing changed.
> Alex Deucher at freedesktop.org advise me booting with "nopat" option(one of
> kernel commmand line options).I try it and it works.When I booting with nopat
> option,DRI works well and drm is loaded fine,dmesg |grep drm shows no error
> messeng anymore.
> 
> Does this cause my problem ? How can I fix it complete? any advices for me ?

Yes, file a bug in FreeDesktop's bugzilla so that they can properly fix it. Please paste the url here so we can track whatever patches upstream commits.

Thanks
Comment 15 TeF 2009-04-07 11:46:48 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Thanks for your advice.I emerge the  x11-base/x11-drm-9999 form overlay but
> > nothing changed.
> > Alex Deucher at freedesktop.org advise me booting with "nopat" option(one of
> > kernel commmand line options).I try it and it works.When I booting with nopat
> > option,DRI works well and drm is loaded fine,dmesg |grep drm shows no error
> > messeng anymore.
> > 
> > Does this cause my problem ? How can I fix it complete? any advices for me ?
> 
> Yes, file a bug in FreeDesktop's bugzilla so that they can properly fix it.
> Please paste the url here so we can track whatever patches upstream commits.
> 
> Thanks
> 
I have reported this bug  to  FreeDesktop's bugzilla several days ago. Here is  the  bug url
https://bugs.freedesktop.org/show_bug.cgi?id=21067

Comment 16 Rémi Cardona (RETIRED) gentoo-dev 2009-04-07 12:40:25 UTC
Alright, let's track the bug upstream then.

Thanks