Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2062 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1041 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 24 February 2017 - 12:53

Thanks 1455. I changed. But now I want to receive some tv channels. My tbs card is ok; work with tvheadend and kaffeine. On enigma I not have any tunner. And on display I dont see meniu like enigma2.

 

730.jpg


Edited by bibic, 24 February 2017 - 12:54.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1042 arsi

  • Member
  • 22 posts

0
Neutral

Posted 24 February 2017 - 21:52

vaapi OSD freeze on stream stop/no signal:

 

http://server.arsi.s...ream_stop.patch

 

Tested on libxine 1.2.8 [NUC 5I5RYK]

 

Arsi



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1043 arsi

  • Member
  • 22 posts

0
Neutral

Posted 25 February 2017 - 10:23

Unfortunately, in the xine-Lib 1.2.6 and 1.2.8 doesn't work timeshift. Press the yellow button and you will see.

From Python  is not called method _wrap_iTimeshiftServicePtr_startTimeshift [enigma_python.cpp] Its entry point for timeshift..

I'm not an python expert, but I'll try to look at it ..



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1044 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 25 February 2017 - 13:55

arsi, now I can't verify, but I don't understand what is the "BCM accel interface"?
That's what I see now (Тuxtxt):

root@Sat-flash:/usr/src/E2PC/TEST_TUXTXT/enigma2pc# ./e2bin
PYTHONPATH: /usr/local/e2/lib/enigma2/python
DVB_API_VERSION 5 DVB_API_VERSION_MINOR 10
+ (1) Background File Eraser
+ (5) Tuxtxt
+ (8) graphics acceleration manager
BCM accel interface not available - Неприменимый к данному устройству ioctl
+ (9) Font Render Class
[FONT] initializing lib...
[FONT] loading fonts...
[FONT] Intializing font cache, using max. 4MB...
+ (9) gLCDDC
5120k video mem
 - double buffering available!
LCD FBIO_SET_MANUAL_BLIT: Неприменимый к данному устройству ioctl

If it works, then I will upload later. There is one trick: need to create a symbolic link /dev/fb1

About xine... Maybe make diff 1.2.5 -> 1.2.6 and return part of the code? Change version xine will not give us nothing. IMHO, we need to change the communication with xine.

 

bibic, look to the file "nim_sockets".


Edited by 1455, 25 February 2017 - 13:58.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1045 arsi

  • Member
  • 22 posts

0
Neutral

Posted 25 February 2017 - 18:25

arsi, now I can't verify, but I don't understand what is the "BCM accel interface"?
That's what I see now (Тuxtxt):

root@Sat-flash:/usr/src/E2PC/TEST_TUXTXT/enigma2pc# ./e2bin
PYTHONPATH: /usr/local/e2/lib/enigma2/python
DVB_API_VERSION 5 DVB_API_VERSION_MINOR 10
+ (1) Background File Eraser
+ (5) Tuxtxt
+ (8) graphics acceleration manager
BCM accel interface not available - Неприменимый к данному устройству ioctl
+ (9) Font Render Class
[FONT] initializing lib...
[FONT] loading fonts...
[FONT] Intializing font cache, using max. 4MB...
+ (9) gLCDDC
5120k video mem
 - double buffering available!
LCD FBIO_SET_MANUAL_BLIT: Неприменимый к данному устройству ioctl

If it works, then I will upload later. There is one trick: need to create a symbolic link /dev/fb1

About xine... Maybe make diff 1.2.5 -> 1.2.6 and return part of the code? Change version xine will not give us nothing. IMHO, we need to change the communication with xine.

 

bibic, look to the file "nim_sockets".

I think Dreambox framebuffer has a different structure that videocard framebufer on pc..

The easy way is to rewrite framebuffer code to generate PNG and view it as here https://github.com/o...ter/orfteletext or use AleVT as backend..

 

My patch should  work  on 1.2.6, basically, it's one line of code.

I will use 1.2.8, better MPEG2 results and after that patch, channel switching is faster, same as on dreambox..

It remains only chopping sound.

Now I'm working on a functional version of openATV metrixHD skin..



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1046 arsi

  • Member
  • 22 posts

0
Neutral

Posted 26 February 2017 - 09:43

vaapi OSD freeze on stream stop/no signal:

Cosmetic changes - All in one lock

http://server.arsi.s...m_stop_v2.patch



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1047 Shadowman94

  • Senior Member
  • 41 posts

0
Neutral

Posted 26 February 2017 - 13:00

1455, maybe can u make an git repo for whole code?



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1048 arsi

  • Member
  • 22 posts

0
Neutral

Posted 26 February 2017 - 13:46

1455, maybe can u make an git repo for whole code?

You can.. I'm on github arsi-apli

 

