[Intel-gfx] Dual screen: Define primary monitor?

Lars Behrens lars.behrens at pi.uka.de
Tue Oct 6 16:30:56 CEST 2009


Hi folks,

I have a dual monitor setup on an HP Compaq dc7900 CMT, kernel is
SUSE's 2.6.27.29(-0.1-default).

For some reason, the primary screen always defaults to the VGA output of the 
graphics adapter, no matter how I plug the cords. Is there a way to tell 
xrandr or xorg.conf to make the HDMI output the primary one?

Thanks in advance for tips!

Lars

xrandr -q output:
**********************************************************************************
Screen 0: minimum 320 x 200, current 3360 x 1050, maximum 3840 x 1200
VGA connected 1680x1050+1680+0 (normal left inverted right x axis y axis) 
473mm x 297mm
   1680x1050      59.9*+   60.0     59.9*    49.0     47.9
   1600x1200      60.0
   1600x1024      52.0     50.9
   1600x1000      54.0     52.9
   1400x1050      74.8     60.0     58.0     56.9
   1600x900       60.0     58.9
   1280x1024      75.0     64.0     60.0     60.0     62.9
   1440x900       75.0     66.0     60.0     65.0
   1280x960       68.0     60.0     60.0     66.9
   1366x768       76.0     70.7     65.3     60.0
   1360x768       76.0     70.7     65.3     74.8     60.0
   1280x800       76.0     70.7     65.3     75.0     60.0     60.0
   1152x864       75.0     76.0     70.7     65.3     74.9     60.0
   1280x768       76.0     70.7     65.3     74.8     60.0
   1280x720       76.0     70.7     65.3     74.9     60.0
   1152x720       60.0
   1024x768       76.0     75.1     75.0     70.7     70.1     74.8     65.3     
60.0     60.0
   1280x600       76.0     70.7     65.3     74.8     60.0
   1024x600       76.0     70.7     74.7     65.3     60.0
   832x624        74.6
   800x600        76.0     72.2     75.0     70.7     74.9     65.3     60.3     
60.0     56.2
   768x576        76.0     70.7     74.9     65.3     60.0
   640x480        75.0     72.8     75.0     76.0     74.7     70.7     65.3     
60.0     59.9
   720x400        70.1
HDMI-2 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 
473mm x 297mm
   1680x1050      59.9*+   60.0
   1600x1200      60.0
   1400x1050      74.8     60.0
   1280x1024      75.0     60.0     60.0
   1440x900       75.0     60.0
   1280x960       60.0     60.0
   1280x800       60.0
   1152x864       75.0
   1152x720       60.0
   1024x768       75.1     75.0     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     75.0     60.0     59.9
   720x400        70.1
**********************************************************************************

xorg.conf (font paths and mode lines snipped)
**********************************************************************************
# /.../
# SaX generated X11 config file
# Created on: 2009-10-05T16:09:32+0200.
#
# Version: 8.1
# Contact: Marcus Schaefer <sax at suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
[...]
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/input/mice"
EndSection

Section "ServerFlags"
  Option       "AIGLX" "on"
  Option       "AllowMouseOpenFail" "on"
  Option       "ZapWarning" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "microsoftpro"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Buttons" "5"
  Option       "Device" "/dev/input/mice"
  Option       "Name" "Logitech USB Optical Mouse"
  Option       "Protocol" "explorerps/2"
  Option       "Vendor" "Sysp"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
  HorizSync    30-83
  Identifier   "EXT"
  ModelName    "BENQ G2200W"
  Option       "LeftOf" "Monitor[0]"
  Option       "PreferredMode" "1680x1050"
  VendorName   "BNQ"
  VertRefresh  50-76
EndSection


Section "Monitor"
  DisplaySize  473 297
  HorizSync    29-83
  Identifier   "Monitor[0]"
  ModelName    "BENQ G2200W"
  Option       "DPMS"
  Option       "PreferredMode" "1680x1050"
  VendorName   "BNQ"
  VertRefresh  43-76
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1680x1050" 117.69 1680 1776 1952 2224 1050 1051 1054 1080
 [...]
EndSection


Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    
Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1600x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      16
    
Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1600x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      24
    
Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1600x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    3840 1200
  EndSubSection
  SubSection "Display"
    Depth      8
    
Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1600x900" "1280x1024" "1440x900" "1280x960" "1366x768" "1360x768" "1280x800" "1152x864" "1280x768" "1280x720" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
    Virtual    3840 1200
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
#  Monitor      "Monitor[0]"
  Monitor      "EXT"
EndSection


Section "Device"
  BoardName    "Q45/Q43"
  Driver       "intel"
  Identifier   "Device[0]"
  Option       "EXANoComposite"
  Option       "SaXDualHead"
  Option       "monitor-VGA" "Monitor[0]"
  Option       "SaXDualMonitorVendor" "BNQ"
  Option       "SaXDualOrientation" "LeftOf"
  Option       "SaXDualResolution" "1680x1050"
  Option       "SaXDualMode" "Xinerama"
  Option       "monitor-HDMI-2" "EXT"
  Option       "SaXDualHSync" "30-83"
  Option       "SaXDualMonitorModel" "BENQ G2200W"
  Option       "SaXDualVSync" "50-76"
  
Option       "SaXExternal" "Identifier&EXT+DisplaySize&+VendorName&BNQ+LeftOf&Monitor[0]+PreferredMode&1680x1050+HorizSync&30-83+ModelName&BENQ 
G2200W+VertRefresh&50-76"
  VendorName   "Intel"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
#  Screen       "EXT"
EndSection


Section "DRI"
    Group      "video"
    Mode       0660
EndSection

Section "Extensions"
  Option       "Composite" "on"
EndSection
**********************************************************************************



More information about the Intel-gfx mailing list