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 #401 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 28 January 2012 - 15:07

hi betacentauri

I tried the lastest git and can report that:

1) Audio changing works fine, thanks a lot!
2) F11 has no effect on my setup, bear in mind I do not use a window manager, just X with mms (mymediasystem)
I launch enigma2-openpli from within mms with the following script:
#!/bin/sh
#/usr/local/share/enigma2/BrushedAlu-HD/skin.xml edit for 1920x1080
/usr/bin/svdrpsend -p 6419 -d 127.0.0.1 REMO OFF
sudo rc.d stop vdr
sudo rc.d stop cccam
sleep 1
/usr/local/bin/irxevent --daemon /etc/lirc/config/enigma2.openpli
sudo /sbin/insmod /lib/modules/`uname -r`/kernel/drivers/dvbsoftwareca.ko
sudo /var/bin/CCcam
sleep 1
cd /usr/local/e2/bin/
sudo /usr/local/e2/bin/enigma2
# adding --geometry 1920x1080+0+0 to the previous line has no effect 
sudo killall CCcam irxevent
sudo /sbin/rmmod dvbsoftwareca.ko
sleep 1
sudo rc.d start cccam
sudo rc.d start vdr
/usr/bin/svdrpsend -p 6419 -d 127.0.0.1 REMO OFF

I have a feeling that if there was a genuine HD skin (1920x1080) it would just work fine, but all the ´HD´ skins I found are really 1280x780
I edited skin.xml a little bit more in order to fix the size and position of the info bar, and that looks quite acceptable but when I press the menu button it is hard to read as only 1280x780 are used

3) adding --geometry 1920x1080+0+0 to the enigma2 command line makes no difference

4) If I set the skin to the default one then I get a smaller window and the remote no longer works (I guess something crashes when trying to upscale the skin from SD) So to get around that I edited settings so that the BlushedAluHD would be started (that is the one with the screenshots)

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

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 28 January 2012 - 15:10

Hi,

Did you already test this skin?

https://github.com/nobody9/skin-PLiHD

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 #403 behnam

  • Member
  • 6 posts

0
Neutral

Posted 28 January 2012 - 18:36

Hi
Can somebody interdiuce a light linx for e2 to pc.
My mini pc cant good works with Ubuntu!
Thanks

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 28 January 2012 - 19:16

Hi casacristo,

I tried the lastest git and can report that:

1) Audio changing works fine, thanks a lot!

Thanks for positive feedback!!

2) F11 has no effect on my setup, bear in mind I do not use a window manager, just X with mms (mymediasystem)

You can check whether your X supports fullscreen mode with:
> xprop -root | grep _NET_WM_STATE_FULLSCREEN
If nothing is found, you won't be able to switch to fullscreen. Perhaps you can change your X config so that it is supported...

3) adding --geometry 1920x1080+0+0 to the enigma2 command line makes no difference

I think that this is not supported. And it also won't help you because, it would scale the osd.

4) If I set the skin to the default one then I get a smaller window and the remote no longer works (I guess something crashes when trying to upscale the skin from SD) So to get around that I edited settings so that the BlushedAluHD would be started (that is the one with the screenshots)

That's curious! When remote doesn't work, does keyboard still works? Sorry, can't help you here. Don't have a remote attached to pc.

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 #405 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 28 January 2012 - 19:22

@betacentauri,
sorry, I incorrectly wrote
I want play my recorded files, it is't the filelist.

Thanks for the earlier


Hi,

I have made a short record and was able to watch it afterwards without problems.
Was it a normal recording and no divx, mkv,... file? Was it a hd or sd file?
Is it reproducible? If yes, can you put somewhere a short part of the recording.

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 #406 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 28 January 2012 - 19:58

hi,
Yes I did (I have it installed)
When I switch to that skin the screen looks like this:
http://dl.dropbox.co...nigma2-menu.jpg

so it is not scaling

Hi,

Did you already test this skin?

https://github.com/nobody9/skin-PLiHD

Pr2



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #407 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 28 January 2012 - 20:05

Hi betacentauri,




2) F11 has no effect on my setup, bear in mind I do not use a window manager, just X with mms (mymediasystem)


You can check whether your X supports fullscreen mode with:

> xprop -root | grep _NET_WM_STATE_FULLSCREEN


xprop -root | grep _NET_WM_STATE_FULLSCREEN
found nothing, how do we add this?




3) adding --geometry 1920x1080+0+0 to the enigma2 command line makes no difference


I think that this is not supported. And it also won't help you because, it would scale the osd.


scaling the osd would not be a problem


4) If I set the skin to the default one then I get a smaller window and the remote no longer works (I guess something crashes when trying to upscale the skin from SD) So to get around that I edited settings so that the BlushedAluHD would be started (that is the one with the screenshots)


