[PD] very bad GEM performance

Frank Barknecht fbar at footils.org
Fri Jun 17 22:04:46 CEST 2005


Hallo,
Georg Holzmann hat gesagt: // Georg Holzmann wrote:

> > Do you really have DRI enabled? You can check with 
> > $ glxinfo | grep direct
> ~$ glxinfo | grep direct
> Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> direct rendering: No
> OpenGL renderer string: Mesa GLX Indirect

Here is the reason for your performance problem. Without DRI, GEM is
rendering in software using the CPU. This is slooooooow. 

> How can I enable it?

This is specific for your gfx card, but some things to check is: AGP
should be running, all modules for that loaded, like agpart etc.
example from my machine: 

$ lsmod
...
amd64_agp              11976  1 
drm                    60180  2 mga
agpgart                32296  2 drm,amd64_agp
... 

Also you need to enable DRI in /etc/X11/XF86Config[-4] like:

Section "Module"
        Load    "GLcore"   # <<======
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"      # <<======
        Load    "extmod"
        Load    "freetype"
        Load    "glx"      # <<======
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
EndSection

Some googleing will help, too, like search for "enable dri <yourcard>"

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
             
          _ __latest track: "scans" _ http://footils.org/cms/show/41




More information about the Pd-list mailing list