On Mon, 26 Jul 2004 11:45:59 +0800
Bill Gou <[EMAIL PROTECTED]> wrote:

[snip]
> 
> And I also find out why glxinfo fails. I set the LIBGL_DEBUG env variable and run 
> glxinfo,
>  this is the output:
> 
> ----------
> $ glxinfo
> name of display: :0.0
> libGL error:
> Can't open configuration file /etc/drirc: No such file or directory.
> libGL error:
> Warning in /home/bgou/.drirc line 1, column 0: <option> should be inside 
> <application>.
> libGL error:
> Warning in /home/bgou/.drirc line 1, column 0: unkown option attribute: type.
> libGL error:
> Warning in /home/bgou/.drirc line 1, column 0: unkown option attribute: 
> default.libGL error:
> Warning in /home/bgou/.drirc line 1, column 0: unkown option attribute: valid.
> glxinfo: xmlconfig.c:102: findOption: Assertion `i < size' failed.
> Aborted
> ----------

Ah, now I see what this was all about. It's a corner case where the hash
table is completely full and a config file specifies an undefined
option. Instead of an error message you get an assertion failure. An
assertion failure should never happen due to a bad configuration file.
I'll commit a fix in a minute.

> 
> the content of ~/.drirc file is:
> 
> <option name="vblank_mode" type="enum" default="2" valid="0:3" value="1">
> 
> I have no idea where this file comes from. I remove this file, then glxinfo runs 
> well, so
> do other GL apps.
> 
> Bill
> 


| Felix Kühling <[EMAIL PROTECTED]>                     http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to