Btw: metrixHD + Enhanced Movie Center is already working, now only produce patches..

 

Strange is that it does not work without I had  delete skin_default.xml, channelselector design has not changed..



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1049 arsi

  • Member
  • 22 posts

0
Neutral

Posted 26 February 2017 - 13:56

And one more thing, in my opinion it would be reasonable to create bacport patch from latest openPLi version to e2PC, as I made libxine patch..

Next weekend I can try it..



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1050 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 26 February 2017 - 14:01

Today I try enigma2pc from Raider05 git ( https://github.com/Raider05/enigma2pc )

When start enigma2 I have this error;

 

test@desktop:~/Downloads$ sudo /usr/local/e2/bin/enigma2.sh
PYTHONPATH: /usr/local/e2/lib/enigma2/python
+ (1) Background File Eraser
+ (5) Tuxtxt
+ (8) graphics acceleration manager
BCM accel interface not available - Inappropriate ioctl for device
+ (9) Font Render Class
[FONT] initializing lib...
[FONT] loading fonts...
[FONT] Intializing font cache, using max. 4MB...
+ (9) gLCDDC
lcd buffer 0x11aa540 8448 bytes, stride 132
+ (9) gXlibDC
Display resolution 1680 1050
XINE-LIB version: 1.2.6
configfile  /usr/local/e2/share/enigma2/xine.conf
Available post plugins:  fftgraph mosaico expand fill invert eq denoise3d boxblur eq2 unsharp pp noise upmix upmix_mono stretch volnorm tvtime switch goom vdr vdr_video vdr_audio enigma enigma_video enigma_audio oscope fftscope
use vo_driver: auto
use ao_driver: alsa
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
vo_vdpau: Can't create vdp device : No vdpau implementation.
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
vo_vdpau: Can't create vdp device : No vdpau implementation.
video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or directory)
video_out_dxr3: Failed to open control device /dev/em8300-0 (No such file or directory)
video_out_opengl: Testing for hardware accelerated direct rendering visual
video_out_opengl: setup of '2D_Tex_Fragprog'
video_out_opengl: extension GL_EXT_bgra: OK
video_out_opengl: extension GL_EXT_texture_object: OK
video_out_opengl: extension GL_ARB_fragment_program: OK
video_out_opengl: extension GL_ARB_pixel_buffer_object: OK
video_out_open_opengl_fragprog: b 0 c 128 s 128 [RGB]
audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
xine: found input plugin  : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: Invalid EBML length size (0x0) at position 2
ebml: invalid master element
demux_dts: unsupported DTS stream type, or not a DTS stream
demux_dts: unsupported DTS stream type, or not a DTS stream
xine: found demuxer plugin: Elementary MPEG stream demux plugin
video_out_opengl: setup of '2D_Tex_Fragprog'
video_out_open_opengl_fragprog: b 0 c 128 s 128 [RGB]
static post plugins (from command line): enigma_video;enigma_audio;upmix_mono
    loaded plugins (type 1.0): enigma_video
    loaded plugins (type 2.0): enigma_audio upmix_mono
Enable re-wiring post plugins
        wiring enigma_video[out] -> [in]video_out
        wiring    stream
[out] -> [in]enigma_video        wiring upmix_mono[out] -> [in]audio_out
        wiring enigma_audio[out] -> [in]upmix_mono
        wiring     stream[out] -> [in]enigma_audiosetResolution 720 576
I have XINE event ---  1
XINE_EVENT_UI_PLAYBACK_FINISHED
video_out_opengl: setup of '2D_Tex_Fragprog'
video_out_open_opengl_fragprog: b 0 c 128 s 128 [ITU-R 470 BG / SDTV]
+ (10) gRC
RC thread created successfully
+ (15) eWindowStyleManager
+ (20) AVSwitch Driver
couldnt open /dev/dbox/fp0 to monitor vcr scart slow blanking changed!
+ (20) misc options
+ (20) RC Input layer
+ (20) UHF Modulator
couldnt open /dev/rfmod0!!!!
+ (20) DVB-CI UI
+ (21) Lirc RC Driver
Lirc: Connect to /dev/lircd error !!!
+ (21) Xlib RC Driver
+ (22) Hdmi CEC driver
+ (30) eActionMap
+ (34) caConnector
Cannot resolve family name of generic netlink socket
+ (35) CA handler
+ (35) CI Slots
scanning for common interfaces..
eDVBCIInterfaces->setInputSource(0, 0)
eDVBCIInterfaces->setInputSource(1, 1)
done, found 0 common interface slots
+ (36) Stream server
+ (40) eServiceCenter
settings instance.
+ (41) eServiceFactoryDVB
+ (41) eServiceFactoryFS
+ (41) eServiceFactoryMP3
+ (41) eServiceFactoryM2TS
+ (41) eServiceFactoryDVD
reached rl 70
---- opening lame channel db
reading services (version 4)
loaded 0 channels/transponders and 0 services
scanning for frontends..
opening frontend 0
XNextEvent 21
XNextEvent 22
XNextEvent 22
XNextEvent 19
XNextEvent 12
XNextEvent 22
XNextEvent 12
XNextEvent 12
XNextEvent 17
XNextEvent 22
close frontend 0
boxtype detection via /usr/local/e2/etc/stb/info not possible... use fallback via demux count!

found 1 adapter, 1 frontends(1 sim) and 2 demux, boxtype 0
Use valid Linux Time :) (RTC?)
[EPGC] Initialized EPGCache (wait for setCacheFile call now)
Loading spinners...
[ePNG] couldn't open /usr/local/e2/share/enigma2/skin_default/spinner/wait8.png
found 7 spinner!

adapter0/demux0: reset stateadapter0/demux1: reset stateexecuting main
setIoPrio best-effort level 3 ok
/usr/local/e2/etc/stb/frontend/0/lnb_sense is 0

Scanning hardware info
Detected: e2pc (e2pc)
Reading satellites.xml
MATRIX
LNB
sec config cleared
setSlotInfo for dvb frontend 0 to slotid 0, descr VTUNER, need rotorworkaround No, enabled Yes, DVB-S2 Yes
Traceback (most recent call last):
  File "/usr/local/e2/lib/enigma2/python/mytest.py", line 18, in <module>
    from Screens import InfoBar
  File "/usr/local/e2/lib/enigma2/python/Screens/InfoBar.py", line 5, in <module>
    import Screens.MovieSelection
  File "/usr/local/e2/lib/enigma2/python/Screens/MovieSelection.py", line 16, in <module>
    from Components.UsageConfig import preferredTimerPath
  File "/usr/local/e2/lib/enigma2/python/Components/UsageConfig.py", line 6, in <module>
    from Components.NimManager import nimmanager
  File "/usr/local/e2/lib/enigma2/python/Components/NimManager.py", line 1608, in <module>
    nimmanager = NimManager()
  File "/usr/local/e2/lib/enigma2/python/Components/NimManager.py", line 836, in __init__
    InitNimManager(self)    #init config stuff
  File "/usr/local/e2/lib/enigma2/python/Components/NimManager.py", line 1542, in InitNimManager
    nimmgr.sec = SecConfigure(nimmgr)
  File "/usr/local/e2/lib/enigma2/python/Components/NimManager.py", line 488, in __init__
    self.update()
  File "/usr/local/e2/lib/enigma2/python/Components/NimManager.py", line 157, in update
    types.remove("DVB-S")
ValueError: list.remove(x): x not in list
---- saving lame channel db
FLUSH
saved 0 channels and 0 services!
release cached channel (timer timeout)
set RTC to previous valid time
- (41) eServiceFactoryDVB
- (41) eServiceFactoryFS
- (41) eServiceFactoryMP3
- (41) eServiceFactoryM2TS
- (41) eServiceFactoryDVD
- (40) eServiceCenter
clear instance
- (36) Stream server
- (35) CA handler
- (35) CI Slots
- (34) caConnector
- (30) eActionMap
- (22) Hdmi CEC driver
- (21) Lirc RC Driver
send signal to non running thread
- (21) Xlib RC Driver
- (20) AVSwitch Driver
- (20) misc options
- (20) RC Input layer
- (20) UHF Modulator
- (20) DVB-CI UI
- (15) eWindowStyleManager
- (10) gRC
waiting for gRC thread shutdown
gRC thread has finished
- (9) Font Render Class
- (9) gLCDDC
- (9) gXlibDC
thread joined 0
Unloading post plugins
I have XINE event ---  7
xine_event_handler(): event->type: 7
-------
Segmentation fault (core dumped)
 

Any ideea?

 

 

My nim_sockets

 

cat /usr/local/e2/etc/tuxbox/nim_sockets
NIM Socket 0:
        Type: DVB-S2
        Name: TBS 8920 DVB-S/S2
        Has_Outputs: no
        Frontend_Device: 0
 

Thanks


Edited by bibic, 26 February 2017 - 14:06.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1051 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 27 February 2017 - 16:34

Please test chopping sound and report.

 

I don't understand why some SD-channels have segmentation error on exit and stupid write stoped crash log. If on the same channel run through gdb, it is impossible to catch the error. She is hides.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1052 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 27 February 2017 - 17:12

Try valgrind.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1053 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 27 February 2017 - 19:53

