Hello,
I am beggining to test the latest SDL 1.3 SVN version. The test
programs using blits (testsprite, testsprite2, testalpha…) are
not working for me. I suppose that is some problem with the pixel
format of my screen:
-
testsprite2 fails with the message “Couldn’t create texture:
Compatible pixel format can’t be found”. Debugging the code, it
seems that SDL uses SDL_PIXELFORMAT_ARGB8888, but later it
can’t continue. -
testsprite and testalpha show incorrect blittings, maybe
because they choose a bad pixel format.See it at
http://img141.imageshack.us/i/testsprite.jpg/ -
testsprite and testalpha work correctly with SDL 1.2.
This is the output of testvidcard on SDL 1.2 and SDL 1.3:
Video driver: x11
Current display: 1400x1050, 32 bits-per-pixel
Red Mask = 0x00ff0000
Green Mask = 0x0000ff00
Blue Mask = 0x000000ff
Fullscreen video modes:
1400x1050x32
1280x800x32
1280x768x32
1024x768x32
800x600x32
640x480x32
A window manager is available
Built-in video drivers: x11, dummy
Video driver: x11
Number of displays: 1
Display 0:
Current mode: 1400x1050 at 0Hz, 24 bits-per-pixel
Red Mask = 0x00ff0000
Green Mask = 0x0000ff00
Blue Mask = 0x000000ff
Fullscreen video modes:
Mode 0: 1400x1050 at 0Hz, 24 bits-per-pixel
Red Mask = 0x00ff0000
Green Mask = 0x0000ff00
Blue Mask = 0x000000ff
Current resolution: 1400x1050
More info from xdpyinfo:
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10402000
X.Org version: 1.4.2
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
…and from testgl:
Screen BPP: 16
Vendor : Tungsten Graphics, Inc.
Renderer : Mesa DRI Radeon 20061018 AGP 4x x86/MMX/SSE2 TCL
Version : 1.3 Mesa 7.0.4
Should I submit a bug report about this?
Regards,
Alberto