Author Topic: Small problem with OpenGL  (Read 1483 times)

0 Members and 1 Guest are viewing this topic.

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Small problem with OpenGL
Well, this kinda special.

OpenGL works great, but there is one small thing that is really getting on my nerves.

When I play in D3D and exit the game everything is fine, but when I do the same in OpenGL, my color profile (ICC) gets lost, and I can't work on graphics anymore until I restart the PC.

I don't want you to waste time on this special cases, but if there is an easy way to fix it, OpenGL would be perfect for me. ;)
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Small problem with OpenGL
Uhh, ok that's a really strange one.  Few questions coming up so get ready...

I'm not sure if you use windowed or fullscreen modes but do you lose the profile in both?

Is your gamma slider set to something other than 1.0?

Does using -no_set_gamma make a difference?

Are you using a special refresh rate for OGL (the OGL_RefreshRate reg setting in newer builds, or some 3rd party utility)?

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Small problem with OpenGL
The slider was on 1.0.

I'm always playing on fullscreen.

"-no_set_gamma" fixed it. :)

From now on I'll use OpenGL for a while ;)
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Small problem with OpenGL
Well, I've to take back what I just posted. (partly)

It fixed my problem, but FS2 is too bright now and I can't do nothing about that... :(
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Small problem with OpenGL
I'm cooking up a code fix now.  It should save your original settings when you first start the game and then restore them when it exits.  This way you can still have access to the gamma settings in the game without messing up your desktop color profile.  Theoretically anyway, I don't have a way to test it for sure at the moment.  I did intend to do this before but I guess I got busy with other things and forgot to come back to it.

I'm updating the build at the previous link with the fix (and the 2d sockwave memory fix) right now.  If it doesn't work let me know.  Actually, let me know either way since I don't want to commit this until someone can verify that it does good things.

 

Offline DaBrain

  • Screensniper
  • 212
    • Shadows of Lylat board
Small problem with OpenGL
The switch-back works perfect.

I'll run some in-game tests now.


Edit: No problems at all. I'll report as soon that changes.

I doubt I'll find any bugs though. :yes:
« Last Edit: August 07, 2005, 01:19:11 pm by 1688 »
--------------------------------------------------
SoL is looking for a sound effect artist
Please PM me in case you want to apply
---------------------------------
Shadows of Lylat - A Freespace 2 total conversion
(hosted by Game-Warden)
----------------------------------