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

Bug#530772: libgl1-mesa-glx: Recent library update broke starsuite8 (openoffice 2 variant) and glxinfo



Dear Julien Cristau,

Thank you again.

I think you can safely close this bug since
it was indeed a configuration issue.
Removing fglrx-glx restored the original libGL and
all is well now.

I am attaching a configuration checker to check the
consistency of libGL and the graphics driver used for X.
The sample output is attached at the end.

If you or your colleagues find this useful, fine.
Or if you can direct me to more appropriate forum or somewhere, I will appreciate it very much.

TIA!

My 2 cents worth.

If something like this can be written for libGL coming from mesa/ati/whatever,
we can reduce the collective man-hours lost due to the
incompatibilities.

Thank you again for your time, and
thank you for reading this far :-)

Happy Hacking

CI

I am attaching a simple configuration checker that I wrote
which might be of help in the future.

It checks the consistency (the matching of the driver in xorg.conf, say, and
the libGL coming from various packages.)

It is a shell script and can be run from the command line by
specifying the X config file as an argument.

With my previous mix-up configuration, it would print the output
as in NG case below.
In my current configuration, it would print the output
as in OK case below.

============
NG case
--------------

Checking /etc/X11/xorg.conf
You are using the graphics device drivers : ati radeon

If there are more than one driver lines, we may have a problem.
(If all the graphics driver expect the same libGL, then no problem.)

GetCapabilityvAMD
glGetCapabilityvAMD
We seem to be using libGL coming from FGLRX (AMD/ATI) driver.
Mismatched: libGL from fglrx, X driver ati (expecting libGL of 'other').
Mismatched: libGL from fglrx, X driver radeon (expecting libGL of 'other').

You may want to re-install opengl modules.

E.g. Debian GNU/Linux: apt-get install --reinstall package_name

Or use an appropriate graphics Driver for /etc/X11/xorg.conf.

===============
OK case
----------------

Checking /etc/X11/xorg.conf
You are using the graphics device drivers : ati radeon

If there are more than one driver lines, we may have a problem.
(If all the graphics driver expect the same libGL, then no problem.)

Matched: libGL from other, X driver ati (expecting libGL of 'other').
Matched: libGL from other, X driver radeon (expecting libGL of 'other').




--
int main(void){int j=2008;/*(c)2008 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="b>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=(int)strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */

Attachment: libgl1-check.sh
Description: Bourne shell script


Reply to: