LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2004, 09:17 AM   #1
xhliu
LQ Newbie
 
Registered: Jul 2004
Posts: 19

Rep: Reputation: 0
Switch Color Depth of the Video Card


How can I switch the color depth of my video card without reboot the machine. For I have an application which can only run properly under 16bit color depth but my video card is configured to 24bit color. What should I do?
 
Old 07-10-2004, 09:52 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,405

Rep: Reputation: 244Reputation: 244Reputation: 244
In GNOME and KDE you probably have a graphical tool for it.
You could also edit you X config file.
In the "Display" section, place a # in front of the subsections that include Depth 32 and Depth 24

Last edited by jens; 07-10-2004 at 09:54 AM.
 
Old 07-11-2004, 12:15 AM   #3
xhliu
LQ Newbie
 
Registered: Jul 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks. I have seen others use a command like "startx -- :1 -depth 16 -xf86config XF86Config-4.16bpp" to change their color depth and switch to the 24bit color by press the Ctrl-Alt-F7. Their system is redhat 7.3 and mine is redhat 9.0. Do you know how they can do that? Can I use this method and how?
 
Old 07-11-2004, 12:52 AM   #4
idaho
Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: RedHat, Libranet
Posts: 438

Rep: Reputation: 30
What you have observed is someone starting a second X session with a customized configuration file (specified with the -xf86config XF86Config-4.16bpp argument) to run at 16bpp. They are able to then switch back to their original (24bpp) X session with the Ctrl-Alt-F7 keystroke sequence.

They can switch to the 16bpp session with a Ctrl-Alt-F8 keystroke sequence, similarly to the way they switched to the non-X terminal session they used to invoke the second X session with a Ctrl-Alt-F1 keystroke sequence.

Look at the startx man page for more details.
 
Old 07-11-2004, 04:00 AM   #5
xhliu
LQ Newbie
 
Registered: Jul 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Thank you very much for your explain!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Color Depth, True Color, How to pacranch Amigo 2 04-09-2005 06:16 AM
Low color depth MadnessASAP Linux - Software 2 01-30-2005 05:03 PM
Switch Color Depth of the Video Card xhliu Linux - General 1 07-10-2004 09:19 AM
Issues with X color depth! Please Help!! jokerbw Linux - Laptop and Netbook 1 06-14-2004 08:53 AM
video color depth problems with Radeon 7500 LE linuxnut2003 Linux - Newbie 5 12-04-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration