Mandriva Linux Archives: cooker@mandrivalinux.org
Mandriva Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: pcpa
- Subject: Re: [Cooker] X Error of failed request: BadValue
- Date: 31 May 2008 04:25:04 -0000
Quoting Bjarne Thomsen <bjarne.thomsen@get2net.dk>:
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
- Replies:
- Re: [Cooker] X Error of failed request: BadValue
- From: Bjarne Thomsen
- Re: [Cooker] X Error of failed request: BadValue
- References:
- [Cooker] X Error of failed request: BadValue
- From: Bjarne Thomsen
- [Cooker] X Error of failed request: BadValue
- Prev by Date: [Cooker] X Error of failed request: BadValue
- Next by Date: [Cooker] X server impossible to launch: xauth issue
- Previous by thread: [Cooker] X Error of failed request: BadValue
- Next by thread: Re: [Cooker] X Error of failed request: BadValue
- Index(es):
