I have a similar problem as you do, but I have a different video chipset which is
Intel Corporation 82852/855GM Integrated Graphics. I'm using the i810 driver by the way and I haven't tried any others. I tried solving it a few weeks ago and reading through many man pages including xorg and xrandr but couldn't get it right and I just gave up. At the moment, my external monitor is at correct resolution(1400x900) but my main one is off position and instead of it being 1280x768 it blows up to 1400x900
Quote:
whenever I believe to have fixed one thing, I end up breaking something else...
|
Same here...
Anyway, looking at your xorg file, I don't see
HorizSync and
VertRefresh which should be specified in the
monitor section. That could be the cause of your "unstable" problem but I'm not sure though.
Quote:
What I am trying to achieve is simply getting the external monitor to be the main screen when it is connected, and the laptop screen to function when external not connected.
|
Maybe this will help you. Plug in your external monitor(don't reboot) and check if VGA is connected by running
xrandr. If your VGA is connected, type this:
Code:
xrandr --output VGA --mode 1920x1200
That command should output your VGA monitor to that resolution.
To turn VGA monitor off and return to your main resolution display:
Code:
xrandr --output VGA --off
And if that doesn't return your main resolution display, try this:
Code:
xrandr --output LVDS --mode 1280x800
For more info:
man xrandr
man xorg.conf
xrandr -help
Here's my xorg if you're interested. Sorry I couldn't help more. Just be careful with this and make backups so you won't lose your settings
Code:
Section "Monitor"
Identifier "ACER-VGA"
DisplaySize 215 215
HorizSync 24.0-80.0
VertRefresh 56.0-90.0
EndSection
Section "Monitor"
Identifier "lap-LVDS"
HorizSync 31.5-50.0
VertRefresh 40.0-60.0
EndSection
Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
Driver "i810"
Option "DRI" "true"
#Option "MonitorLayout" "CRT,LFP"
#Option "Clone" "true"
#Option "CloneRefresh" "60"
BusID "PCI:0:02:0"
Screen 0
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection
Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)"
Driver "i810"
Option "DRI" "true"
#Option "Clone" "true"
#Option "CloneRefresh" "60"
BusID "PCI:0:02:0"
Screen 0
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 0"
Device "Intel Corporation 82852/855GM Integrated Graphics Device"
Monitor "ACER-VGA"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1440x900" "1280x768" "1024x768" "800x600" "640x480"
Virtual 1440 1440
#ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)"
Monitor "lap-LVDS"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1280x768" "1024x768" "800x600" "640x480"
#Virtual 1440 1440
#ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Option "AIGLX" "false"
# The Identifier line must be present
Identifier "Dual Layout"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen "Screen 0"
Screen "Screen 1" RightOf "Screen 0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
# ************
# Section DRI
# ************
Section "DRI"
Group "video"
Mode 0660
EndSection