From: Florian Mickler <florian@mickler.org>
To: Adam Jackson <ajax@redhat.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: since kernel commit cb0953d734: X chooses wrong resolution at startup
Date: Wed, 18 May 2011 18:15:23 +0200 [thread overview]
Message-ID: <20110518181523.6d161b54@schatten.dmk.lab> (raw)
In-Reply-To: <4DD3E30A.80808@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]
On Wed, 18 May 2011 11:17:30 -0400
Adam Jackson <ajax@redhat.com> wrote:
> On 5/18/11 9:41 AM, Florian Mickler wrote:
> > Since
> >
> > commit cb0953d734348e8862d6d7edc666cfb3bf6d8fae
> > Author: Adam Jackson<ajax@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@1680x1050 and lvds1@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
[-- Attachment #2: xorg.conf --]
[-- Type: application/octet-stream, Size: 2893 bytes --]
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "freetype"
Load "glx"
Load "dri2"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "ServerFlags"
Option "DefaultServerLayout" "Simple Layout"
EndSection
#Section "InputDevice"
# Identifier "Keyboard1"
# Driver "kbd0"
#Driver "evdev"
# Option "AutoRepeat" "500 30"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbOptions" "grp:shifts_toggle,grp_led:scroll,eurosign:e"
#EndSection
#Section "InputDevice"
# Identifier "Synaptics Touchpad"
# Driver "synaptics"
# Option "SendCoreEvents"
# Option "Device"
# Option "Protocol"
# Option "HorizScrollDelta"
# Option "SHMConfig"
#EndSection
#Section "InputDevice"
# Identifier "Mouse1"
# Driver "mouse0"
# Driver "evdev"
# Option "Protocol" "Auto" # Auto detect
# Option "Device" "/dev/input/mice"
# Option "ZAxisMapping" "4 5 6 7"
#EndSection
Section "Monitor"
Identifier "ASUS"
Option "LeftOf" "LVDS"
EndSection
Section "Monitor"
Identifier "LVDS"
Option "RightOf" "VGA"
EndSection
Section "Monitor"
Identifier "LVDS1"
Option "RightOf" "VGA1"
EndSection
Section "Monitor"
Identifier "none"
Option "Ignore" "true"
EndSection
Section "Device"
Identifier "intel0"
Driver "intel"
#Option "monitor-VGA" "ASUS"
Option "monitor-LVDS" "LVDS"
Option "monitor-LVDS1" "LVDS1"
Option "monitor-VGA1" "VGA1"
Option "monitor-VGA" "VGA"
Option "DRI2"
Option "Tiling" "on"
Option "AccelMethod" "UXA"
EndSection
Section "Device"
Identifier "intel1"
Driver "intel"
#Option "monitor-VGA" "ASUS"
Option "monitor-LVDS" "LVDS"
Option "monitor-LVDS1" "LVDS1"
Option "monitor-VGA1" "VGA1"
Option "monitor-VGA" "VGA"
Option "FramebufferCompression" "off"
Option "DRI2"
Option "Tiling" "on"
Option "AccelMethod" "UXA"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "intel0"
DefaultDepth 24
Subsection "Display"
Depth 24
Virtual 3080 1050
EndSubSection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "intel1"
DefaultDepth 24
Subsection "Display"
Depth 24
Virtual 3080 1050
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen 0"
## InputDevice "Mouse1" "CorePointer"
## InputDevice "Synaptics Touchpad" "CorePointer"
## InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "ServerLayout"
Identifier "Zaphod"
Screen 0 "Screen 0"
Screen 1 "Screen 1"
EndSection
[-- Attachment #3: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2011-05-18 16:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-18 13:41 since kernel commit cb0953d734: X chooses wrong resolution at startup Florian Mickler
2011-05-18 15:17 ` Adam Jackson
2011-05-18 16:15 ` Florian Mickler [this message]
2011-05-18 17:03 ` Florian Mickler
2011-06-01 10:06 ` [PATCH] change initial modesetting if outputs are aligned in 1 dimension Florian Mickler
2011-06-01 19:30 ` Adam Jackson
2011-06-01 20:44 ` Florian Mickler
2011-06-01 20:48 ` Adam Jackson
2011-06-01 21:06 ` Florian Mickler
2011-06-01 21:30 ` Adam Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110518181523.6d161b54@schatten.dmk.lab \
--to=florian@mickler.org \
--cc=ajax@redhat.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.