Choosing between ogre and opengl on Gentoo

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
drift211
Posts: 4
Joined: 14 May 2020, 23:32

Choosing between ogre and opengl on Gentoo

Post by drift211 »

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.
User avatar
AnyOldName3
Posts: 2674
Joined: 26 Nov 2015, 03:25

Re: Choosing between ogre and opengl on Gentoo

Post by AnyOldName3 »

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.
drift211
Posts: 4
Joined: 14 May 2020, 23:32

Re: Choosing between ogre and opengl on Gentoo

Post by drift211 »

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.
User avatar
AnyOldName3
Posts: 2674
Joined: 26 Nov 2015, 03:25

Re: Choosing between ogre and opengl on Gentoo

Post by AnyOldName3 »

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.
LoneWolf
Posts: 138
Joined: 26 Sep 2017, 19:13

Re: Choosing between ogre and opengl on Gentoo

Post by LoneWolf »

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
drift211
Posts: 4
Joined: 14 May 2020, 23:32

Re: Choosing between ogre and opengl on Gentoo

Post by drift211 »

When emerging openMW, I get the following:

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])
It's an easy fix, but I just didn't know which use flag to pick.
drift211
Posts: 4
Joined: 14 May 2020, 23:32

Re: Choosing between ogre and opengl on Gentoo

Post by drift211 »

Also speaking of OpenSceneGraph, should we be using the openMW fork at https://github.com/OpenMW/osg?
User avatar
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

Post by psi29a »

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.
Post Reply