Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 9:30 am

:
Ask anything relevant you need to know; I didn't want to kick off the thread by posting a long rambling screed about it!

Cheers!
Duncan

I originally asked this over here on the gaming forum:

viewtopic.php?t=343140&sid=1416c3100812 ... c618f80d6c

... and waited a bit before reposting here, in the hope of getting a bigger response.

User avatar
Gavinmc42
Posts: 7104
Joined: Wed Aug 28, 2013 3:31 am

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 9:47 am

I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
neilgl
Posts: 5712
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near The National Museum of Computing

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 10:38 am

Yes

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 12:48 pm

Gavinmc42 wrote:
Wed Nov 23, 2022 9:47 am
Metaverse using Aframe?
viewtopic.php?p=1945340&hilit=Metaverse#p1945340
Ah, yes, I saw that, and was feeling hopeful until I saw that the Pi isn't doing the rendering. Its GPU is a bit feeble for that I imagine.

If I support the Pi, it'll be "3D on the telly" at first, not VR for a while.

Making Vulkan work well on the Pi's GPU (even the Pi 4) is the challenge, and I'm not sure how much extra work it'll be to optimise the scene rendering for that. Hence this thread.

cleverca22
Posts: 6993
Joined: Sat Aug 18, 2012 2:33 pm

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 2:40 pm

https://www.youtube.com/watch?v=b6TABljtaGA
https://www.youtube.com/watch?v=aKgLqIW65oc

this guy has gotten an rpi to drive a VR headset before, so its definitely possible

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 4:34 pm

cleverca22 wrote:
Wed Nov 23, 2022 2:40 pm
https://www.youtube.com/watch?v=b6TABljtaGA
https://www.youtube.com/watch?v=aKgLqIW65oc

this guy has gotten an rpi to drive a VR headset before, so its definitely possible
Thanks for those videos - it's encouraging that a Pi 3B+ can render fast enough for a simple VR game! I'll possibly have a go at rendering VR in Vulkan on the Pi 4 later in the dev process.

First though, I'm planning a simple 3D-on-the-family-telly virtual world.

User avatar
Gavinmc42
Posts: 7104
Joined: Wed Aug 28, 2013 3:31 am

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Nov 23, 2022 10:50 pm

Ah, yes, I saw that, and was feeling hopeful until I saw that the Pi isn't doing the rendering. Its GPU is a bit feeble for that I imagine.
I had a B+ as the Aframe Metaverse server using Ultibo as the OS/Webserver.
The Chromium browser on a Pi400 running Raspberry OS did the rendering faster than my Windows Dell PC with AMD GPU.

Vulkan in my simple testing is about twice as fast as OpenGL.
I tested with OpenSceneGraph verses VulkanSceneGraph.
Use that for VR rendering instead of Browser?

Not sure if any Browsers are Vulkan aware?
Not sure about Raspberry/Vulkan on current 5.15.x OS, it will probably be better with Linux Kernel 6+.
Need a newer Mesa version to bring in all the good stuff?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Thu Nov 24, 2022 11:37 am

Gavinmc42 wrote:
Wed Nov 23, 2022 10:50 pm
Ah, yes, I saw that, and was feeling hopeful until I saw that the Pi isn't doing the rendering. Its GPU is a bit feeble for that I imagine.
I had a B+ as the Aframe Metaverse server using Ultibo as the OS/Webserver.
The Chromium browser on a Pi400 running Raspberry OS did the rendering faster than my Windows Dell PC with AMD GPU.
Wow, really? That's good to know. Surprising, though.
Gavinmc42 wrote:
Wed Nov 23, 2022 10:50 pm

Vulkan in my simple testing is about twice as fast as OpenGL.
I tested with OpenSceneGraph verses VulkanSceneGraph.
There's a huge range of performance benefits you can get in Vulkan, but from what I've seen, twice speed is one of the lower figures! The control it gives you means it really depends on what you're doing.
Gavinmc42 wrote:
Wed Nov 23, 2022 10:50 pm

Use that for VR rendering instead of Browser?
Not sure if any Browsers are Vulkan aware?
The new WebGPU is supposed to support Vulkan in browsers, but it's new, so...

I'm not supporting browsers yet - I may try an Emscripten/WebGPU port later.

I'm probably going for Android NDK, so LineageOS on Pi.
Gavinmc42 wrote:
Wed Nov 23, 2022 10:50 pm

Not sure about Raspberry/Vulkan on current 5.15.x OS, it will probably be better with Linux Kernel 6+.
Need a newer Mesa version to bring in all the good stuff?
I don't know anything about the versions of OS/kernel/Mesa on Pi, but thanks for the tip for when I need to dig in.

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Fri Nov 25, 2022 1:51 pm

So this thread has been shoved back into "Gaming" and the original thread deleted, which I feel is hostile.

I'm not getting a good vibe from this community - not just the moderator hostility, but some of the flippant responses I've had.

So I'll stick to my Android app implementation, which will be of course be easier, given the feeble GPU on the Pi, and the sense of being beholden to closed proprietary interests in the Pi's technology.

I may look for other SBC communities that have more open and perhaps more powerful hardware, and which are more welcoming.

cleverca22
Posts: 6993
Joined: Sat Aug 18, 2012 2:33 pm

Re: I'm building a virtual world. Should I make it work on the Pi?

Fri Nov 25, 2022 1:58 pm

Duncan Cragg wrote:
Fri Nov 25, 2022 1:51 pm
So this thread has been shoved back into "Gaming" and the original thread deleted, which I feel is hostile.
this board has rules against duplicate threads
if you want something moved to another board, just report your own post and ask the mods to move it

ame
Posts: 6400
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: I'm building a virtual world. Should I make it work on the Pi?

Fri Dec 02, 2022 6:32 am

Duncan Cragg wrote:
Fri Nov 25, 2022 1:51 pm
So this thread has been shoved back into "Gaming" and the original thread deleted, which I feel is hostile.

I'm not getting a good vibe from this community - not just the moderator hostility, but some of the flippant responses I've had.

So I'll stick to my Android app implementation, which will be of course be easier, given the feeble GPU on the Pi, and the sense of being beholden to closed proprietary interests in the Pi's technology.

I may look for other SBC communities that have more open and perhaps more powerful hardware, and which are more welcoming.
Don't worry, you'll be able to get flippant responses from other forums too.
Hmm. What can I put here?

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Fri Dec 02, 2022 9:26 am

ame wrote:
Fri Dec 02, 2022 6:32 am
Duncan Cragg wrote:
Fri Nov 25, 2022 1:51 pm

I'm not getting a good vibe from this community - not just the moderator hostility, but some of the flippant responses I've had.

I may look for other SBC communities that have more open and perhaps more powerful hardware, and which are more welcoming.
Don't worry, you'll be able to get flippant responses from other forums too.
.
Actually, no, I've found that unique to this one so far. I've recently been given some really helpful feedback in a virtual world forum.

Duncan Cragg
Posts: 13
Joined: Thu Dec 08, 2016 10:08 pm
Location: London

Re: I'm building a virtual world. Should I make it work on the Pi?

Fri Dec 02, 2022 9:41 am

Angelina Howell wrote:
Fri Dec 02, 2022 4:47 am
a virtual world? it sounds great, can you tell me more about it, i want to see how it compares to other apk mod virtual worlds
Thanks! Glad to.

But I'm not sure what you mean by "apk mod" - could you kindly elaborate on that? I know I could Google it, but I'd rather get from you what you're interested in!

Here's a document describing the current ambition for the app:

https://github.com/DuncanCragg/OnexOS/b ... DME-App.md

I'm changing it all the time as a result of the great feedback I'm getting from other sources, so I'll let you know if you need to hit refresh!

sharase
Posts: 1
Joined: Tue Dec 06, 2022 4:11 am
Location: https://subwaysurf.io

Re: I'm building a virtual world. Should I make it work on the Pi?

Tue Dec 06, 2022 4:18 am

I support your opinion, I believe that in the future Pi will thrive

IveyHammer
Posts: 1
Joined: Wed Feb 01, 2023 3:55 am

Re: I'm building a virtual world. Should I make it work on the Pi?

Wed Feb 01, 2023 4:04 am

Can anyone tell me mod apk works on Pi? I really don't understand anything when reading a comment where you mention the word "mod apk". I only know the game mod apk versions that I currently play and download at techloky and a few other websites, but have never heard of the Pi with mod apk? Can you help me answer.

Return to “Gaming”