LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2009, 05:32 AM   #1
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Rep: Reputation: 15
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
 
Old 09-21-2009, 05:39 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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
 
Old 09-21-2009, 06:19 AM   #3
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
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
 
Old 09-21-2009, 06:20 AM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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?

Last edited by GrapefruiTgirl; 09-21-2009 at 06:23 AM.
 
Old 09-21-2009, 06:23 AM   #5
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
i'm using the binary which i downloaded from the site
 
Old 09-21-2009, 06:33 AM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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
 
Old 09-21-2009, 07:21 AM   #7
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
thanks for your trying
 
Old 09-21-2009, 08:55 PM   #8
FinalRebel
Member
 
Registered: Aug 2009
Posts: 31

Original Poster
Rep: Reputation: 15
i have played this games on windows and they worked fine
i think the problem with my linux n't my graphic device
 
Old 09-21-2009, 09:56 PM   #9
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 375

Rep: Reputation: 115Reputation: 115
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
 
Old 09-22-2009, 03:50 AM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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
 
Old 09-22-2009, 04:15 AM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
FYI the MESA package has been updated in Slackware-13.0 and Slackware64-13.0 and glxinfo came back, see for instance this Changelog
 
Old 09-22-2009, 05:14 AM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
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 :-)
 
Old 09-22-2009, 08:35 AM   #13
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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
 
Old 09-22-2009, 08:41 AM   #14
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

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

Adam
 
Old 09-22-2009, 08:51 AM   #15
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I Use 8 Bit Color Depth? taurusx5 Linux - Software 3 09-17-2008 02:21 AM
Current Color Depth ? Vilius Linux - Software 2 01-26-2006 02:38 PM
Color Depth, True Color, How to pacranch Amigo 2 04-09-2005 05:16 AM
Low color depth MadnessASAP Linux - Software 2 01-30-2005 04:03 PM
Issues with X color depth! Please Help!! jokerbw Linux - Laptop and Netbook 1 06-14-2004 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration