[Intel-gfx] since kernel commit cb0953d734: X chooses wrong resolution at startup
Florian Mickler
florian at mickler.org
Wed May 18 19:03:20 CEST 2011
On Wed, 18 May 2011 18:15:23 +0200
Florian Mickler <florian at mickler.org> wrote:
> On Wed, 18 May 2011 11:17:30 -0400
> Adam Jackson <ajax at redhat.com> wrote:
>
> > On 5/18/11 9:41 AM, Florian Mickler wrote:
> > > Since
> > >
> > > commit cb0953d734348e8862d6d7edc666cfb3bf6d8fae
> > > Author: Adam Jackson<ajax at redhat.com>
> > > Date: Fri Jul 16 14:46:29 2010 -0400
> > >
> > > drm/i915: Initialize LVDS and eDP outputs before anything else
> > >
> > > my xserver chooses a wrong resolution for my VGA output at startup.
> > >
> > > The kernel continues to correctly start up fbcon in cloning mode with
> > > vga1 at 1680x1050 and lvds1 at 1400x1050 but Xorg then chooses 1280x1024 for
> > > my vga screen and I have to manually set the right mode via xrandr.
> > >
> > > Why? It looks like everything gets correctly detected..
> >
> > Well, the log says:
> >
> > > [ 6947.293] (II) intel(0): Using user preference for initial modes
> > > [ 6947.293] (II) intel(0): Output LVDS1 using initial mode 1400x1050
> > > [ 6947.293] (II) intel(0): Output VGA1 using initial mode 1280x1024
> >
> > which implies that it thinks you've asked for 12x10 in xorg.conf. Have you?
> >
> > It's entirely possible that you haven't and that this is simply a bug in
> > X's setup heuristic, but let's check the obvious things first.
> >
> > - ajax
>
> yep, shure. Attached my xorg.conf. It's a bit messy, but it should boil
> down to just having vga-1 right of lvds-1.
>
> regards,
> Flo
And here is the Xorg.0.log with the above patch reverted on top of
current linus tree (which probably suggest something weird in the
xserver setup code because as far as I can see it really just changes
the order, as advertised).
It shows some subtle differences though... for example the following
hunk only appears in the working case...:
(II) intel(0): EDID vendor "ACI", prod id 8866
(II) intel(0): Using EDID range info for horizontal sync
(II) intel(0): Using EDID range info for vertical refresh
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1680x1050"x0.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
(II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz)
(II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz)
(II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz)
(II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz)
(II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
(II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz)
(II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz)
(II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz)
(II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz)
(II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz)
(II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz)
(II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
(II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz)
(II) intel(0): Modeline "1440x900"x0.0 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz)
(II) intel(0): Modeline "1600x1200"x0.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
whereas the in the nonworking case that hunk appears:
(II) intel(0): EDID vendor "LEN", prod id 16450
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1400x1050"x0.0 108.00 1400 1448 1560 1688 1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
(II) intel(0): Modeline "1400x1050"x0.0 89.97 1400 1448 1560 1688 1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
(II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
(II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
(It seems those hunks are printed only after the first edid-parsing)
other not so surprising differences:
nonworking:
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 709 x 277
(II) intel(0): Allocated new frame buffer 2688x1050 stride 10752, tiled
(II) config/udev: Adding input device Power Button (/dev/input/event2)
working:
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 814 x 277
(II) config/udev: Adding input device Power Button (/dev/input/event2)
Regards,
Flo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 40982 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110518/5ad8e04c/attachment.bin>
More information about the Intel-gfx
mailing list