git master branch fails

Everything about development and the OpenMW source code.
Post Reply
swick
Posts: 96
Joined: 06 Aug 2011, 13:00

git master branch fails

Post by swick » 19 Aug 2011, 18:08

openmw (master branch) does not start. Neither with ./openmw

Code: Select all

Using global config file: openmw.cfg
Using user config file: /home/sebastian/.config/openmw/openmw.cfg
Using default (English) font encoding.

ERROR: OGRE EXCEPTION(2:InvalidParametersException): Option named Colour Depth does not exist. in GLXGLSupport::setConfigOption at /build/buildd/ogre-1.7.3/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp (line 302)
Speicherzugriffsfehler
nor with ./omwlauncher

Code: Select all

ERROR: OGRE EXCEPTION(2:InvalidParametersException): Option named Colour Depth does not exist. in GLXGLSupport::setConfigOption at /build/buildd/ogre-1.7.3/RenderSystems/GL/src/GLX/OgreGLXGLSupport.cpp (line 302)

User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: git master branch fails

Post by Zini » 19 Aug 2011, 18:15

Works here. Something funky with your cfg files maybe?

swick
Posts: 96
Joined: 06 Aug 2011, 13:00

Re: git master branch fails

Post by swick » 19 Aug 2011, 18:27

had to comment out
Colour Depth=32
and
VSync Interval=1
in ~/.config/openmw/ogre.cfg
the launcher set's them. should i report it as a bug?

User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: git master branch fails

Post by Zini » 19 Aug 2011, 18:32

More launcher problems :(

Yes, add an issue on the tracker please.

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: git master branch fails

Post by pvdk » 31 Aug 2011, 14:35

Zini can you assign this bug to me?

I can reproduce this bug as it fails for me too now. Strange because the Colour Depth setting didn't cause problems before. I found a thread on the Ogre forums about this issue, here. It seems that it only fails on Linux.

Shall I remove the Colour Depth and the VSync Interval lines? I think we'll do just fine without them.

User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: git master branch fails

Post by Zini » 31 Aug 2011, 15:06

Assigned.

Not so sure about the solution. These options are apparently valid on Windows, but not on Linux. Why are they even there on Linux? Shouldn't OGRE automatically generate an ogre.cfg file that is suitable for the platform it is running on?

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: git master branch fails

Post by pvdk » 31 Aug 2011, 15:22

I will look into OGRE's settings manager, I believe you can validate a set of options before it's written out. I might even replace the config write function, as it currently uses Qt, but might use OGRE instead.

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: git master branch fails

Post by pvdk » 01 Sep 2011, 04:57

Ok, I modified how the launcher writes the settings, but before we can close this bug I need someone to test it on Windows to make sure Direct3D works too. It works on Linux, at least over here :)

EDIT: You can find the changes in my branch over at GitHub.

palfonso01
Posts: 1
Joined: 22 Jul 2014, 18:39

Re: git master branch fails

Post by palfonso01 » 22 Jul 2014, 18:46

You just need delete the ogre.cfg and run again your executable. After that a window appears and select a render engine.

Post Reply