Re: monitor size and resolution problem


Subject: Re: monitor size and resolution problem
From: Avinash Gupta (agupta@mediaone.net)
Date: Wed Dec 19 2001 - 10:24:38 MST


Try running fbset at the console, you should get some output like (the output
below is for an Apple Studio Display 17" at 1024x768):

mode "1024x768-98"
    # D: 112.625 MHz, H: 79.538 kHz, V: 98.438 Hz
    geometry 1024 768 1024 768 32
    timings 8879 171 45 28 0 176 12
    hsync high
    vsync high
    rgba 8/16,8/8,8/0,8/24
endmode

The "mode" above is the important line. To set a particular mode, you can try:

fbset 1024x768-98

i.e. 1024x768 at 98Hz

What monitor and video card do you have? Some monitors only support fixed
refresh rates at certain resolutions.

Regarding setting 96 DPI, it depends on if you boot into graphical mode at
login or you use 'startx' to go into graphical mode.

If you use the former, you will have to modify the
/usr/X11R6/lib/X11/xdm/Xservers (for xdm ... I am not sure what the
corresponding files are for kdm or gdm) file to look something like:

:0 local /usr/X11R6/bin/X -dpi 96

If you use the latter, you will need to modify the /usr/bin/X11/startx file
and modify the 'xinit' line to look something like:

xinit $clientargs -- $serverargs -dpi 96

-- Avinash Gupta (agupta@mediaone.net)

On Wednesday 19 December 2001 11:47, you wrote:
> /var/log/XFree86.0.log indicates that the screen has been set to 75
> x 75 DPI. i need this to be 96 DPI. where can i edit this? it is
> not in the XF86Config file.
>
> also, if i try to
>
> fbset -g 1280 1024 1280 1024 16
>
> then the monitor no longer gets signal, like it is a video card
> issue. if the monitor does not support the output resolution, it
> will go black with a floating message: unsupported resolution. the
> ATI128 worked well under YDL2.0 at 1280x1024, so i am not sure why i
> can not fbset 1280x1024.
>
> i have tried to run dexter.py to put in a new monitor config. the H
> and V refresh rates are saved to XF86Config-4, the output shows a Gtk
> error, and the monitor setting does not change.
>
> also, the only choices the system has for modes are all 1280x1024.
> in fact, it is displaying 1280x1024, but at 75 DPI, so that what i
> see on the screen is more like 1024x768, with the rest off the
> display. i can "scroll" to the undisplayed part, but is not really
> usable in this way.
>
> >You need to:
> >
> >1) start from the console, use fbset to set the mode you want
> >2) run Xautoconfig4 to create a new /etc/X11/XF86Config-4. Try
> >starting X, it may work
> >
> >... if it doesn't
> >
> >3) edit XF86Config-4 and look for the bit starting: Section "Modes"
> > Remove all the modeline entries except the one that is not a
> >"standard" Apple mode
> > and was generated by Xautoconfig (ie probably the last one)
> >4) Look for the section of XF86config-4 starting: Section "Screen"
> > Edit the following lines as shown:
> >
> > SubSection "Display"
> > Depth 8
> > Modes "1280x1024"
> > EndSubSection
> > SubSection "Display"
> > Depth 16
> > Modes "1280x1024"
> > EndSubSection
> > SubSection "Display"
> > Depth 24
> > Modes "1280x1024"
> > EndSubSection
> >
> > This should stop X from choosing anything other than 1280x1024.
> >
> >If it fails, look at the output of /var/log/XFree86.0.log to see
> >what's happening.
> >
> > Iain



This archive was generated by hypermail 2a24 : Wed Dec 19 2001 - 10:37:25 MST