All of lore.kernel.org
 help / color / mirror / Atom feed
* since kernel commit cb0953d734: X chooses wrong resolution at startup
@ 2011-05-18 13:41 Florian Mickler
  2011-05-18 15:17 ` Adam Jackson
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-05-18 13:41 UTC (permalink / raw)
  To: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

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.. 

Regards,
Flo






[-- Attachment #2: Xorg.0.log --]
[-- Type: text/x-log, Size: 41919 bytes --]

[  6947.182] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[  6947.182] 
X.Org X Server 1.10.99.1
Release Date: unreleased
[  6947.182] X Protocol Version 11, Revision 0
[  6947.182] Build Operating System: Linux 2.6.39-rc7-00211-gc1d10d1 x86_64 Gentoo
[  6947.182] Current Operating System: Linux schatten.dmk.lab 2.6.39-rc7-00211-gc1d10d1 #19 SMP Wed May 18 12:55:48 CEST 2011 x86_64
[  6947.182] Kernel command line: root=/dev/sda3 init=/sbin/bootchartd quiet initcall_debug noresume i915.modeset=1
[  6947.182] Build Date: 18 May 2011  01:42:34PM
[  6947.182]  
[  6947.182] Current version of pixman: 0.23.1
[  6947.182] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  6947.182] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6947.182] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 18 15:03:42 2011
[  6947.182] (==) Using config file: "/etc/X11/xorg.conf"
[  6947.182] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  6947.182] (**) Option "defaultserverlayout" "Simple Layout"
[  6947.182] (**) ServerLayout "Simple Layout"
[  6947.182] (**) |-->Screen "Screen 0" (0)
[  6947.182] (**) |   |-->Monitor "<default monitor>"
[  6947.183] (**) |   |-->Device "intel0"
[  6947.183] (==) No monitor specified for screen "Screen 0".
	Using a default monitor configuration.
[  6947.183] (==) Automatically adding devices
[  6947.183] (==) Automatically enabling devices
[  6947.183] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[  6947.183] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  6947.183] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  6947.183] (II) Loader magic: 0x7b01e0
[  6947.183] (II) Module ABI versions:
[  6947.183] 	X.Org ANSI C Emulation: 0.4
[  6947.183] 	X.Org Video Driver: 10.0
[  6947.183] 	X.Org XInput driver : 12.2
[  6947.183] 	X.Org Server Extension : 5.0
[  6947.184] (--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
[  6947.184] (--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xf8200000/1048576
[  6947.184] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  6947.184] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  6947.184] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  6947.184] (II) "record" will be loaded by default.
[  6947.184] (II) "dri" will be loaded by default.
[  6947.184] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  6947.184] (II) LoadModule: "dbe"
[  6947.185] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[  6947.185] (II) Module dbe: vendor="X.Org Foundation"
[  6947.185] 	compiled for 1.10.99.1, module version = 1.0.0
[  6947.185] 	Module class: X.Org Server Extension
[  6947.185] 	ABI class: X.Org Server Extension, version 5.0
[  6947.185] (II) Loading extension DOUBLE-BUFFER
[  6947.185] (II) LoadModule: "extmod"
[  6947.185] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[  6947.185] (II) Module extmod: vendor="X.Org Foundation"
[  6947.185] 	compiled for 1.10.99.1, module version = 1.0.0
[  6947.185] 	Module class: X.Org Server Extension
[  6947.185] 	ABI class: X.Org Server Extension, version 5.0
[  6947.185] (II) Loading extension MIT-SCREEN-SAVER
[  6947.185] (II) Loading extension XFree86-VidModeExtension
[  6947.185] (II) Loading extension DPMS
[  6947.185] (II) Loading extension XVideo
[  6947.185] (II) Loading extension XVideo-MotionCompensation
[  6947.185] (II) Loading extension X-Resource
[  6947.185] (II) LoadModule: "glx"
[  6947.186] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  6947.186] (II) Module glx: vendor="X.Org Foundation"
[  6947.186] 	compiled for 1.10.99.1, module version = 1.0.0
[  6947.186] 	ABI class: X.Org Server Extension, version 5.0
[  6947.186] (==) AIGLX enabled
[  6947.186] (II) Loading extension GLX
[  6947.186] (II) LoadModule: "dri2"
[  6947.186] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[  6947.186] (II) Module dri2: vendor="X.Org Foundation"
[  6947.186] 	compiled for 1.10.99.1, module version = 1.2.0
[  6947.186] 	ABI class: X.Org Server Extension, version 5.0
[  6947.186] (II) Loading extension DRI2
[  6947.186] (II) LoadModule: "record"
[  6947.187] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[  6947.187] (II) Module record: vendor="X.Org Foundation"
[  6947.187] 	compiled for 1.10.99.1, module version = 1.13.0
[  6947.187] 	Module class: X.Org Server Extension
[  6947.187] 	ABI class: X.Org Server Extension, version 5.0
[  6947.187] (II) Loading extension RECORD
[  6947.187] (II) LoadModule: "dri"
[  6947.187] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[  6947.187] (II) Module dri: vendor="X.Org Foundation"
[  6947.187] 	compiled for 1.10.99.1, module version = 1.0.0
[  6947.187] 	ABI class: X.Org Server Extension, version 5.0
[  6947.187] (II) Loading extension XFree86-DRI
[  6947.187] (II) LoadModule: "intel"
[  6947.187] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  6947.188] (II) Module intel: vendor="X.Org Foundation"
[  6947.188] 	compiled for 1.10.99.1, module version = 2.15.0
[  6947.188] 	Module class: X.Org Video Driver
[  6947.188] 	ABI class: X.Org Video Driver, version 10.0
[  6947.188] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
	Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
	Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
	Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
	Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
	Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[  6947.188] (++) using VT number 8

[  6947.197] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  6947.197] drmOpenDevice: node name is /dev/dri/card0
[  6947.197] drmOpenDevice: open result is 8, (OK)
[  6947.197] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[  6947.197] drmOpenDevice: node name is /dev/dri/card0
[  6947.197] drmOpenDevice: open result is 8, (OK)
[  6947.197] drmOpenByBusid: drmOpenMinor returns 8
[  6947.197] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  6947.197] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[  6947.197] (==) intel(0): RGB weight 888
[  6947.197] (==) intel(0): Default visual is TrueColor
[  6947.197] (**) intel(0): Option "Tiling" "on"
[  6947.197] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[  6947.197] (--) intel(0): Chipset: "965GM"
[  6947.197] (**) intel(0): Relaxed fencing enabled
[  6947.197] (**) intel(0): Framebuffer tiled
[  6947.197] (**) intel(0): Pixmaps tiled
[  6947.197] (**) intel(0): 3D buffers tiled
[  6947.197] (**) intel(0): SwapBuffers wait enabled
[  6947.197] (==) intel(0): video overlay key set to 0x101fe
[  6947.198] (II) intel(0): Output LVDS1 using monitor section LVDS1
[  6947.198] (**) intel(0): Option "RightOf" "VGA1"
[  6947.198] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
[  6947.241] (II) intel(0): Output VGA1 has no monitor section
[  6947.241] (II) intel(0): Output TV1 has no monitor section
[  6947.241] (II) intel(0): EDID for output LVDS1
[  6947.241] (II) intel(0): Manufacturer: LEN  Model: 4042  Serial#: 0
[  6947.241] (II) intel(0): Year: 2005  Week: 0
[  6947.241] (II) intel(0): EDID Version: 1.3
[  6947.241] (II) intel(0): Digital Display Input
[  6947.241] (II) intel(0): Max Image Size [cm]: horiz.: 30  vert.: 23
[  6947.241] (II) intel(0): Gamma: 2.20
[  6947.241] (II) intel(0): DPMS capabilities: StandBy Suspend Off
[  6947.241] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  6947.241] (II) intel(0): First detailed timing is preferred mode
[  6947.241] (II) intel(0): redX: 0.590 redY: 0.343   greenX: 0.319 greenY: 0.539
[  6947.241] (II) intel(0): blueX: 0.154 blueY: 0.133   whiteX: 0.312 whiteY: 0.328
[  6947.241] (II) intel(0): Supported established timings:
[  6947.241] (II) intel(0): 640x480@60Hz
[  6947.241] (II) intel(0): 800x600@60Hz
[  6947.241] (II) intel(0): 1024x768@60Hz
[  6947.241] (II) intel(0): Manufacturer's mask: 0
[  6947.241] (II) intel(0): Supported standard timings:
[  6947.241] (II) intel(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  6947.241] (II) intel(0): Supported detailed timing:
[  6947.242] (II) intel(0): clock: 108.0 MHz   Image Size:  304 x 228 mm
[  6947.242] (II) intel(0): h_active: 1400  h_sync: 1448  h_sync_end 1560 h_blank_end 1688 h_border: 0
[  6947.242] (II) intel(0): v_active: 1050  v_sync: 1051  v_sync_end 1054 v_blanking: 1066 v_border: 0
[  6947.242] (II) intel(0): Supported detailed timing:
[  6947.242] (II) intel(0): clock: 90.0 MHz   Image Size:  304 x 228 mm
[  6947.242] (II) intel(0): h_active: 1400  h_sync: 1448  h_sync_end 1560 h_blank_end 1688 h_border: 0
[  6947.242] (II) intel(0): v_active: 1050  v_sync: 1051  v_sync_end 1054 v_blanking: 1066 v_border: 0
[  6947.242] (II) intel(0): Unknown vendor-specific block f
[  6947.242] (II) intel(0):  LP150E07-TL03
[  6947.242] (II) intel(0): EDID (in hex):
[  6947.242] (II) intel(0): 	00ffffffffffff0030ae424000000000
[  6947.242] (II) intel(0): 	000f0103801e1778ea3c809757518a27
[  6947.242] (II) intel(0): 	22505421080081800101010101010101
[  6947.242] (II) intel(0): 	010101010101302a7820511a10403070
[  6947.242] (II) intel(0): 	130030e41000001825237820511a1040
[  6947.242] (II) intel(0): 	3070130030e4100000180000000f0090
[  6947.242] (II) intel(0): 	4332904328140100320c5321000000fe
[  6947.242] (II) intel(0): 	004c503135304530372d544c303300ca
[  6947.242] (II) intel(0): EDID vendor "LEN", prod id 16450
[  6947.242] (II) intel(0): Printing DDC gathered Modelines:
[  6947.242] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  6947.242] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  6947.242] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6947.242] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6947.242] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6947.242] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6947.243] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[  6947.243] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[  6947.243] (II) intel(0): Printing probed modes for output LVDS1
[  6947.243] (II) intel(0): Modeline "1400x1050"x60.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  6947.243] (II) intel(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz)
[  6947.243] (II) intel(0): Modeline "1400x1050"x50.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  6947.243] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6947.243] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[  6947.243] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6947.243] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6947.243] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[  6947.243] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6947.243] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6947.291] (II) intel(0): EDID for output VGA1
[  6947.291] (II) intel(0): Manufacturer: ACI  Model: 22a2  Serial#: 6310
[  6947.291] (II) intel(0): Year: 2007  Week: 46
[  6947.291] (II) intel(0): EDID Version: 1.3
[  6947.291] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[  6947.291] (II) intel(0): Signal levels configurable
[  6947.291] (II) intel(0): Sync:  Separate  Composite  SyncOnGreen
[  6947.291] (II) intel(0): Max Image Size [cm]: horiz.: 47  vert.: 30
[  6947.291] (II) intel(0): Gamma: 2.20
[  6947.291] (II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[  6947.291] (II) intel(0): Default color space is primary color space
[  6947.291] (II) intel(0): First detailed timing is preferred mode
[  6947.291] (II) intel(0): redX: 0.640 redY: 0.340   greenX: 0.290 greenY: 0.609
[  6947.291] (II) intel(0): blueX: 0.140 blueY: 0.069   whiteX: 0.310 whiteY: 0.330
[  6947.291] (II) intel(0): Supported established timings:
[  6947.291] (II) intel(0): 720x400@70Hz
[  6947.291] (II) intel(0): 640x480@60Hz
[  6947.291] (II) intel(0): 640x480@67Hz
[  6947.291] (II) intel(0): 640x480@72Hz
[  6947.291] (II) intel(0): 640x480@75Hz
[  6947.291] (II) intel(0): 800x600@56Hz
[  6947.291] (II) intel(0): 800x600@60Hz
[  6947.291] (II) intel(0): 800x600@72Hz
[  6947.291] (II) intel(0): 800x600@75Hz
[  6947.291] (II) intel(0): 832x624@75Hz
[  6947.291] (II) intel(0): 1024x768@60Hz
[  6947.291] (II) intel(0): 1024x768@70Hz
[  6947.291] (II) intel(0): 1024x768@75Hz
[  6947.291] (II) intel(0): 1280x1024@75Hz
[  6947.291] (II) intel(0): Manufacturer's mask: 0
[  6947.292] (II) intel(0): Supported standard timings:
[  6947.292] (II) intel(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[  6947.292] (II) intel(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  6947.292] (II) intel(0): #2: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[  6947.292] (II) intel(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[  6947.292] (II) intel(0): #4: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[  6947.292] (II) intel(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[  6947.292] (II) intel(0): Supported detailed timing:
[  6947.292] (II) intel(0): clock: 146.2 MHz   Image Size:  473 x 296 mm
[  6947.292] (II) intel(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
[  6947.292] (II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border: 0
[  6947.292] (II) intel(0): Ranges: V min: 56 V max: 75 Hz, H min: 31 H max: 81 kHz, PixClock max 175 MHz
[  6947.292] (II) intel(0): Monitor name: VW222
[  6947.292] (II) intel(0): Serial No: 7BLMQC006310
[  6947.292] (II) intel(0): EDID (in hex):
[  6947.292] (II) intel(0): 	00ffffffffffff000469a222a6180000
[  6947.292] (II) intel(0): 	2e1101031e2f1e78eec4f6a3574a9c23
[  6947.292] (II) intel(0): 	114f54bfef00714f818081409500a940
[  6947.292] (II) intel(0): 	b3000101010121399030621a274068b0
[  6947.292] (II) intel(0): 	3600d9281100001c000000fd00384b1f
[  6947.292] (II) intel(0): 	5111000a202020202020000000fc0056
[  6947.292] (II) intel(0): 	573232320a20202020202020000000ff
[  6947.292] (II) intel(0): 	0037424c4d51433030363331302000d1
[  6947.292] (II) intel(0): Not using mode "1600x1200" (height too large for virtual size)
[  6947.292] (II) intel(0): Printing probed modes for output VGA1
[  6947.292] (II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[  6947.292] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[  6947.292] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6947.292] (II) intel(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[  6947.292] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[  6947.293] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[  6947.293] (II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
[  6947.293] (II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[  6947.293] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6947.293] (II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[  6947.293] (II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[  6947.293] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[  6947.293] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6947.293] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[  6947.293] (II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz)
[  6947.293] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[  6947.293] (II) intel(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[  6947.293] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6947.293] (II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[  6947.293] (II) intel(0): EDID for output TV1
[  6947.293] (II) intel(0): Printing probed modes for output TV1
[  6947.293] (II) intel(0): Modeline "848x480"x30.0   14.51  848 849 912 944  480 481 512 513 (15.4 kHz)
[  6947.293] (II) intel(0): Modeline "640x480"x30.0   11.31  640 641 704 736  480 481 512 513 (15.4 kHz)
[  6947.293] (II) intel(0): Modeline "1024x768"x30.0   26.89  1024 1025 1088 1120  768 769 800 801 (24.0 kHz)
[  6947.293] (II) intel(0): Modeline "800x600"x30.0   17.00  800 801 864 896  600 601 632 633 (19.0 kHz)
[  6947.293] (II) intel(0): Output LVDS1 connected
[  6947.293] (II) intel(0): Output VGA1 connected
[  6947.293] (II) intel(0): Output TV1 disconnected
[  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
[  6947.294] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  6947.294] (II) intel(0): Kernel page flipping support detected, enabling
[  6947.294] (**) intel(0): Display dimensions: (300, 230) mm
[  6947.294] (**) intel(0): DPI set to (260, 115)
[  6947.294] (II) Loading sub module "fb"
[  6947.294] (II) LoadModule: "fb"
[  6947.294] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  6947.295] (II) Module fb: vendor="X.Org Foundation"
[  6947.295] 	compiled for 1.10.99.1, module version = 1.0.0
[  6947.295] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  6947.295] (II) Loading sub module "dri2"
[  6947.295] (II) LoadModule: "dri2"
[  6947.295] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[  6947.295] (II) Module dri2: vendor="X.Org Foundation"
[  6947.295] 	compiled for 1.10.99.1, module version = 1.2.0
[  6947.295] 	ABI class: X.Org Server Extension, version 5.0
[  6947.295] (==) Depth 24 pixmap format is 32 bpp
[  6947.296] (II) intel(0): [DRI2] Setup complete
[  6947.296] (II) intel(0): [DRI2]   DRI driver: i965
[  6947.296] (II) intel(0): Allocated new frame buffer 3136x1050 stride 12800, tiled
[  6947.311] (II) UXA(0): Driver registered support for the following operations:
[  6947.311] (II)         solid
[  6947.311] (II)         copy
[  6947.311] (II)         composite (RENDER acceleration)
[  6947.311] (II)         put_image
[  6947.311] (II)         get_image
[  6947.311] (==) intel(0): Backing store disabled
[  6947.311] (==) intel(0): Silken mouse enabled
[  6947.311] (II) intel(0): Initializing HW Cursor
[  6947.394] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  6947.399] (==) intel(0): DPMS enabled
[  6947.399] (==) intel(0): Intel XvMC decoder enabled
[  6947.399] (II) intel(0): Set up textured video
[  6947.399] (II) intel(0): Set up overlay video
[  6947.399] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[  6947.399] (II) intel(0): direct rendering: DRI2 Enabled
[  6947.399] (WW) intel(0): Option "monitor-LVDS" is not used
[  6947.399] (WW) intel(0): Option "monitor-VGA" is not used
[  6947.399] (WW) intel(0): Option "DRI2" is not used
[  6947.399] (WW) intel(0): Option "AccelMethod" is not used
[  6947.399] (==) intel(0): hotplug detection: "enabled"
[  6947.399] (--) RandR disabled
[  6947.399] (II) Initializing built-in extension Generic Event Extension
[  6947.399] (II) Initializing built-in extension SHAPE
[  6947.399] (II) Initializing built-in extension MIT-SHM
[  6947.399] (II) Initializing built-in extension XInputExtension
[  6947.399] (II) Initializing built-in extension XTEST
[  6947.399] (II) Initializing built-in extension BIG-REQUESTS
[  6947.400] (II) Initializing built-in extension SYNC
[  6947.400] (II) Initializing built-in extension XKEYBOARD
[  6947.400] (II) Initializing built-in extension XC-MISC
[  6947.400] (II) Initializing built-in extension XINERAMA
[  6947.400] (II) Initializing built-in extension XFIXES
[  6947.400] (II) Initializing built-in extension RENDER
[  6947.400] (II) Initializing built-in extension RANDR
[  6947.400] (II) Initializing built-in extension COMPOSITE
[  6947.400] (II) Initializing built-in extension DAMAGE
[  6947.417] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  6947.417] (II) AIGLX: enabled GLX_INTEL_swap_event
[  6947.417] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  6947.417] (II) AIGLX: enabled GLX_SGI_make_current_read
[  6947.417] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  6947.417] (II) AIGLX: Loaded and initialized i965
[  6947.417] (II) GLX: Initialized DRI2 GL provider for screen 0
[  6947.417] (II) intel(0): Setting screen physical size to 709 x 277
[  6947.417] (II) intel(0): Allocated new frame buffer 2688x1050 stride 10752, tiled
[  6947.621] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  6947.621] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  6947.621] (II) LoadModule: "evdev"
[  6947.621] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.621] (II) Module evdev: vendor="X.Org Foundation"
[  6947.621] 	compiled for 1.10.99.1, module version = 2.6.0
[  6947.621] 	Module class: X.Org XInput Driver
[  6947.622] 	ABI class: X.Org XInput driver, version 12.2
[  6947.622] (II) Using input driver 'evdev' for 'Power Button'
[  6947.622] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.622] (**) Power Button: always reports core events
[  6947.622] (**) evdev: Power Button: Device: "/dev/input/event2"
[  6947.625] (--) evdev: Power Button: Found keys
[  6947.625] (II) evdev: Power Button: Configuring as keyboard
[  6947.625] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[  6947.625] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  6947.625] (**) Option "xkb_rules" "evdev"
[  6947.625] (**) Option "xkb_model" "evdev"
[  6947.625] (**) Option "xkb_layout" "us"
[  6947.643] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[  6947.643] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  6947.643] (II) Using input driver 'evdev' for 'Video Bus'
[  6947.643] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.643] (**) Video Bus: always reports core events
[  6947.643] (**) evdev: Video Bus: Device: "/dev/input/event3"
[  6947.647] (--) evdev: Video Bus: Found keys
[  6947.647] (II) evdev: Video Bus: Configuring as keyboard
[  6947.647] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[  6947.647] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  6947.647] (**) Option "xkb_rules" "evdev"
[  6947.647] (**) Option "xkb_model" "evdev"
[  6947.647] (**) Option "xkb_layout" "us"
[  6947.652] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[  6947.652] (II) No input driver/identifier specified (ignoring)
[  6947.652] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  6947.652] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  6947.652] (II) Using input driver 'evdev' for 'Sleep Button'
[  6947.652] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.652] (**) Sleep Button: always reports core events
[  6947.652] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[  6947.659] (--) evdev: Sleep Button: Found keys
[  6947.659] (II) evdev: Sleep Button: Configuring as keyboard
[  6947.659] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[  6947.659] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[  6947.659] (**) Option "xkb_rules" "evdev"
[  6947.659] (**) Option "xkb_model" "evdev"
[  6947.659] (**) Option "xkb_layout" "us"
[  6947.661] (II) config/udev: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (/dev/input/event7)
[  6947.661] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Applying InputClass "evdev keyboard catchall"
[  6947.661] (II) Using input driver 'evdev' for 'Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )'
[  6947.661] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.661] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events
[  6947.661] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: "/dev/input/event7"
[  6947.667] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found keys
[  6947.667] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as keyboard
[  6947.667] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.1/1-4.2.1:1.0/input/input7/event7"
[  6947.667] (II) XINPUT: Adding extended input device "Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD, id 9)
[  6947.667] (**) Option "xkb_rules" "evdev"
[  6947.667] (**) Option "xkb_model" "evdev"
[  6947.667] (**) Option "xkb_layout" "us"
[  6947.667] (II) config/udev: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (/dev/input/event8)
[  6947.667] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Applying InputClass "evdev keyboard catchall"
[  6947.667] (II) Using input driver 'evdev' for 'Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )'
[  6947.667] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.667] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events
[  6947.667] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: "/dev/input/event8"
[  6947.673] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found 12 mouse buttons
[  6947.673] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found keys
[  6947.673] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as mouse
[  6947.673] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as keyboard
[  6947.673] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): YAxisMapping: buttons 4 and 5
[  6947.673] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6947.673] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.1/1-4.2.1:1.1/input/input8/event8"
[  6947.673] (II) XINPUT: Adding extended input device "Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD, id 10)
[  6947.673] (**) Option "xkb_rules" "evdev"
[  6947.673] (**) Option "xkb_model" "evdev"
[  6947.673] (**) Option "xkb_layout" "us"
[  6947.675] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/event9)
[  6947.675] (**) Logitech Optical USB Mouse: Applying InputClass "evdev pointer catchall"
[  6947.675] (II) Using input driver 'evdev' for 'Logitech Optical USB Mouse'
[  6947.675] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.675] (**) Logitech Optical USB Mouse: always reports core events
[  6947.675] (**) evdev: Logitech Optical USB Mouse: Device: "/dev/input/event9"
[  6947.681] (--) evdev: Logitech Optical USB Mouse: Found 3 mouse buttons
[  6947.681] (--) evdev: Logitech Optical USB Mouse: Found scroll wheel(s)
[  6947.681] (--) evdev: Logitech Optical USB Mouse: Found relative axes
[  6947.681] (--) evdev: Logitech Optical USB Mouse: Found x and y relative axes
[  6947.681] (II) evdev: Logitech Optical USB Mouse: Configuring as mouse
[  6947.681] (II) evdev: Logitech Optical USB Mouse: Adding scrollwheel support
[  6947.681] (**) evdev: Logitech Optical USB Mouse: YAxisMapping: buttons 4 and 5
[  6947.681] (**) evdev: Logitech Optical USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6947.681] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.3/1-4.2.3:1.0/input/input9/event9"
[  6947.681] (II) XINPUT: Adding extended input device "Logitech Optical USB Mouse" (type: MOUSE, id 11)
[  6947.681] (II) evdev: Logitech Optical USB Mouse: initialized for relative axes.
[  6947.681] (**) Logitech Optical USB Mouse: (accel) keeping acceleration scheme 1
[  6947.681] (**) Logitech Optical USB Mouse: (accel) acceleration profile 0
[  6947.682] (**) Logitech Optical USB Mouse: (accel) acceleration factor: 2.000
[  6947.682] (**) Logitech Optical USB Mouse: (accel) acceleration threshold: 4
[  6947.682] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/mouse1)
[  6947.682] (II) No input driver/identifier specified (ignoring)
[  6947.697] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[  6947.697] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  6947.697] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  6947.697] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.697] (**) AT Translated Set 2 keyboard: always reports core events
[  6947.698] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[  6947.705] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  6947.705] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  6947.705] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[  6947.705] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[  6947.705] (**) Option "xkb_rules" "evdev"
[  6947.705] (**) Option "xkb_model" "evdev"
[  6947.705] (**) Option "xkb_layout" "us"
[  6947.706] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[  6947.706] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[  6947.706] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
[  6947.706] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.706] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  6947.706] (**) evdev: SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
[  6947.713] (--) evdev: SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[  6947.713] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute axes
[  6947.713] (--) evdev: SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[  6947.713] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[  6947.713] (II) evdev: SynPS/2 Synaptics TouchPad: Configuring as touchpad
[  6947.713] (**) evdev: SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[  6947.713] (**) evdev: SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6947.713] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[  6947.713] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[  6947.713] (II) evdev: SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[  6947.713] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  6947.713] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[  6947.713] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  6947.713] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  6947.714] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  6947.714] (II) No input driver/identifier specified (ignoring)
[  6947.714] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event10)
[  6947.714] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[  6947.715] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[  6947.715] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.715] (**) TPPS/2 IBM TrackPoint: always reports core events
[  6947.715] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event10"
[  6947.721] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[  6947.721] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[  6947.721] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[  6947.721] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[  6947.721] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[  6947.721] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  6947.721] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input10/event10"
[  6947.721] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[  6947.721] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[  6947.721] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  6947.721] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  6947.721] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  6947.721] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  6947.722] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
[  6947.722] (II) No input driver/identifier specified (ignoring)
[  6947.724] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
[  6947.724] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[  6947.724] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[  6947.724] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  6947.724] (**) ThinkPad Extra Buttons: always reports core events
[  6947.724] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
[  6947.729] (--) evdev: ThinkPad Extra Buttons: Found keys
[  6947.729] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[  6947.729] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
[  6947.729] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 15)
[  6947.729] (**) Option "xkb_rules" "evdev"
[  6947.729] (**) Option "xkb_model" "evdev"
[  6947.729] (**) Option "xkb_layout" "us"
[  6953.474] (II) intel(0): EDID vendor "LEN", prod id 16450
[  6953.474] (II) intel(0): Printing DDC gathered Modelines:
[  6953.474] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  6953.474] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  6953.474] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6953.474] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6953.474] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6953.474] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6955.485] (II) intel(0): EDID vendor "LEN", prod id 16450
[  6955.485] (II) intel(0): Printing DDC gathered Modelines:
[  6955.485] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  6955.485] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  6955.485] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6955.485] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6955.485] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6955.485] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6955.535] (II) intel(0): EDID vendor "LEN", prod id 16450
[  6955.535] (II) intel(0): Printing DDC gathered Modelines:
[  6955.535] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  6955.535] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  6955.535] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  6955.535] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  6955.535] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  6955.535] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[  6955.585] (II) intel(0): Allocated new frame buffer 3136x1050 stride 12800, tiled
[  7842.022] (II) intel(0): EDID vendor "LEN", prod id 16450
[  7842.022] (II) intel(0): Printing DDC gathered Modelines:
[  7842.022] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[  7842.022] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[  7842.022] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[  7842.022] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[  7842.022] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[  7842.023] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)

[-- 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: since kernel commit cb0953d734: X chooses wrong resolution at startup
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Jackson @ 2011-05-18 15:17 UTC (permalink / raw)
  To: Florian Mickler; +Cc: intel-gfx

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: since kernel commit cb0953d734: X chooses wrong resolution at startup
  2011-05-18 15:17 ` Adam Jackson
@ 2011-05-18 16:15   ` Florian Mickler
  2011-05-18 17:03     ` Florian Mickler
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-05-18 16:15 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx

[-- 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: since kernel commit cb0953d734: X chooses wrong resolution at startup
  2011-05-18 16:15   ` Florian Mickler
@ 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
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-05-18 17:03 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx

[-- Attachment #1: Type: text/plain, Size: 5653 bytes --]

On Wed, 18 May 2011 18:15:23 +0200
Florian Mickler <florian@mickler.org> wrote:

> 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

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


[-- Attachment #2: Xorg.0.log --]
[-- Type: text/x-log, Size: 40982 bytes --]

[    29.293] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[    29.293] 
X.Org X Server 1.10.99.1
Release Date: unreleased
[    29.293] X Protocol Version 11, Revision 0
[    29.293] Build Operating System: Linux 2.6.39-rc7-00211-gc1d10d1 x86_64 Gentoo
[    29.293] Current Operating System: Linux schatten.dmk.lab 2.6.39-rc7-00212-gca362d2 #21 SMP Wed May 18 18:19:38 CEST 2011 x86_64
[    29.293] Kernel command line: root=/dev/sda3 init=/sbin/bootchartd quiet initcall_debug noresume i915.modeset=1
[    29.293] Build Date: 18 May 2011  01:42:34PM
[    29.293]  
[    29.293] Current version of pixman: 0.23.1
[    29.293] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    29.293] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.294] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 18 18:24:32 2011
[    29.393] (==) Using config file: "/etc/X11/xorg.conf"
[    29.393] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.518] (**) Option "defaultserverlayout" "Simple Layout"
[    29.518] (**) ServerLayout "Simple Layout"
[    29.518] (**) |-->Screen "Screen 0" (0)
[    29.518] (**) |   |-->Monitor "<default monitor>"
[    29.518] (**) |   |-->Device "intel0"
[    29.518] (==) No monitor specified for screen "Screen 0".
	Using a default monitor configuration.
[    29.518] (==) Automatically adding devices
[    29.518] (==) Automatically enabling devices
[    29.703] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    29.703] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    29.703] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    29.703] (II) Loader magic: 0x7b01e0
[    29.703] (II) Module ABI versions:
[    29.703] 	X.Org ANSI C Emulation: 0.4
[    29.703] 	X.Org Video Driver: 10.0
[    29.703] 	X.Org XInput driver : 12.2
[    29.703] 	X.Org Server Extension : 5.0
[    29.705] (--) PCI:*(0:0:2:0) 8086:2a02:17aa:20b5 rev 12, Mem @ 0xf8100000/1048576, 0xe0000000/268435456, I/O @ 0x00001800/8
[    29.705] (--) PCI: (0:0:2:1) 8086:2a03:17aa:20b5 rev 12, Mem @ 0xf8200000/1048576
[    29.706] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    29.706] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    29.706] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    29.706] (II) "record" will be loaded by default.
[    29.706] (II) "dri" will be loaded by default.
[    29.706] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[    29.706] (II) LoadModule: "dbe"
[    29.905] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[    29.913] (II) Module dbe: vendor="X.Org Foundation"
[    29.913] 	compiled for 1.10.99.1, module version = 1.0.0
[    29.913] 	Module class: X.Org Server Extension
[    29.913] 	ABI class: X.Org Server Extension, version 5.0
[    29.913] (II) Loading extension DOUBLE-BUFFER
[    29.913] (II) LoadModule: "extmod"
[    29.913] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[    29.919] (II) Module extmod: vendor="X.Org Foundation"
[    29.919] 	compiled for 1.10.99.1, module version = 1.0.0
[    29.919] 	Module class: X.Org Server Extension
[    29.919] 	ABI class: X.Org Server Extension, version 5.0
[    29.919] (II) Loading extension MIT-SCREEN-SAVER
[    29.919] (II) Loading extension XFree86-VidModeExtension
[    29.919] (II) Loading extension DPMS
[    29.919] (II) Loading extension XVideo
[    29.919] (II) Loading extension XVideo-MotionCompensation
[    29.919] (II) Loading extension X-Resource
[    29.919] (II) LoadModule: "glx"
[    29.920] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[    29.977] (II) Module glx: vendor="X.Org Foundation"
[    29.977] 	compiled for 1.10.99.1, module version = 1.0.0
[    29.977] 	ABI class: X.Org Server Extension, version 5.0
[    29.977] (==) AIGLX enabled
[    29.977] (II) Loading extension GLX
[    29.977] (II) LoadModule: "dri2"
[    29.977] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[    30.062] (II) Module dri2: vendor="X.Org Foundation"
[    30.062] 	compiled for 1.10.99.1, module version = 1.2.0
[    30.062] 	ABI class: X.Org Server Extension, version 5.0
[    30.062] (II) Loading extension DRI2
[    30.062] (II) LoadModule: "record"
[    30.063] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[    30.187] (II) Module record: vendor="X.Org Foundation"
[    30.187] 	compiled for 1.10.99.1, module version = 1.13.0
[    30.187] 	Module class: X.Org Server Extension
[    30.187] 	ABI class: X.Org Server Extension, version 5.0
[    30.187] (II) Loading extension RECORD
[    30.187] (II) LoadModule: "dri"
[    30.187] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[    30.294] (II) Module dri: vendor="X.Org Foundation"
[    30.294] 	compiled for 1.10.99.1, module version = 1.0.0
[    30.294] 	ABI class: X.Org Server Extension, version 5.0
[    30.294] (II) Loading extension XFree86-DRI
[    30.294] (II) LoadModule: "intel"
[    30.294] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    30.684] (II) Module intel: vendor="X.Org Foundation"
[    30.684] 	compiled for 1.10.99.1, module version = 2.15.0
[    30.684] 	Module class: X.Org Video Driver
[    30.684] 	ABI class: X.Org Video Driver, version 10.0
[    30.684] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
	965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
	4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
	Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
	Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
	Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
	Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
	Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server
[    30.684] (++) using VT number 7

[    30.691] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[    30.691] drmOpenDevice: node name is /dev/dri/card0
[    30.691] drmOpenDevice: open result is 8, (OK)
[    30.691] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[    30.691] drmOpenDevice: node name is /dev/dri/card0
[    30.691] drmOpenDevice: open result is 8, (OK)
[    30.691] drmOpenByBusid: drmOpenMinor returns 8
[    30.691] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[    30.691] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[    30.691] (==) intel(0): RGB weight 888
[    30.691] (==) intel(0): Default visual is TrueColor
[    30.691] (**) intel(0): Option "Tiling" "on"
[    30.691] (II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
[    30.691] (--) intel(0): Chipset: "965GM"
[    30.691] (**) intel(0): Relaxed fencing enabled
[    30.691] (**) intel(0): Framebuffer tiled
[    30.691] (**) intel(0): Pixmaps tiled
[    30.691] (**) intel(0): 3D buffers tiled
[    30.691] (**) intel(0): SwapBuffers wait enabled
[    30.691] (==) intel(0): video overlay key set to 0x101fe
[    30.741] (II) intel(0): Output VGA1 has no monitor section
[    30.741] (II) intel(0): Output LVDS1 using monitor section LVDS1
[    30.741] (**) intel(0): Option "RightOf" "VGA1"
[    30.741] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
[    30.741] (II) intel(0): Output TV1 has no monitor section
[    30.791] (II) intel(0): EDID for output VGA1
[    30.791] (II) intel(0): Manufacturer: ACI  Model: 22a2  Serial#: 6310
[    30.791] (II) intel(0): Year: 2007  Week: 46
[    30.791] (II) intel(0): EDID Version: 1.3
[    30.791] (II) intel(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
[    30.791] (II) intel(0): Signal levels configurable
[    30.791] (II) intel(0): Sync:  Separate  Composite  SyncOnGreen
[    30.791] (II) intel(0): Max Image Size [cm]: horiz.: 47  vert.: 30
[    30.791] (II) intel(0): Gamma: 2.20
[    30.791] (II) intel(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[    30.791] (II) intel(0): Default color space is primary color space
[    30.791] (II) intel(0): First detailed timing is preferred mode
[    30.791] (II) intel(0): redX: 0.640 redY: 0.340   greenX: 0.290 greenY: 0.609
[    30.791] (II) intel(0): blueX: 0.140 blueY: 0.069   whiteX: 0.310 whiteY: 0.330
[    30.791] (II) intel(0): Supported established timings:
[    30.791] (II) intel(0): 720x400@70Hz
[    30.791] (II) intel(0): 640x480@60Hz
[    30.791] (II) intel(0): 640x480@67Hz
[    30.791] (II) intel(0): 640x480@72Hz
[    30.791] (II) intel(0): 640x480@75Hz
[    30.791] (II) intel(0): 800x600@56Hz
[    30.791] (II) intel(0): 800x600@60Hz
[    30.791] (II) intel(0): 800x600@72Hz
[    30.791] (II) intel(0): 800x600@75Hz
[    30.791] (II) intel(0): 832x624@75Hz
[    30.791] (II) intel(0): 1024x768@60Hz
[    30.791] (II) intel(0): 1024x768@70Hz
[    30.791] (II) intel(0): 1024x768@75Hz
[    30.791] (II) intel(0): 1280x1024@75Hz
[    30.791] (II) intel(0): Manufacturer's mask: 0
[    30.791] (II) intel(0): Supported standard timings:
[    30.791] (II) intel(0): #0: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[    30.791] (II) intel(0): #1: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    30.791] (II) intel(0): #2: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[    30.791] (II) intel(0): #3: hsize: 1440  vsize 900  refresh: 60  vid: 149
[    30.791] (II) intel(0): #4: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[    30.791] (II) intel(0): #5: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[    30.791] (II) intel(0): Supported detailed timing:
[    30.791] (II) intel(0): clock: 146.2 MHz   Image Size:  473 x 296 mm
[    30.791] (II) intel(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
[    30.791] (II) intel(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border: 0
[    30.791] (II) intel(0): Ranges: V min: 56 V max: 75 Hz, H min: 31 H max: 81 kHz, PixClock max 175 MHz
[    30.791] (II) intel(0): Monitor name: VW222
[    30.791] (II) intel(0): Serial No: 7BLMQC006310
[    30.791] (II) intel(0): EDID (in hex):
[    30.791] (II) intel(0): 	00ffffffffffff000469a222a6180000
[    30.791] (II) intel(0): 	2e1101031e2f1e78eec4f6a3574a9c23
[    30.791] (II) intel(0): 	114f54bfef00714f818081409500a940
[    30.791] (II) intel(0): 	b3000101010121399030621a274068b0
[    30.791] (II) intel(0): 	3600d9281100001c000000fd00384b1f
[    30.791] (II) intel(0): 	5111000a202020202020000000fc0056
[    30.791] (II) intel(0): 	573232320a20202020202020000000ff
[    30.791] (II) intel(0): 	0037424c4d51433030363331302000d1
[    30.791] (II) intel(0): EDID vendor "ACI", prod id 8866
[    30.791] (II) intel(0): Using EDID range info for horizontal sync
[    30.791] (II) intel(0): Using EDID range info for vertical refresh
[    30.791] (II) intel(0): Printing DDC gathered Modelines:
[    30.791] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    30.791] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    30.791] (II) intel(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    30.791] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    30.791] (II) intel(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz)
[    30.791] (II) intel(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[    30.791] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    30.791] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    30.791] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    30.791] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
[    30.791] (II) intel(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[    30.791] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    30.791] (II) intel(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[    30.791] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    30.791] (II) intel(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[    30.791] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    30.791] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    30.791] (II) intel(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[    30.791] (II) intel(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[    30.792] (II) intel(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
[    30.792] (II) intel(0): Not using mode "1600x1200" (height too large for virtual size)
[    30.792] (II) intel(0): Printing probed modes for output VGA1
[    30.792] (II) intel(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[    30.792] (II) intel(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[    30.792] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    30.792] (II) intel(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz)
[    30.792] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[    30.792] (II) intel(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
[    30.792] (II) intel(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz)
[    30.792] (II) intel(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz)
[    30.792] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    30.792] (II) intel(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz)
[    30.792] (II) intel(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz)
[    30.792] (II) intel(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
[    30.792] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    30.792] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    30.792] (II) intel(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz)
[    30.792] (II) intel(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
[    30.792] (II) intel(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz)
[    30.792] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    30.792] (II) intel(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
[    30.792] (II) intel(0): EDID for output LVDS1
[    30.792] (II) intel(0): Manufacturer: LEN  Model: 4042  Serial#: 0
[    30.792] (II) intel(0): Year: 2005  Week: 0
[    30.792] (II) intel(0): EDID Version: 1.3
[    30.792] (II) intel(0): Digital Display Input
[    30.792] (II) intel(0): Max Image Size [cm]: horiz.: 30  vert.: 23
[    30.792] (II) intel(0): Gamma: 2.20
[    30.792] (II) intel(0): DPMS capabilities: StandBy Suspend Off
[    30.792] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    30.792] (II) intel(0): First detailed timing is preferred mode
[    30.792] (II) intel(0): redX: 0.590 redY: 0.343   greenX: 0.319 greenY: 0.539
[    30.792] (II) intel(0): blueX: 0.154 blueY: 0.133   whiteX: 0.312 whiteY: 0.328
[    30.792] (II) intel(0): Supported established timings:
[    30.792] (II) intel(0): 640x480@60Hz
[    30.792] (II) intel(0): 800x600@60Hz
[    30.792] (II) intel(0): 1024x768@60Hz
[    30.792] (II) intel(0): Manufacturer's mask: 0
[    30.792] (II) intel(0): Supported standard timings:
[    30.792] (II) intel(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    30.792] (II) intel(0): Supported detailed timing:
[    30.792] (II) intel(0): clock: 108.0 MHz   Image Size:  304 x 228 mm
[    30.792] (II) intel(0): h_active: 1400  h_sync: 1448  h_sync_end 1560 h_blank_end 1688 h_border: 0
[    30.792] (II) intel(0): v_active: 1050  v_sync: 1051  v_sync_end 1054 v_blanking: 1066 v_border: 0
[    30.792] (II) intel(0): Supported detailed timing:
[    30.792] (II) intel(0): clock: 90.0 MHz   Image Size:  304 x 228 mm
[    30.792] (II) intel(0): h_active: 1400  h_sync: 1448  h_sync_end 1560 h_blank_end 1688 h_border: 0
[    30.792] (II) intel(0): v_active: 1050  v_sync: 1051  v_sync_end 1054 v_blanking: 1066 v_border: 0
[    30.792] (II) intel(0): Unknown vendor-specific block f
[    30.792] (II) intel(0):  LP150E07-TL03
[    30.792] (II) intel(0): EDID (in hex):
[    30.792] (II) intel(0): 	00ffffffffffff0030ae424000000000
[    30.792] (II) intel(0): 	000f0103801e1778ea3c809757518a27
[    30.792] (II) intel(0): 	22505421080081800101010101010101
[    30.792] (II) intel(0): 	010101010101302a7820511a10403070
[    30.792] (II) intel(0): 	130030e41000001825237820511a1040
[    30.792] (II) intel(0): 	3070130030e4100000180000000f0090
[    30.792] (II) intel(0): 	4332904328140100320c5321000000fe
[    30.792] (II) intel(0): 	004c503135304530372d544c303300ca
[    30.792] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[    30.792] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[    30.792] (II) intel(0): Printing probed modes for output LVDS1
[    30.792] (II) intel(0): Modeline "1400x1050"x60.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[    30.792] (II) intel(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz)
[    30.793] (II) intel(0): Modeline "1400x1050"x50.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[    30.793] (II) intel(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[    30.793] (II) intel(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[    30.793] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    30.793] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    30.793] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    30.793] (II) intel(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    30.793] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    30.793] (II) intel(0): EDID for output TV1
[    30.793] (II) intel(0): Printing probed modes for output TV1
[    30.793] (II) intel(0): Modeline "848x480"x30.0   14.51  848 849 912 944  480 481 512 513 (15.4 kHz)
[    30.793] (II) intel(0): Modeline "640x480"x30.0   11.31  640 641 704 736  480 481 512 513 (15.4 kHz)
[    30.793] (II) intel(0): Modeline "1024x768"x30.0   26.89  1024 1025 1088 1120  768 769 800 801 (24.0 kHz)
[    30.793] (II) intel(0): Modeline "800x600"x30.0   17.00  800 801 864 896  600 601 632 633 (19.0 kHz)
[    30.793] (II) intel(0): Output VGA1 connected
[    30.793] (II) intel(0): Output LVDS1 connected
[    30.793] (II) intel(0): Output TV1 disconnected
[    30.793] (II) intel(0): Using user preference for initial modes
[    30.793] (II) intel(0): Output VGA1 using initial mode 1680x1050
[    30.793] (II) intel(0): Output LVDS1 using initial mode 1400x1050
[    30.793] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    30.793] (II) intel(0): Kernel page flipping support detected, enabling
[    30.793] (**) intel(0): Display dimensions: (470, 300) mm
[    30.793] (**) intel(0): DPI set to (166, 88)
[    30.793] (II) Loading sub module "fb"
[    30.793] (II) LoadModule: "fb"
[    30.793] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    31.031] (II) Module fb: vendor="X.Org Foundation"
[    31.031] 	compiled for 1.10.99.1, module version = 1.0.0
[    31.031] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    31.031] (II) Loading sub module "dri2"
[    31.031] (II) LoadModule: "dri2"
[    31.031] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[    31.031] (II) Module dri2: vendor="X.Org Foundation"
[    31.031] 	compiled for 1.10.99.1, module version = 1.2.0
[    31.031] 	ABI class: X.Org Server Extension, version 5.0
[    31.031] (==) Depth 24 pixmap format is 32 bpp
[    31.031] (II) intel(0): [DRI2] Setup complete
[    31.031] (II) intel(0): [DRI2]   DRI driver: i965
[    31.031] (II) intel(0): Allocated new frame buffer 3136x1050 stride 12800, tiled
[    31.160] (II) UXA(0): Driver registered support for the following operations:
[    31.160] (II)         solid
[    31.160] (II)         copy
[    31.161] (II)         composite (RENDER acceleration)
[    31.161] (II)         put_image
[    31.161] (II)         get_image
[    31.161] (==) intel(0): Backing store disabled
[    31.161] (==) intel(0): Silken mouse enabled
[    31.161] (II) intel(0): Initializing HW Cursor
[    31.202] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    31.204] (==) intel(0): DPMS enabled
[    31.204] (==) intel(0): Intel XvMC decoder enabled
[    31.204] (II) intel(0): Set up textured video
[    31.204] (II) intel(0): Set up overlay video
[    31.204] (II) intel(0): [XvMC] i965_xvmc driver initialized.
[    31.204] (II) intel(0): direct rendering: DRI2 Enabled
[    31.204] (WW) intel(0): Option "monitor-LVDS" is not used
[    31.204] (WW) intel(0): Option "monitor-VGA" is not used
[    31.204] (WW) intel(0): Option "DRI2" is not used
[    31.204] (WW) intel(0): Option "AccelMethod" is not used
[    31.204] (==) intel(0): hotplug detection: "enabled"
[    31.205] (--) RandR disabled
[    31.205] (II) Initializing built-in extension Generic Event Extension
[    31.205] (II) Initializing built-in extension SHAPE
[    31.205] (II) Initializing built-in extension MIT-SHM
[    31.205] (II) Initializing built-in extension XInputExtension
[    31.205] (II) Initializing built-in extension XTEST
[    31.205] (II) Initializing built-in extension BIG-REQUESTS
[    31.205] (II) Initializing built-in extension SYNC
[    31.205] (II) Initializing built-in extension XKEYBOARD
[    31.205] (II) Initializing built-in extension XC-MISC
[    31.205] (II) Initializing built-in extension XINERAMA
[    31.205] (II) Initializing built-in extension XFIXES
[    31.205] (II) Initializing built-in extension RENDER
[    31.205] (II) Initializing built-in extension RANDR
[    31.205] (II) Initializing built-in extension COMPOSITE
[    31.205] (II) Initializing built-in extension DAMAGE
[    31.795] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    31.795] (II) AIGLX: enabled GLX_INTEL_swap_event
[    31.795] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    31.795] (II) AIGLX: enabled GLX_SGI_make_current_read
[    31.795] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    31.796] (II) AIGLX: Loaded and initialized i965
[    31.796] (II) GLX: Initialized DRI2 GL provider for screen 0
[    31.796] (II) intel(0): Setting screen physical size to 814 x 277
[    33.289] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    33.289] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    33.289] (II) LoadModule: "evdev"
[    33.290] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.345] (II) Module evdev: vendor="X.Org Foundation"
[    33.345] 	compiled for 1.10.99.1, module version = 2.6.0
[    33.345] 	Module class: X.Org XInput Driver
[    33.345] 	ABI class: X.Org XInput driver, version 12.2
[    33.345] (II) Using input driver 'evdev' for 'Power Button'
[    33.345] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.345] (**) Power Button: always reports core events
[    33.345] (**) evdev: Power Button: Device: "/dev/input/event2"
[    33.349] (--) evdev: Power Button: Found keys
[    33.349] (II) evdev: Power Button: Configuring as keyboard
[    33.349] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    33.349] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    33.349] (**) Option "xkb_rules" "evdev"
[    33.349] (**) Option "xkb_model" "evdev"
[    33.349] (**) Option "xkb_layout" "us"
[    33.370] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    33.370] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    33.370] (II) Using input driver 'evdev' for 'Video Bus'
[    33.370] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.370] (**) Video Bus: always reports core events
[    33.370] (**) evdev: Video Bus: Device: "/dev/input/event3"
[    33.372] (--) evdev: Video Bus: Found keys
[    33.372] (II) evdev: Video Bus: Configuring as keyboard
[    33.372] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[    33.372] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    33.372] (**) Option "xkb_rules" "evdev"
[    33.372] (**) Option "xkb_model" "evdev"
[    33.372] (**) Option "xkb_layout" "us"
[    33.378] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    33.378] (II) No input driver/identifier specified (ignoring)
[    33.378] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    33.378] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    33.378] (II) Using input driver 'evdev' for 'Sleep Button'
[    33.378] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.378] (**) Sleep Button: always reports core events
[    33.378] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[    33.383] (--) evdev: Sleep Button: Found keys
[    33.383] (II) evdev: Sleep Button: Configuring as keyboard
[    33.383] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[    33.383] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    33.383] (**) Option "xkb_rules" "evdev"
[    33.383] (**) Option "xkb_model" "evdev"
[    33.383] (**) Option "xkb_layout" "us"
[    33.386] (II) config/udev: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (/dev/input/event7)
[    33.386] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Applying InputClass "evdev keyboard catchall"
[    33.386] (II) Using input driver 'evdev' for 'Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )'
[    33.386] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.386] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events
[    33.386] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: "/dev/input/event7"
[    33.391] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found keys
[    33.391] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as keyboard
[    33.391] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.1/1-4.2.1:1.0/input/input7/event7"
[    33.391] (II) XINPUT: Adding extended input device "Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD, id 9)
[    33.391] (**) Option "xkb_rules" "evdev"
[    33.391] (**) Option "xkb_model" "evdev"
[    33.391] (**) Option "xkb_layout" "us"
[    33.391] (II) config/udev: Adding input device Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ) (/dev/input/event8)
[    33.391] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Applying InputClass "evdev keyboard catchall"
[    33.391] (II) Using input driver 'evdev' for 'Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )'
[    33.391] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.391] (**) Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): always reports core events
[    33.391] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Device: "/dev/input/event8"
[    33.397] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found 12 mouse buttons
[    33.397] (--) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Found keys
[    33.397] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as mouse
[    33.397] (II) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): Configuring as keyboard
[    33.397] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): YAxisMapping: buttons 4 and 5
[    33.397] (**) evdev: Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.397] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.1/1-4.2.1:1.1/input/input8/event8"
[    33.397] (II) XINPUT: Adding extended input device "Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )" (type: KEYBOARD, id 10)
[    33.397] (**) Option "xkb_rules" "evdev"
[    33.397] (**) Option "xkb_model" "evdev"
[    33.397] (**) Option "xkb_layout" "us"
[    33.398] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/event9)
[    33.398] (**) Logitech Optical USB Mouse: Applying InputClass "evdev pointer catchall"
[    33.398] (II) Using input driver 'evdev' for 'Logitech Optical USB Mouse'
[    33.398] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.398] (**) Logitech Optical USB Mouse: always reports core events
[    33.398] (**) evdev: Logitech Optical USB Mouse: Device: "/dev/input/event9"
[    33.406] (--) evdev: Logitech Optical USB Mouse: Found 3 mouse buttons
[    33.406] (--) evdev: Logitech Optical USB Mouse: Found scroll wheel(s)
[    33.406] (--) evdev: Logitech Optical USB Mouse: Found relative axes
[    33.406] (--) evdev: Logitech Optical USB Mouse: Found x and y relative axes
[    33.406] (II) evdev: Logitech Optical USB Mouse: Configuring as mouse
[    33.406] (II) evdev: Logitech Optical USB Mouse: Adding scrollwheel support
[    33.406] (**) evdev: Logitech Optical USB Mouse: YAxisMapping: buttons 4 and 5
[    33.406] (**) evdev: Logitech Optical USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.406] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-4/1-4.2/1-4.2.3/1-4.2.3:1.0/input/input9/event9"
[    33.406] (II) XINPUT: Adding extended input device "Logitech Optical USB Mouse" (type: MOUSE, id 11)
[    33.406] (II) evdev: Logitech Optical USB Mouse: initialized for relative axes.
[    33.406] (**) Logitech Optical USB Mouse: (accel) keeping acceleration scheme 1
[    33.406] (**) Logitech Optical USB Mouse: (accel) acceleration profile 0
[    33.406] (**) Logitech Optical USB Mouse: (accel) acceleration factor: 2.000
[    33.406] (**) Logitech Optical USB Mouse: (accel) acceleration threshold: 4
[    33.406] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/mouse1)
[    33.406] (II) No input driver/identifier specified (ignoring)
[    33.415] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    33.415] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    33.415] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    33.415] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.415] (**) AT Translated Set 2 keyboard: always reports core events
[    33.415] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[    33.420] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    33.420] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    33.420] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    33.420] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    33.420] (**) Option "xkb_rules" "evdev"
[    33.420] (**) Option "xkb_model" "evdev"
[    33.420] (**) Option "xkb_layout" "us"
[    33.420] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[    33.420] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    33.420] (II) Using input driver 'evdev' for 'SynPS/2 Synaptics TouchPad'
[    33.420] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.420] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    33.420] (**) evdev: SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
[    33.423] (--) evdev: SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
[    33.423] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute axes
[    33.423] (--) evdev: SynPS/2 Synaptics TouchPad: Found x and y absolute axes
[    33.423] (--) evdev: SynPS/2 Synaptics TouchPad: Found absolute touchpad.
[    33.423] (II) evdev: SynPS/2 Synaptics TouchPad: Configuring as touchpad
[    33.423] (**) evdev: SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
[    33.423] (**) evdev: SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.423] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[    33.423] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[    33.423] (II) evdev: SynPS/2 Synaptics TouchPad: initialized for absolute axes.
[    33.423] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    33.423] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[    33.423] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    33.423] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    33.423] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    33.423] (II) No input driver/identifier specified (ignoring)
[    33.423] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event10)
[    33.423] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    33.423] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    33.423] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.423] (**) TPPS/2 IBM TrackPoint: always reports core events
[    33.423] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event10"
[    33.430] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    33.430] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    33.430] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    33.430] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    33.430] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    33.430] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    33.430] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input10/event10"
[    33.430] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 14)
[    33.430] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    33.430] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    33.430] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    33.430] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    33.430] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    33.430] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
[    33.430] (II) No input driver/identifier specified (ignoring)
[    33.431] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
[    33.431] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    33.431] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[    33.431] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[    33.431] (**) ThinkPad Extra Buttons: always reports core events
[    33.431] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
[    33.438] (--) evdev: ThinkPad Extra Buttons: Found keys
[    33.438] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[    33.438] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
[    33.438] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 15)
[    33.438] (**) Option "xkb_rules" "evdev"
[    33.438] (**) Option "xkb_model" "evdev"
[    33.438] (**) Option "xkb_layout" "us"
[    64.594] (II) intel(0): EDID vendor "LEN", prod id 16450
[    64.594] (II) intel(0): Printing DDC gathered Modelines:
[    64.594] (II) intel(0): Modeline "1400x1050"x0.0  108.00  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (64.0 kHz)
[    64.594] (II) intel(0): Modeline "1400x1050"x0.0   89.97  1400 1448 1560 1688  1050 1051 1054 1066 -hsync -vsync (53.3 kHz)
[    64.594] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    64.594] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
[    64.594] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    64.594] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)

[-- 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  2011-05-18 17:03     ` Florian Mickler
@ 2011-06-01 10:06       ` Florian Mickler
  2011-06-01 19:30         ` Adam Jackson
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-06-01 10:06 UTC (permalink / raw)
  To: xorg-devel, ajax; +Cc: intel-gfx

Recently the kernel started reporting my outputs in a different ordering due to

    commit cb0953d734
    (drm/i915: Initialize LVDS and eDP outputs before anything else)

Which made X choose a "wrong" resolution for my VGA display. Since they are
aligned horizontally, I wish them to be aligned in vertical
Resolution only.

Before this patch, the sum of squared distances would force my VGA display
(1680x1050 native resolution) to 1280x1024 (non-native) due to my internal
display beeing considered first and 1400x1050 as native resolution.

This was not an issue the other way around (VGA beeing first) because 1400x1050
is nearest to 1680x1050 anyway.

This patch changes the heuristic to only align resolution vertically if the
displays are horizontally aligned, or vice versa.

Signed-off-by: Florian Mickler <florian@mickler.org>
---

Ok, Adam... seems I lost the staring contest... :)
What about something like this?

 hw/xfree86/modes/xf86Crtc.c |  115 ++++++++++++++++++++++++++++++++++++-------
 1 files changed, 96 insertions(+), 19 deletions(-)

diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 4e3f6bf..96c6c62 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -872,15 +872,92 @@ xf86DefaultMode (xf86OutputPtr output, int width, int height)
     return target_mode;
 }
 
+static Bool
+xf86GetOptRelation(xf86OutputPtr output, OutputOpts *relation, char **relative_name)
+{
+	int r;
+	static const OutputOpts	relations[] = {
+	    OPTION_BELOW, OPTION_RIGHT_OF, OPTION_ABOVE, OPTION_LEFT_OF
+	};
+
+	*relation = 0;
+	*relative_name = NULL;
+
+	for (r = 0; r < 4; r++)
+	{
+	    *relation = relations[r];
+	    *relative_name = xf86GetOptValString (output->options,
+						     *relation);
+	    if (*relative_name)
+		break;
+	}
+	return (*relative_name != NULL);
+}
+
+static Bool
+xf86OutputsRelatedHorizontal(xf86OutputPtr out1, xf86OutputPtr out2)
+{
+	OutputOpts relation;
+	char *other_name;
+	Bool ret = FALSE;
+
+	if (xf86GetOptRelation(out1, &relation, &other_name) &&
+			strcmp(other_name, out2->name) == 0) {
+		/*
+		 * out1 related to out2
+		 */
+		ret = (relation == OPTION_RIGHT_OF ||
+			relation == OPTION_LEFT_OF);
+	}
+	if (!ret && xf86GetOptRelation(out2, &relation, &other_name) &&
+			strcmp(other_name, out1->name) == 0) {
+		/*
+		 * out2 related to out1
+		 */
+		ret = (relation == OPTION_RIGHT_OF ||
+			relation == OPTION_LEFT_OF);
+	}
+
+	return ret;
+
+}
+
+static Bool
+xf86OutputsRelatedVertical(xf86OutputPtr out1, xf86OutputPtr out2)
+{
+	OutputOpts relation;
+	char *other_name;
+	Bool ret = FALSE;
+
+	if (xf86GetOptRelation(out1, &relation, &other_name) &&
+			strcmp(other_name, out2->name) == 0) {
+		/*
+		 * out1 related to out2
+		 */
+		ret = (relation == OPTION_ABOVE ||
+			relation == OPTION_BELOW);
+	}
+	if (!ret && xf86GetOptRelation(out2, &relation, &other_name) &&
+			strcmp(other_name, out1->name) == 0) {
+		/*
+		 * out2 related to out1
+		 */
+		ret = (relation == OPTION_ABOVE ||
+			relation == OPTION_BELOW);
+	}
+
+	return ret;
+}
+
 static DisplayModePtr
-xf86ClosestMode (xf86OutputPtr output, 
+xf86ClosestMode (xf86OutputPtr output, xf86OutputPtr match_output,
 		 DisplayModePtr match, Rotation match_rotation,
 		 int width, int height)
 {
     DisplayModePtr  target_mode = NULL;
     DisplayModePtr  mode;
     int		    target_diff = 0;
-    
+
     /*
      * Pick a mode closest to the specified mode
      */
@@ -892,15 +969,26 @@ xf86ClosestMode (xf86OutputPtr output,
 	if (xf86ModeWidth (mode, output->initial_rotation) > width ||
 	    xf86ModeHeight (mode, output->initial_rotation) > height)
 	    continue;
-	
+
 	/* exact matches are preferred */
 	if (output->initial_rotation == match_rotation &&
 	    xf86ModesEqual (mode, match))
 	    return mode;
-	
+
 	dx = xf86ModeWidth (match, match_rotation) - xf86ModeWidth (mode, output->initial_rotation);
 	dy = xf86ModeHeight (match, match_rotation) - xf86ModeHeight (mode, output->initial_rotation);
-	diff = dx * dx + dy * dy;
+
+	/*
+	 * If we are aligning screens horizontally or vertically use
+	 * only one dimension for matching
+	 */
+	if (xf86OutputsRelatedHorizontal(output, match_output))
+			diff = dy * dy;
+	else if (xf86OutputsRelatedVertical(output, match_output))
+			diff = dx * dx;
+	else
+		diff = dx * dx + dy * dy;
+
 	xf86DrvMsg (0, X_INFO,
 		"XF86ClosestMode: Output %s, Mode %s [ dx = %i, dy = %i, diff = %i ]\n",
 		output->name, mode->name, dx, dy, diff);
@@ -1122,10 +1210,6 @@ xf86UserConfiguredOutputs(ScrnInfoPtr scrn, DisplayModePtr *modes)
 	char	    *position;
 	char	    *relative_name;
 	OutputOpts	    relation;
-	int r;
-	static const OutputOpts	relations[] = {
-	    OPTION_BELOW, OPTION_RIGHT_OF, OPTION_ABOVE, OPTION_LEFT_OF
-	};
 
 	position = xf86GetOptValString (output->options,
 					OPTION_POSITION);
@@ -1137,15 +1221,7 @@ xf86UserConfiguredOutputs(ScrnInfoPtr scrn, DisplayModePtr *modes)
 	}
 	relation = 0;
 	relative_name = NULL;
-	for (r = 0; r < 4; r++)
-	{
-	    relation = relations[r];
-	    relative_name = xf86GetOptValString (output->options,
-						     relation);
-	    if (relative_name)
-		break;
-	}
-	if (relative_name) {
+	if (xf86GetOptRelation(output, &relation, &relative_name)) {
 	    user_conf = TRUE;
 	    xf86DrvMsg (scrn->scrnIndex, X_INFO,
 			"Output %s has user_conf due to relation: %s\n",
@@ -2245,7 +2321,8 @@ xf86TargetFallback(ScrnInfoPtr scrn, xf86CrtcConfigPtr config,
     /* Fill in other output modes */
     for (o = -1; nextEnabledOutput(config, enabled, &o); ) {
 	if (!modes[o])
-	    modes[o] = xf86ClosestMode(config->output[o], target_mode,
+	    modes[o] = xf86ClosestMode(config->output[o],
+			    config->output[config->compat_output], target_mode,
 				       target_rotation, width, height);
     }
 
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  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
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Jackson @ 2011-06-01 19:30 UTC (permalink / raw)
  To: Florian Mickler; +Cc: intel-gfx, xorg-devel

On 6/1/11 6:06 AM, Florian Mickler wrote:
> Recently the kernel started reporting my outputs in a different ordering due to
>
>      commit cb0953d734
>      (drm/i915: Initialize LVDS and eDP outputs before anything else)
>
> Which made X choose a "wrong" resolution for my VGA display. Since they are
> aligned horizontally, I wish them to be aligned in vertical
> Resolution only.
>
> Before this patch, the sum of squared distances would force my VGA display
> (1680x1050 native resolution) to 1280x1024 (non-native) due to my internal
> display beeing considered first and 1400x1050 as native resolution.
>
> This was not an issue the other way around (VGA beeing first) because 1400x1050
> is nearest to 1680x1050 anyway.
>
> This patch changes the heuristic to only align resolution vertically if the
> displays are horizontally aligned, or vice versa.
>
> Signed-off-by: Florian Mickler<florian@mickler.org>
> ---
>
> Ok, Adam... seems I lost the staring contest... :)
> What about something like this?

At this point, given the near-unity overlap of "RANDRful drivers" and 
"usable KMS support", I think I'd prefer something more like:

http://pkgs.fedoraproject.org/gitweb/?p=xorg-x11-server.git;a=blob_plain;f=xserver-1.6.99-right-of.patch;h=a0c9e7f64b98a091f64faaf5a8a432e2122e25f9;hb=HEAD

particularly once per-crtc pixmaps land.

- ajax

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  2011-06-01 19:30         ` Adam Jackson
@ 2011-06-01 20:44           ` Florian Mickler
  2011-06-01 20:48             ` Adam Jackson
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-06-01 20:44 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx, xorg-devel

On Wed, 01 Jun 2011 15:30:03 -0400
Adam Jackson <ajax@redhat.com> wrote:

> On 6/1/11 6:06 AM, Florian Mickler wrote:
> > Recently the kernel started reporting my outputs in a different ordering due to
> >
> >      commit cb0953d734
> >      (drm/i915: Initialize LVDS and eDP outputs before anything else)
> >
> > Which made X choose a "wrong" resolution for my VGA display. Since they are
> > aligned horizontally, I wish them to be aligned in vertical
> > Resolution only.
> >
> > Before this patch, the sum of squared distances would force my VGA display
> > (1680x1050 native resolution) to 1280x1024 (non-native) due to my internal
> > display beeing considered first and 1400x1050 as native resolution.
> >
> > This was not an issue the other way around (VGA beeing first) because 1400x1050
> > is nearest to 1680x1050 anyway.
> >
> > This patch changes the heuristic to only align resolution vertically if the
> > displays are horizontally aligned, or vice versa.
> >
> > Signed-off-by: Florian Mickler<florian@mickler.org>
> > ---
> >
> > Ok, Adam... seems I lost the staring contest... :)
> > What about something like this?
> 
> At this point, given the near-unity overlap of "RANDRful drivers" and 
> "usable KMS support", I think I'd prefer something more like:
> 
> http://pkgs.fedoraproject.org/gitweb/?p=xorg-x11-server.git;a=blob_plain;f=xserver-1.6.99-right-of.patch;h=a0c9e7f64b98a091f64faaf5a8a432e2122e25f9;hb=HEAD
> 
> particularly once per-crtc pixmaps land.
> 
> - ajax

I think using horizontal spanning as a default is a good idea. 

Also bringing all outputs up in their preferred mode could be the right
move.

[That commit in question wouldn't help my case, since I have a "Right Of" in the
xorg.conf and thus it would use a different code-path (right now).]


When there is no preferred mode, xf86ClosestMode (probably enhanced to
respect horizontal or vertical relation in some form) would still be
needed... choosing of mode and positioning of outputs
relative to each other should probably be decoupled...

Regards,
Flo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  2011-06-01 20:44           ` Florian Mickler
@ 2011-06-01 20:48             ` Adam Jackson
  2011-06-01 21:06               ` Florian Mickler
  0 siblings, 1 reply; 10+ messages in thread
From: Adam Jackson @ 2011-06-01 20:48 UTC (permalink / raw)
  To: Florian Mickler; +Cc: intel-gfx, xorg-devel

On 6/1/11 4:44 PM, Florian Mickler wrote:
> I think using horizontal spanning as a default is a good idea.
>
> Also bringing all outputs up in their preferred mode could be the right
> move.
>
> [That commit in question wouldn't help my case, since I have a "Right Of" in the
> xorg.conf and thus it would use a different code-path (right now).]

Oh, sure, I see what you're saying.

> When there is no preferred mode, xf86ClosestMode (probably enhanced to
> respect horizontal or vertical relation in some form) would still be
> needed... choosing of mode and positioning of outputs
> relative to each other should probably be decoupled...

Probably.  But in your case, why would you not just pick the preferred 
mode for all outputs, rather than contorting to try to pick modes with 
the same height?

- ajax

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  2011-06-01 20:48             ` Adam Jackson
@ 2011-06-01 21:06               ` Florian Mickler
  2011-06-01 21:30                 ` Adam Jackson
  0 siblings, 1 reply; 10+ messages in thread
From: Florian Mickler @ 2011-06-01 21:06 UTC (permalink / raw)
  To: Adam Jackson; +Cc: intel-gfx, xorg-devel

On Wed, 01 Jun 2011 16:48:30 -0400
Adam Jackson <ajax@redhat.com> wrote:

> On 6/1/11 4:44 PM, Florian Mickler wrote:
> > I think using horizontal spanning as a default is a good idea.
> >
> > Also bringing all outputs up in their preferred mode could be the right
> > move.
> >
> > [That commit in question wouldn't help my case, since I have a "Right Of" in the
> > xorg.conf and thus it would use a different code-path (right now).]
> 
> Oh, sure, I see what you're saying.
> 
> > When there is no preferred mode, xf86ClosestMode (probably enhanced to
> > respect horizontal or vertical relation in some form) would still be
> > needed... choosing of mode and positioning of outputs
> > relative to each other should probably be decoupled...
> 
> Probably.  But in your case, why would you not just pick the preferred 
> mode for all outputs, rather than contorting to try to pick modes with 
> the same height?
> 
> - ajax

Well... because the endeffect is the same in my case. :) 

But yes, if there is a preferred mode, that should be used. 

Is there a preferred mode in all cases? 

Regards,
Flo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] change initial modesetting if outputs are aligned in 1 dimension
  2011-06-01 21:06               ` Florian Mickler
@ 2011-06-01 21:30                 ` Adam Jackson
  0 siblings, 0 replies; 10+ messages in thread
From: Adam Jackson @ 2011-06-01 21:30 UTC (permalink / raw)
  To: Florian Mickler; +Cc: intel-gfx, xorg-devel

On 6/1/11 5:06 PM, Florian Mickler wrote:

> Well... because the endeffect is the same in my case. :)
>
> But yes, if there is a preferred mode, that should be used.
>
> Is there a preferred mode in all cases?

For any display with a discrete number of pixels (LCDs, etc), almost 
always.  CRTs, most of the time, although it's not always the mode the 
user wants.

- ajax

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-01 21:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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.