Urban Terror Forums: Brightness not changing - Urban Terror Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Brightness not changing Rate Topic: -----

The screen brightness is not changing.

#1 User is offline   nev (old) Icon

  • Passport: nev_old
  • Joined: 11-December 09
  • Posts: 1

Posted 11 December 2009 - 04:15 AM

Hi,

I recently installed Ubuntu 9.10 on my computer and got Urban Terror running almost fine. One big problem that I have is the default setting for the screen brightness is really low for me. And when I try to change it, the changes do not take affect.

I have tried running Urban Terror as root and it didnt work then either. Any suggestions?

Also I would like it so that the game starts in the same spot every time I start it. I play the game windowed, and in Windows XP whenever I start the game it always starts windowed in the center of the screen, but in ubuntu now the game starts windowed but in a corner. Any suggestions on this problem?

Thanks,

nev

p.s. When I run my windows verson of Urban Terror through a emulator, the brightness is set higher and it runs windowed in the center of the screen, like it does in Windows XP.

#2 User is offline   Natirips (old) Icon

  • Passport: natirips_old
  • Joined: 31-December 09
  • Posts: 2
  • LocationSolar System/~Zagreb

Posted 31 December 2009 - 01:22 PM

I had the "same" problem with NVIDIA GeForce 8400M G on Ubuntu 9.04 (and 8.04 too). I sometimes couldn't tell red and blue players apart because they were too dark and I often accidentally fired at teammates. Especially in Casa and Riyadh.

The problem was:

Brightness is applied just fine in fullscreen, but I don't like using fullscreen because I either have to make the game transparent rendering it unplayable or I can't see other open windows.

But when I play in window, the game uses lowest brightness and is oblivious of /r_gamma and/or the brightness setting. I tried ALT+TABbing out of the game and setting gamma manually in NVIDIA X Server Settings, but the moment I switch back to game, gamma goes back to default (slider moves on it's own).

The solution (silly me:):

I noticed I had to confirm the gamma change in NVIDIA X Server Settings (a new button secretly appears near the bottom-right corner of the window).
sudo make breakfast;
ssh natirips@* sudo chown natirips /
~Natirips~
Ya

#3 User is offline   Maththias (old) Icon

Posted 11 January 2010 - 07:55 PM

Same here, with Debian Sid i386 on intel i945... And no way to solve this. Someone see the problem here?

ioQ3 1.35urt linux-i386 Dec 20 2007
----- FS_Startup -----
Going through search path...

----------------------
34051 files in pk3 files
execing default.cfg
execing q3config.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
QKEY found.
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1:
Calling SDL_Init(SDL_INIT_VIDEO)...
SDL_Init(SDL_INIT_VIDEO) passed.
Initializing OpenGL display
...setting mode 4: 800 600
Using 4/4/4 Color bits, 24 depth, 0 stencil display.
GL_RENDERER: Mesa DRI Intel(R) 945GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
Initializing OpenGL extensions
...GL_S3_s3tc not found
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
...ignoring GL_EXT_texture_filter_anisotropic

GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 945GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
GL_VERSION: 1.4 Mesa 7.6.1
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 8

PIXELFORMAT: color(32-bits) Z(24-bit) stencil(0-bits)
MODE: 4, 800 x 600 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU: 
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
----- finished R_Init -----
------ Initializing Sound ------
Initializing SDL audio driver...
SDL audio driver is "pulse".
SDL_AudioSpec:
  Format:   AUDIO_S16LSB
  Freq:     22050
  Samples:  1024
  Channels: 2
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
    1 stereo
32768 samples
   16 samplebits
    1 submission_chunk
22050 speed
0xab15180 dma buffer
No background file.
----------------------
Sound initialization successful.
--------------------------------
Sound memory manager started
Loading vm file vm/ui.qvm...
VM file ui compiled to 737597 bytes of code
ui loaded in 33931488 bytes on the hunk
UI menu load time = 771 milli seconds
UI menu load time = 479 milli seconds
16 bots parsed
13 crosshairs parsed
--- Common Initialization Complete ---
Opening IP socket: localhost:XXX
Hostname: XXX
IP: XXX
Started tty console (use +set ttycon 0 to disable)


Full screen or 800x600 screen don't change anything. Maybe the new xorg (7.5) has changed something in the configuration? Or intel driver 2.9.1 has this bug?
Bah...

#EDIT:

I try to compile

GL_RENDERER: Mesa DRI Intel(R) 945GM GEM 20091221 DEVELOPMENT x86/MMX/SSE2
GL_VERSION: 1.4 Mesa 7.8-devel


libdrm 2.4.17, intel driver 2.10 from git, but still nothing...

This post has been edited by Maththias: 11 January 2010 - 09:10 PM


#4 User is offline   Maththias (old) Icon

Posted 08 February 2010 - 01:55 PM

Ok I've solved by type

$ xgamma -gamma 1.6


before launching urbanterror.

This post has been edited by Maththias: 08 February 2010 - 01:55 PM


#5 User is offline   Scan (old) Icon

  • Passport: Scan_old
  • Joined: 24-March 08
  • Posts: 13

Posted 12 February 2010 - 07:40 AM

Not sure if it will help but we used to use
/r_ignorehwgamma 1
then set your
/r_gamma
I haven't tried it since quake 2/3 days using voodoo 2 cards.

#6 User is online   mitsubishi Icon

  • newbie player
  • Passport: mitsubishi
  • Joined: 28-February 10
  • Posts: 9,412

Posted 12 February 2010 - 01:34 PM

that may also produce the same error (the thread tries to avoid) on other hardware so if you change hwgamma and doesn't fix it return it back.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users