Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2064 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #301 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 7 January 2012 - 11:02

Hi Seal,

you have compiled vtunerd for mipsel with dreambox hardware support that's it´s wrong.
Remove -DHAVE_DREAMBOX_HARDWARE from you makefile.


Done but the same:

vtunerd: [14078 ../../vtuner-dmm-3.c:152]  info: FE_SET_FRONTEND parameters: freq:1699000 inversion:34 SR:27500000 FEC:21
vtunerd: [14078 ../../vtuner-dmm-3.c:144]  warn: FE_GET_FRONTEND failed
vtunerd: [14078 ../../vtunerd-service.c:449]  warn: vtuner call failed, type:2 reason:-1


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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 7 January 2012 - 11:32

@Seal,

I had the same problem has you described with a TeVii S-460 card, in fact even if we think that the card was properly detected it was not.
I need to download the driver from the TeVii support site and copy all the *.fw (firmware) provided files into /lib/firmware

I reboot my server and now I get rid of this problem, it still doesn't work for me but I saw now that there is communication between client and server, so may be search for the firmware files for your card and install them into the folder.

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 #303 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 7 January 2012 - 11:42

Pr2: firmware fles are on the right place. Card works properly - local scan-s2 and szap-s2 works well.

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #304 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 7 January 2012 - 11:57

can´t be removed

it use the vtuner-dmm-3.c not the vtuner-dvb-3.c

vtunerd: [14078 ../../vtuner-dmm-3.c:152]  info: FE_SET_FRONTEND parameters: freq:1699000 inversion:34 SR:27500000 FEC:21
vtunerd: [14078 ../../vtuner-dmm-3.c:144]  warn: FE_GET_FRONTEND failed
vtunerd: [14078 ../../vtunerd-service.c:449]  warn: vtuner call failed, type:2 reason:-1

vtunerd-services.h
#ifndef _VTUNERDSERVICE_H_
#define _VTUNEDRSERVICE_H_

#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>

#include "vtuner-network.h"

#if HAVE_DVB_API_VERSION < 3
  #include "vtuner-dmm-2.h"
#else
  #ifdef HAVE_DREAMBOX_HARDWARE
    #include "vtuner-dmm-3.h"
  #else
    #include "vtuner-dvb-3.h"
  #endif
#endif

#define DEBUGSRV(msg, ...) DEBUG(MSG_SRV, msg, ## __VA_ARGS__)

typedef enum vtuner_session_status {
    SST_IDLE,
    SST_BUSY
} vtuner_session_status_t;

int fetch_request(struct sockaddr_in*, int*, int*, int*);
int run_worker(int, int, int, int, struct sockaddr_in*);

#endif

Edited by nobody9, 7 January 2012 - 12:00.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #305 nobody9

  • Senior Member
  • 187 posts

+76
Good

Posted 7 January 2012 - 12:10

the hole changed makefile it must more changed then only remove DREAMBOX_HARDWARE

ARCH=mipsel
-include ../../Make.config
 
CC=$(CC-$(ARCH))
CXX=$(CXX-$(ARCH))
CFLAGS=-fpic -DHAVE_DVB_API_VERSION=5  $(INCLUDE-$(ARCH)) $(DBGFLAGS)
LDFLAGS=-lpthread -lrt
DRIVER=vtuner-dvb-3
 
all: ../../dist/$(ARCH)/vtunerd.$(ARCH) ../../dist/$(ARCH)/vtunerc.$(ARCH)
 
-include ../../Make.rules
 
vtuner-dvb-3.o: ../../vtuner-dvb-3.c ../../vtuner-dvb-3.h
	$(CC) $(CFLAGS) -c -o vtuner-dvb-3.o ../../vtuner-dvb-3.c
 
vtunerd-plugin.o: ../../vtunerd-plugin.c ../../vtunerd-service.h ../../vtuner-utils.h
	$(CXX) $(CFLAGS) $(PLUGIN_CFLAGS-$(ARCH)) -c -o vtunerd-plugin.o ../../vtunerd-plugin.c

can´t be removed

it use the vtuner-dmm-3.c not the vtuner-dvb-3.c

