Re: XWD and overlay visuals

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

 



   The colormap entries are wrong.  It's probably the case that
NVIDIA neglected to edit that field in the structure and left it
to what the micolormap code initialized it to.  I'll ping one
of the NVIDIA engineers about it.


			Mark.


On Wed, 19 Jan 2005, Hancock, Damion C wrote:

> 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
>
>
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[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