GL failure on Fedora

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

GL failure on Fedora

Russel Winder
Me TV again. On Fedora Rawhide, which has GStreamer 1.14.0 with both
libgstgtk.so and libgstopengl.so seemingly in the right place.

|> GST_DEBUG=3 ./target/debug/me-tv
Using gtkglsink.
0:00:02.355979802 15493 0x7f6af046b610 WARN               glcontext gstglcontext.c:507:gst_gl_context_get_current_gl_context: Could not retrieve current context
0:00:02.356030283 15493 0x7f6af046b610 WARN                basesink gstbasesink.c:5265:gst_base_sink_change_state:<sink> error: Failed to start
0:00:02.356164966 15493 0x7f6af046b610 ERROR                playbin gstplaybin2.c:5444:activate_group:<playbin> failed to activate sinks

This does not happen on Debian Sid.

Anyone any ideas as to what might be going wrong?

--
Russel.
=========================================
Dr Russel Winder     t:+44 20 7585 2200
41 Buckmaster Road   m:+44 7770 465 077
London SW11 1EN, UK  w: www.russel.org.uk

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Nicolas Dufresne-5


Le ven. 6 avr. 2018 07:57, Russel Winder <[hidden email]> a écrit :
Me TV again. On Fedora Rawhide, which has GStreamer 1.14.0 with both
libgstgtk.so and libgstopengl.so seemingly in the right place.

|> GST_DEBUG=3 ./target/debug/me-tv
Using gtkglsink.
0:00:02.355979802 15493 0x7f6af046b610 WARN               glcontext gstglcontext.c:507:gst_gl_context_get_current_gl_context: Could not retrieve current context
0:00:02.356030283 15493 0x7f6af046b610 WARN                basesink gstbasesink.c:5265:gst_base_sink_change_state:<sink> error: Failed to start
0:00:02.356164966 15493 0x7f6af046b610 ERROR                playbin gstplaybin2.c:5444:activate_group:<playbin> failed to activate sinks

This does not happen on Debian Sid.

Anyone any ideas as to what might be going wrong?

Did you tested simple pipelines on the side? E.g. with ... ! glsinkbin sink=gtkglsink ?

--
Russel.
=========================================
Dr Russel Winder     t:+44 20 7585 2200
41 Buckmaster Road   m:+44 7770 465 077
London SW11 1EN, UK  w: www.russel.org.uk
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Russel Winder
On Fri, 2018-04-06 at 13:08 +0000, Nicolas Dufresne wrote:
>
[…]
> Did you tested simple pipelines on the side? E.g. with ... ! glsinkbin
> sink=gtkglsink ?
[…]

I don't use gst-launch-1.0, you'll need to be a bit more explicit on the
experiment to try.


|> gst-launch-1.0 playbin uri=dvb://ITV ! glsinkbin sink=gtkglsink
WARNING: erroneous pipeline: could not link playbin0 to glsinkbin0

--
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Russel Winder
On Debian:

gst-launch-1.0 playbin uri=dvb://BBC%20NEWS

works fine.

On Fedora rawhide only sound happens and:


|> gst-launch-1.0 playbin uri=dvb://BBC%20NEWS
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Missing element: MPEG-2 Video (Main Profile) decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)704, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)16/11, codec_data=(buffer)000001b32c024033249f238110111113121314141414161516151617171817181719191a191a18191a1a1b1b1c1b1b1a1c1d1d1e1d1d1c1f1f201f201e21222122212423242326272629282b000001b5148200010000, profile=(string)main, level=(string)main, interlace-mode=(string)mixed'.
Additional debug info:
gsturidecodebin.c(921): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
WARNING: from element /GstPlayBin:playbin0/GstPlaySink:playsink: Can't play a text file without video or visualizations.
Additional debug info:
gstplaysink.c(3250): gst_play_sink_do_reconfigure (): /GstPlayBin:playbin0/GstPlaySink:playsink:
Have text pad but no video pad or visualizations
Redistribute latency...



On Sat, 2018-04-07 at 11:19 +0100, Russel Winder wrote:

> On Fri, 2018-04-06 at 13:08 +0000, Nicolas Dufresne wrote:
> >
>
> […]
> > Did you tested simple pipelines on the side? E.g. with ... ! glsinkbin
> > sink=gtkglsink ?
>
> […]
>
> I don't use gst-launch-1.0, you'll need to be a bit more explicit on the
> experiment to try.
>
>
> > > gst-launch-1.0 playbin uri=dvb://ITV ! glsinkbin sink=gtkglsink
>
> WARNING: erroneous pipeline: could not link playbin0 to glsinkbin0
>
--
Russel.
=========================================
Dr Russel Winder     t:+44 20 7585 2200
41 Buckmaster Road   m:+44 7770 465 077
London SW11 1EN, UK  w: www.russel.org.uk

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Sebastian Dröge-3
On Sat, 2018-04-07 at 12:12 +0100, Russel Winder wrote:
> Missing element: MPEG-2 Video (Main Profile) decoder

You need to install an MPEG-2 decoder from somewhere, e.g. gst-libav or
mpeg2dec from gst-plugins-ugly.

--
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Russel Winder
On Sat, 2018-04-07 at 14:42 +0300, Sebastian Dröge wrote:
> On Sat, 2018-04-07 at 12:12 +0100, Russel Winder wrote:
> > Missing element: MPEG-2 Video (Main Profile) decoder
>
> You need to install an MPEG-2 decoder from somewhere, e.g. gst-libav or
> mpeg2dec from gst-plugins-ugly.
>

Fedora packaging is even worse that Debian. ;-)

Fedora packages ugly into ugly and ugly-free, with only ugly-free in the main
repository.

gstreamer1-libav package is also not in the main repository.

rpmfusion it is then.

Thanks for indicating the problem,much appreciated.

--
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL failure on Fedora

Russel Winder
OK, that is the gtksink case sorted. However trying to use gtkglsink still
gives:

  glcontext gstglcontext.c:507:gst_gl_context_get_current_gl_context: Could not retrieve current context.


which leads to and error in playbin.

On Sat, 2018-04-07 at 14:06 +0100, Russel Winder wrote:

> On Sat, 2018-04-07 at 14:42 +0300, Sebastian Dröge wrote:
> > On Sat, 2018-04-07 at 12:12 +0100, Russel Winder wrote:
> > > Missing element: MPEG-2 Video (Main Profile) decoder
> >
> > You need to install an MPEG-2 decoder from somewhere, e.g. gst-libav or
> > mpeg2dec from gst-plugins-ugly.
> >
>
> Fedora packaging is even worse that Debian. ;-)
>
> Fedora packages ugly into ugly and ugly-free, with only ugly-free in the
> main
> repository.
>
> gstreamer1-libav package is also not in the main repository.
>
> rpmfusion it is then.
>
> Thanks for indicating the problem,much appreciated.
>
--
Russel.
==========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment