Open Traneptora opened 7 years ago
What graphics card are you using? I've come across this problem myself with my NVidia card and when I asked around the response was that there's a bug or something in SDL. However, in my case the canvas is all black.
I have an nVidia GeForce GTX 1070, with the 378.13-6 driver, and SDL2 version 2.0.5-3. However, no other SDL2 application exhibits this behavior, such as ffplay
.
Seems to me my bug I have reported to the Debian package. The problem is that while full decoding works, progressive decoding will not. Unfortunately I cannot debug it through unknown-to-me SDL mechanisms, but glad to compile anything enriched with debug output or else.
Attempting to use the command-line flif-viewer "viewflif" will create a window but the canvas will not paint the decoded FLIF or repaint if the window is moved. This is true for any flif file. Testing with fish.png yields a valid flif file that cannot be displayed with viewflif.
Steps to reproduce:
fish.flif
here. (e.g. one generated fromflif -e fish.png fish.flif
)viewflif fish.flif
and the frame will open but it won't actually display anything, and won't repaint.dflif fish.flif - | display -
and ImageMagick will be able to view the decoded file.System:
uname -snrmo
: Linux gauss 4.10.13-1-ARCH x86_64 GNU/LinuxScreenshots of the problem: