SDL breaks xwd

SDL (1.1) doesn’t seem to like xwd very much. I tried to take a screenshot

[marvin at tulpe marvin]$ xwd -root -out /tmp/dump.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: 0x3000777
Serial number of failed request: 595
Current serial number in output stream: 595

This happens only when SDL apps are running.

  • Andreasfrom my desktop and I got:

    Probably one of the smallest 3D-Games in the world: http://www.gltron.org
    More than 50’000 Downloads of the latest version (0.53)

SDL (1.1) doesn’t seem to like xwd very much. I tried to take a screenshot

[marvin at tulpe marvin]$ xwd -root -out /tmp/dump.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: 0x3000777
Serial number of failed request: 595
Current serial number in output stream: 595

I take screenshots all the time, but I run at 16 bpp.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software> from my desktop and I got:

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga schrieb am 29 Feb 2000:

[marvin at tulpe marvin]$ xwd -root -out /tmp/dump.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: 0x3000777
Serial number of failed request: 595
Current serial number in output stream: 595

I take screenshots all the time, but I run at 16 bpp.

I see. I’m running at 16bpp too. Apparently, it affects only
OpenGL apps. I can take screenshots from aliens, but not from
gltron or sdl_texture (http://www.ards.net/Andreas/sdl_textures.html).

There’s no OGL acceleration involved, it’s pure Mesa software rendering.

  • Andreas–
    Probably one of the smallest 3D-Games in the world: http://www.gltron.org
    More than 50’000 Downloads of the latest version (0.53)