Why does Xorg choose this resolution?

Chris G cl at isbd.net
Tue Oct 14 08:45:55 UTC 2008


On Mon, Oct 13, 2008 at 03:42:28PM -0600, Charlie Kravetz wrote:
> On Mon, 13 Oct 2008 21:36:21 +0100
> Chris G <cl at isbd.net> wrote:
> 
> > I have been trying to understand why Xorg chooses an odd resolution
> > (1152x864) on my system rather than the monitor's native 1600x1200.
> > 
> > Well I can see *where* it does it, here is the relevant section of my
> > Xorg.0.log file:-
> > 
[snip contents of Xorg.0.log]
> > 
> > How do I tell the system to default to 1600x1200?
> > 
> > -- 
> > Chris Green
> > 
> 
> There should be another line labeled Modes, the first resolution in
> that line is the system resolution used. For example:
> Section "Screen"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Depth		24
> 		Virtual 1920	1200
> 		Modes		"1280x1024" "1280x960" "1152x864"
> "1024x768" "832x624" "800x600" "720x400
> 
> This makes 1280x1024 the default resolution.
> 
Not any more, that's the whole prolem!!

The *whole* of my xorg.conf file as generate by Ubuntu 8.10
installation is:-

    Section "Device"
            Identifier      "Configured Video Device"
    EndSection

    Section "Monitor"
            Identifier      "Configured Monitor"
    EndSection

    Section "Screen"
            Identifier      "Default Screen"
            Monitor         "Configured Monitor"
            Device          "Configured Video Device"
    EndSection

Xorg now generates the actual settings 'on the fly' each time it's
started up.  If it gets the right resolution then that's fine but it's
a bit of a nuisance (as in my case) if it gets it wrong.

-- 
Chris Green




More information about the ubuntu-users mailing list