Jump to content


Photo

vuplus: gles demo


  • Please log in to reply
11 replies to this topic

#1 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 14 May 2021 - 23:56

We imported from openvuplus the libvupl libs and the gles spinning cube demo.

 

Please test on your vuplus devices the plugin  enigma2-plugin-extensions-libvupldemo.bb

 

Thanks

A.A.

 



Re: vuplus: gles demo #2 WanWizard

  • PLi® Core member
  • 58,386 posts

+1,273
Excellent

Posted 15 May 2021 - 01:38

Runs without problems on my Duo 4K.

 

I only have no idea how to stop it, it even keeps running if you restart Enigma... ;)


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

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

Because to health reasons, I will not be active online very often anymore.


Re: vuplus: gles demo #3 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 08:43

He he...I ended up with   root@vuduo2:~# killall -9 cube

 

The plugin itself is just a check for the drivers.

I didn't check the code...



Re: vuplus: gles demo #4 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 09:21

One developer was playing with this on Solo4K

 

https://forums.openp...nd-egl/?hl=gles

 

Now we have all the pieces in place if someone is willing to play...

 

Cheers

A.A.



Re: vuplus: gles demo #5 Dimitrij

  • PLi® Core member
  • 7,761 posts

+251
Excellent

Posted 15 May 2021 - 10:16

He he...I ended up with   root@vuduo2:~# killall -9 cube

 

The plugin itself is just a check for the drivers.

I didn't check the code...

 

		def stop_application(self):
-		pid = popen("ps -e | grep '%s' | grep -v grep | awk '{ print $1 }'" % RUNNAME[:15]).read()
+		pid = popen("ps | grep '%s' | grep -v grep | awk '{ print $1 }'" % RUNNAME[:15]).read()
		if pid:
			cmd("kill %s" % pid)

 


Duo 4K/Lunix3-4K/Solo 4K


Re: vuplus: gles demo #6 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 12:55

thanks, let's study something to avoid to add a patch
 

 


Edited by A.A., 15 May 2021 - 12:56.


Re: vuplus: gles demo #7 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 13:17

diff --git a/recipes-graphics/libvupl-examples/enigma2-plugin-extensions-libvupldemo.bb b/recipes-graphics/libvupl-examples/enigma2-plugin-extensions-libvupldemo.bb
index 5294966..9c69fde 100644
--- a/recipes-graphics/libvupl-examples/enigma2-plugin-extensions-libvupldemo.bb
+++ b/recipes-graphics/libvupl-examples/enigma2-plugin-extensions-libvupldemo.bb
@@ -8,9 +8,15 @@ RDEPENDS_${PN} = "libvupl-example-cube"
 
 SRC_URI = "http://code.vuplus.c...o.${PR}.tar.gz"
 
+S = "${WORKDIR}/enigma2-plugin-demoplugins-libvupldemo"
+
+do_configure_prepend() {
+       sed -i "s/ps -e |/ps |/g" ${S}/plugin.py
+}
+
 do_install_append() {
        install -d ${D}/${libdir}/enigma2/python/Plugins/Extensions/libvupldemo
-       install -m 0644 ${WORKDIR}/enigma2-plugin-demoplugins-libvupldemo/* ${D}/${libdir}/enigma2/python/Plugins/Extensions/libvupldemo/
+       install -m 0644 ${S}/* ${D}/${libdir}/enigma2/python/Plugins/Extensions/libvupldemo/
 }
 
 FILES_${PN} = "${libdir}"
 



Re: vuplus: gles demo #8 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 13:46

@Dimitrij

 

once removed the .pyo that works. thanks !


Edited by A.A., 15 May 2021 - 13:49.


Re: vuplus: gles demo #9 Pr2

  • PLi® Contributor
  • 4,751 posts

+197
Excellent

Posted 15 May 2021 - 15:08

Hi,

 

it seems that it is not yet available for the Solo4K once available I can test and report.


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)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: vuplus: gles demo #10 WanWizard

  • PLi® Core member
  • 58,386 posts

+1,273
Excellent

Posted 15 May 2021 - 15:10

It's in de bsp, but it is not added to the feed, so you need to add a dependency to it in your local.conf yourself. As it is just a test demo, I don't want to add it to the image permanently.


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2+fallback), Octagon SF8008 (S2+T2), Zgemma H9.2H (T2+fallback)

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

Because to health reasons, I will not be active online very often anymore.


Re: vuplus: gles demo #11 A.A.

  • Senior Member
  • 251 posts

+5
Neutral

Posted 15 May 2021 - 22:31

I'll send later a patch for meta-vuplus together with one about blindscan QA.



Re: vuplus: gles demo #12 Pr2

  • PLi® Contributor
  • 4,751 posts

+197
Excellent

Posted 16 May 2021 - 15:36

cube demo seems to work on the Solo4K too.


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)
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