GStreamer Broken?

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

GStreamer Broken?

Post by caseycullen »

I've been attempting to get an application working called Myuzi, which describes itself as "Free Spotify alternative for Linux with no ads". I'm able to get partial functionality, but streaming doesn't work, which appears to be related to GStreamer.

The Myuzi developer has been very helpful; the ticket is https://gitlab.com/zehkira/myuzi/-/issues/97.

I'd like to see if anyone is able to replicate this issue, or perhaps it works for some version of GSteamer. Please make sure you have GStreamer and yt-dlp installed and try the following:
1) Get a steam uri with yt-dlp:

Code: Select all

yt-dlp -g -x https://www.youtube.com/watch?v=B7xai5u_tnk
(This will output a long stream uri)
2) Enter the following command, but replace the ... with the stream uri output by the previous command

Code: Select all

gst-launch-1.0 playbin uri="..."
3) If GStreamer is working, a song should start playing. For me, this doesn't happen. I get:

Code: Select all

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'source': gst.soup.session=context, session=(GstSoupSession)NULL;
Aborted
I'm using GStreamer1.0 v 1.20.4-1

Thanks!
-Casey
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: GStreamer Broken?

Post by caseycullen »

I've determined that GStreamer 1.20.2 and 1.20.5 do not function properly on PowerPC. Version 1.16.2 functioned correctly. Unfortunately, this bug affects many other packages relying on GStreamer (streaming music features of Rhythmbox, Strawberry, etc., video editors Shotwell and Piviti, and prevents WebKit based browsers like Eolie from playing media).

A bug report has been submitted to Debian:

Code: Select all

Package: libgstreamer1.0-0
Version: 1.20.5-1

Architecture is powerpc. Running 32-bit userland on 64-bit kernel
(5.14.0-3-powerpc64). GStreamer aborts streams and causes apps that
depend on GStreamer to close unexpectedly. This behavior is present in
version 1.20.2-1 and 1.20.5-1.

Version 1.16.2-2 did not exhibit this behavior, it worked correctly.

Example 1.20.5-1:
"fienix@fienix:~$ gst-launch-1.0 playbin
uri="https://rr5---sn-vgqsrnek.googlevideo.com/videoplayback?expire=1674531421&ei=_f3OY_voL_2b2_gPoNeT8Aw&ip=2600%3A6c44%3A93f%3A62f3%3A28ba%3A44e5%3A4324%3Aba01&id=o-AGnkjnP88MjN7lD0RftW0BNjOFMp4bjMk31zRCAD3Os5&itag=251&source=youtube&requiressl=yes&mh=1_&mm=31%2C29&mn=sn-vgqsrnek%2Csn-vgqsknez&ms=au%2Crdu&mv=m&mvi=5&pl=34&initcwndbps=1681250&spc=H3gIhur2nEmAfkKUu7FHAHzRqW7q930&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=4902093&dur=290.961&lmt=1584116719229328&mt=1674509574&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgN_sDcp41RZrKDPaqz04uotyjKGqwjISalBComgFW_KYCIF3w-Sxs6Ppq7Y3_BVYSjUV5k7Ie9fChbkpqauIjMFMk&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAP5s4OgohwnRsEETu18mHcVxoUOXZUOeQZfyJcHWufrLAiEA4Dg8xUbIvII2wPgXdCXgpkdNB3chJBjYaOpjPoWNyV4%3D"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'source': gst.soup.session=context,
session=(GstSoupSession)NULL;
Aborted"

Example 1.16.2-2:
"fienix@fienix:~$ gst-launch-1.0 playbin
uri="https://rr5---sn-vgqsrnek.googlevideo.com/videoplayback?expire=1674531421&ei=_f3OY_voL_2b2_gPoNeT8Aw&ip=2600%3A6c44%3A93f%3A62f3%3A28ba%3A44e5%3A4324%3Aba01&id=o-AGnkjnP88MjN7lD0RftW0BNjOFMp4bjMk31zRCAD3Os5&itag=251&source=youtube&requiressl=yes&mh=1_&mm=31%2C29&mn=sn-vgqsrnek%2Csn-vgqsknez&ms=au%2Crdu&mv=m&mvi=5&pl=34&initcwndbps=1681250&spc=H3gIhur2nEmAfkKUu7FHAHzRqW7q930&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=4902093&dur=290.961&lmt=1584116719229328&mt=1674509574&fvip=4&keepalive=yes&fexp=24007246&c=ANDROID&txp=5431432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRAIgN_sDcp41RZrKDPaqz04uotyjKGqwjISalBComgFW_KYCIF3w-Sxs6Ppq7Y3_BVYSjUV5k7Ie9fChbkpqauIjMFMk&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAP5s4OgohwnRsEETu18mHcVxoUOXZUOeQZfyJcHWufrLAiEA4Dg8xUbIvII2wPgXdCXgpkdNB3chJBjYaOpjPoWNyV4%3D"
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'source': gst.soup.session=context,
session=(SoupSession)NULL, force=(boolean)false;
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock
Buffering, setting pipeline to PAUSED ...
Done buffering, setting pipeline to PLAYING ...
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:05.168342809
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ..."

Example Goodvibes (depends on GStreamer):
"fienix@fienix:~$ goodvibes

(goodvibes:1024): Gtk-WARNING **: 17:31:07.812: Theme parsing error:
gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
Aborted"

Example Goodvibes via gdb:
"Reading symbols from goodvibes...
Reading symbols from
/usr/lib/debug/.build-id/4b/026b582e015d5446c3d825804d547274785898.debug...
(gdb) run
Starting program: /usr/bin/goodvibes
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
[New Thread 0xf1f3f180 (LWP 3247)]
[New Thread 0xf15ff180 (LWP 3248)]

(goodvibes:3243): Gtk-WARNING **: 17:41:48.823: Theme parsing error:
gtk-contained-dark.css:2871:228: Missing closing bracket for :not()
[New Thread 0xf092f180 (LWP 3249)]
[New Thread 0xefd7f180 (LWP 3250)]
[Thread 0xefd7f180 (LWP 3250) exited]
[New Thread 0xefd7f180 (LWP 3251)]
[New Thread 0xef06f180 (LWP 3252)]
[Thread 0xefd7f180 (LWP 3251) exited]
[New Thread 0xefd7f180 (LWP 3253)]
[New Thread 0xee61f180 (LWP 3254)]
[Thread 0xef06f180 (LWP 3252) exited]
[Thread 0xefd7f180 (LWP 3253) exited]
[Thread 0xee61f180 (LWP 3254) exited]
[New Thread 0xee61f180 (LWP 3255)]
[New Thread 0xefd7f180 (LWP 3256)]
[Thread 0xee61f180 (LWP 3255) exited]
[New Thread 0xee61f180 (LWP 3257)]
[New Thread 0xef06f180 (LWP 3258)]
[Thread 0xefd7f180 (LWP 3256) exited]
[Thread 0xee61f180 (LWP 3257) exited]
[Thread 0xef06f180 (LWP 3258) exited]
[New Thread 0xef06f180 (LWP 3259)]
[New Thread 0xee61f180 (LWP 3260)]
[Thread 0xef06f180 (LWP 3259) exited]
[New Thread 0xef06f180 (LWP 3261)]
[New Thread 0xefd7f180 (LWP 3262)]
[Thread 0xee61f180 (LWP 3260) exited]
[Thread 0xef06f180 (LWP 3261) exited]
[Thread 0xefd7f180 (LWP 3262) exited]
[New Thread 0xefd7f180 (LWP 3263)]
[New Thread 0xef06f180 (LWP 3264)]
[New Thread 0xee61f180 (LWP 3265)]

Thread 20 "pool-goodvibes" received signal SIGABRT, Aborted.
[Switching to Thread 0xee61f180 (LWP 3265)]
0xf6ac2ec0 in __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:43
43      pthread_kill.c: No such file or directory.
(gdb) "

Please let me know if I can provide any additional information to
assist in resolving this issue.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: GStreamer Broken?

Post by xeno74 »

caseycullen wrote: Tue Jan 24, 2023 12:58 am A bug report has been submitted to Debian
Thank you very much! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: GStreamer Broken?

Post by caseycullen »

xeno74 wrote: Tue Jan 24, 2023 8:31 am
caseycullen wrote: Tue Jan 24, 2023 12:58 am A bug report has been submitted to Debian
Thank you very much! :-)
@xeno74 or anyone else with Void PPC installed, could you please check if the applications Goodvibes, Parole and/or Totem can play media on Void? In Debian/Fienix, some applications like Goodvibes will start up, but crash when you try to play. I'm trying to figure out if the problem with GStreamer is a build issue with Debian or upstream with freedesktop.org.
Thanks!
-Casey
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: GStreamer Broken?

Post by xeno74 »

Hi Casey,

Void PPC is EOL so we have to be careful with installing and updating of packages.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: GStreamer Broken?

Post by xeno74 »

Hi Casey,

I tried to install GStreamer on Void today but without any success. There are some unresolved dependencies.

xbps-install -S gstreamer1

Code: Select all

