Changing the colour depth in X
I finally got my SiS running on X, but it runs only at 8-bit colour. I tried deleting the 8-bit section in XF86Config, but I get an error saying 'default 8 bit <section or something> not found'. How can I make X run in 16/24 bit mode?
Edited by - abe_bcs on 12/18/00 9:46:08 AM
/ // / |< <-
Here is my first Screen section in /etc/X11/XF86Config:
Section "Screen"
Driver "svga"
# Use Device "Generic VGA" for Standard VGA 320x200x256
#Device "Generic VGA"
Device "Mystique"
Monitor "My Monitor"
Subsection "Display"
Depth 16
Visual "TrueColor"
Modes "1024x768" "640x480" "800x600" "1152x864" "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Note that my video card is a Matrox Mystique.
If you want 32 bits just change the Depth value to 32.
When you do that, you may need to get a calculator
and make sure the Modes are sizes that yer video card
can handle.
Section "Screen"
Driver "svga"
# Use Device "Generic VGA" for Standard VGA 320x200x256
#Device "Generic VGA"
Device "Mystique"
Monitor "My Monitor"
Subsection "Display"
Depth 16
Visual "TrueColor"
Modes "1024x768" "640x480" "800x600" "1152x864" "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
Note that my video card is a Matrox Mystique.
If you want 32 bits just change the Depth value to 32.
When you do that, you may need to get a calculator
and make sure the Modes are sizes that yer video card
can handle.
Tara Milana - WP Entertainmenthttp://wolfpack.twu.net/Comp graphics artist and programmer.
Actually, i think there''s a DefaultDepth line you want to change somewhere. It sounds like it''s set to 8 right now.
I''d give you examples, but i''m running 4.0.1, which is different. Do a man XF86Config and look for Default.
Also helpful if you want to have several options in your file, but want to default to one depth.
-ben.c
I''d give you examples, but i''m running 4.0.1, which is different. Do a man XF86Config and look for Default.
Also helpful if you want to have several options in your file, but want to default to one depth.
-ben.c
While we''re at it - how do you get "exotic" resolutions to work properly? I *love* 1280x960 as that keeps the 4:3 aspect ration, gives me 85Hz and nice text sizes. Under Winblowz that is. Linux makes the refresh rate go weird under that resolution and I get "running" lines. (i.e. a straight edge goes all wobbly and moves)
I don''t like 1280x1024 because it makes circles go elliptical and generally "doesn''t look right"
Any idea how I can force horizontal+vertical refresh rate at a resoltion? It''s trying to run it at 85kHz and 85Hz respectively... obviously, that''s not right
Thanks
- JQ
"It''s christmas time/again/it''s time to be nice to the people you can''t stand/all year/I''m growing tired of all this christmas cheer" -Blink 182, I Won''t Be Home For Christmas
I don''t like 1280x1024 because it makes circles go elliptical and generally "doesn''t look right"
Any idea how I can force horizontal+vertical refresh rate at a resoltion? It''s trying to run it at 85kHz and 85Hz respectively... obviously, that''s not right
Thanks
- JQ
"It''s christmas time/again/it''s time to be nice to the people you can''t stand/all year/I''m growing tired of all this christmas cheer" -Blink 182, I Won''t Be Home For Christmas
~phil
The automatica X config tools don''t set up a default bpp, so you need to add a line like this to the appropriate "Screen" seciont of your XF86Config:
DefaultDepth 16
After careful deliberation, I have come to the conclusion that Nazrix is not cool. I am sorry for any inconvienience my previous mistake may have caused. We now return you to the original programming
DefaultDepth 16
After careful deliberation, I have come to the conclusion that Nazrix is not cool. I am sorry for any inconvienience my previous mistake may have caused. We now return you to the original programming
After careful deliberation, I have come to the conclusion that Nazrix is not cool. I am sorry for any inconvienience my previous mistake may have caused. We now return you to the original programming
JohnnyQuest,
X seems to select the highest refresh rate allowed by the config file. What you''re seeing is probably too high a rate for your monitor. Try selecting the next less capable monitor in XF86Setup or whatever you use.
abe_bcs,
I had the same problem with my Trident 9440. What I had to do was give the parameter med_dram to increase the pixel-clock rate. Higher bpp requires higher memory clocks.
X seems to select the highest refresh rate allowed by the config file. What you''re seeing is probably too high a rate for your monitor. Try selecting the next less capable monitor in XF86Setup or whatever you use.
abe_bcs,
I had the same problem with my Trident 9440. What I had to do was give the parameter med_dram to increase the pixel-clock rate. Higher bpp requires higher memory clocks.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement