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 #2041 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 19 September 2023 - 12:01

The attached script makes vaapi work again in Ubuntu 23.04 (including xine-ui). Lock these packages using Synaptic. Of course, this does not save you from "apt upgrade". It's just a hack, but there's no other way.
FFmpeg can be left as is, but in Ubuntu 23.04 vaapi is dropped even from VLC due to its incompatibility with ffmpeg-5. It seems this problem will slowly creep into the next LTS release.

Attached Files


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2042 ptergrand

  • Senior Member
  • 66 posts

0
Neutral

Posted 22 October 2023 - 22:06

1445;

 

Sir, your program is no longer as good as it used to be, you are constantly changing parts of it, I am tired of using it. Due to the last change, your program cannot fit on my PC, just like in the pictures. Even though I made all kinds of adjustments, it did not work. You have adjusted it according to your own monitor.
I no longer use your program. Thank you for your support to the program.
 
EjCA0YD.png
 
 
RN4aEqS.png
 
OhNwmcH.png
 
RIVAjZF.png


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 24 October 2023 - 10:43

I have more than one display. All have a standard 16:9 screen. The resolution is selected in the system. If you use vaapi, then check that the installed desktop size matches the skin. In other cases it doesn't matter.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2044 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 16 December 2023 - 20:16

https://github.com/technic/enigma2

 

I found that E2pc repo that uses SDL and gstreamer however the repo creator (technic) who is a member in Openpli fourm wrote that "Rendering of video that comes from DVB is not implemented"
@1455 i asked you about E2pc gstreamer project but you never replied.
Is it a secret you don't want to reveal or you don't know how to do it?  :)


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 20 December 2023 - 21:45

 

https://github.com/technic/enigma2

 

I found that E2pc repo that uses SDL and gstreamer however the repo creator (technic) who is a member in Openpli fourm wrote that "Rendering of video that comes from DVB is not implemented"
@1455 i asked you about E2pc gstreamer project but you never replied.
Is it a secret you don't want to reveal or you don't know how to do it?  :)

 

Hello. Seems the link is a regular fork of Enigma from last year.
I have nothing secret. I was interested in this method of video output, but it didn't work out for me. I sent you the archive in a private message just for your reference. Later I received a letter saying that my account on this site had been hacked. What someone wanted to find in personal correspondence is a secret to me. :) Therefore, consider that I can’t.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2046 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 21 December 2023 - 08:44

Hello. Seems the link is a regular fork of Enigma from last year.

I have nothing secret. I was interested in this method of video output, but it didn't work out for me. I sent you the archive in a private message just for your reference. Later I received a letter saying that my account on this site had been hacked. What someone wanted to find in personal correspondence is a secret to me. :) Therefore, consider that I can’t.

 

Hi,
I have searched in other @technic repo(s), he uses the following configure command.
 
 ./configure --with-libsdl --with-gstversion=1.0 --prefix=/usr --sysconfdir=/etc \
 
The thing is i was able to compile it but still there is no video.
After that i noticed that --with-gstversion=1.0 was ignored during configuration.
 
I remember that you sent me that archive when i asked you if it's possible to compile E2pc without libxine patch.
 
But you didn't mention that you were trying to use gstreamer, i believe you configure it with libsdl.
 
I was excited when i found @technic repo so i thought if you both work on that project   :)

Edited by roxette, 21 December 2023 - 08:45.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 21 December 2023 - 13:17


Hi,
I have searched in other @technic repo(s), he uses the following configure command.
 
 ./configure --with-libsdl --with-gstversion=1.0 --prefix=/usr --sysconfdir=/etc \
 
The thing is i was able to compile it but still there is no video.
After that i noticed that --with-gstversion=1.0 was ignored during configuration.
 
I remember that you sent me that archive when i asked you if it's possible to compile E2pc without libxine patch.
 
But you didn't mention that you were trying to use gstreamer, i believe you configure it with libsdl.
 
I was excited when i found @technic repo so i thought if you both work on that project   :)
 

Unfortunately, I have been retired for a long time and the desire to work on this project is diminishing. And I remind you that I am not a programmer. I just worked on a television channel for almost 10 years.

 

 

 

 
 

К сожалению, я уже давно на пенсии и желание работать над этим проектом уменьшается. И напоминаю, что я не программист. Я просто проработал на телеканале почти 10 лет.

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2048 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 22 December 2023 - 14:34

Unfortunately, I have been retired for a long time and the desire to work on this project is diminishing. And I remind you that I am not a programmer. I just worked on a television channel for almost 10 years.

 

 

К сожалению, я уже давно на пенсии и желание работать над этим проектом уменьшается. И напоминаю, что я не программист. Я просто проработал на телеканале почти 10 лет.

 

I understand, thank you for the time and the effort you spent on this project.
I wish you a merry Xmas and a happy new year  :)


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 29 May 2024 - 10:57

