Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firstrun errors on Raspbian Stretch (pi 3 / Debian 9) #80

Open
ghost opened this issue May 31, 2018 · 0 comments
Open

Firstrun errors on Raspbian Stretch (pi 3 / Debian 9) #80

ghost opened this issue May 31, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented May 31, 2018

Hello, great work with iptvx.

I run Debian Stretch on a Pi3, and have downloaded installed the deb package file: https://download.opensuse.org/repositories/home:/jankammerath:/iptvx/Debian_9.0/armhf/iptvx_0.5_armhf.deb

After apt-get update, I install you .deb binary and it pulls in all required packages, but when i run iptvx I get the following output :-

root@pi:/home/daz# iptvx
iptvx -- An IPTV player and recorder

You are using version 'iptvx 0.5 beta'
Please file bugs in the issue tracking:
https://github.com/jankammerath/iptvx/issues

(iptvx:634): GLib-CRITICAL **: g_array_free: assertion 'array' failed
libEGL warning: DRI2: failed to open swrast (search paths /usr/lib/arm-linux-gnueabihf/dri:${ORIGIN}/dri:/usr/lib/dri)
(iptvx:634): GLib-CRITICAL **: g_array_free: assertion 'array' failed
[6cfd8670] core libvlc error: No plugins found! Check your VLC installation.
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
iptvx: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted

Possible issues:-

  1. g_array_free assert fail: Possibly g_array_free() call in epg.c is trying to free a NULL list; maybe needs a 'if plist != NULL' ..?

  2. libEGL error: Possibly OpenGL ES 2.0 extensions/limits exceeded on Raspbian Stretch (version of Debian 9).
    ** EDIT: FIXED!
    This is caused by not having the mesa GLX driver installed and set:-
    a. run raspi-config ; goto advanced->open gl-> enable full kms driver
    b. sudo apt-get --reinstall install -y mesa-utils libgl1-mesa-dri libgl1-mesa-glx
    c. reboot

  3. xcb_io.c ... no idea what is causing this
    ** EDIT: FIXED!
    This is caused by trying to run iptvx from a laptop using MobiTerm's XServer passthrough. I thought iptvx doesnt require an XServer display as it is DRI/SDL based - so the app thus doesnt need to call Xinit() which the XServer was expecting?

  4. libvlc error: No plugins? The packages were installed as a result of installing iptvx??. Need to look into this.
    ** EDIT: FIXED!
    a. Uninstall AND PURGE ALL vlc packages
    b. Reinstall using apt-get install -y vlc

EDIT: 2nd June 2018:
I am now able to run iptvx. However the video is frozen but can hear sound. I suspect this is the lack of accelerated vlc drivers so I am looking into this (build from source?)

EDIT: 5th June 2018

  1. The problem with playback is that VLC is not using any HW acceleration and thus the image is frozen or maybe 1 frame per minute !! v2.5.2 VLC with accel (links widely available on google!) no longer compiles - Upstream patches do not work. I tried v3 but this wouldnt compile on the Pi without significant rework. So accelerated VLC on the Pi is not something I can muster up. This leaves OMX codec. I suppose if the source code for iptvx could be modified to run with either vlc or omxplayer then we would have a fine solution indeed. Not sure what the dev thinks of this?? However , dev please note:-

So is there a suggestion from the dev here??

  1. I thought iptvx doesnt require Xserver, as it overlays webkit+video onto the SDL surface; however if I remove Xserver then the program doesnt run. Install it , and all is ok. Need to look into this further.
@ghost ghost changed the title Errors on Raspbian Stretch (pi 3) Firstrun errors on Raspbian Stretch (pi 3 / Debian 9) May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants