-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen brightness setting not honored (OS X 10.11) #173
Comments
This happens with or without automatic screen brightness turned on in the OS X Display settings |
Are you using a test build? If not, upgrade: http://ioquake3.org/get-it/test-builds/ |
I am, latest test build. |
I'm experiencing the same issue. I wrote about it here: http://community.ioquake.org/t/gamma-issue-on-mac/634 Some relevant details from my posts: If I happen to set my resolution to 1280x800 LOWDPI before running ioquake3 (which is only possible using a 3rd party app like QuickRes) then the problem does not occur. The problem does not occur with the opengl2 renderer. Updating SDL to the latest release (2.0.4) doesn't fix the problem. Strangest of all, calling SDL_SetWindowGammaRamp() with the table returned by SDL_GetWindowGammaRamp() corrects the brightness so it's not as though the gamma table is being changed somehow after vid_restart. |
A workaround is to set r_ignorehwgamma to 1 in the game console. You lose control over the brightness but on my system this gives a reasonable brightness level. It seems OS X maintains gamma tables for each currently open application and switches the graphics device gamma table each time you switch between applications. My conjecture is that the OS is switching to some other application's gamma table after ioquake3 performs the graphics mode change and this is what's causing the brightness to go down. |
I think this issue is affecting Linux. I'm running ArchLinux kernel Does the Screen Brightness GUI setting work or is there a cvar we should be changing? |
Try r_overbrightbits, r_mapoverbrightbits, and r_intensity instead of r_gamma. |
Thanks, setting r_overbrightbits to 0 apparently solved it (I had it at 1) |
I have the screen brightness slider all the way up and if I click it with the mouse, the brightness is correctly applied. However, if I close the game and reopen it, the slider is at the same position, but brightness dials down significantly. It only fixes itself if I click the slider knob again.
The text was updated successfully, but these errors were encountered: