Author Login
Post Reply
On Sat, 2008-05-31 at 01:21 -0300, pcpa@(protected):
> 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
>
Indeed, it works when I insert
Section "Extensions"
Option "Composite" "Disable"
EndSection
Yes, I have
DefaultDepth 24
I notice that XFdrake removes "Disable"
when I enable 3D effecte.
So it looks as if have to choose between
having 3D effects and being able to run the
python scripts. Is that correct?
-- Bjarne
>
>