[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xrandr Dual head screen different resolutions open source radeon driver



Mitchell Laks wrote:
On 09:37 Mon 17 Nov     , Bob wrote:
I'm running lenny and I have a 22" CRT @ 1600x1200 as my left screen and a 24" widescreen LCD @ 1920x1200 as my right screen.

When I boot up both screens come up at 1600x1200 and I have to run the following command to fix them. xrandr --output VGA-0 --mode 1600x1200_85 --pos 0x0 --output DVI-0 --mode 1920x1200_60 --pos 1600x0


That is very cool. How did you figure out what to do? I am currently using the nvidia proprietary drivers
on my system with a 6600GT nvidia dual head dvi video card 1920x1200 on left and 1280x1024 on the right

The thinkwiki
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
The debian wiki
http://wiki.debian.org/XStrikeForce/HowToRandR12
and the xrandr man page are all useful but I don't know if the proprietary nvidia drivers support xrandr extensions.

and i have been using the nvidia setup which leaves me with a total desktop of 3200x1200 where I can't see the bottom of the right screen because it thinks it is 1200 high whereas it is only 1024 so it is off the screen.

That's normal when you're using screens with different vertical resolutions, (I'm not and yes it's way cool) nowadays it's not a problem as dialog boxes and windows won't appear in the dead space, I'd set it up so the screens align along the bottom rather than the top but that's usually pretty easy.

As far as I can tell the most important bit is the line "Virtual 3520 1200" in the Screen section because the physical desktop size cannot exceed the virtual one and unless you specify otherwise xorg makes a guess at start time and often too conservative, with modern xorg all the Modeline and other timing stuff is usually not needed so a Monitor section should look like this

Section "Monitor"
Identifier "LCD" Option "DPMS"
EndSection

With a dual head setup you may have 2 of those sections an L_LCD and an R_LCD one the first of which would have an additional line like
      Option         "LeftOf"       "R_LCD"

I wonder if the xrandr line can fix it?

would it work with my xorg?

what would i use?

Well it depends what version of xorg you're running with what drivers.
Do some research and update the list to help others in your situation.

Good luck

Mitchell



Section "Monitor"
    Identifier     "Generic Monitor"
    HorizSync       30.0 - 65.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 GT]"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    Option         "TwinView" "true"
    Option         "TwinViewOrientation" "RightOf"
    Option         "MetaModes" "1920x1200,1280x1024"
    Option         "Coolbits" "1"
    SubSection     "Display"
        Depth       1
        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"



here is my xorg.conf, I haven't tidied it up, there are a lot of things commented out from my experimenting and from the evolution of the setup.

Section "InputDevice"
       Identifier      "Generic Keyboard"
       Driver          "kbd"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "pc104"
       Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
       Identifier      "Configured Mouse"
       Driver          "mouse"
EndSection

Section "Device"
       Identifier      "Configured Video Device"
       Driver          "ati"
       #Driver          "radeonhd"
       Option  "Monitor-VGA-0"  "L_CRT
       Option  "Monitor-DVI-0"  "R_LCD"
#Option "DDCMode" "TRUE" #Force to use the modes queried from the connected monitor. The default is off.
       #Option "NoDDC" "TRUE" #Force ignore of DDC
#Option "IgnoreEDID" "TRUE" # Do not use EDID data for mode validation, but DDC is still used for monitor detection. #Option "PanelSize" "1360x768" #only use when driver cannot detect correct LCD panel resolution, panels in funky sizes, will still need modeline. Option "EnablePageFlip" "TRUE" # page flipping for 3D accel, increases performance but doesn't work in rare cases, hence default is off. Option "AccelMethod" "EXA" # Valid options are XAA and EXA, XAA old, reliable & default, EXA newer faster Option "FBTexPercent" "50" # with EXA 0 may be faster but may cause probs, XAA no real efect, default 50
       Option "DMAForXv" "TRUE" # Default on speed up playing video
#Option "DepthBits" "16" # 16 or 24, for 3D defaults to screen depth but can force a 16 on 24bit screen to speed up Option "SubPixelOrder" "RGB" # change pixcel order read up default NONE for crt RGB for most digital pannels. Option "DynamicClocks" "TRUE" # may save power, may slow 3D, don't know if it works on PCs, is for laptops
EndSection

Section "Monitor"
       Identifier      "L_CRT"  # iiyama
       Option         "LeftOf"       "R_LCD"
       Option          "DPMS"
       #VendorName "Iiyama"
       #ModelName "Iiyama A201HT, VisionMaster Pro 510"
       #HorizSync 30.0-130.0
       #VertRefresh 50.0-160.0
Modeline "1600x1200_75" 202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync #@75.0 Hz Modeline "1600x1200_85" 229.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync # 85 Hz
       #Option "TargetRefresh"  "85"
       Option          "PreferredMode"  "1600x1200_85"
EndSection

Section "Monitor"
       Identifier      "R_LCD"  # Samsung
       #Option         "RightOf"       "L_CRT"
       Option          "DPMS"
       #VendorName      "Samsung"
       #ModelName       "SyncMaster_2493HM"
       #HorizSync    27.0 - 81.0 # From The Samsung Windows .ini file
       #VertRefresh  50.0 - 75.0 # From The Samsung Windows .ini file
       # Modline for Samsung SyncMaster_2493hm
Modeline "1920x1200_60" 154.128 1920 1968 2000 2080 1200 1203 1209 1235 +hsync -vsync # 60
       #Option "TargetRefresh"  "60"
       Option          "PreferredMode"  "1920x1200_60"
EndSection

Section "Screen"
       Identifier      "Default Screen"
       Monitor         "R_LCD"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Virtual         3520 1200
       EndSubSection
EndSection


So any idea how I can get it to boot strait to the correct resolution?

Thanks for any help.



Reply to: