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 #461 cisarp

  • Member
  • 7 posts

0
Neutral

Posted 9 February 2012 - 11:58

OK, finally I got it working with xshm video output, thanks a lot for your help :-)

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 9 February 2012 - 21:17

Hi cisarp,

it seems that only XSHM xine driver is working in virtual machines. In a native environment and with a OpenGL capable graphic card driver OpenGL xine driver should also work (and with OSD branch also with on screen display). If you have a vdpau capable nvidia card try also to use vdpau (currently the solution with lowest CPU usage and good video output).

Regards,
Betacentauri

Edited by betacentauri, 9 February 2012 - 21:18.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #463 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 10 February 2012 - 17:21

Hello, can someone tell me how to reinstall / rebuild enigma on VirtualBox (Ubuntu)?
I messed up something in e2 folder and build scipt is not able to fix it. :( I removed usr/local/e2 and openpliPC folders and followed nobody09 instructions - clonning git, building libraries and openplPC but it didn't help... usr/local/e2 folder is created but there are only 2 subfolders: etc and include. What am I doing wrong? Should I remove something more before running building scripts?
I would like to avoid reinstalling the whole Ubuntu system.
Any help will be appreciated.
Regards.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #464 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 10 February 2012 - 17:24

Hi.

I like this way to get OpenPLi on a PC, but can't get it right.

Is it a "short" step-by-step guide for this? I need som more info than try to read all posts in this forum. Then it seems that I have missed something here by reading.

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 10 February 2012 - 17:52

Hello, can someone tell me how to reinstall / rebuild enigma on VirtualBox (Ubuntu)?
I messed up something in e2 folder and build scipt is not able to fix it. :( I removed usr/local/e2 and openpliPC folders and followed nobody09 instructions - clonning git, building libraries and openplPC but it didn't help... usr/local/e2 folder is created but there are only 2 subfolders: etc and include. What am I doing wrong? Should I remove something more before running building scripts?
I would like to avoid reinstalling the whole Ubuntu system.
Any help will be appreciated.
Regards.


Hello sek1973,

I think compile doesn't work.
Please do this (should work but I currently don't have the time to test it):
Goto openpliPC directory
Run
./build_openpliPC.sh > log.txt 2>&1
This should generate a log.txt file. Please post it. (most likely I don't have the time to look at it before sunday).

Regards
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 10 February 2012 - 17:56

Hi.

I like this way to get OpenPLi on a PC, but can't get it right.

Is it a "short" step-by-step guide for this? I need som more info than try to read all posts in this forum. Then it seems that I have missed something here by reading.


Hi Amatoren,

there is a README file in the main directory (it's also visible here: https://github.com/nobody9/openpliPC (bottom of the page)).
If you have no nvidia card you need to change to OSD branch (instructions are in post #459)

Regards
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #467 sek1973

  • Senior Member
  • 116 posts

+3
Neutral

Posted 10 February 2012 - 18:11

Hi Betacentauri, thank you for your quick reply. Please find log file attached. This time I didn't call "make clean" before running it. Please let me know if I should.
Regards.

Attached Files

  • Attached File  log.txt   56.99KB   10 downloads


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #468 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 10 February 2012 - 18:27

Hi,

I just reinstall my PC with Ubuntu 11.10 32bits and I didn't get any problem to compile OpenpliPC

sudo apt-get install git-core
sudo apt-get install subversion
sudo apt-get install mercurial
sudo apt-get install build-essential
git clone http://github.com/nobody9/openpliPC
cd openpliPC
git checkout osd
git pull
sudo ./build_libs.sh
sudo ./build_openpliPC.sh

optional continue with:

sudo ./build_openplipwebif.sh

To start:
cd openpliPC
sudo e2bin

or
sudo /usr/local/e2/bin/enigma2

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #469 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 10 February 2012 - 18:37

I'm a little bit closer, but.....

I see the OpenPLi startup picture for 1/2 secon then the window close...

dream@Dream-server2:~/Pli/openpliPC$ sudo /usr/local/e2/bin/enigma2
PYTHONPATH: /usr/local/e2/lib/enigma2/python
+ (1) Background File Eraser
+ (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 0x989fec0 8448 bytes, stride 132
+ (9) gXlibDC
Display resolution 1920 1200
XINE-LIB version: 1.2.1hg
configfile  /usr/local/e2/share/enigma2/xine.conf
use vo_driver: auto
use ao_driver: auto
vo_vdpau: Use lock display synchronization for some vdpau calls
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_xv: using Xv port 63 from adaptor Nouveau GeForce 8/9 Textured Video for hardware colour space conversion and scaling.
video_out_xv: this adaptor supports the YV12 format.
video_out_xv: this adaptor supports the YUY2 format.
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
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
xine: found demuxer plugin: Elementary MPEG stream demux plugin
setResolution 720 576
XINE_EVENT_UI_PLAYBACK_FINISHED
/usr/local/e2/bin/enigma2: symbol lookup error: /usr/local/e2/bin/enigma2: undefined symbol: xine_osd_show_scaled
dream@Dream-server2:~/Pli/openpliPC$ ^C


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #470 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 10 February 2012 - 18:40

there is a README file in the main directory (it's also visible here: https://github.com/nobody9/openpliPC (bottom of the page)).


Found that - Se prew post. I'm running on a HP labtop.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #471 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 10 February 2012 - 18:44

Hi,

Edit file:


/usr/local/e2/share/enigma2/xine.conf

And replace: video.driver:auto with video.driver:xshm

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #472 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 10 February 2012 - 18:47

Step to compile vtuner.

sudo apt-get install mercurial
cd
hg clone http://code.google.com/p/vtuner.linux-driver
cd vtuner.linux-driver
make KDIR=/usr/src/linux-headers-`uname -r`
modinfo vtunerc.ko
sudo mkdir /lib/modules/`uname -r`/misc
sudo cp vtunerc.ko  /lib/modules/`uname -r`/misc
sudo depmod -a
sudo modprobe vtunerc

To have automatic start:

sudo gedit /etc/modules

and add in this file: vtunerc

To compile vtuner client:

cd
hg clone http://code.google.com/p/vtuner.apps
cd vtuner.apps
cp Make.config.samples Make.config
make -C ./build/i686/ all

Adapt the i686 to your relevant architecture

Result is in: ./dist/i686

Launch the client with:

cd
./vtuner.app/dist/i686/vtunerc.i686 -f s2

You of course need to have vtunerd running on a system (Dreambox or others) and the box should be in standby.
-f s2 will search for DVB-S2 card. -f s will search for DVB-S card.

Pr2

Edited by Pr2, 10 February 2012 - 18:47.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #473 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 10 February 2012 - 22:50

Well, Thanks for reply's, but still not stable window. Open - Drawing PLi picture - Then close

Compile/make virtual tuner failes....... :blink:

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #474 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 11 February 2012 - 13:05

Not better to change video.driver:auto with video.driver:xshm

I also have som problem with decoding from my DVB-T tuner. HD video decodes OK but the sound (AAC+) is missing in Kaffeine. Lives in Norway (Riks-TV).

My Ubuntu:
dream@Dream-server2:~$ uname -a
Linux Dream-server2 3.0.0-15-generic-pae #26-Ubuntu SMP Fri Jan 20 17:07:31 UTC 2012 i686 i686 i386 GNU/Linux

From startup:
dream@Dream-server2:~$ sudo /usr/local/e2/bin/enigma2
PYTHONPATH: /usr/local/e2/lib/enigma2/python
+ (1) Background File Eraser
+ (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 0x8a1dec0 8448 bytes, stride 132
+ (9) gXlibDC
Display resolution 1920 1200
XINE-LIB version: 1.2.1hg
configfile  /usr/local/e2/share/enigma2/xine.conf
use vo_driver: xshm
use ao_driver: auto


WARNING: current display depth is 24. For better performance
a depth of 16 bpp is recommended!

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
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
xine: found demuxer plugin: Elementary MPEG stream demux plugin
setResolution 720 576
/usr/local/e2/bin/enigma2: symbol lookup error: /usr/local/e2/bin/enigma2: undefined symbol: xine_osd_show_scaled
dream@Dream-server2:~$


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #475 dream7

  • Member
  • 3 posts

0
Neutral

Posted 11 February 2012 - 16:12

hi too all and thanks for your big job

well about plugin i did my test by adding cougar plugin like modem plugin one that add it without problem.

keep watching for dreambox plugins can we add them same way ?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #476 Amatøren

  • Senior Member
  • 147 posts

0
Neutral

Posted 11 February 2012 - 17:24

Working with virtual tuner

Step to compile vtuner.

sudo apt-get install mercurial
cd
hg clone http://code.google.com/p/vtuner.linux-driver
cd vtuner.linux-driver
make KDIR=/usr/src/linux-headers-`uname -r`
modinfo vtunerc.ko
sudo mkdir /lib/modules/`uname -r`/misc
sudo cp vtunerc.ko  /lib/modules/`uname -r`/misc
sudo depmod -a
sudo modprobe vtunerc

This last part fails:
dream@Dream-server2:~/vtuner.linux-driver$ sudo modprobe vtunerc
FATAL: Error inserting vtunerc (/lib/modules/3.0.0-15-generic-pae/misc/vtunerc.ko): Invalid argument

Edited by Amatøren, 11 February 2012 - 17:25.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #477 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 12 February 2012 - 09:36

Hi,

Check this for full details on how to build vtuner.

http://wiki.nessiedv...?id=vtuner_mode

Pr2

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 February 2012 - 14:06

Hi Betacentauri, thank you for your quick reply. Please find log file attached. This time I didn't call "make clean" before running it. Please let me know if I should.
Regards.


Hi sek1973,

something is wrong there. Compilation(xine-lib and E2) aborts with errors. E.g.:
  CCLD   libxineutils.la
make[3]: *** [libxineutils.la] Error 1
make[3]: Leaving directory `/home/sek1973/openpliPC/xine-lib/src/xine-utils'
make[2]: *** [../../src/xine-utils/libxineutils.la] Error 2
make[2]: Leaving directory `/home/sek1973/openpliPC/xine-lib/src/xine-engine'
make[1]: *** [../src/xine-engine/libxine.la] Error 2
make[1]: Leaving directory `/home/sek1973/openpliPC/xine-lib/misc'
make: *** [all-recursive] Error 1

I cannot see the reason for the errors. Please do this:
goto openpliPC directory
make clean
make > log.txt 2>&1
The 2>&1 is important! With it all errors should be written to the log file. And please post the log file here.

Did you have installed new software or OS patches? Perhaps some libs are missing...

Regards,
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 February 2012 - 14:35

I forgot something. Please goto openpliPC directory and then change to xine-lib directory:


goto openpliPC directory
cd xine-lib
make clean
make > log.txt 2>&1


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 12 February 2012 - 14:37

Not better to change video.driver:auto with video.driver:xshm

I also have som problem with decoding from my DVB-T tuner. HD video decodes OK but the sound (AAC+) is missing in Kaffeine. Lives in Norway (Riks-TV).

My Ubuntu:

setResolution 720 576
/usr/local/e2/bin/enigma2: symbol lookup error: /usr/local/e2/bin/enigma2: undefined symbol: xine_osd_show_scaled
dream@Dream-server2:~$



Hi Amatoren,

there is a problem with the xine-lib. The openpliPC comes with an own xine-lib. On your system is most likely an other xine-lib (delivered by ubuntu) installed. And enigma2 is using the "ubuntu" xine-lib, which doesn't work. On my system the "ubuntu" xine-lib is also installed. So I don't think that herein lies the problem.
I think that your xine-lib compile doesn't work.
Did you start build_openpliPC.sh with -x option? Please don't use -x option.

If that doesn't help please also post log.txt:
goto openpliPC directory
cd xine-lib
make clean
make > log.txt 2>&1

Regards,
Betacentauri
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04


13 user(s) are reading this topic

0 members, 13 guests, 0 anonymous users