[ltp] 3d on t40 - New Thinkpad user

Austin Murphy linux-thinkpad@linux-thinkpad.org
Mon, 20 Oct 2003 10:37:48 -0400 (EDT)


Hi Keith,

I also have a T40 with the ATI Radeon 7500 also.  I use Knoppix/Debian
with a 2.4.21-ac2 kernel.

Direct Rendering requires the proper AGPGART kernel module in addition to
the XFree86 driver.  Does 'dmesg' say anything about agpgart?

You may also want to try without the radeon kernel module.  That only
deals with framebuffer graphics.

Austin
--
http://www.math.rutgers.edu/~amurphy/linux/IBM-T40.html


On Tue, 21 Oct 2003, Keith O'Brien wrote:

> Hello My first attempt was to big. So I trimmed the log files. =)
>
> I'm having a problem getting direct rendering working. The details:
> System :
> thinkpad t40 :
> http://www5.pc.ibm.com/us/products.nsf/$wwwPartNumLookup/_237372U
> ATI Mobility Radeon 7500
> RedHat 9.0
> kernel 2.4.22
> XFree86-4.3
>
> Everything is working except  direct rendering.  The logs say that
> direct rendering is coming up.
> (II) RADEON(0): Direct rendering enabled
> However glxinfo says that it is not on:
> direct rendering: No
>
> I'll be happy to add any additional information. Below are the output
> from glxinfo and XFree86.0.log. (trimmed)
>
> Thanks,
> Keith.
> INFO:
> ---------------------
> [keith@storm download]$ glxinfo
> name of display: :0.0
> display: :0  screen: 0
> direct rendering: No
> server glx vendor string: SGI
> server glx version string: 1.2
> server glx extensions:
>     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
> client glx vendor string: SGI
> client glx version string: 1.2
> 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_swap_control,
>     GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
>     GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
>     GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
> GLX extensions:
>     GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info,
>     GLX_EXT_visual_rating
> OpenGL vendor string: Mesa project: www.mesa3d.org
> OpenGL renderer string: Mesa GLX Indirect
> OpenGL version string: 1.3 Mesa 4.0.4
> OpenGL extensions:
>     GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
>     GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
>     GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
>     GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
>     GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
>     GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
>     GL_EXT_texture_lod_bias
> glu version: 1.3
> glu extensions:
>     GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
>
> -----------------------------------------
>
> XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
> Release Date: 27 February 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.4.20-3bigmem i686 [ELF]
> Build Date: 27 February 2003
> Build Host: porky.devel.redhat.com
>
>  ...
>
> (==) RADEON(0): Write-combining range (0xe0000000,0x2000000)
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 7, (OK)
> drmGetBusid returned ''
> (II) RADEON(0): [drm] loaded kernel module for "radeon" driver
> (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:1:0:0"
> (II) RADEON(0): [drm] added 8192 byte SAREA at 0xd0996000
> (II) RADEON(0): [drm] mapped SAREA 0xd0996000 to 0x40017000
> (II) RADEON(0): [drm] framebuffer handle = 0xe0000000
> (II) RADEON(0): [drm] added 1 reserved context for kernel
> (II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x3340; Card
> 0x1002/0x4c57]
> (II) RADEON(0): [agp] 8192 kB allocated with handle 0x00000000
> (II) RADEON(0): [agp] ring handle = 0xd0000000
> (II) RADEON(0): [agp] Ring mapped at 0x42272000
> (II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
> (II) RADEON(0): [agp] Ring read ptr mapped at 0x40019000
> (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
> (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x42373000
> (II) RADEON(0): [agp] AGP texture map handle = 0xd0302000
> (II) RADEON(0): [agp] AGP Texture map mapped at 0x42573000
> (II) RADEON(0): [drm] register handle = 0xc0100000
> (II) RADEON(0): [dri] Visual configs initialized
> (II) RADEON(0): CP in BM mode
> (II) RADEON(0): Using 8 MB AGP aperture
> (II) RADEON(0): Using 1 MB for the ring buffer
> (II) RADEON(0): Using 2 MB for vertex/indirect buffers
> (II) RADEON(0): Using 5 MB for AGP textures
> (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
> (II) RADEON(0): Reserved area from (0,768) to (1024,770)
> (II) RADEON(0): Largest offscreen area available: 1024 x 7421
> (II) RADEON(0): Will use back buffer at offset 0x900000
> (II) RADEON(0): Will use depth buffer at offset 0xc00000
> (II) RADEON(0): Will use 17408 kb for textures at offset 0xf00000
> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
>         Screen to screen bit blits
>         Solid filled rectangles
>         8x8 mono pattern filled rectangles
>         Indirect CPU to Screen color expansion
>         Solid Lines
>         Scanline Image Writes
>         Offscreen Pixmaps
>         Setting up tile and stipple cache:
>                 32 128x128 slots
>                 32 256x256 slots
>                 16 512x512 slots
> (II) RADEON(0): Acceleration enabled
> (==) RADEON(0): Backing store disabled
> (==) RADEON(0): Silken mouse enabled
> (II) RADEON(0): Using hardware cursor (scanline 770)
> (II) RADEON(0): Largest offscreen area available: 1024 x 7417
> (**) Option "dpms"
> (**) RADEON(0): DPMS enabled
> (II) RADEON(0): X context handle = 0x00000001
> (II) RADEON(0): [drm] installed DRM signal handler
> (II) RADEON(0): [DRI] installation complete
> (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
> (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
> (II) RADEON(0): [drm] dma control initialized, using IRQ 10
> (II) RADEON(0): [drm] Initialized kernel agp heap manager, 5111808
> (II) RADEON(0): Direct rendering enabled
> (==) RandR enabled
>
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>