Installing OpenMW on a Raspberry Pi 2
- sandstranger
- Posts: 438
- Joined: 19 May 2014, 19:53
- Location: Oblivion
Re: Installing OpenMW on a Raspberry Pi 2
Why not just use etc1 for non alpha textures, and for alpha textures use rgba format?
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Installing OpenMW on a Raspberry Pi 2
Easier said than done. I tested this yesterday, OSG doesn't support ETC1 in their DDS plugin. I've opened a topic about it on the OSG forums yesterday, but it is still waiting for approval.sandstranger wrote:Why not just use etc1 for non alpha textures, and for alpha textures use rgba format?
The good news is that it is there already in their PVR plugin and Image calls, so I'll try my hand at adding it to the DDS plugin and send upstream.
However, something else we can do is use the KTX container instead of DDS. This is future-proof, however the problem here is that OpenMW still hardcodes some of it's assets and only looks for the one specific file, for example: tx_stars.dds
It doesn't matter if you have tx_stars.tga or whatever, OpenMW will currently not look for it which is a drag.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Installing OpenMW on a Raspberry Pi 2
Did some tests with the KTX container using ETC1 compression, using the night_sky.nif telling it to use the tx_stars.ktx instead of tx_stars.dds.
Good news is that it worked on nvidia binary blob. Bad news is that is seems to not work with intel gpu.
This is what I get from OpenMW (OSG) using Intel GPU::
Good news is that it worked on nvidia binary blob. Bad news is that is seems to not work with intel gpu.
This is what I get from OpenMW (OSG) using Intel GPU::
Warning: detected OpenGL error 'invalid enumerant' at after RenderBin::draw(..
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Installing OpenMW on a Raspberry Pi 2
I've converted the OpenMW-Template to uncompressed dds files, which thankfully hasn't made too much of an impact on overall file size. Uncompressed we're at 30MiB, but this is the bare minimal to get OpenMW up and running with something others can build on.
Now that all the warnings are gone, textures are loaded... we get about 7 FPS in exterior with the current VC4 driver on the RPi2.
I did get a crash when right clicking to pulling up inventory. I hope someone can have a look to see if it is OpenMW related, OSG, MyGUI or something VC4 related.
http://pastebin.com/8cKUk2VE
Now that all the warnings are gone, textures are loaded... we get about 7 FPS in exterior with the current VC4 driver on the RPi2.
I did get a crash when right clicking to pulling up inventory. I hope someone can have a look to see if it is OpenMW related, OSG, MyGUI or something VC4 related.
http://pastebin.com/8cKUk2VE
-
- Posts: 180
- Joined: 14 Jan 2013, 03:57
Re: Installing OpenMW on a Raspberry Pi 2
Wow! Nice work! I actually know how to set up a Raspbian PPA -- you build on your machine using qemu-user-static and just make your own repo. If you want to distribute, that can be a way.psi29a wrote:I've converted the OpenMW-Template to uncompressed dds files, which thankfully hasn't made too much of an impact on overall file size. Uncompressed we're at 30MiB, but this is the bare minimal to get OpenMW up and running with something others can build on.
About the crash - what OS/Distro/version are you using?
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Installing OpenMW on a Raspberry Pi 2
Using Raspbian, but with a VC4 overlay provided by a buildbot someone has kindly setup:
http://sukzessiv.net/~gohai/vc4-buildbot/build/
https://github.com/gohai/vc4-buildbot
No need for a PPA, this OpenMW-Template will be the default release so it should work on ALL platforms... including sandstranger's Android. He can finally feel free to make videos and screenshots of his work with 1) pink mess 2) Bethesda lawyers.
I'm going wrap up some stuff in the next few days, and make a new release.
http://sukzessiv.net/~gohai/vc4-buildbot/build/
https://github.com/gohai/vc4-buildbot
No need for a PPA, this OpenMW-Template will be the default release so it should work on ALL platforms... including sandstranger's Android. He can finally feel free to make videos and screenshots of his work with 1) pink mess 2) Bethesda lawyers.
I'm going wrap up some stuff in the next few days, and make a new release.
Re: Installing OpenMW on a Raspberry Pi 2
Great work man. This is awesome!
-
- Posts: 180
- Joined: 14 Jan 2013, 03:57
Re: Installing OpenMW on a Raspberry Pi 2
I meant an openmw PPA for Raspbianpsi29a wrote:No need for a PPA, this OpenMW-Template will be the default release so it should work on ALL platforms...
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Installing OpenMW on a Raspberry Pi 2
Ohhhhhh.... yes please.
Isn't the Debian armhf good enough, or do you mean more like nightlies?
Isn't the Debian armhf good enough, or do you mean more like nightlies?
-
- Posts: 180
- Joined: 14 Jan 2013, 03:57
Re: Installing OpenMW on a Raspberry Pi 2
Debian armhf is good enough for the raspberry pi 2, but that is different than raspbianpsi29a wrote:Ohhhhhh.... yes please.
Isn't the Debian armhf good enough, or do you mean more like nightlies?
Debian armhf:
http://sjoerd.luon.net/posts/2015/02/de ... e-on-rpi2/
you can't mix debian armhf and raspbian armhf. but you're right, just tell people to use the debian (instead of raspbian) one since it's already set up.