i810: can't set 1680x1050 mode properly on 965G

Elvis Pranskevichus el at prans.net
Sun Dec 24 15:27:34 PST 2006


On Sunday 24 December 2006 17:58, Carsten Haitzler wrote:
> On Sun, 24 Dec 2006 12:18:17 -0500 Elvis Pranskevichus <el at prans.net> 
babbled:
> > Hi,
> >
> > I'm trying to set my VX2025wm native resolution on 965G (Gigabyte
> > 965G-DS3). The master (not modesetting) branch of xf86-video-intel gives
> > me 'Out of range' monitor message on that resolution (I was able to get
> > it working on 1280x1024).
> >
> > The latest modesetting branch does set the mode, but the screen is
> > trimmed on the sides and the output is cropped.
> >
> > Here's the
> > screenshot: http://el.prans.net/xorg/i815badmodeset.jpg
> > log: http://el.prans.net/xorg/Xorg.0.log.modeset.txt
> > xorg.conf: http://el.prans.net/xorg/xorg.conf.modeset.txt
> >
> > Any help on getting the subject working would be greatly appreciated.
>
> i'm amazed you got that far! you don't have a Monitor section at all. i.e.
>
> Section "Monitor"
>         Identifier      "Generic Monitor"
>         Option          "DPMS"
>         HorizSync       28-51
>         VertRefresh     43-60
> EndSection
>
> then...
>
> Section "Screen"
>         Identifier      "Default Screen"
> ...
>         Monitor         "Generic Monitor"
>         DefaultDepth    24
> ...
>
> i may be behind the times and monitor sections are now optional... but i
> have never lacked one and i have not had problems either.
>

I actually do have monitor section. The xorg.conf there is for modesetting 
branch, and AFAIK the monitor section does not matter there, so I 
intentionally removed it. Here's the link for my regular xorg.conf.

http://el.prans.net/xorg/xorg.conf.txt

As I said. I can set 1024x768, even 1280x1024. But 1680x1050 on 
non-modesetting emits clocks or frequencies that monitor can't handle. I use 
gtf to generate modelines.

I also looked a bit closer on the log. 

(II) I810(0): I830SetupMemoryTiling: Not tileable 0x3500
(II) I810(0): [drm] Registers = 0xf2100000
(II) I810(0): [drm] ring buffer = 0xe0000000
(II) I810(0): [drm] init sarea width,height = 3360 x 1050 (pitch 3392)
(II) I810(0): [drm] Back Buffer = 0xed24b000
(II) I810(0): [drm] Depth Buffer = 0xec4b4000
(II) I810(0): [drm] textures = 0xebc94000
(II) I810(0): [drm] Initialized kernel agp heap manager, 8519680
(II) I810(0): [dri] visual configs initialized

The SAREA width is two times larger than needed (1680 * 2) and that causes 
output cropping. I don't know where this and the blanks on the sides come 
from.

Thanks

--
Elvis Pranskevichus



More information about the xorg mailing list