LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   color depth (https://www.linuxquestions.org/questions/slackware-14/color-depth-756726/)

FinalRebel 09-21-2009 05:32 AM

color depth
 
hi
i have a question
why my color depth = 24
although in windows it was always 32
actually this a big problem for me my games are running slowly on linux
they need 32 bit
how can i change it

GrapefruiTgirl 09-21-2009 05:39 AM

Generally speaking, for all intents and purposes, on Linux, 24bpp color depth IS what you want (Win 32bpp = Lin 24bpp) -- that's "true color", > 16.7 million colors. Changing your X configuration to 32bpp will not gain you anything, if it even works without error. Plus, if it DID work, it would likely make these games run even more slowly than they do now.

See here for a brief article about color depth: http://en.wikipedia.org/wiki/Color_depth

More likely to address the slow-games issue will be something particular to your graphics hardware and/or driver being used.

If you could give us some more details about what OS you're running, what video hardware, & CPU you have, which driver you're using, and what games you're referring to, then someone might be able to provide some better detail about what steps you should take to try to improve performance.

Cheers!
Sasha

FinalRebel 09-21-2009 06:19 AM

thanks alot
my information:
OS : slackware 13.0
video hardware : compatible controller nVidia Corporation C73 [GeForce 7050 / nForce 610i]
CPU : Intel Core 2 Duo 2.2 GH
all Games are slow

GrapefruiTgirl 09-21-2009 06:20 AM

OK, and which driver do you use? Are you using the nvidia binary from http://www.nvidia.com/object/unix.html or are you using the open source 'nv' driver?

Or for that matter, maybe you're using the Mesa-3D situation?

FinalRebel 09-21-2009 06:23 AM

i'm using the binary which i downloaded from the site

GrapefruiTgirl 09-21-2009 06:33 AM

Hmm.. Unfortunately, much of what I see around the internet after doing a few searches, is that your problem is a common one with that video device.

I don't have a solution to offer at this time, but don't give up yet -- hopefully someone else will stop in here with some ideas you might try. Meanwhile, check out nvidia's "nvnews" Linux forum and see if there's any info there about this.

Sasha

FinalRebel 09-21-2009 07:21 AM

thanks for your trying

FinalRebel 09-21-2009 08:55 PM

i have played this games on windows and they worked fine
i think the problem with my linux n't my graphic device

speck 09-21-2009 09:56 PM

Are you playing the native Linux version of the games or are you playing the games using Wine? Also, what is the output when you run the following command:

Code:

glxinfo | grep rendering

adamk75 09-22-2009 03:50 AM

Actually, you really want to see the output of 'glxinfo | grep -i render'. You need to check the OpenGL renderer string as well as the direct rendering status since it is quite possible to have direct rendering with the software renderer.

Unfortunately, the version of glxinfo that comes with Slackware 13 is not actually glxinfo and will not provide all the information we would normally see, either:

http://www.linuxquestions.org/questi...lxinfo-756274/

Adam

Didier Spaier 09-22-2009 04:15 AM

FYI the MESA package has been updated in Slackware-13.0 and Slackware64-13.0 and glxinfo came back, see for instance this Changelog

adamk75 09-22-2009 05:14 AM

Right, the thread I linked to mentions that as well. Unless the OP has installed the updated Mesa package, though, glxinfo still won't give out the right information :-)

GrapefruiTgirl 09-22-2009 08:35 AM

But using the 'nvidia' binary driver, Mesa should be out of the picture entirely, shouldn't it? Assuming you're using an xorg.conf file to explicitly tell X to use the nvidia binary; otherwise, yes, you may still be using Mesa, and a performance hit would be expected.

And as implied above, if you updated any X packages recently, try re-installing the nvidia driver.

Sasha

adamk75 09-22-2009 08:41 AM

The only reason we're even mentioning Mesa, in the context of this thread, is because that's the package that provides 'glxinfo' :-)

Adam

H_TeXMeX_H 09-22-2009 08:51 AM

Really there is no such thing as 32-bit color on regular desktop computers, it's actually 24 bits of color plus 8 bits of alpha or other channel. All channels are 8 bits wide (1 byte), so 8 bits of red, 8 bits of green, 8 bits of blue, and 8 bits of alpha (transparency). For example take a look at the html notation for colors it is #RRGGBB, see here for more:

http://en.wikipedia.org/wiki/Html_color
http://en.wikipedia.org/wiki/RGB_col...epresentations


All times are GMT -5. The time now is 05:38 PM.