alamminsalo / orion

Cross platform Twitch.tv client
GNU General Public License v3.0
315 stars 60 forks source link

Error getting stream on every VOD & Playback stopped on every streamming channel #239

Open andys0975 opened 6 years ago

andys0975 commented 6 years ago

I use fedora 28 orion rpm from update-testing. All functions work fine except the video player. I can't watch any kind of video after clicking it... image

ahjolinna commented 6 years ago

It seems like Fedora pkgs problem, maybe it needs a rebuild, that being said could you try to run orion in gdb with the debugging command line option : -d / -debug

gdb orion run - d

PS. Why are you using testing repo? As that will cause problems, at least for the 3rd-party repo/pkgs

ahjolinna commented 6 years ago

Also do you have any idea what backend does it use (gstreamer or mpv) and I doubt ffmpeg has been updated to v4

Sent from my Xperia X Compact using FastHub

andys0975 commented 6 years ago

Output of 'run -d':

Starting program: /usr/bin/orion - d warning: Loadable section ".note.gnu.property" outside of ELF segments [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffdcc79700 (LWP 6855)] warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffd1d54700 (LWP 6856)] warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fffc9d32700 (LWP 6858)] [New Thread 0x7fffc8af1700 (LWP 6859)] Icon theme "AwOkenWhite" not found. Icon theme "AwOken" not found. Icon theme "AwOkenDark" not found. Icon theme "kAwOkenWhite" not found. Icon theme "kAwOken" not found. Icon theme "kAwOkenDark" not found. Icon theme "ubuntu-mono-dark" not found.

then I click on one video, the output:

[New Thread 0x7fffc2dea700 (LWP 6870)] [New Thread 0x7fffc25e9700 (LWP 6871)] [New Thread 0x7fffb6494700 (LWP 6880)] [New Thread 0x7fffb5c93700 (LWP 6881)] [New Thread 0x7fffb5492700 (LWP 6882)] [New Thread 0x7fffb4c91700 (LWP 6883)] [New Thread 0x7fff9ffff700 (LWP 6884)] [New Thread 0x7fff9f7fe700 (LWP 6885)] [New Thread 0x7fff9effd700 (LWP 6886)] [New Thread 0x7fff9e7fc700 (LWP 6887)] [New Thread 0x7fff9dffb700 (LWP 6888)] [New Thread 0x7fff9d7fa700 (LWP 6889)] [New Thread 0x7fff9cff9700 (LWP 6890)] [New Thread 0x7fff7ffff700 (LWP 6891)] warning: Loadable section ".note.gnu.property" outside of ELF segments Detaching after fork from child process 6893. [New Thread 0x7fff73fff700 (LWP 6915)] [Thread 0x7fff73fff700 (LWP 6915) exited] [New Thread 0x7fff73fff700 (LWP 6916)] [Thread 0x7fff73fff700 (LWP 6916) exited] [New Thread 0x7fff73fff700 (LWP 6917)] [New Thread 0x7fff72dfe700 (LWP 6918)] [New Thread 0x7fff721f5700 (LWP 7430)] [New Thread 0x7fff719f4700 (LWP 7437)] [New Thread 0x7fff711f3700 (LWP 7449)] [Thread 0x7fff711f3700 (LWP 7449) exited] [New Thread 0x7fff711f3700 (LWP 7450)] warning: Loadable section ".note.gnu.property" outside of ELF segments warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fff494dd700 (LWP 7451)] warning: Loadable section ".note.gnu.property" outside of ELF segments [New Thread 0x7fff488ca700 (LWP 7455)] [New Thread 0x7fff43fff700 (LWP 7456)] [New Thread 0x7fff41d11700 (LWP 7457)] [New Thread 0x7fff40ec7700 (LWP 7460)] [New Thread 0x7fff2fde5700 (LWP 7479)] [New Thread 0x7fff2f5e4700 (LWP 7480)] [New Thread 0x7fff2ede3700 (LWP 7481)] [New Thread 0x7fff2e5e2700 (LWP 7483)] [New Thread 0x7fff2d748700 (LWP 7484)] [New Thread 0x7fff2cd26700 (LWP 7485)] [Thread 0x7fff711f3700 (LWP 7450) exited] [Thread 0x7fff2cd26700 (LWP 7485) exited] [Thread 0x7fff2d748700 (LWP 7484) exited] [Thread 0x7fff2fde5700 (LWP 7479) exited] [Thread 0x7fff2ede3700 (LWP 7481) exited] [Thread 0x7fff2e5e2700 (LWP 7483) exited] [Thread 0x7fff494dd700 (LWP 7451) exited] [Thread 0x7fff2f5e4700 (LWP 7480) exited] Detaching after fork from child process 7538. Detaching after fork from child process 7665. Detaching after fork from child process 7765. [Thread 0x7fff40ec7700 (LWP 7460) exited] Detaching after fork from child process 7899. Detaching after fork from child process 8004. Detaching after fork from child process 8142. [Thread 0x7fffc25e9700 (LWP 6871) exited] [Thread 0x7fff721f5700 (LWP 7430) exited] Detaching after fork from child process 8262. Detaching after fork from child process 8395. Detaching after fork from child process 8496. Detaching after fork from child process 8630. Detaching after fork from child process 8731. Detaching after fork from child process 8851. Detaching after fork from child process 9005. Detaching after fork from child process 9129. Detaching after fork from child process 9256. Detaching after fork from child process 9375. Detaching after fork from child process 9490. Detaching after fork from child process 9607. Detaching after fork from child process 9738. Detaching after fork from child process 9838. Detaching after fork from child process 9978. Detaching after fork from child process 10078. Detaching after fork from child process 10209. Detaching after fork from child process 10320. Detaching after fork from child process 10454. Detaching after fork from child process 10552. Detaching after fork from child process 10684. Detaching after fork from child process 10785. Detaching after fork from child process 10899. Detaching after fork from child process 11016. Detaching after fork from child process 11129. Detaching after fork from child process 11244. Detaching after fork from child process 11361. Detaching after fork from child process 11497. Detaching after fork from child process 11622. Detaching after fork from child process 11741. Detaching after fork from child process 11863. Detaching after fork from child process 11980. Detaching after fork from child process 12095. Detaching after fork from child process 12212. Detaching after fork from child process 12328. Detaching after fork from child process 12434. Detaching after fork from child process 12563. Detaching after fork from child process 12696. Detaching after fork from child process 12829. Detaching after fork from child process 12930. Detaching after fork from child process 13062. Detaching after fork from child process 13160. Detaching after fork from child process 13293. Detaching after fork from child process 13399. Detaching after fork from child process 13557. Detaching after fork from child process 13655. Detaching after fork from child process 13772. Detaching after fork from child process 13890. Detaching after fork from child process 14026. Detaching after fork from child process 14153. Detaching after fork from child process 14254. Detaching after fork from child process 14392. Detaching after fork from child process 14488. [New Thread 0x7fff721f5700 (LWP 14512)] [Thread 0x7fff721f5700 (LWP 14512) exited] [New Thread 0x7fff721f5700 (LWP 14513)] [New Thread 0x7fffc25e9700 (LWP 14514)] [New Thread 0x7fff40ec7700 (LWP 14515)] [New Thread 0x7fff2f5e4700 (LWP 14534)] [New Thread 0x7fff711f3700 (LWP 14535)] [New Thread 0x7fff494dd700 (LWP 14536)] [New Thread 0x7fff2fde5700 (LWP 14553)] [New Thread 0x7fff2ede3700 (LWP 14554)] [New Thread 0x7fff2e5e2700 (LWP 14555)] [Thread 0x7fff721f5700 (LWP 14513) exited] [Thread 0x7fff2e5e2700 (LWP 14555) exited] [Thread 0x7fff2ede3700 (LWP 14554) exited] [Thread 0x7fff2fde5700 (LWP 14553) exited] [Thread 0x7fff2f5e4700 (LWP 14534) exited] [Thread 0x7fff711f3700 (LWP 14535) exited] [Thread 0x7fff494dd700 (LWP 14536) exited] [Thread 0x7fffc25e9700 (LWP 14514) exited] Detaching after fork from child process 14632. Detaching after fork from child process 14727. Detaching after fork from child process 14855. [Thread 0x7fff40ec7700 (LWP 14515) exited] Detaching after fork from child process 14964. Detaching after fork from child process 15077. Detaching after fork from child process 15190. Detaching after fork from child process 15314. ...

I used update-testing repo because orion pkg only available on it. Actually I don't know what backend it use The pkg's information is in here: https://fedora.pkgs.org/28/fedora-x86_64/orion-1.6.5-2.fc28.x86_64.rpm.html

ahjolinna commented 6 years ago

It seems to be using gstreamer backend (god knows why) instead of mpv, so do you have required codec pack? I can't remember which one is needed, it's either gstreamer-plugins-bad or gstreamer-plugins-ugly

andys0975 commented 6 years ago

Yay! After I installed all gstreamer pkgs, videos can be played but there's only sound & chat room. I saw this in the terminal when I open orion:

(gst-plugin-scanner:1802): GStreamer-WARNING : 01:04:04.825: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstgtksink.so': /usr/lib64/gstreamer-1.0/libgstgtksink.so: undefined symbol: gst_gl_display_wayland_new_with_display (gst-plugin-scanner:1802): GStreamer-WARNING : 01:04:04.834: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstgtk.so': /usr/lib64/gstreamer-1.0/libgstgtk.so: undefined symbol: gst_gl_display_wayland_new_with_display

I think this problem is because I use Nvidia driver, which is not well compatible with wayland used by gstreamer. Maybe we should tell fedora pkg maker not to use gstreamer as backend.

ahjolinna commented 6 years ago

Yeah that would be good and also add the latest changes/fixes

ahjolinna commented 6 years ago

Maybe this can be closed?

andys0975 commented 6 years ago

Sure, thanks for help

ahjolinna commented 6 years ago

NP, I do wonder why they hadn't added the needed codec pack in the dependencies but then again I'm not a Fedora user/dev/maintainer so I don't know what their pkgs policy is compared to openSUSE (what I use)

Phidelux commented 5 years ago

I just installed Orion on a new OpenSUSE Tumbleweed. Current version v1.6.5+git~20180524-1.3. Had a look at the the dependencies with zypper info --requires orion, gstreamer is not listed.

ahjolinna commented 5 years ago

@Phidelux : it should be build with MPV backend (on openSUSE) not gstreamer. I do use my own repo version instead, so I haven't checked the "official" pkgs.

anyway you need 'gstreamer-plugins-ugly' codec pack if you use qt5-multimedia -gstreamer backend