You are not logged in.

#1 2009-01-30 15:27:23

nocturnal
Member
Registered: 2009-01-30
Posts: 2

X.org & dual screen

Hi,

I recently got another screen and plugged it into my box so I could use a 2560x1024 resolution but I can't seem to get it working. So far I've figured this out:

$ xrandr --output DVI-0 --mode 800x600 --pos 0x0 --output VGA-0 --mode 800x600 --pos 800x0

And those are the positions I want. However, I can't set a 1280x1024 resolution:

$ xrandr --output DVI-0 --mode 1280x1024 --pos 0x0 --output VGA-0 --mode 1280x1024 --pos 1280x0
xrandr: screen cannot be larger than 1600x1600 (desired size 2560x1024)

Here is the output of xrandr:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1600 x 1600
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0     60.0     60.0* 
   1600x1024      60.2  
   1400x1050      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     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     72.8     75.0     66.7     60.0     59.9  
   720x400        70.1  
DVI-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024      60.0*+   75.0     60.0     60.0* 
   1600x1024      60.2  
   1400x1050      60.0  
   1440x900       59.9  
   1280x960       60.0     60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     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     72.8     75.0     66.7     60.0     59.9  
   720x400        70.1

This is my /etc/X11/xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "VGA"
        Option "PreferredMode"  "2560x1024"
        Option "Position" "0 0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "DVI"
        Option "PreferredMode"  "2560x1024"
        Option "Position" "-1280 -300"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "ATOMTVOut"              # [<bool>]
    Identifier  "Card0"
    Driver      "radeon"
    Option "monitor-VGA"
    Option "monitor-DVI"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV516 [Radeon X1300/X1550 Series]"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     24
#        Virtual 2560 1024
    EndSubSection
EndSection

I would be very grateful if somebody would help me solve this problem. I've done my best with Google, the Arch Linux wiki and the forum.

Offline

#2 2009-01-30 15:47:15

konni
Member
From: berlin
Registered: 2008-09-25
Posts: 99

Re: X.org & dual screen

hey, think you need to uncomment that  "virtual" line in screen/display.

Section "Screen"
...
        SubSection "Display"
...
                Virtual         2560 1050
        EndSubSection
EndSection

if you want the xrandr settings to be set on startup, modify this to your needs:

Section "Device"
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "R580 [Radeon X1900 XT] (Primary)"
        BusID       "PCI:4:0:0"
        Option          "monitor-DVI-1" "acer"  
        Option          "monitor-DVI-0" "samsung"
EndSection

Section "Monitor"
        Identifier      "acer"
        Option          "PreferredMode" "1280x1024"
        Option          "Position"      "0 0"
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "samsung"
        Option          "PreferredMode" "1680x1050"
        Option          "RightOf" "acer"
        #Option         "Enable"        "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "acer"
        DefaultDepth 24
        SubSection "Display"
                Modes           "1280x1024"
                Depth           24
                Virtual         2960 1050
        EndSubSection
EndSection

Last edited by konni (2009-01-30 15:50:32)

Offline

#3 2009-01-30 16:12:36

nocturnal
Member
Registered: 2009-01-30
Posts: 2

Re: X.org & dual screen

Worked perfectly, thanks!

Offline

Board footer

Powered by FluxBB