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 774788 - glcolorconvert oddly shifts frame half way down with 2880x1920 video resolution
glcolorconvert oddly shifts frame half way down with 2880x1920 video resolution
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.10.0
Other Windows
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-21 14:15 UTC by ste.butcher
Modified: 2018-05-05 21:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Image that shows the issue (3.51 MB, image/png)
2016-11-21 14:15 UTC, ste.butcher
Details
Issue with colour channel shifting (2.38 MB, image/png)
2016-11-21 14:31 UTC, ste.butcher
Details

Description ste.butcher 2016-11-21 14:15:40 UTC
Created attachment 340423 [details]
Image that shows the issue

Might have found a possible bug with glcolorconvert.

Trying to playback a video of dimensions 2880x1920, I get an odd shift half way down the frame in my app/pipeline set-up.

I wanted to be able to show this off outside of my code, and the following gst-launch command does that:

gst-launch-1.0 uridecodebin uri=http://tillybutcher.co.uk/test/bbb_2880x1920_1.mp4 ! glupload ! glcolorconvert ! video/x-raw(memory:GLMemory) ! glimagesink

I am attaching a still of how the issue manifests itself.

Other video sizes seem to behave as expected (I tested a 4k video as well as other lower resolution videos).
Comment 1 ste.butcher 2016-11-21 14:29:59 UTC
To add some more info, the actual videos I am trying to playback (which unfortunately I cannot include due to licensing :/) appear to have some sort of colour shifting/ghosting on the bottom half of the frame.  Like the red channel is actually correct and not 'shifted'.
Comment 2 ste.butcher 2016-11-21 14:31:58 UTC
Created attachment 340425 [details]
Issue with colour channel shifting
Comment 3 ste.butcher 2016-11-21 14:33:07 UTC
In fact, the Big Buck Bunny video I reference has the issue, I have attached another image to show it ('Issue with colour channel shifting').
Comment 4 Sebastian Dröge (slomo) 2016-11-21 15:45:51 UTC
You can also see the in the first picture btw. Not sure where it comes from though
Comment 5 Sebastian Dröge (slomo) 2016-11-21 15:46:51 UTC
It also looks ok here. Which GL version and platform is used here, on which GPU?
Comment 6 ste.butcher 2016-11-21 16:54:54 UTC
GST_GL_API_OPENGL when wrapping the context (so just OpenGL 2?).

Windows 10 (64 bit).

AMD Radeon R9 270.

I have a few other GPU's here I could try...
Comment 7 Matthew Waters (ystreet00) 2017-07-14 14:17:57 UTC
Does the problem still occur?

On what monitor configuration? i.e. does the shift happen at the same pixel position as the width/height of your monitor?

Did you have a chance to test your other GPUs?

Are your graphics drivers up to date?
Comment 8 Matthew Waters (ystreet00) 2018-05-05 21:17:25 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!