Choosing between ogre and opengl on Gentoo
Choosing between ogre and opengl on Gentoo
When installing openMW on gentoo it gives you choice between compiling openMW with ogre or opengl. Which one should I choose? I have a amd RX 580 graphics card.
- AnyOldName3
- Posts: 2674
- Joined: 26 Nov 2015, 03:25
Re: Choosing between ogre and opengl on Gentoo
You're maybe using a very weird package for OpenMW. We haven't used OGRE for nearly five years. One of our dependencies, MyGUI can be built in such a way that it'll work with OGRE and another way that just uses OpenGL, and I think we can still consume either (although you'll need to build OGRE, too, if you use the OGRE version), but that's not OpenMW itself.
Re: Choosing between ogre and opengl on Gentoo
Well Gentoo is very different from most linux distributions as it is a source based. Meaning everything is compiled from source. So the package manager will pull in the required packages(opengl or orge) based on certain flags you set.
Thanks for the info, I will just use the opengl flag then.
Thanks for the info, I will just use the opengl flag then.
- AnyOldName3
- Posts: 2674
- Joined: 26 Nov 2015, 03:25
Re: Choosing between ogre and opengl on Gentoo
The package maintainer should still be setting the flags up for you, though. They don't make you tell a package where the headers for its dependencies are.
Re: Choosing between ogre and opengl on Gentoo
The openmw 0.45 ebuild for gentoo[1] only mentions openscenegraph .
ebuild for mygui 3.2.2 & 3.4.0 [2] do indeed seem to allow choosing between ogre and opengl .
[1] https://gitweb.gentoo.org/repo/gentoo.g ... 5.0.ebuild
[2]
https://gitweb.gentoo.org/repo/gentoo.g ... 2.2.ebuild
https://gitweb.gentoo.org/repo/gentoo.g ... 4.0.ebuild
ebuild for mygui 3.2.2 & 3.4.0 [2] do indeed seem to allow choosing between ogre and opengl .
[1] https://gitweb.gentoo.org/repo/gentoo.g ... 5.0.ebuild
[2]
https://gitweb.gentoo.org/repo/gentoo.g ... 2.2.ebuild
https://gitweb.gentoo.org/repo/gentoo.g ... 4.0.ebuild
Re: Choosing between ogre and opengl on Gentoo
When emerging openMW, I get the following:
It's an easy fix, but I just didn't know which use flag to pick.
Code: Select all
emerge openmw
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! The ebuild selected to satisfy "dev-games/mygui" has unmet requirements.
- dev-games/mygui-3.2.2::gentoo USE="ogre opengl -debug -doc -plugins -samples -static-libs -test -tools" ABI_X86="(64)" L10N="-ru"
The following REQUIRED_USE flag constraints are unsatisfied:
ogre? ( !opengl ) opengl? ( !ogre )
(dependency required by "games-engines/openmw-0.45.0::gentoo" [ebuild])
(dependency required by "openmw" [argument])
Re: Choosing between ogre and opengl on Gentoo
Also speaking of OpenSceneGraph, should we be using the openMW fork at https://github.com/OpenMW/osg?
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: Choosing between ogre and opengl on Gentoo
It shouldn't be used downstream, as it is specific to OpenMW and would not work well with other things that rely on OSG like Flightgear.
If you want to use it for yourself though, go ahead.
If you want to use it for yourself though, go ahead.