Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently upgraded my system to include a monitor and keyboard in addition to the glass teletype I have been using for donkey's years.
Now I have a 640x480 resolution. Not exactly stunningly high, I know, but it's the best my monitor copes with. But the problem is that I only seemed to be getting 256 colours, and I know that my monitor can do better. This must have to do with the configuration of X.
I don't fancy setting the whole thing up again (which is what the install scripts seem to do), but I want 65k colours. How do I do this? I looked in the "control centre" under the K menu, but saw nothing realted to the depth of colour.
Plus the "-bpp" switch only returns an error "couldn't get a file descriptor referring to the console".
Same as what happens when I try to start X on a text terminal.
EDIT: No it doesn't, it just does nothing.
Last edited by wilsonsamm; 03-08-2007 at 06:29 AM.
Here, you can see that I have two colour modes: 24 bit and 16 bit. As far as I know, 16 bit is 65000 colours, so what you need to do is edit xorg.conf (in /etc/X11) to reflect what depth you want (make a backup first: cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak). Then, you need to set your DefaultDepth to 16 and restart your X server (crtl-alt-backspace).
What graphics card are you using? Are you sure you've loaded the correct driver for it? Otherwise, if you could post the entire Screen section, maybe something will jump out at me...
Here's my full screen section from /etc/X11/xorg.conf:
Code:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"
# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.
# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32
# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)
Subsection "Display"
Depth 8
Modes "1024x768"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768"
EndSubsection
EndSection
I think I'm using the i810 driver.
How can I find out which gfx card I have? It's embedded onto the motherboard.
And a friend is giving me an nvidia graphics card soon. It has 32 "megs". I don't know much about the subject . . .
and then review the output (which has been redirected to a file called pci_info.txt) you should be able to find out what graphics card you have in your computer. There'll probably be a lot of information in that file, so you'll have to sift a bit!
There's a command in slackware (others?) called xorgconfig which asks you a series of questions about your graphics setup, some of which you'll know, some of which you will need to find out. Items you're likely to need to know are the horizontal and vertical refresh rates of you monitor. These should be available from the monitor manufacturer's website, although I find it easiest to use a live CD to determine the values (using its autogenerated xorg.conf as a template). This process should make you an xorg.conf with the parameters to make the 1024x768 resolution work. Please backup your current working xorg.conf before you do this!
Wow. The X server broke after trying to use xorgconfig to fix it and I was logged in through a serial connection trying to fix it.
Well, xorgconfig set my default driver to VGA which makes a screen at 320x200 at 8 bits' depth - even worse than before. So, I edited it, not really knowing what I was doing, but then all of a sudden - it worked again, AND at the proper resolution.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.