[PC-BSD Testing] Dual monitor mode not working

Jeff dejamuse at yahoo.com
Mon Aug 3 20:05:55 PDT 2009


Well, I tried lots of things but nothing worked.  X crashes at start.

Here's one xorg.conf that I tried:
---------------------------------------------------------------------

# Xorg.conf file generated for PC-BSD

Section "ServerLayout"
    Identifier     "Multihead layout"
    Screen       0 "Screen0" 0 0
    Screen     1 "Screen1" Rightof "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option       "Clone" "off"
EndSection

Section "ServerFlags"
    Option "AutoAddDevices" "False"
        Option "AllowEmptyInput" "Off"
    Option "Xinerama" "On"
EndSection

Section "Files"
    ModulePath      "/usr/PCBSD/local/lib/xorg/modules"
    FontPath        "/Programs/fonts/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/cyrillic/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/TrueType/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/webfonts/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/misc/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/TTF/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/Type1/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/CID/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/75dpi/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/100dpi/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/dejavu/"
    FontPath        "/usr/PCBSD/local/lib/X11/fonts/local/"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "ACR"
    ModelName      "AL1716"
    HorizSync    31.0 - 81.0
    VertRefresh  56.0 - 75.0

SubSection "Display"
           Depth        24
           Modes        "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
           # ADD A VIRTUAL LINE TO PROVIDE FOR THE LARGEST SCREENS YOU WILL HOTPLUG 
           Virtual              2048 2048 
       EndSubSection

EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "ACR"
    ModelName      "AL1716"
    HorizSync    31.0 - 81.0
    VertRefresh  56.0 - 75.0
EndSection


Section "Device"
    Identifier      "Card0"
    Screen           0
    Driver         "ati"
    VendorName     "ATI Video Driver"
    Option         "CPPIOMode" "yes" 
    BusID      "PCI:2:0:0"
EndSection

Section "Device"
    Identifier      "Card1"
    Screen           1
    Driver         "ati"
    VendorName     "ATI Video Driver"
    Option         "CPPIOMode" "yes" 
    BusID      "PCI:2:0:0"
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card1"
    Monitor        "Monitor1"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1024x768"
    EndSubSection
EndSection
==============================

--- On Thu, 7/30/09, Kris Moore <kris at pcbsd.org> wrote:

From: Kris Moore <kris at pcbsd.org>
Subject: Re: [PC-BSD Testing] Dual monitor mode not working
To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
Date: Thursday, July 30, 2009, 9:04 AM


Jeff,

The dual-monitor stuff in the wizard really only works with nvidia for now. I need to get
a new card to test ATI out with, and figure out how the heck it works :P

Basically, you'll need to setup xorg correctly, before trying anything within KDE. Take a look here at
the first section, specifically the xorg configuration:

http://en.gentoo-wiki.com/wiki/X.Org/Dual_Monitors/ATI

I'm guessing you'll need something like this setup: (Make sure you get BusID set right)


Section "ServerFlags"
    Option "Xinerama" "On" EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
    Load "dri" EndSection

... Section "Device"
    Identifier "device0"
    VendorName "ATI"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 0 EndSection

Section "Device"
    Identifier "device1"
    BoardName "ATI Radeon"
    Driver "radeon"
    BusID "PCI:1:0:0"
    Screen 1
EndSection

Section "Monitor"
    Identifier "monitor0"
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier "monitor1"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "device0"
    Monitor "monitor0"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
        Modes    "1280x1024"
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    Subsection "Display"
        Depth 24
        Virtual 1280 1024
        Modes    "1280x1024"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "Multihead layout"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Screen  "Screen0" 0 0
    Screen  "Screen1" RightOf "Screen0"
EndSection


If you can modify this and get a true dual-head working, send me your valid xorg conf, so I can figure out how to get the display wizard to generate it for you :)

--
Kris Moore
PC-BSD Software

On Wed, 29 Jul 2009, Jeff wrote:

> Ok, well the VESA driver sucked - scrolling was really slow in FF3.  Switched back to the ATI driver and fixed that; then
> the 2nd monitor lit up, AND the monitor utility was now working - not sure what I was doing wrong before.
> 
> But both monitors are still cloned.  Reading the KDE handbook, it says there's supposed to be a button to split the
> monitors or clone them, but it's not there.
> 
> 
> 
> --- On Wed, 7/29/09, Jeff <dejamuse at yahoo.com> wrote:
> 
>       From: Jeff <dejamuse at yahoo.com>
>       Subject: [PC-BSD Testing] Dual monitor mode not working
>       To: testing at lists.pcbsd.org
>       Date: Wednesday, July 29, 2009, 4:33 PM
> 
>       I have a dual DVI video card (XFX HD-4850) ATI HD4850 and wanted to set up dual monitors. 
> 
>       First I selected "re-run the X setup display wizard" (amd64 system) but it displays a black screen with cursor
>       and nothing happens.  Have to power down the machine to get out and suffer the long delay of HD checking.
> 
>       I tried configuring with the ATI, HDRadeon, and VESA drivers and only the VESA driver allows the 2nd monitor
>       to come on but it just clones the other display.  There doesn't seem to be any utility for managing the two
>       monitors. Something was mentioned about xrandr.  Krandr says my X server does not support that utility.
> 
>       Here's a thread on the same subject where the guy ended up submitting a KDE bug report.  He managed to get
>       dual monitors working by manually editing the xorg.conf file.  Running:
> 
>       # xrandr -q
> 
>       Results in:
> 
>       Xlib:  extension "RANDR" missing on display ":0.0".
>       RandR extension missing
> 
>       My xorg.conf shows two monitors but both have the same monitor brand and I have two different monitors.  Is
>       KDE/PCBSD supposed to recognize the two different monitors and set them up separately?
> 
>       What I want is to have one program, say OpenOffice on one monitor, and FF3 on another.  Is that possible?
> 
>       ...Jeff
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
> 
> 
> !DSPAM:1,4a70df6015166305310327!
>-----Inline Attachment Follows-----

_______________________________________________
Testing mailing list
Testing at lists.pcbsd.org
http://lists.pcbsd.org/mailman/listinfo/testing



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pcbsd.org/pipermail/testing/attachments/20090803/727529a0/attachment-0001.html 


More information about the Testing mailing list