LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   HOW to make low resolution in Debian?! (http://www.linuxquestions.org/questions/linux-distributions-5/how-to-make-low-resolution-in-debian-40391/)

Bogdan 01-05-2003 03:18 PM

HOW to make low resolution in Debian?!
 
I have Debain Woody r3 with XFree 4.1. Here is three questions:
1) I find no place where I have to put my modelines. Maybe you find?
2) When I'm using dpkg-reconfigure xserver-xfree86, I can select 640x480, it it doesn't work! Even if I select only 640x480, so I get 1152x864. 1152x864 is maximal possible on my S3 Virge card with 2 Mb RAM on 16 bit color deep. Any other resolution higher then 640x480 works well.
3) Does it possible to get non-standart resolution such as 400x300 in XFree?

Thanks

aliensub 01-05-2003 06:12 PM

Edit your /etc/X11/XF86Config and look for these lines:

Section "Screen"
Identifier "Screen 1"
Device "tnt2"
Monitor "AOC"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "640x480" "800x600" "1024x768" "1280x1024"
ViewPort 0 0
EndSubsection
EndSection

The important is the default depth, and the section for 16, i have made this for you.
You can see the other modes have different values, and Xfree will always try to start with the highest resolution, and if that doesn't work, it will try to use the others.

Donald1000 01-06-2003 07:12 AM

you are running XFree 4.1 - look into the file /etc/X11/XF86Config-4 for the settings posted from aliensub.

Bogdan 01-07-2003 04:17 AM

Quote:

Originally posted by aliensub
Edit your /etc/X11/XF86Config and look for these lines:
Subsection "Display"
Depth 16
Modes "640x480"
ViewPort 0 0
EndSubsection

The important is the default depth, and the section for 16, i have made this for you.
You can see the other modes have different values, and Xfree will always try to start with the highest resolution, and if that doesn't work, it will try to use the others.

Thanx. I found this way myself, but, as I wrote before, in this case X start in 1152x864 - even if this resolution described nowhere.

Bogdan 01-07-2003 04:42 PM

I know my bug. I set very high minimal HorizSync - 50. 640x480 can't be displayed in this conditions. Setting HorizSync 30-120 give me a solution.


All times are GMT -5. The time now is 04:50 AM.