From: Frederico S. M. <fs...@sd...> - 2001-04-26 00:17:35
|
Hello all, I have just subscribed because I have a problem I really don't know how to solve... I have been trying to get DRI working with my ATI Rage 128 for months now and I never been closer, but this one I really don't know how to handle. Problem: eaxh time I try to launch a program to uses GL it returns drmR128Clear: return =3D -22; examples: fsmunoz@alioth:~$ tuxracer Tux Racer 0.61 -- a Sunspire Studios Production=20 (http://www.sunspirestudios.com) (c) 1999-2000 Jasmin F. Patry <jf...@su...> "Tux Racer" is a trademark of Jasmin F. Patry Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See http://www.gnu.org/copyleft/gpl.html for details. drmR128Clear: return =3D -22 fsmunoz@alioth:~$ And so on for armagetron, Quake, etc. I really can't give any more information on this, except all the relevant logs that I can think of and that I added in the end; BTW, this happens as both root an user. BTW: in the bellow logs the only other thing I can spot are the errors on the kernel module.... but I can't understadn them. Thanks, fsm --=20 Frederico S. Mu=F1oz GNU http://www.gnu.org fs...@sd... Debian http://www.debian.org http://sdf.lonestar.org - SDF Public Access Unix Systems uname ***** fsmunoz@alioth:~$ uname -a Linux alioth 2.4.2 #1 Tue Apr 24 00:46:58 GMT 2001 i686 unknown (System using Debian GNU/Linux) XF86Config ********** Section "Module" Load "ddc" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "pex5" #Load "record" #Load "xie" Load "bitmap" Load "freetype" Load "speedo" Load "type1" #Load "vbe" #Load "int10" Load "r128" Section "Device" Identifier "Generic Graphics Device" Driver "r128" ChipId 0x5246 EndSection XF86 Log (snips) **************** (II) LoadModule: "GLcore" (II) Loading /usr/X11R6/lib/modules-dri/extensions/libGLcore.a (II) Module GLcore: vendor=3D"The XFree86 Project" compiled for 4.0.99.1, module version =3D 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules-dri/extensions/libdri.a (II) Module dri: vendor=3D"The XFree86 Project" compiled for 4.0.99.1, module version =3D 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules-dri/linux/libdrm.a (II) Module drm: vendor=3D"The XFree86 Project" compiled for 4.0.99.1, module version =3D 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension XFree86-DRI (II) LoadModule: "extmod" (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor=3D"The XFree86 Project" compiled for 6.71.10.912, module version =3D 1.0.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 (II) LoadModule: "r128" (II) Loading /usr/X11R6/lib/modules-dri/drivers/r128_drv.o (II) Module r128: vendor=3D"The XFree86 Project" compiled for 4.0.99.1, module version =3D 4.0.1 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.3 (II) LoadModule: "ati" (II) Loading /usr/X11R6/lib/modules-dri/drivers/ati_drv.o (II) Module ati: vendor=3D"The XFree86 Project" compiled for 4.0.99.1, module version =3D 6.2.5 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.3 (II) LoadModule: "r128" (II) Reloading /usr/X11R6/lib/modules-dri/drivers/r128_drv.o (**) ChipID override: 0x5246 (**) Chipset ATI Rage 128 RF (AGP) found (II) Loading sub module "r128" (II) LoadModule: "r128" (II) R128(0): initializing int10 (II) R128(0): Primary V_BIOS segment is: 0xc000 (**) R128(0): Chipset: "ATI Rage 128 RF (AGP)" (ChipID =3D 0x5246) (--) R128(0): Linear framebuffer at 0xd8000000 (--) R128(0): MMIO registers at 0xdd000000 (--) R128(0): VideoRAM: 32768 kByte (64-bit SDR SGRAM 2:1) (II) R128(0): PLL parameters: rf=3D1432 rd=3D31 min=3D12500 max=3D25000; xc= lk=3D6000 (++) R128(0): DPI set to (100, 100) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/X11R6/lib/modules/libfb.a (II) Module fb: vendor=3D"The XFree86 Project" compiled for 6.71.10.912, module version =3D 1.0.0 ABI class: XFree86 ANSI C Emulation, version 0.1 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac" (II) Loading /usr/X11R6/lib/modules/libramdac.a (II) Module ramdac: vendor=3D"The XFree86 Project" compiled for 6.71.10.912, module version =3D 0.1.0 ABI class: XFree86 Video Driver, version 0.3 (=3D=3D) R128(0): Write-combining range (0xd8000000,0x2000000) (II) R128(0): [drm] created "r128" driver at busid "PCI:1:5:0" (II) R128(0): [drm] added 4096 byte SAREA at 0xc6fe1000 (II) R128(0): [drm] mapped SAREA 0xc6fe1000 to 0x40017000 (II) R128(0): [drm] framebuffer handle =3D 0xd8000000 (II) R128(0): [drm] added 1 reserved context for kernel (II) R128(0): [agp] Mode 0x0f000201 [AGP 0x1022/0x7006; Card 0x1002/0x5246] (II) R128(0): [agp] 8192 kB allocated with handle 0xcc888000 (II) R128(0): [agp] ring handle =3D 0xd0000000 (II) R128(0): [agp] Ring mapped at 0x422b3000 (II) R128(0): [agp] ring read ptr handle =3D 0xd0101000 (II) R128(0): [agp] Ring read ptr mapped at 0x40018000 (II) R128(0): [agp] vertex/indirect buffers handle =3D 0xd0102000 (II) R128(0): [agp] Vertex/indirect buffers mapped at 0x423b4000 (II) R128(0): [agp] AGP texture map handle =3D 0xd0302000 (II) R128(0): [agp] AGP Texture map mapped at 0x425b4000 (II) R128(0): [drm] register handle =3D 0xdd000000 (II) R128(0): Visual configs initialized (II) R128(0): CCE in BM mode (II) R128(0): Using 8 MB AGP aperture (II) R128(0): Using 1 MB for the ring buffer (II) R128(0): Using 2 MB for vertex/indirect buffers (II) R128(0): Using 5 MB for AGP textures (II) R128(0): Memory manager initialized to (0,0) (1024,3840) (II) R128(0): Reserved area from (0,768) to (1024,770) (II) R128(0): Largest offscreen area available: 1024 x 3070 (II) R128(0): Reserved back buffer from (0,770) to (1024,1538) (II) R128(0): Reserved depth buffer from (0,1538) to (1024,2307) (II) R128(0): Reserved depth span from (0,2306) offset 0x481000 (II) R128(0): Reserved 25088 kb for textures at offset 0x780000 (=3D=3D) R128(0): Backing store disabled (=3D=3D) R128(0): Silken mouse enabled (II) R128(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 Dashed Lines Scanline Image Writes Offscreen Pixmaps Setting up tile and stipple cache: 32 128x128 slots 14 256x256 slots (II) R128(0): Acceleration enabled (II) R128(0): Using hardware cursor (scanline 4614) glxinfo ******* fsmunoz@alioth:~$ glxinfo=20 display: :0.0 screen:0 direct rendering: Yes 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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa DRI Rage128 20010321 AGP 1x x86/MMX/3DNow! OpenGL version string: 1.2 Mesa 3.4.1 OpenGL extensions: GL_ARB_multitexture, GL_ARB_tranpose_matrix, GL_EXT_abgr,=20 GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_histogram= ,=20 GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,=20 GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_env_add,=20 GL_EXT_texture_object, GL_EXT_texture_lod_bias, GL_EXT_vertex_array,=20 GL_MESA_window_pos, GL_MESA_resize_buffers, GL_NV_texgen_reflection,=20 GL_PGI_misc_hints, GL_SGIS_pixel_texture, GL_SGIS_texture_edge_clamp 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 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x24 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x25 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x26 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow 0x27 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None 0x28 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow 0x29 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow 0x2a 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow dmesg (in what concerns the kernel module) ****************************************** agpgart: Maximum main memory to use for agp memory: 94M agpgart: Detected AMD Irongate chipset agpgart: AGP aperture is 128M @ 0xd0000000 [drm] AGP 0.99 on AMD Irongate @ 0xd0000000 128MB [drm] Initialized r128 2.1.2 20001215 on minor 63 [drm:r128_cce_vertex] *ERROR* buffer index 32028 (of 127 max) [drm:r128_cce_vertex] *ERROR* process 11065 using buffer owned by 0 [drm:r128_cce_vertex] *ERROR* process 11069 using buffer owned by 0 [drm:r128_cce_vertex] *ERROR* process 11073 using buffer owned by 0 [drm:r128_cce_vertex] *ERROR* process 11078 using buffer owned by 0 [drm:r128_do_wait_for_fifo] *ERROR* r128_do_wait_for_fifo failed! [drm:r128_cce_vertex] *ERROR* buffer index 32028 (of 127 max) |