Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 00:09:26 -0500
From:      Vulpes Velox <v.velox@vvelox.net>
To:        "Richard Pantoliano, Jr." <rpantol0@binghamton.edu>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Unable to get 1024x768 Resolution in X
Message-ID:  <20041006000926.3227372b@vixen42.24-119-122-191.cpe.cableone.net>
In-Reply-To: <41634920.4080601@binghamton.edu>
References:  <41634920.4080601@binghamton.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 05 Oct 2004 21:23:44 -0400
"Richard Pantoliano, Jr." <rpantol0@binghamton.edu> wrote:

> I am running 5.3BETA7 with X.org 6.7 on a Gateway 400vtx.  I can
> never seem to get X to run at 1024x768.
> 
> I am thinking that it is the driver that is the problem.  The laptop
> 
> uses Intel 852MG integrated video.  I set i810 as the driver when 
> configuring X, but it still starts up at 800x600.   I think that it
> is the driver because I have been able to get 1024x768 resolution
> using a live-on-CD linux distro.  I took the config file for X from
> it and used it for various distros of linux and for FreeBSD on my
> laptop, and none of the others have been able to run in 800x600. 
> Anyone have any ideas?  Thanks!

Could you post your x config?

Two things I would suggest checking is your monitor and screen
sections.



Not for a quick run down of these parts of the config files....

Section "Screen"
        Identifier "Screen0"   <-- this is the screen name
        Device     "Card0"     <-- card it uses
        Monitor    "Monitor0" <-- monitor it uses
        DefaultDepth     24    <-- defualt depth
        SubSection "Display"
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1280x960" "1152x864" "1024x768" "800x600"
"640x480" "640x400" "512x384" "400x300" "320x240" "320x200"      
		EndSubSection        
		SubSection "Display"
                Depth     15
                Modes    "1280x960" "1152x864" "1024x768" "800x600"
"640x480" "640x400" "512x384" "400x300" "320x240" "320x200"       
		EndSubSection        
		SubSection "Display"
                Depth     16
                Modes    "1280x960" "1152x864" "1024x768" "800x600"
"640x480" "640x400" "512x384" "400x300" "320x240" "320x200"       
		EndSubSection
		SubSection "Display"
                Depth     24
                Modes    "1280x960" "1152x864" "1024x768" "800x600"
"640x480" "640x400" "512x384" "400x300" "320x240" "320x200"       
EndSubSection EndSection

In it you will see the subsections labled Display. These will contain
two sets of variables; depth and mode. The mode contians resolutions
for that depth.

You will need to make sure the resolution you want is in the depth you
want. The defualt depth should be clearly noticeable above there.



Now for the monitor section...

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 82.0
        VertRefresh  60.0 - 90.0
EndSection

IIRC comment HorixSync and VertRefresh will cause it to defualt to
DPMS, which should be supported on all newer monitors, but if it is
not, this needs to be set manually. I suggest using the xorgcfg
-textmode for that... atleast I use that since I never remember what
would be sane for horizsync...


man xorg.conf should provide more info :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006000926.3227372b>