[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GL apps too slow



On Thursday 22 May 2003 15:38, Nicos Gollan wrote:
> On Thursday 22 May 2003 09:13, Amit Shah wrote:
> > The default setting in Debian AFAIK is to disable glx extensions in
> > XF86Config-4. I uncommented the line, and GL-based apps work now.. but
> > they're too slow. The rendering is very slow and I can see frames of
> > the output in any app (eg., chromium). I have some mesa libs
> > installed... Do I need to tweak some files, or install some other libs?
>
> First, what graphics card are you using? If it's supported by DRI, then
> your chances are good to get framerates up.

Oh, forgot to mention that: it's a Riva TNT2. Also, I'm running:

XFree86 Version 4.2.1 (Debian 4.2.1-3 20021019202935 
blochedu@linda.rhrk.uni-kl.de) / X Window System
(protocol Version 11, revision 0, vendor release 6600)

> Have a look at the output of 'glxinfo'. In the third line or so, it
> should read "direct rendering: Yes". If that's not so, check if you're
> loading the dri module. You might also have to load appropriate kernel
> modules for your AGP chipset and your graphics card.

Here's the output of 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_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 GLX Indirect
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   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 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x26 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None


I don't think there's kernel support for DRI for nvidia cards... what's the 
solution?

-- 
Amit Shah
http://amitshah.nav.to/

A: No.
Q: Should I include quotations after my reply?



Reply to: