From: Yann D. <ya...@so...> - 2002-10-22 18:03:14
|
Hi there ! I've got a 3dfx 3000 with 8mo RAM ( rare card ! ) and I cannot launch any GL stuff when DRI is enabled, otherwise my system is get frozen ( I got to log from another box and kill every X process !!) I use Xfree86 4.2.1 on a i386 debian distrib ( branch unstable ), kernel 2.4.19 (agpgart and everything recommended by the doc is in memory) and DRI is enabled : (==) TDFX(0): Write-combining range (0xfc000000,0x1000000) (II) TDFX(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x8d00 (II) TDFX(0): Changing back offset from 0x0034f000 to 0x0034e000 (II) TDFX(0): Textures Memory 0.05 MB (II) TDFX(0): Cursor Offset: [0x00000000,0x00001000) (II) TDFX(0): Fifo Offset: [0x00001000, 0x00041000) (II) TDFX(0): Front Buffer Offset: [0x00041000, 0x00341C00) (II) TDFX(0): Texture Offset: [0x00341C00, 0x0034E000) (II) TDFX(0): BackOffset: [0x0034E000, 0x005A6000) (II) TDFX(0): DepthOffset: [0x005A7000, 0x007FF000) (II) TDFX(0): Minimum 270, Maximum 289 lines of offscreen memory available drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 5, (OK) drmGetBusid returned '' (II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0" (II) TDFX(0): [drm] added 8192 byte SAREA at 0xd8887000 (II) TDFX(0): [drm] mapped SAREA 0xd8887000 to 0x40012000 (II) TDFX(0): [drm] framebuffer handle = 0xfc000000 (II) TDFX(0): [drm] added 1 reserved context for kernel (II) TDFX(0): [drm] Registers = 0xf6000000 (II) TDFX(0): visual configs initialized (II) TDFX(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 Offscreen Pixmaps Driver provided NonTEGlyphRenderer replacement Setting up tile and stipple cache: 20 128x128 slots (==) TDFX(0): Backing store disabled (==) TDFX(0): Silken mouse enabled (**) Option "dpms" (**) TDFX(0): DPMS enabled (II) TDFX(0): X context handle = 0x00000001 (II) TDFX(0): [drm] installed DRM signal handler (II) TDFX(0): [DRI] installation complete (==) TDFX(0): Direct rendering enabled I installed all libs GLUT, GL, xlibmesa, libglide (pretty old)...bla, bla, bla and I even recompiled the GLide with the h3 option (BTW pain in the ass)... I still have the same problem all the time : Is it a gcc problem? or should I build Xfree myself and give up the debian packages ? this is what glxinfo with the LIBGL_DEBUG set returns to me : libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so drmOpenByBusid: busid is PCI:1:0:0 drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports PCI:1:0:0 libGL: using Glide library libglide3.so GL User Error: calling glGetString(0x1f00); without a current context GL User Error: calling glGetString(0x1f01); without a current context GL User Error: calling glGetString(0x1f02); without a current context GL User Error: calling glGetString(0x1f03); without a current context 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: (null) OpenGL renderer string: (null) OpenGL version string: (null) OpenGL extensions: glu version: 1.3 glu extensions: GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess Segmentation fault # !!! :-0 BTW If I launch gears, It's the same : every GL function reports the same error "without a current context" Sorry for my poor english and thanks for your feedback ! Yann Dille (ya...@so...) |