I need a sample enigma.info file or the source enigma-info package. Where can I find this?


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2050 WanWizard

  • PLi® Core member
  • 70,523 posts

+1,810
Excellent

Posted 29 May 2024 - 11:30

It is generated here: https://github.com/O.../enigma-info.bb (note that some values are added at first boot, as they can only be determined at runtime),

 

Here's an example:

 

Attached Files


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 29 May 2024 - 11:59

WanWizard, many thanks. :thumbs-up:

 

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


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

  • Senior Member
  • 407 posts

+12
Neutral

Posted 3 June 2024 - 12:13

I think I need to continue working on the PC version for Python3. This is the first Python3 commit for 24.04 so far.
Everything is in the style of changes for Python 3.12.3. The VAAPI connection with FFMPEG was broken two years ago. With VAAPI you can only watch 4K channels normally.
On regular channels I see a tearing image in the top third of the screen. Of course, it works fine via opengl with SD/HD, but without hardware acceleration.
Thih is should work well with nVidia, however, without 4K acceleration. Some plugins no longer work due to changes in Python 3.12.3.
The developers introduced the enigma.info file after 01/01/24. I had to come up with a way to use it as a stub. It is absolutely not needed for a PC, but now nothing works without it.

 

 

 
 

 

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2053 NadjmGharib

  • Member
  • 24 posts

+4
Neutral

Posted 27 July 2024 - 17:48

Hi

It seems you are not trying to install after the update.

in OpenPLi-PC_Python3/build_own_libs There is an error on line 115. (if [[ $? -eq 0 ]]; then) -----= if [[ $PKG? -eq 0 ]]; then

And in build_openplipc.sh 4,5  socketmmi Not acceptable for installation

Sorry! My English is poor.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2054 m_anb

  • New Member
  • 1 posts

0
Neutral

Posted 29 July 2024 - 19:56

Hello
I'm having trouble using the script
When I run command number 3: ./3_build_libxine.sh
I get this error: dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/lib/*/xine/plugins/*/xineplug_vo_out_sdl.so" (tried in ., debian/tmp)
please guide me
my os is : ubuntu 20.04.6 lts running on esxi 6.7 

Attached Files

  • Attached File  LOG.TXT   1.34MB   2 downloads


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2055 NadjmGharib

  • Member
  • 24 posts

+4
Neutral

Posted 30 July 2024 - 17:22

After upgrading from Ubuntu 22.04 to 24.04, openplipc-3 was installed.

But is this path necessary? ( prefix2="/usr/src/OpenPLi-PC_Python3/plugins/e2openplugin")

Because my installation folder is different



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2056 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 7 September 2024 - 12:02

Hello,

I have installed OpenPLi-PC_Python3 (https://github.com/a...nPLi-PC_Python3) on an Proxmox Host in a VM.
In this box there is no DVB-C adapter card. I don't need Live-TV at the moment.
I want to use Enigma2PC for plugin development and debugging (Plugin with Webaccess/Streaming).

Can I use it when I have no DVB-C Hardware in the Proxmox Host? I have a DVB-C Card in my "normal" Linux PC but I don't want to mess up the system

with the Openpli-PC build environment :)

 

I have successfully compiled the libs and enigma2 with the scripts from 1455.

 

But when I start enigma2 I get a segmentation fault.

PYTHONPATH: /usr/local/e2/lib/enigma2/python
DVB_API_VERSION 5 DVB_API_VERSION_MINOR 12
ENIGMA_DEBUG_LVL=4
[Avahi] avahi_timeout_new
[Avahi] avahi_watch_new(3 0x1)
[Avahi] avahi_timeout_update
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[Avahi] client state: 2
[Avahi] avahi_timeout_new
[Avahi] avahi_timeout_free
[eInit] + (1) Background File Eraser
[eInit] + (5) Tuxtxt
[eInit] + (8) graphics acceleration manager
[bcm] /dev/fb0 Permission denied
[eInit] + (9) Font Render Class
[Font] Initializing lib.
[Font] Loading fonts.
[Font] Intializing font cache, using max. 4MB.
[eInit] + (9) gLCD
[eFbLCD] /dev/fb1: No such file or directory
[eFbLCD] framebuffer /dev/fb1 not available
[eDboxLCD] No oled0 or lcd0 device found!
[gLCDDC] resolution: -1x-1x0 stride=0
[eInit] + (9) gXlibDC
Display resolution 1280 800
XINE-LIB version: 1.2.13-hg
XINE-LIB configfile: /usr/local/e2/share/enigma2/xine.conf
Available post plugins:  boxblur denoise3d enigma enigma_audio enigma_video eq eq2 expand fftgraph fftscope fill goom
invert mosaico noise oscope pp stretch switch tdaudioanalyzer tvtime unsharp upmix upmix_mono vdr vdr_audio vdr_video
volnorm
Segmentation fault.

 

How can I debug this further to find the error?

 

Just another question. How can I use the "INSTALL_ALL.sh" script correctly?