[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/ppc-repodata' ...
[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/nonfree/ppc-repodata' ...
qt5-core-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-svg-5.15.3+20220222_1'
qt5-core-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-x11extras-5.15.3+20220222_1'
qt5-core-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-xml-5.15.3+20220222_1'
qt5-gui-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-svg-5.15.3+20220222_1'
qt5-gui-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-x11extras-5.15.3+20220222_1'
qt5-widgets-5.15.7+20221119_1 in transaction breaks installed pkg `qt5-svg-5.15.3+20220222_1'
Transaction aborted due to unresolved dependencies.
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: GStreamer Broken?

Post by xeno74 »

caseycullen wrote: Mon Jan 30, 2023 7:48 pm @xeno74 or anyone else with Void PPC installed, could you please check if the applications Goodvibes, Parole and/or Totem can play media on Void? In Debian/Fienix, some applications like Goodvibes will start up, but crash when you try to play. I'm trying to figure out if the problem with GStreamer is a build issue with Debian or upstream with freedesktop.org.
Thanks!
-Casey
:-(

xbps-install -S parole

Code: Select all

[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/ppc-repodata' ...
[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/nonfree/ppc-repodata' ...
gst-plugins-bad1-1.18.5_1: broken, unresolvable shlib `libaom.so.2'
libheif-1.12.0_2: broken, unresolvable shlib `libaom.so.2'
Transaction aborted due to unresolved shlibs.
xbps-install -S totem

Code: Select all

[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/ppc-repodata' ...
[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/nonfree/ppc-repodata' ...
gst-plugins-bad1-1.18.5_1: broken, unresolvable shlib `libaom.so.2'
libheif-1.12.0_2: broken, unresolvable shlib `libaom.so.2'
enchant2-2.2.15_5: broken, unresolvable shlib `libicudata.so.70'
libboost_locale1.72-1.72.0_7: broken, unresolvable shlib `libicudata.so.70'
libcdr-0.1.7_3: broken, unresolvable shlib `libicudata.so.70'
libmspub-0.1.4_8: broken, unresolvable shlib `libicudata.so.70'
libqxp-0.0.2_6: broken, unresolvable shlib `libicudata.so.70'
libvisio-0.1.7_4: broken, unresolvable shlib `libicudata.so.70'
evolution-data-server-3.42.3_1: broken, unresolvable shlib `libicui18n.so.70'
libboost_locale1.72-1.72.0_7: broken, unresolvable shlib `libicui18n.so.70'
libcdr-0.1.7_3: broken, unresolvable shlib `libicui18n.so.70'
libical-3.0.10_2: broken, unresolvable shlib `libicui18n.so.70'
libmspub-0.1.4_8: broken, unresolvable shlib `libicui18n.so.70'
libreoffice-common-7.2.3.2_2: broken, unresolvable shlib `libicui18n.so.70'
mozjs78-78.9.0_4: broken, unresolvable shlib `libicui18n.so.70'
qt5-core-5.15.3+20220222_1: broken, unresolvable shlib `libicui18n.so.70'
webkit2gtk-2.34.6_1: broken, unresolvable shlib `libicui18n.so.70'
enchant2-2.2.15_5: broken, unresolvable shlib `libicuuc.so.70'
evolution-data-server-3.42.3_1: broken, unresolvable shlib `libicuuc.so.70'
libboost_locale1.72-1.72.0_7: broken, unresolvable shlib `libicuuc.so.70'
libcdr-0.1.7_3: broken, unresolvable shlib `libicuuc.so.70'
libharfbuzz-3.3.1_1: broken, unresolvable shlib `libicuuc.so.70'
libical-3.0.10_2: broken, unresolvable shlib `libicuuc.so.70'
libmspub-0.1.4_8: broken, unresolvable shlib `libicuuc.so.70'
libnuspell-5.0.1_2: broken, unresolvable shlib `libicuuc.so.70'
libpsl-0.21.1_3: broken, unresolvable shlib `libicuuc.so.70'
libqxp-0.0.2_6: broken, unresolvable shlib `libicuuc.so.70'
libreoffice-common-7.2.3.2_2: broken, unresolvable shlib `libicuuc.so.70'
libvisio-0.1.7_4: broken, unresolvable shlib `libicuuc.so.70'
libxml2-2.9.13_2: broken, unresolvable shlib `libicuuc.so.70'
mozjs78-78.9.0_4: broken, unresolvable shlib `libicuuc.so.70'
qt5-core-5.15.3+20220222_1: broken, unresolvable shlib `libicuuc.so.70'
vte3-0.66.2_1: broken, unresolvable shlib `libicuuc.so.70'
webkit2gtk-2.34.6_1: broken, unresolvable shlib `libicuuc.so.70'
Transaction aborted due to unresolved shlibs.
But I was able to install Goodvibes.

xbps-install -S goodvibes

Code: Select all

[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/ppc-repodata' ...
[*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/nonfree/ppc-repodata' ...

Name              Action    Version           New version            Download size
glib              update    2.72.2_1          2.74.0_3               3118KB 
gstreamer1        update    1.18.5_2          1.20.3_1               1560KB 
gst-plugins-base1 update    1.18.5_1          1.20.3_1               2386KB 
gst-plugins-ugly1 install   -                 1.20.3_1               177KB 
libkeybinder3     install   -                 0.3.2_2                6808B 
goodvibes         install   -                 0.7.5_1                281KB 

Size to download:             7532KB
Size required on disk:          30MB
Space available on disk:      1151GB

Do you want to continue? [Y/n] 

[*] Downloading packages
glib-2.74.0_3.ppc.xbps.sig: 512B [avg rate: 9.8MB/s]
glib-2.74.0_3.ppc.xbps: 3118KB [avg rate: 8749KB/s]
glib-2.74.0_3: verifying RSA signature...
gstreamer1-1.20.3_1.ppc.xbps.sig: 512B [avg rate: 10MB/s]
gstreamer1-1.20.3_1.ppc.xbps: 1560KB [avg rate: 13GB/s]
gstreamer1-1.20.3_1: verifying RSA signature...
gst-plugins-base1-1.20.3_1.ppc.xbps.sig: 512B [avg rate: 9804KB/s]
gst-plugins-base1-1.20.3_1.ppc.xbps: 2386KB [avg rate: -- stalled --]
gst-plugins-base1-1.20.3_1: verifying RSA signature...
gst-plugins-ugly1-1.20.3_1.ppc.xbps.sig: 512B [avg rate: 9.8MB/s]
gst-plugins-ugly1-1.20.3_1.ppc.xbps: 177KB [avg rate: -- stalled --]
gst-plugins-ugly1-1.20.3_1: verifying RSA signature...
libkeybinder3-0.3.2_2.ppc.xbps.sig: 512B [avg rate: 10MB/s]
libkeybinder3-0.3.2_2.ppc.xbps: 6808B [avg rate: 56MB/s]
libkeybinder3-0.3.2_2: verifying RSA signature...
goodvibes-0.7.5_1.ppc.xbps.sig: 512B [avg rate: 10MB/s]
goodvibes-0.7.5_1.ppc.xbps: 281KB [avg rate: -- stalled --]
goodvibes-0.7.5_1: verifying RSA signature...

[*] Collecting package files
glib-2.74.0_3: collecting files...
glib-2.72.2_1: collecting files...
gstreamer1-1.20.3_1: collecting files...
gstreamer1-1.18.5_2: collecting files...
gst-plugins-base1-1.20.3_1: collecting files...
gst-plugins-base1-1.18.5_1: collecting files...
gst-plugins-ugly1-1.20.3_1: collecting files...
libkeybinder3-0.3.2_2: collecting files...
goodvibes-0.7.5_1: collecting files...

[*] Unpacking packages
glib-2.72.2_1: updating to 2.74.0_3 ...
glib-2.74.0_3: unpacking ...
gstreamer1-1.18.5_2: updating to 1.20.3_1 ...
gstreamer1-1.20.3_1: unpacking ...
gst-plugins-base1-1.18.5_1: updating to 1.20.3_1 ...
gst-plugins-base1-1.20.3_1: unpacking ...
gst-plugins-ugly1-1.20.3_1: unpacking ...
libkeybinder3-0.3.2_2: unpacking ...
goodvibes-0.7.5_1: unpacking ...

[*] Configuring unpacked packages
glib-2.74.0_3: configuring ...
glib-2.74.0_3: updated successfully.
gstreamer1-1.20.3_1: configuring ...
gstreamer1-1.20.3_1: updated successfully.
gst-plugins-base1-1.20.3_1: configuring ...
gst-plugins-base1-1.20.3_1: updated successfully.
gst-plugins-ugly1-1.20.3_1: configuring ...
gst-plugins-ugly1-1.20.3_1: installed successfully.
libkeybinder3-0.3.2_2: configuring ...
libkeybinder3-0.3.2_2: installed successfully.
goodvibes-0.7.5_1: configuring ...
Updating GTK+ icon cache for /usr/share/icons/hicolor...
Updating MIME database...
Refreshing GSettings database from usr/share/glib-2.0/schemas... done.
goodvibes-0.7.5_1: installed successfully.

6 downloaded, 3 installed, 3 updated, 6 configured, 0 removed.
Goodvibes can play media on Void. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: GStreamer Broken?

Post by caseycullen »

xeno74 wrote: Tue Feb 21, 2023 6:00 pm Goodvibes can play media on Void. :-)
Thank you! This is good to know because it may be an issue with the Debian build and not GStreamer source. I'll try to build it myself.
-Casey
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: GStreamer Broken?

Post by caseycullen »

Unfortunately my efforts to build GStreamer from source results in the same issues. However, I did determine the problem is originating from the souphttpsrc element. I submitted a bug with Freedesktop.org: https://gitlab.freedesktop.org/gstreame ... ssues/1008
-Casey
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: GStreamer Broken?

Post by xeno74 »

caseycullen wrote: Mon Jan 30, 2023 7:48 pm @xeno74 or anyone else with Void PPC installed, could you please check if the applications Goodvibes, Parole and/or Totem can play media on Void?
Hi Casey,

Today, I was able to install Parole and Totem on Void PPC. :-)

Code: Select all

xbps-install -S parole

Code: Select all

xbps-install -S totem
Parole works without any problems. Totem has graphical issues.

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply