Java Mailing List Archive

http://www.redhatconfig.com/

Home » Mandriva Cooker »

Re: [Cooker] X Error of failed request: BadValue

pcpa

2008-05-31

Replies: Find Java Web Hosting

Author LoginPost Reply
Quoting Bjarne Thomsen <bjarne.thomsen@(protected)>:

> I am using a python package that gives the following error:
> X Error of failed request: BadValue (integer parameter out of range for
> operation)
> Major opcode of failed request: 91 (X_QueryColors)
> Value in failed request: 0xff000000
> Serial number of failed request: 1925
> Current serial number in output stream: 1925
>
> The same program gives no problem when it runs
> on mdv 2007.1 or on ubuntu 8.04 LTS.
> It seems to be related to the number of colors
> used by the Xorg driver (the ATI driver to be specific).
> That driver has the options: 8, 15, 16 or 24 bit.
> The only depth that works is 8 bit, but the desktop
> looks so ugly that it is not really a possibility.
> Could somebody explain to me why 2008.1 has this
> problem? Is there a fix?

Does this happen if you specify

Section "Extensions"
  Option "Composite" "Disable"
EndSection

in xorg.conf?

If yes, then it probably is correctable in the python code
itself, or should work correctly if you also use

  DefaultDepth 24

in the Screen section.

If you use a depth other than 24 by default, try to change
the python script to use the default screen depth, and not
the alternative "best" one (Composite adds a "fake" 24 bits
argb visual, but not all programs understand it correctly).

> Bjarne Thomsen

Paulo



©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.