Page 1 of 1

git master branch fails

Posted: 19 Aug 2011, 18:08
by swick
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)

Re: git master branch fails

Posted: 19 Aug 2011, 18:15
by Zini
Works here. Something funky with your cfg files maybe?

Re: git master branch fails

Posted: 19 Aug 2011, 18:27
by swick
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?

Re: git master branch fails

Posted: 19 Aug 2011, 18:32
by Zini
More launcher problems :(

Yes, add an issue on the tracker please.

Re: git master branch fails

Posted: 31 Aug 2011, 14:35
by pvdk
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.

Re: git master branch fails

Posted: 31 Aug 2011, 15:06
by Zini
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?

Re: git master branch fails

Posted: 31 Aug 2011, 15:22
by pvdk
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.

Re: git master branch fails

Posted: 01 Sep 2011, 04:57
by pvdk
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.

Re: git master branch fails

Posted: 22 Jul 2014, 18:46
by palfonso01
You just need delete the ogre.cfg and run again your executable. After that a window appears and select a render engine.