After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776141 - glimagesink: RGB png files don't work on raspberry pi (RGBA is fine)
glimagesink: RGB png files don't work on raspberry pi (RGBA is fine)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-12-15 15:57 UTC by Stuart Axon
Modified: 2016-12-19 21:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Images and minimal player (1.01 MB, application/zip)
2016-12-15 15:57 UTC, Stuart Axon
Details
rgb log (does not display) (1.73 KB, text/plain)
2016-12-15 16:07 UTC, Stuart Axon
Details
rgba log (displays) (1.78 KB, text/plain)
2016-12-15 16:08 UTC, Stuart Axon
Details

Description Stuart Axon 2016-12-15 15:57:25 UTC
Created attachment 342030 [details]
Images and minimal player

Using master on raspbian, RGB pngs don't display, there is just a black screen.

Attachment zip includes minimal python player and the two png files that demonstrate the issue.
Comment 1 Stuart Axon 2016-12-15 16:07:43 UTC
Created attachment 342031 [details]
rgb log (does not display)
Comment 2 Stuart Axon 2016-12-15 16:08:13 UTC
Created attachment 342032 [details]
rgba log (displays)
Comment 3 Matthew Waters (ystreet00) 2016-12-16 04:54:56 UTC
Also reproducible with videotestsrc ! video/x-raw,format=RGB ! glimagesink on the RPi but not on my linux desktop.
Comment 4 Stuart Axon 2016-12-16 09:49:49 UTC
This may explain why I couldn't display any jpegs on the Pi.
Comment 5 Stuart Axon 2016-12-16 13:06:48 UTC
I've made a test program that demonstrates this and other bugs available here

https://github.com/stuaxo/gstreamer-dispmanx-demo
Comment 6 Matthew Waters (ystreet00) 2016-12-16 14:15:21 UTC
commit d8d28e4426009a8d73308ea1869ca5c95ae27c89
Author: Matthew Waters <matthew@centricular.com>
Date:   Sat Dec 17 01:00:00 2016 +1100

    gl/format: use the unsized format for RGB on GLES2
    
    In GLES2 GL_RGB8 doesn't exist so we cannot use it, use GL_RGB
    instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776141
Comment 7 Matthew Waters (ystreet00) 2016-12-16 14:19:43 UTC
*** Bug 776165 has been marked as a duplicate of this bug. ***
Comment 8 Stuart Axon 2016-12-19 21:39:03 UTC
Tested and works, awesome!  Thanks for fixing this :)