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

Re: libGL



Hi,

First, here is the result of glxinfo with the libGL debug flag :

bash-2.05a$ export LIBGL_DEBUG=1
bash-2.05a$ glxinfo
name of display: :0.0
libGL error: drmMap of sarea failed
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 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 Slow
0x25 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x26 24 tc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  0  0  0  0  0  0 0 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8  0  0  0  0  0 0 Slow
0x29 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  0 16 16 16  0  0 0 Slow
0x2a 24 dc  0 24  0 r  y  .  8  8  8  0  0 24  8 16 16 16  0  0 0 Slow


Señor Bazo Agujereado a écrit:
Is there any other error output in Xfree86*log? You may see something
like 'drm: initialization failed' or 'DRI: not enabled' or some such.
If that is the case, then the problem is that DRI/DRM is not being
enabled for your graphics card. These modules allow hardware
accelleration in X.

That's strange, most of the lines about dri and drm are OK (begin with
"(II)"). But there is only one failure in XFree86.1.log :

(==) R128(0): Write-combining range (0xe4000000,0x1000000)
(II) R128(0): [drm] drmSetBusid failed (6, PCI:1:0:0)

(EE) R128(0): [dri] DRIScreenInit failed.  Disabling DRI.

(II) R128(0): Memory manager initialized to (0,0) (1280,3276)
(II) R128(0): Reserved area from (0,1024) to (1280,1026)
(II) R128(0): Largest offscreen area available: 1280 x 2250
(==) R128(0): Backing store disabled
(==) R128(0): Silken mouse enabled
(II) R128(0): Using XFree86 Acceleration Architecture (XAA)

The problem may be that:

  - You are using two monitors, and X isn't able to use DRI with two
monitors with the current driver, or

I've only got one monitor.

  - The agp chipset driver for your motherboard isn't being loaded.
For example. my mb agp bridge is ' [AMD] AMD-751 [Irongate] AGP
Bridge', and I need to load the 'amd_k7_agp' module

The chipset driver wasn't loaded (I thought that CONFIG_KMOD=1 automatically loads needed modules in the kernel).

So I loaded the module via-agp (I've got a VIA apollo KT266 series mainboard, so I guess it's the right module) with insmod (modprobe surprisingly doesn't work with the kernel 2.6.8), restarted the X server. But the error persists.

I also tried amd-k7-agp and ati-agp modules.

  - DRI is turned off in XFree86Config (check for 'load dri', 'load
glx' in section 'Module')

dri and glx are loaded in the XFree Configuration file

You might want to check out the DRI wiki for more help:
http://dri.sourceforge.net/cgi-bin/moin.cgi/

Have you recently changed anything with your configuration, or added a
new graphics card?

It's an old error, but when it appeared I didn't have time to handle it.

--
Prakash

PS : Thanks having cc-ed me as I'm not on the list.



Reply to: