Search Site:

About

Linux

Printers?

Programming

Windows?

Download

Skins

Edit - To Do - AllRecentChanges

Recent Changes Printable View Page History Edit Page

Ths is the Dual Head xorg.conf file for my Sony Vaio VGN-A170P laptop:

# Xorg configuration for dual head display on Vaio VGN series
<:vspace>
Section "ServerLayout"
Identifier     "DualHead"
Screen         "Screen1" LeftOf "Screen0"
Screen	       "Screen0"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
Option	       "Xinerama" "on"
EndSection
<:vspace>
Section "Files"
RgbPath      "/usr/X11R6/lib/X11/rgb"
FontPath     "unix/:7100"
EndSection
<:vspace>
Section "Module"
Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
Load  "dri"
EndSection
<:vspace>
Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option	    "XkbModel" "pc105"
Option	    "XkbLayout" "us"
EndSection
<:vspace>
Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option	    "Protocol" "IMPS/2"
Option	    "Device" "/dev/input/mice"
Option	    "ZAxisMapping" "4 5"
Option	    "Emulate3Buttons" "yes"
EndSection
<:vspace>
Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "LCD Panel 1920x1200"
HorizSync    31.5 - 90.0
VertRefresh  60.0 - 60.0
Option	    "dpms"
EndSection
<:vspace>
Section "Monitor"
Identifier   "Monitor1"
VendorName   "Samsung"
ModelName    "SyncMaster 153v"
HorizSync    31.5 - 90.0
VertRefresh  60.0 - 60.0
Option      "dpms"
EndSection
<:vspace>
Section "Device"
Identifier  "Videocard0"
Driver      "ati"
VendorName  "ATI"
BoardName   "ATI Radeon Mobility 9700"
Screen       0
BusID       "PCI:1:0:0"
EndSection
<:vspace>
Section "Device"
Identifier  "Videocard1"
Driver      "ati"
VendorName  "ATI"
BoardName   "ATI Radeon Mobility 9700"
BusID       "PCI:1:0:0"
Screen       1
EndSection
<:vspace>
Section "Screen"
Identifier "Screen1"
Device     "Videocard0"
Monitor    "Monitor0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
Modes    "1920x1200"
EndSubSection
EndSection
<:vspace>
Section "Screen"
Identifier "Screen0"
Device     "Videocard1"
Monitor    "Monitor1"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
Modes    "1024x768"
EndSubSection
EndSection
<:vspace>
Section "DRI"
Group        0
Mode         0666
EndSection
Comments
VinayFriday 21 June 2013, at 17:42 GMT+8 [X]
Thanks for the article, a few mtonhs ago I had all sorts of issues with trying to get 3 monitors setup with Ubuntu 12.04 and 12.10 using AMD cards. I first tried a R7750 which was on special at the local computer store, and knew at the time of purchase that I should have researched how this card works with Linux. Anyway I could not get this card to work with 3 monitors either with the native Ubuntu drivers or the Catalyst drivers.So I tried another AMD card, HD6570 with 2MB RAM and had more success with this, straight up the native Ubuntu drivers worked after selecting the 3 displays. I then tried installing the Catalyst drivers and although the install went fine, I could only get two monitors to work, the 3rd was greyed out and could not be activated for some reason? So in the end I've left the native Ubuntu drivers and have the 3 screens working to my satisifaction, sometimes I get glitches and have to reboot, but that might be more to do with running Reminna RDP session to a Windows box and then having a VirtualBOX VM running on another screen.Anyway, I would be interested in what you think about the issue I had with the 3rd monitor greyed out with the Catalyst drivers, they would have been older that the driver you use in this article, as I did this back in November last year. Also, given I have it all working, is it worth going to the AMD Catalyst driver or switching to an nVidia based card?Thanks again for the article, there is not much out there on multi-screens and Linux.
JamalFriday 21 June 2013, at 20:46 GMT+8 [X]
Thanks! This is a very welcome guide.I grudlaaly arrived at a similar configuration for my Ubuntu Studio 12.04 64-bit system with an ATI Radeon HD3650 graphics card. I wish I had had this article then! I'm now running Ubuntu Studio 12.10 and it works a little more smoothly now.I set dual monitor mode using a script (at ~/scripts/dual_monitor.sh)#=========================================#!/bin/bash # RESOLUTION SETTINGS # This sets your DVI monitor to its best resolution. xrandr output DVI-0 mode 1920 1080 rate 60 # This sets your HDMI monitor to its best resolution. xrandr output HDMI-0 mode 1920 1080 rate 60 # MONITOR ORDER # Put the HDMI TV display right, DVI monitor left # xrandr output DVI-0 left-of HDMI-0 # Put the Laptop left, VGA1 monitor right xrandr output DVI-0 left-of HDMI-0 # PRIMARY MONITOR # This sets your DVI monitor as your primary monitor. xrandr output DVI-0 primary # This sets your HDMI monitor as your primary monitor. # xrandr output HDMI-0 primary#====================================================
AslitSaturday 22 June 2013, at 00:36 GMT+8 [X]
Glad you got everything to work, that's simmtoees the hardest step. At least now you know you have a fall back' if you decide to pursue the fglrx' binary drivers.I would recommend them for several reasons: first, accelerated flash video playback. Much as we all hate flash video, its not going anywhere in the short term and having it video card accelerated means your HD videos will play back much smoother. Second, any gaming at all you are going to want the fglrx' drivers and their support for OpenGL (which all linux games are going to require in order to work and the performance of the stock radeon drivers are terrible at).Be sure to use the xrandr' command as listed in the article to find out which interfaces correspond to which of your monitors. If you note that, getting all three working with the binary driver will be much easier. If you have issues, hit me up in the comments and I can give a hand.
JazSaturday 22 June 2013, at 03:18 GMT+8 [X]
Yes, it is unfortunate, but AMD has diceded that anything prior to the HD series 6xxx/7xxx cards will be supported by previous drivers only for linux. They are moving that way in Windows as well, but the drivers are still unified install whereas linux the versions are different. XRANDR is a wonderful utility for doing all kinds of things with your setup. However, it can change version to version and/or have bugs (and has in the past). So I would recommend that if you have a working configuration, translate that into an xorg.conf' file and make it permanent on reboot without needing your script. Good luck!
Enter your comment (no links allowed): Author:

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - Search - RSS -
Page last modified on Monday 04 July 2005, at 04:31 GMT+8 - Viewed 2725 times