And finally, if you have ability, check the most difficult provider "Tricolor TV". The problem wasn't in the xine-lib.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1054 arsi

  • Member
  • 22 posts

0
Neutral

Posted 28 February 2017 - 08:15

And finally, if you have ability, check the most difficult provider "Tricolor TV". The problem wasn't in the xine-lib.

Excellent! Sound works without problems!!



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1055 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 28 February 2017 - 09:42

OK. The fact that the ratio of buffers number and buffer size in the ring buffer is crucial to synchronize. In addition, we don't know encoder's settings what used providers. They may be wrong.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1056 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 1 March 2017 - 13:05

@1455 - from few days I have an error when I try to run INSTALL_ALL.sh

 

........

Selecting previously unselected package libxine-e2pc.
(Reading database ... 265700 files and directories currently installed.)
Preparing to unpack .../libxine-e2pc_1.2.5-1_i386.deb ...
Unpacking libxine-e2pc (1.2.5-1) ...
dpkg: error processing archive /usr/src/enigma2pc/xine-lib-1.2.5/libxine-e2pc_1.2.5-1_i386.deb (--install):
 trying to overwrite '/usr/bin/xine-config', which is also in package libxine2-dev 1.2.6-1build1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /usr/src/enigma2pc/xine-lib-1.2.5/libxine-e2pc_1.2.5-1_i386.deb
/var/tmp/tmp.QrHDYwL5wf/dpkginstall.log (END)
 

And nothing.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1057 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 1 March 2017 - 13:10

When I try to install manual libxine-e2pc_1.2.5-1_i386.deb with software ubuntu center......

....

Reading database ... 95% (Reading database ... 100% (Reading database ... 265700 files and directories currently installed.)
Preparing to unpack .../libxine-e2pc_1.2.5-1_i386.deb ...
Unpacking libxine-e2pc (1.2.5-1) ...
dpkg: error processing archive /usr/src/enigma2pc/xine-lib-1.2.5/libxine-e2pc_1.2.5-1_i386.deb (--install):
 trying to overwrite '/usr/bin/xine-config', which is also in package libxine2-dev 1.2.6-1build1
dpkg-deb (subprocess): decompressing archive member: lzma write error: Broken pipe
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg-deb (subprocess): cannot copy archive member from '/usr/src/enigma2pc/xine-lib-1.2.5/libxine-e2pc_1.2.5-1_i386.deb' to decompressor pipe: failed to write (Broken pipe)
Errors were encountered while processing:
 /usr/src/enigma2pc/xine-lib-1.2.5/libxine-e2pc_1.2.5-1_i386.deb
 



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1058 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 1 March 2017 - 13:21

Where find xine-lib-1.2_1.2.0_e2pc-0.tar.gz or libxine-dev_1.2.0_e2pc-0_i386.deb ? Old link is not available - http://www.speedysha...e2pc-0_i386.deb

 

Thanks.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1059 arsi

  • Member
  • 22 posts

0
Neutral

Posted 1 March 2017 - 13:47

Where find xine-lib-1.2_1.2.0_e2pc-0.tar.gz or libxine-dev_1.2.0_e2pc-0_i386.deb ? Old link is not available - http://www.speedysha...e2pc-0_i386.deb

 

Thanks.

 

download Enigma2pc-mod-1455

 

goto xine-lib-1.2.5

autogen.sh

./configure --disable-xinerama --prefix=/usr --enable-a52dec=internal --enable-dts=internal

make

sudo make install



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1060 bibic

  • Senior Member
  • 35 posts

0
Neutral

Posted 1 March 2017 - 17:47

Thanks.

 

When run enigma2 I have the same error;

 

.......

X11OSD: MMX OSD scaling active
load_plugins: failed to load audio output plugin <alsa>
xine: found input plugin  : file input plugin
failed to read 8 bytes at pos 84222
xine: found demuxer plugin: AVI/RIFF demux plugin
ffmpeg_video_dec: direct rendering enabled
[mjpeg @ 0xafe01b40] Changeing bps to 8
ffmpeg_video_dec: color matrix #5 [ITU-R 470 BG / SDTV]
demux_avi: video and audio streams are ended
video_out_xshm: b 0 c 128 s 128 [ITU-R 470 BG / SDTV]
static post plugins (from command line): enigma_video;enigma_audio;upmix_mono
    loaded plugins (type 1.0): enigma_video
Enable re-wiring post plugins
        wiring enigma_video[out] -> [in]video_out
        wiring    stream
[out] -> [in]enigma_videosetResolution 720 576
I have XINE event ---  1
XINE_EVENT_UI_PLAYBACK_FINISHED
/usr/local/e2/bin/enigma2: symbol lookup error: /usr/local/e2/bin/enigma2: undefined symbol: xine_osd_show_scaled
 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users