vtunerd: [14078 ../../vtuner-dmm-3.c:152]  info: FE_SET_FRONTEND parameters: freq:1699000 inversion:34 SR:27500000 FEC:21
vtunerd: [14078 ../../vtuner-dmm-3.c:144]  warn: FE_GET_FRONTEND failed
vtunerd: [14078 ../../vtunerd-service.c:449]  warn: vtuner call failed, type:2 reason:-1

vtunerd-services.h
#ifndef _VTUNERDSERVICE_H_
#define _VTUNEDRSERVICE_H_
 
#include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
 
#include "vtuner-network.h"
 
#if HAVE_DVB_API_VERSION < 3
  #include "vtuner-dmm-2.h"
#else
  #ifdef HAVE_DREAMBOX_HARDWARE
	#include "vtuner-dmm-3.h"
  #else
	#include "vtuner-dvb-3.h"
  #endif
#endif
 
#define DEBUGSRV(msg, ...) DEBUG(MSG_SRV, msg, ## __VA_ARGS__)
 
typedef enum vtuner_session_status {
	SST_IDLE,
	SST_BUSY
} vtuner_session_status_t;
 
int fetch_request(struct sockaddr_in*, int*, int*, int*);
int run_worker(int, int, int, int, struct sockaddr_in*);
 
#endif



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #306 Seal

  • Member
  • 45 posts

+3
Neutral

Posted 7 January 2012 - 16:09

nobody9: thanks, you have right. Allmost works - on some transponders not but this i will investigate :)

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 7 January 2012 - 16:29

I have added a nice feature to master branch (I will merge it to osd branch in a view minutes):
Video is resized when window is resized. Also there are no ugly artefact anymore.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 8 January 2012 - 21:28

Hi,

I just build OpenpliPC with the all the latest upgrade and since I have problems.

Start it, press the space bar to access the menu, use the down arrow to go to setup
and there my PC is totally freezed, I need to reboot it.

Yesterday it was working fine, perhaps that betacantauri yesterday patch, has unexpected border effects.

Pr2

Edited by Pr2, 8 January 2012 - 21:29.

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 January 2012 - 21:50

Hi Pr2,

which xine driver do you use?
If auto then please look into E2 output. There should be a line which tells you what driver was selected.

I'll try to reproduce it here.


Hi,

I just build OpenpliPC with the all the latest upgrade and since I have problems.

Start it, press the space bar to access the menu, use the down arrow to go to setup
and there my PC is totally freezed, I need to reboot it.

Yesterday it was working fine, perhaps that betacantauri yesterday patch, has unexpected border effects.

Pr2


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

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 January 2012 - 22:07

Since you can see the osd and you use master branch, I expect that you have a nvidia card and use the vdpau driver.
Well I don't have a nvidia card... I need to use my osd branch to see the osd.

@nobody9: Can you test and confirm problems?

@Pr2: Can you please test another time with current version and then checkout old commit point 6db15484b43527f795a865f6b6db9e8bdfefae2d and retest?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 8 January 2012 - 23:25

I have tested with osd branch and xshm and opengl driver -> no problems.
And also with master branch (without osd pressing space -> up -> up -> enter). Here a had some e2 crashes (not whole PC), but not everytime.

I really don't believe that my patch can crash whole PC. I hope you cannot reproduce it.

I only had one total freeze during developing some days ago. It was while trying to debug e2. But it was not this patch I was developing...
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #312 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 9 January 2012 - 01:15

I never see a pc freeze during the whole PLiPC story, neither. The good part of the PLiPC is it's very lightweight for a PC (I mean, for core i3/5/7 or similar configurations) I'm sure it was caused by something else.

Edited by buyukbang, 9 January 2012 - 01:16.

It all started with a BigBang...


http://buyukbang.blogspot.com


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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 10 January 2012 - 00:11

Hi,

I follow OpenpliPC from the beginning of this thread and I never have this problem before.
My PC has a Nvidia Ion card and I use vtuner with a DVB-S tuner inserted in another PC and yes I use the master branch.
I will try to recompile everything tomorrow.

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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 10 January 2012 - 21:15

Hi,

In fact the PC is not freeze but there is a conflict between Xorg and enigma2 process, the top command show me that they both use 70% of the CPU at the same time.

So it is indeed not linked with a particular keystroke.

Here is the startup log:

PYTHONPATH: /usr/local/e2/lib/enigma2/python
Display resolution 1280 1024
XINE-LIB version: 1.2.0openpliPC-e2
configfile  /usr/local/e2/share/enigma2/xine.conf
use vo_driver: auto
use ao_driver: auto
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
xine: found demuxer plugin: Elementary MPEG stream demux plugin
setResolution 720 576
XINE_EVENT_UI_PLAYBACK_FINISHED
Event Received!
XNextEvent 21
XNextEvent 22

We saw the Xine-lib version is: XINE-LIB version: 1.2.0openpliPC-e2
In am running it on Ubuntu 11.10 32bits desktop.

I can reinstall the PC from scratch if needed, because 2 days ago it was running just fine.

Pr2

Edited by Pr2, 10 January 2012 - 21:16.

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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 10 January 2012 - 22:58

Since you can see the osd and you use master branch, I expect that you have a nvidia card and use the vdpau driver.
Well I don't have a nvidia card... I need to use my osd branch to see the osd.

@nobody9: Can you test and confirm problems?

@Pr2: Can you please test another time with current version and then checkout old commit point 6db15484b43527f795a865f6b6db9e8bdfefae2d and retest?


Hi betacentauri,

I checkout the commit point that you mention and compile it (6db15484b43527f795a865f6b6db9e8bdfefae2d) and everything is working fine again on my PC.
So sorry but there is something that is broken between this point and the latest one.

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 11 January 2012 - 00:11

Hi betacentauri,

I checkout the commit point that you mention and compile it (6db15484b43527f795a865f6b6db9e8bdfefae2d) and everything is working fine again on my PC.
So sorry but there is something that is broken between this point and the latest one.

Pr2


Thanks for the test. See messenger for details.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #317 attaros

  • Senior Member
  • 52 posts

0
Neutral

Posted 11 January 2012 - 13:59


Since you can see the osd and you use master branch, I expect that you have a nvidia card and use the vdpau driver.
Well I don't have a nvidia card... I need to use my osd branch to see the osd.

@nobody9: Can you test and confirm problems?

@Pr2: Can you please test another time with current version and then checkout old commit point 6db15484b43527f795a865f6b6db9e8bdfefae2d and retest?


Hi betacentauri,

I checkout the commit point that you mention and compile it (6db15484b43527f795a865f6b6db9e8bdfefae2d) and everything is working fine again on my PC.
So sorry but there is something that is broken between this point and the latest one.

Pr2


Hi,

I confirm the same slowdown/freezing problem (cpu xorg 70% , 22% e2bin, 7% compliz). I have to kill e2bin to be able to select a window.
My config is Ubuntu 11.10 and Nvidia Drivers 280.13 or 290.10.

Intel® Core™2 CPU 6400 @ 2.13GHz
NVIDIA GPU GeForce GT 430 (GF108) at PCI:1:0:0 (GPU-0)

If i do checkout till point 6db15484b43527f795a865f6b6db9e8bdfefae2d then the freezing is gone and enigma2 is working.

ciao
attaros

Edited by attaros, 11 January 2012 - 14:01.


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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 11 January 2012 - 16:34

Hi attaros,

I have found something which can perhaps cause this problem. I'll builld a patch this evening for it. If it doesn't help, I revert my old patch.

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

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 11 January 2012 - 19:43

@attaros, pr2 and all others with performance problems:
Here is a patch. XOrg CPU usage gets down from 80-90% to 3-5% on my system. Can you please test?

Attached Files


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

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

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 11 January 2012 - 20:40

Hi,

I am currently rebuilding everything from scratch and I will report if the patch fixes the Xorg problem. Compilation takes time on this PC. :-)

But I point out something else, it seems that the build from libbluray.git doesn't work in the script: build_libs.sh (you seems to select a specific version which is no longer available). Doing all the commands manually from main branch is working.

Another test, I can now run OpenpliPC on my PC with a graphical card that doesn't support libdvpau (Nvidia 6700 XL GPU) by selecting the OSD branch and building it and forcing opengl in xine.conf file. I am really happy to see now the menu of E2 on that PC too.

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
 



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users