nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Color depth not respected in all games (http://www.nvnews.net/vbulletin/showthread.php?t=161075)

Ulukai 03-31-11 03:48 AM

Color depth not respected in all games
My desktop runs in 24-bit mode (highest setting in nvidia-config) but I noticed that in games like Red Eclipse and Sauerbraten (Cube2), my color depth is not respected. The color depth option in those games is set to 24 or 32-bit but it always looks like 16-bit is being used. Colors in textures looks crappy and also background of menus look like ****, they become pixelated. When I open the background image in an image viewer, it is displayed correctly, but as soon as I start the game, it looks like crap. Other games like Xonotic, Doom 3, Quake 4, ... don't have this issue.

64-bit Arch Linux fully updated ( kernel + Nvidia 270.30)
AMD Phenom II X4 955
Geforce GTX 470

Also previous versions of the driver had this problem. I tried with enabling or diabling certain options in xorg.conf, but without success. 2D engine runs fine on 24-bit depth, but the Cube2 engine powered games suffer from this weird phenomenon. Other game engines work correctly. I was thinking about a problem with SDL (because that's what Cube2 uses), but Xonotic-SDL is not affected.

Any more tips or could this be a bug? If you need screenshots or config files to clarify this issue, don't hesitate to ask me. Thanks for all help.

Ulukai 03-31-11 04:29 PM

Re: Color depth not respected in all games
I would like to add that on my laptop with an Intel card and the same software versions installed (Arch Linux fully updated) the game runs correctly in 32 or 24-bit mode. That's why I think it is a problem with the driver or a configuration.

Here is my xorg.conf, generated with nvidia-xconfig.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"

Section "Files"

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "True"
Option "RenderAccel" "True"
Option "TripleBuffer" "True"
Option "BackingStore" "True"
Option "DamageEvents" "True"
Option "OnDemandVBlankInterrupts" "True"
Option "Coolbits" "5"

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24

Any ideas?

Ulukai 04-05-11 02:31 AM

Re: Color depth not respected in all games
Any suggestions at all?

Licaon 04-06-11 02:03 AM

Re: Color depth not respected in all games
set and test with:

DefaultDepth 32
Depth 32
also, can you read http://www.nvnews.net/vbulletin/showthread.php?t=46678 and generate a good report with the debug ( -logverbose 6 ) info as instructed after the issue appears ?

All times are GMT -5. The time now is 09:02 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.