Advertisement
Brightness on Ubuntu
#1
Posted 08 June 2016 - 06:03 PM
Hi, i am running ubuntu 16.04, i cant change the brigthness on the urbanterror settings, it doesn't happen nothing. I see other post saying that changing gamma settings would work, but on my case don't do nothing. I am running on the private nvidia drivers.
In addition, when i take a video using de video command, the video have the brighness correctly changed.
It is very annoying, becouse most of the maps you can't see enought things just a dark screen.
In addition, when i take a video using de video command, the video have the brighness correctly changed.
It is very annoying, becouse most of the maps you can't see enought things just a dark screen.
#2
Posted 09 June 2016 - 01:09 PM
.sh file for starting game.
Inside file:
Don't forget permission to run this file as program(right click-properties-permissions).
Inside file:
#!/bin/bash
xgamma -gamma 1.4
/home/username/UrbanTerror42/Quake3-UrT.x86_64
xgamma -gamma 1
Don't forget permission to run this file as program(right click-properties-permissions).
This post has been edited by Orbit: 09 June 2016 - 01:11 PM
#3
Posted 18 June 2016 - 04:57 PM
Orbit, on 09 June 2016 - 01:09 PM, said:
.sh file for starting game.
Inside file:
Don't forget permission to run this file as program(right click-properties-permissions).
Inside file:
#!/bin/bash
xgamma -gamma 1.4
/home/username/UrbanTerror42/Quake3-UrT.x86_64
xgamma -gamma 1
Don't forget permission to run this file as program(right click-properties-permissions).
nothing happend. The brighness is the same.
Advertisement
#7
Posted 21 June 2016 - 02:27 PM
Orbit, on 21 June 2016 - 08:06 AM, said:
If you execute .sh file in terminal, what it say?
I found this -> GAMMA: hardware w/ 0 overbright bits
that can mean that i can't change gamma from software?
Here probably the most important part: (full code)
----- R_Init -----
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 8: 1280 1024
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: GeForce GTX 960M/PCIe/SSE2
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 960M/PCIe/SSE2
GL_VERSION: 4.5.0 NVIDIA 361.42
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_ACTIVE_TEXTURES_ARB: 4
PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 8, 1280 x 1024 windowed hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 0
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
XF86VidModeSetGamma: 1.312, 1.312, 1.312.
Initializing Shaders
----- finished R_Init -----
This post has been edited by pedrxd: 21 June 2016 - 02:30 PM
#8
Posted 22 June 2016 - 12:51 PM
In your q3config r_ignorehwgamma is "0" ?
This line in log(XF86VidModeSetGamma: 1.312 1.312 1.312.) shows that r_gamma in q3config is lower
value but it should not make any difference, since xgamma in .sh file forces itself over.
Full log shows no issue.
Found bug descriptions in askubuntu how in some cases xgamma doesn't have any effect in ubuntu 16.04.
This line in log(XF86VidModeSetGamma: 1.312 1.312 1.312.) shows that r_gamma in q3config is lower
value but it should not make any difference, since xgamma in .sh file forces itself over.
Full log shows no issue.
Found bug descriptions in askubuntu how in some cases xgamma doesn't have any effect in ubuntu 16.04.