Author Topic: Dual monitors under linux  (Read 1756 times)

Dual monitors under linux
on: June 23, 2006, 22:23:56 PM
So I just installed Ubuntu 6.06 on my main system having tried on my laptop and im trying to get dual screens working. I dont want to have it so that it thinks its 1 giant screen, I need 2 seperate ones so I can run one at a higher resolution. Ive tried having a go so far with no luck

Heres xorg config so far (the parts that matter)

Code: [Select]

Section "Device"
        Identifier      "GF6600 out 1 "
        Driver          "nv"
        BusID           "PCI:5:0:0"
        Option          "NoLogo"
        Option      "RenderAccel" "true"
        Screen          0
EndSection

Section "Device"
        Identifier      "GF6600 out 2 "
        Driver          "nv"
        BusID           "PCI:5:0:0"
        Option          "NoLogo"
        Option      "RenderAccel" "true"
        Screen          1
EndSection


Section "Monitor"
        Identifier     "vmpro410"
        VendorName     "IIyama"
        ModelName      "Vision Master pro 410"
        HorizSync       27.0 - 96.0
        VertRefresh     50.0 - 160.0
EndSection

Section "Monitor"
        Identifier      "SNY:7005"
        HorizSync       30-65
        VertRefresh     50-75
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Right Screen"
        Device          "GF6600 out 1"
        Monitor         "vmpro410"
        DefaultDepth    24
                SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "80 0x600" "720x400" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "Left Screen"
        Device          "GF6600 out 2"
        Monitor         "SNY:7005"
        DefaultDepth    24
                SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Right Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "stylus" "SendCoreEvents"
        InputDevice     "cursor" "SendCoreEvents"
        InputDevice     "eraser" "SendCoreEvents"
EndSection


I know that I need to edit the ServerLayout section but im not sure exactly how the config works.
The left screen is the Sony, its running at 1280x1024, the right screen is the Iiyama running at 1600x1200.

Anyone know what the Screen entries need to look like so I can have both running ?

Dual monitors under linux
Reply #1 on: June 23, 2006, 23:40:55 PM
You want it to have, for example, virtual workspace 1 on the left and virtual workspace 2 on the right? Beats me. :lol:

Ask on IRC or at ubuntuforums.org  ;)

Re:Dual monitors under linux
Reply #2 on: June 23, 2006, 23:54:00 PM
And here I was thinking you would be the person to give me the answer I needed :P

I have to say however Ubuntu has managed to crack all the problems ive had before installing linux :) I dual booted the laptop with Dapper and XP Tablet. Dapper went on without any fuss, needed simple post install config with the wacom tools to get the tablet screen working. Audio, Wireless, everything else worked straight away.

Windows required downloading 18 driver files because nothing worked out the box. Not even the ethernet so I had to shunt the driver across by USB drive before I could get the rest onto it -_-

Dual monitors under linux
Reply #3 on: June 24, 2006, 00:09:12 AM
I have a feeling that its some sort of esoteric setting under the monitor "option" settings. Obscure enough to have to consult-a-geek. Thus the IRC recommendation. :lol:

Cool to hear that most everything else worked. :D

  • Offline skidzilla

  • Posts: 2,351
  • Hero Member
  • 夢を見られた・・・
Re:Dual monitors under linux
Reply #4 on: June 24, 2006, 05:02:18 AM
I think youre missing this option:

Code: [Select]
Option "ConnectedMonitor" "CRT-0" :)

http://archive.avsforum.com/avs-vb/history/topic/438201-1.html

http://gentoo-wiki.com/HOWTO_Dual_Monitors#Nvidia

Also youre using the nv driver when you should be using nvidia if you want  hardware 3D acceleration. :)

Re:Dual monitors under linux
Reply #5 on: June 24, 2006, 10:04:19 AM
A little bit of fiddling in the ServerLayout and I have both of them running.

I noticed the nvidia driver thing when Cedega told me it couldnt even do openGl acceleration. Thats now fixed :)

So I have both screens now running, my larger monitor however wont go up to 1600 res, it hangs around at 1280 despite having the 1600 option in xorg.conf.

Its not a massive problem, just would be nice :)

0 Members and 1 Guest are viewing this topic.