That's curious! When remote doesn't work, does keyboard still works? Sorry, can't help you here. Don't have a remote attached to pc.


I use irxevent so really it just translates remote buttons to key presses, it does not use lirc

Regards,

casacristoi

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #408 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 28 January 2012 - 20:16

Sorry I entered the wrong link before.

This is how skind-PLIHD looks



Hi,

Did you already test this skin?

https://github.com/nobody9/skin-PLiHD

Pr2



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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 28 January 2012 - 20:58

You can check whether your X supports fullscreen mode with:

 
> xprop -root | grep _NET_WM_STATE_FULLSCREEN
 

xprop -root | grep _NET_WM_STATE_FULLSCREEN
found nothing, how do we add this?


I searched a little bit in the internet. I think for this you need a window manager.
I never used linux without window manager. Therefore I have a question. So you don't have a window which you can resize with the mouse, right?
I think that we can patch your installation to a fix resolution. I'll come back to you later.

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 #410 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 28 January 2012 - 21:46

New patch online:
- On systems with slow CPU and/or in case of high CPU usage there was a bug that window size was switching many times a second.
This should be fixed now.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #411 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 29 January 2012 - 01:29

I´ve used dreamboxedit and bouquet editor suite to come up with a list of channels and bouquets
But it does not seem to work, gives an error on SID or PAT

any ideas what went wrong?

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #412 casacristo

  • Member
  • 30 posts

0
Neutral

Posted 29 January 2012 - 01:35


You can check whether your X supports fullscreen mode with:

 
> xprop -root | grep _NET_WM_STATE_FULLSCREEN
 

xprop -root | grep _NET_WM_STATE_FULLSCREEN
found nothing, how do we add this?


I searched a little bit in the internet. I think for this you need a window manager.
I never used linux without window manager. Therefore I have a question. So you don't have a window which you can resize with the mouse, right?
I think that we can patch your installation to a fix resolution. I'll come back to you later.

Betacentauri


Well this is a pure HTPC so it does not even have a mouse or keyboard attached. The resolution is fixed to 1920x1080 (attempts to set another one will fail) and applications seem to have no idea what resolution is running, so if we can fix the resolution through a patch I am pretty sure it will work. At least that is the way to go with xine and mplayer. Also about the windows they are completely borderless, so I would imagine a mouse would not be able to resize them.

I launch X like this:
X -nocursor -br -quiet -dpms -allowMouseOpenFail -ac -audit 0&

Thanks a lot for your support!!

Edited by casacristo, 29 January 2012 - 01:37.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #413 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 29 January 2012 - 08:09


@betacentauri,
sorry, I incorrectly wrote
I want play my recorded files, it is't the filelist.

Thanks for the earlier


Hi,

I have made a short record and was able to watch it afterwards without problems.
Was it a normal recording and no divx, mkv,... file? Was it a hd or sd file?
Is it reproducible? If yes, can you put somewhere a short part of the recording.

Regards,
Betacentauri

Hi betacentauri,

Thanks, I realized what the problem was.
In the Menu-Settings-System, and it seems Subtitles Audio has been selected in one language. Old xine-lib worked, and xine-lib-1.2 (from January 3 and after) crash.
Change the selection -> "No" and problem solved.
Switching audio tracks while watching Live TV works fine, thanks.

For me, the xine-lib-1.2 does not work ZOOM_X and ZOOM_Y.
Although the main problem - when running enigma2 not always show the encrypted channels (1 of 3) or to restart dvbsoftwareca,
although the keys to oscam come, but a black screen.

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


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

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 29 January 2012 - 17:38

hi,
Yes I did (I have it installed)
When I switch to that skin the screen looks like this:
http://dl.dropbox.co...nigma2-menu.jpg

so it is not scaling


Hi,

Did you already test this skin?

https://github.com/nobody9/skin-PLiHD

Pr2


Hi,

The screen shot that you show is absolutely not the skin that I point in the link, it is a totally different skin.

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 #415 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 29 January 2012 - 17:43

I´ve used dreamboxedit and bouquet editor suite to come up with a list of channels and bouquets
But it does not seem to work, gives an error on SID or PAT

any ideas what went wrong?


Hi,

Do you change the destination path in Dreamboxedit?
OpenpliPC is not using the same path as Enigma2.

lamedb and your favorite should be placed there: /usr/local/e2/etc/enigma2
you satellite.xml should be place there: /usr/local/e2/etc/tuxbox

Skin are placed there: /usr/local/e2/share/enigma2
And fonts for skin: /usr/local/e2/share/fonts

Morevover you need to be root (sudo) to place file in those folders.

Regards,

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 #416 Pr2

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 29 January 2012 - 17:51


Although the main problem - when running enigma2 not always show the encrypted channels (1 of 3) or to restart dvbsoftwareca,
although the keys to oscam come, but a black screen.


Hi,

You need to check you OScam log and see what's happens and adapt your oscam.dvbapi to I: (ignore) the CAID that cannot be decrypted.
If you create a script like this to launch OpenpliPC. It will launch vtuner, oscam and openpliPC in the right order, and it will also remove properly the dvbsoftwareca; since you need to "reset" it between 2 OpenpliPC launch.

 
#!/bin/sh
# Define the path where you install the file (most of the time)
# it is your home directory so I set it to $HOME by default.
HOME_DIR=$HOME
# When compiling vtunerc it is archi dependant so define it here
ARCHI=i686
#
 
printf "Removing dvbsoftwareca\n"
sudo rmmod dvbsoftwareca > /dev/null 2>&1
sleep 2
printf "Generating module list\n"
sudo depmod -a
sleep 1
printf "Starting vtunerc\n"
sudo $HOME_DIR/vtuner.apps/dist/$ARCHI/vtunerc.$ARCHI -f s2 &
sleep 1
printf "Loading dvbsoftwareca\n"
sudo modprobe dvbsoftwareca
sleep 5
printf "Starting OScam\n"
sudo $HOME_DIR/OScam/oscam -c $HOME_DIR/OScam &
sleep 2
printf "Starting E2\n"
sudo /usr/local/e2/bin/enigma2
sleep 2
printf "E2 stopped\n"
printf "Killing OScam\n"
sudo killall oscam
sleep 2
ps -ef | grep -i oscam
sleep 1
printf "Removing dvbsoftwareca\n"
sudo rmmod dvbsoftwareca
ls /dev/dvb/adapter0
lsmod | grep dvbsoftwareca
sleep 2
printf "Killing vtunerc\n"
sudo killall vtunerc.$ARCHI
ps -ef | grep vtunerc
printf "Done!\n"

One question which branch do you use? Master (vdpau) or osd

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 #417 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 29 January 2012 - 19:41

Well this is a pure HTPC so it does not even have a mouse or keyboard attached. The resolution is fixed to 1920x1080 (attempts to set another one will fail) and applications seem to have no idea what resolution is running, so if we can fix the resolution through a patch I am pretty sure it will work. At least that is the way to go with xine and mplayer. Also about the windows they are completely borderless, so I would imagine a mouse would not be able to resize them.


Let's try to find a solution in background (I have send you a personal message (envelop icon at the top of the page)). When we found a solution, we can post it here.

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 #418 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 29 January 2012 - 19:51

Hi Raider05,

Thanks, I realized what the problem was.
In the Menu-Settings-System, and it seems Subtitles Audio has been selected in one language. Old xine-lib worked, and xine-lib-1.2 (from January 3 and after) crash.
Change the selection -> "No" and problem solved.

I'll put it on my bug list.

For me, the xine-lib-1.2 does not work ZOOM_X and ZOOM_Y.
Although the main problem - when running enigma2 not always show the encrypted channels (1 of 3) or to restart dvbsoftwareca,
although the keys to oscam come, but a black screen.

So you say that the procedure
void cXineLib::set_zoom_settings(int x, int y)
{
xine_set_param(stream, XINE_PARAM_VO_ZOOM_X, x);
xine_set_param(stream, XINE_PARAM_VO_ZOOM_Y, y);
}
doesn't work. Right?
How can I test it? Is there in E2 a built-in function which uses zoom?

Sorry, to decryption I cannot say anything (I don't use any encryted channels)

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 #419 Raider05

  • Senior Member
  • 75 posts

+4
Neutral

Posted 30 January 2012 - 09:01


You need to check you OScam log and see what's happens and adapt your oscam.dvbapi to I: (ignore) the CAID that cannot be decrypted.
If you create a script like this to launch OpenpliPC. It will launch vtuner, oscam and openpliPC in the right order, and it will also remove properly the dvbsoftwareca; since you need to "reset" it between 2 OpenpliPC launch.

One question which branch do you use? Master (vdpau) or osd

@Pr2,
In oscam.log see the keys come, but a black screen. oscam.dvbapi configured correctly.
Has a large interval (sleep) in the startup script may cause this.
Reload dvbsoftwareca.ko also helped (1 of 2 events)
If once started enigma2 and all encrypted channels showed
It would be nice :)

Use master (vdpau) branch

E2PC, Ubuntu 12.04 x86, DVB-S2 card Omicom SkyStar 4, Nvidia card 9500GT 512Mb DDR2 driver 195.36.24, Satellites 9.0E, 36.0E

Git enigma2pc


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

  • PLi® Contributor
  • 6,165 posts

+261
Excellent

Posted 30 January 2012 - 12:09

@Raider05,

Please give a try with OSD branch and force the video driver to xshm or opengl, it seems to work better on scrambled channels than vdpau which indeed sometimes doesn't cleared scrambled channels even if OScam is running fine.

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
 



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users