The "2_build_environment.sh" script makes an reboot of the system at the end.

The system now reboots and I need to login again. When I execute the "INSTALL_ALL.sh"  script again

it begins from start and ends with an reboot again. I need to execute the "3_build_own_libs.sh" script manually so the build process continues.

(I think the script has to be altered before reboot. Save the status of the operation in a variable which will be evaluated on the next script run

and the script then continues with the next step "3_build_own_libs.sh".

 

Note: An addition in the READme would be helpful to clone the repository to /usr/src!
Otherwise the prefix2 path prefix2="/usr/src/OpenPLi-PC_Python3/libs" is not found

because I cloned mine to /home/user/ the first time.

 

Thanks for the great work!!! :)


Edited by starbuck, 7 September 2024 - 12:03.

VU+ Duo 4k SE 2x DVB-C / Openpli 9.x


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2057 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 7 September 2024 - 15:56

I am also missing the libtuxtxt32bpp library. It is not compiled and not present in /usr/lib directory.

 

I only see

libtuxtxt.la
libtuxtxt.so           
libtuxtxt.so.0
libtuxtxt.so.0.0.0 

libtuxtxt32bpp is missing.
 

When executing the shell script "5_build_openpliPC.sh" I got a compilation error.

/usr/bin/ld: -ltuxtxt32bpp kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:801: enigma2] Fehler 1

The files are listed in the TREE.EN file in repository but nowhere else.... ???

/usr/include/tuxtxt_def.h
/usr/lib/enigma2 -> /usr/local/e2/include/enigma2
/usr/lib/libtuxtxt32bpp.la
/usr/lib/libtuxtxt32bpp.so -> libtuxtxt32bpp.so.0.0.0
/usr/lib/libtuxtxt32bpp.so.0 -> libtuxtxt32bpp.so.0.0.0
/usr/lib/libtuxtxt32bpp.so.0.0.0
 

What's wrong here? :(


Edited by starbuck, 7 September 2024 - 15:58.

VU+ Duo 4k SE 2x DVB-C / Openpli 9.x


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2058 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 9 September 2024 - 20:04

I tinkered around on weekend and I got it working. So I think I will answer myself and to everyone who is interested.

"Can I use it when I have no DVB-C Hardware in the Proxmox Host?"

Yes. It works without a DVB Adapter. For the Proxmox /QEMU Guest we can use the OpenGL Driver with XINE-LIB version: 1.2.13-hg


Segmentation fault.

Root cause: Wrong graphics driver selected.
 

5_build_openpliPC.sh compilation error and libtuxtxt32bpp.* not created

When executing the shell script "5_build_openpliPC.sh" I got a compilation error.

/usr/bin/ld: -ltuxtxt32bpp kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:801: enigma2] Fehler 1

Little error in the shell-script "3_build_own_libs.sh" in line 166

 
166 mkdir $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

directories won't get created!!!

mkdir -p $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

The -p parameter is needed for creating the whole (sub)directories.

 

Fixing this tuxtxt builds and installs correctly! (libtuxtxt32bpp.* will be created and linked correctly)

 

 

Enigma2-OpenPLi9-PC compiles and is working as shown in the attachments.

Attached Files


Edited by starbuck, 9 September 2024 - 20:09.

VU+ Duo 4k SE 2x DVB-C / Openpli 9.x


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2059 NadjmGharib

  • Member
  • 24 posts

+4
Neutral

Posted 10 September 2024 - 10:34

I tinkered around on weekend and I got it working. So I think I will answer myself and to everyone who is interested.

"Can I use it when I have no DVB-C Hardware in the Proxmox Host?"

Yes. It works without a DVB Adapter. For the Proxmox /QEMU Guest we can use the OpenGL Driver with XINE-LIB version: 1.2.13-hg


Segmentation fault.

Root cause: Wrong graphics driver selected.
 

5_build_openpliPC.sh compilation error and libtuxtxt32bpp.* not created

When executing the shell script "5_build_openpliPC.sh" I got a compilation error.

/usr/bin/ld: -ltuxtxt32bpp kann nicht gefunden werden: Datei oder Verzeichnis nicht gefunden
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:801: enigma2] Fehler 1

Little error in the shell-script "3_build_own_libs.sh" in line 166

 
166 mkdir $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

directories won't get created!!!

mkdir -p $INSTALL_E2DIR/lib/enigma2/python/Plugins/Extensions/$DIR

The -p parameter is needed for creating the whole (sub)directories.

 

Fixing this tuxtxt builds and installs correctly! (libtuxtxt32bpp.* will be created and linked correctly)

 

 

Enigma2-OpenPLi9-PC compiles and is working as shown in the attachments.

Thank you very much.

I had the same problem. And it was solved your way



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #2060 starbuck

  • Member
  • 15 posts

+3
Neutral

Posted 11 September 2024 - 17:36

Glad I could help. You're welcome.


VU+ Duo 4k SE 2x DVB-C / Openpli 9.x



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users