Jump to content


Photo

vuplus: gles demo


  • Please log in to reply
40 replies to this topic

#1 A.A.

  • Senior Member
  • 391 posts

+8
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
  • 70,546 posts

+1,813
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), 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: vuplus: gles demo #3 A.A.

  • Senior Member
  • 391 posts

+8
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
  • 391 posts

+8
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
  • 10,330 posts

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

 


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


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

  • Senior Member
  • 391 posts

+8
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
  • 391 posts

+8
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
  • 391 posts

+8
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
  • 6,182 posts

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

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


Re: vuplus: gles demo #10 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
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), 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: vuplus: gles demo #11 A.A.

  • Senior Member
  • 391 posts

+8
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
  • 6,182 posts

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

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


Re: vuplus: gles demo #13 serdeliuk

  • Senior Member
  • 333 posts

+18
Neutral

Posted 10 December 2021 - 12:47

Indeed, it works, at least on Solo4K, there are a lot of games/apps waiting to be ported :) this combined with SDL2 can be very powerful. 

I was looking to port Supaplex  :D  unfortunately i am super busy


init 2 && init 3


Re: vuplus: gles demo #14 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 10 December 2021 - 13:26

Supaplex. Now that brings back memories... ;)


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: vuplus: gles demo #15 serdeliuk

  • Senior Member
  • 333 posts

+18
Neutral

Posted 10 December 2021 - 13:39

Indeeeed, lots of nice memories, actually is pretty easy to bring Supaplex to our devices, let see, maybe i will find a bit of free time this weekend.


init 2 && init 3


Re: vuplus: gles demo #16 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 10 December 2021 - 14:40

Hoe do you control it? I think the remote might have too much lag?

 

Also, if you're into games, a DOS emulator would be cool, so I can play the original Doom again. At the time I reverse-engineered the map format, and created my own maps...


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: vuplus: gles demo #17 serdeliuk

  • Senior Member
  • 333 posts

+18
Neutral

Posted 10 December 2021 - 14:49

During my Z80 emulator port i found that the RC is pretty fast :) so probably should be enough, unfortunately Supaplex require mouse to use the main menu if i recall right, so a mouse emulator will be required too to be able to use only remote control. Or USB keyboard and mouse can be used instead of RC.

 

In regards Doom, i think i completely ported DOSBOX at some point and should be enough, let me dig a bit through my backups :) but for this mouse and keyboard will be required for sure.


init 2 && init 3


Re: vuplus: gles demo #18 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 10 December 2021 - 15:28

Something for the dark days of Christmas... :)


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: vuplus: gles demo #19 serdeliuk

  • Senior Member
  • 333 posts

+18
Neutral

Posted 10 December 2021 - 16:35

Something for the dark days of Christmas... :)

Haha, yeah, i found something built for my Solo4K, but is only the dosbox binary, let me try to find out if i did built an E2 plugin to start that, i will build a zip with all stuff and add here later today, prepare your old Doom backups :D hopefully will work.


init 2 && init 3


Re: vuplus: gles demo #20 serdeliuk

  • Senior Member
  • 333 posts

+18
Neutral

Posted 10 December 2021 - 17:35

Something for the dark days of Christmas... :)

I found a few things that may help to run Doom, unfortunately i didn't built the E2 plugin so the emu should be started from cli over ssh.

Extract the archive in root home folder and check the READ.me hopefully will work on your Vu too, the dosbox executable was built for Vu Solo4K

Attached Files


Edited by serdeliuk, 10 December 2021 - 17:41.

init 2 && init 3



10 user(s) are reading this topic

0 members, 10 guests, 0 anonymous users