XWD and overlay visuals

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

 



Title: XWD and overlay visuals

I'm trying to capture a window image using xwd  on a GLX window with overlays.   I get the following error
[hancockd@robotics3 xwd]$ xwd > output.xwd
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: 0xc35e57
Serial number of failed request: 2111
Current serial number in output stream: 2111

Throught some investigation and modifying the xwd source code I believe the visual where the trouble occurs
is in the following visual
visual:
visual id: 0x3c
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0x7c00, 0x3e0, 0x1f
significant bits in color specification: 5 bits

The problem seems that before the colors array is sent to XQueryColors it is using 64 as the number of colors.
The 5 bit colors only seem able to handle 32 colors.  This visual is from an NVIDIA GeForceFX 1000 with the
NVIDIA driver.  Is this a valid Visual configuration?  Is this something xwd should handle?   Is this something
NVIDIA should fix?
Any help would be appreciated.

Damion C. Hancock
Mail Code: USH-4A5L

BEGIN:VCARD
VERSION:2.1
N:Hancock;Damion
FN:Damion Hancock (E-mail)
ORG:USA;14A51
TEL;WORK;VOICE:281-282-6634
TEL;PAGER;VOICE:(713) 709-0667
EMAIL;PREF;EX:/o=United Space Alliance/ou=USAHQ/cn=USAHQ_600_MB/cn=Damion.C.Hancock
REV:20040506T182958Z
END:VCARD

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux