Video

Collins Richey crichey
Sat Sep 29 13:15:56 PDT 2007


On 9/28/07, Rick Sivernell <res005ru at verizon.net> wrote:
>
> > On Fri, 2007-09-28 at 08:49 -0500, Rick Sivernell wrote:
> > > All
> > >
> > > I have forgotten the command line program to set the
> > > screen resolution in Fedora 7. Would some one kindly
> > > nudge my mind in the roper direction.
> > >

> > That's what my FC7 Launcher Properties 's command has for the icon Screen Resolution.
> >

> Ok, I guess I need to mention that I have ati card built into my laptop.
> On start up it appears to be out of sync or wrong freq. set. What I need to
> do is re setup the video card from run level 3.
> --

OK, there are two situations at work here.

1. at startup the framebuffer resolutions are controlled by extra
kernel parameters 'VGA=hexcode' (google for these). The frequency
(correct me if I am wrong) does not come into play here.

Sample grub kernel line
kernel  /boot/<kernelname> root=<root partition> ro quiet vga=791

2. The resolutions and the frequencies for X are controlled by xorg.conf

Sample excerpt


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "VSC"
    ModelName      "VSC111e"
#### here are the frequncies
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 85.0
    Option         "DPMS" "true"
# optional ModeLine .... here
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "IgnoreDisplayDevices" "TV"
    Option         "Coolbits" "1"
    Option         "RandRRotation" "1"
    Option         "AddARGBGLXVisuals" "1"
    Option         "TripleBuffer" "0"
    Option         "DynamicTwinView" "1"
### here are the resolutions
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

HTH,

-- 
Collins Richey
     If you fill your heart with regrets of yesterday and the worries
     of tomorrow, you have no today to be thankful for.


More information about the Linux-users mailing list