Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Need some X help - 2 cards, 4 screens

  1. #1
    Join Date
    Jul 2010
    Posts
    4

    Default Need some X help - 2 cards, 4 screens

    Hey all,

    I'm trying to get a single desktop running, and I've been beating my head against this for months now. Nothing I've tried has worked, so I'm turning to the experts. Dual-head on one card is fine.

    2 x Radeon HD 5700
    4 x Acer P241W (24", 1920x1200, all on DVI)
    xorg-server 1.7.6
    kernel 2.6.34
    Gentoo

    I did have it (semi-)working with Xinerama a few months back, but then X upgrades, kernel gets bumped, ATI drivers go up... So here we are. I know the hardware's fine - just put on Windows 7, and it took about 25 seconds to get all four screens lit and configured.

    amdcccle Display Manager shows two screens (the working ones), and a card icon with "[Unknown Display] Unknown adapter." lspci has
    02:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
    03:00.0 VGA compatible controller: ATI Technologies Inc Device 68b8
    so they're both seen there. aticonfig --lsa gives
    * 0. 02:00.0 ATI Radeon HD 5700 Series
    1. 03:00.0 ATI Radeon HD 5700 Series

    Just to add a wrinkle, my setup is three screens across, and one above the middle. Tetris piece, kinda. Card one is screens 1 & 2; card two is screens 3 & 4.
    Code:
       _ 
     _|4|_
    |3|1|2|
    Not sure where to go from here. I'd paste my xorg.conf, but two screens are working fine, so that won't be much help. Perfectly happy to try/paste anything though.

    Thanks!

  2. #2
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,570

    Default

    What parameters did you include when running aticonfig --initial after installing the new driver ?

  3. #3
    Join Date
    Jul 2010
    Posts
    4

    Default

    OK, just reinstalled 10.7... I then ran
    aticonfig --adapter=all --initial

    Now in Control Center I do see all four screens. Not sure how to make a single desktop though. In the Display Manager, on the Multi-Display tab, I can do multi-display desktop, but they're separated by card, so I have screens 1 and 2 together, and 3 and 4 together.

    Am I closer?

  4. #4
    Join Date
    Aug 2010
    Posts
    3

    Default

    I'm also having issues with exactly the same kind of setup.

    I have two Saphire VaporX 1G 5770 cards.

  5. #5
    Join Date
    Nov 2008
    Posts
    783

    Default

    post your current xorg.conf please. If all 4 screens light up at the same time, an important step is working already.

  6. #6
    Join Date
    Jul 2010
    Posts
    4

    Default

    Here's what was generated after running --adapter=all --initial and then going into amdcccle and moving stuff around.

    This produces a desktop that's two screens wide on 1 and 2, and a separate X (instance? server?) on 3 and 4, with 4 directly above 3. I can move my pointer between screens, but windows obviously don't follow.

    Code:
    Section "ServerLayout"
            Identifier     "aticonfig Layout"
            Screen      0  "aticonfig-Screen[0]-0" 1920 1200
            Screen         "aticonfig-Screen[1]-0" 0 0
    EndSection
    
    Section "Module"
    EndSection
    
    Section "ServerFlags"
            Option      "Xinerama" "off"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]-0"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]-0"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Monitor"
            Identifier   "0-DFP3"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1920x1200"
            Option      "TargetRefresh" "60"
            Option      "Position" "0 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Monitor"
            Identifier   "0-DFP4"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1920x1200"
            Option      "TargetRefresh" "60"
            Option      "Position" "1920 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Monitor"
            Identifier   "1-DFP3"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1920x1200"
            Option      "TargetRefresh" "60"
            Option      "Position" "0 1200"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Monitor"
            Identifier   "1-DFP4"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1920x1200"
            Option      "TargetRefresh" "60"
            Option      "Position" "0 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]-0"
            Driver      "fglrx"
            Option      "Monitor-DFP3" "0-DFP3"
            Option      "Monitor-DFP4" "0-DFP4"
            BusID       "PCI:2:0:0"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[1]-0"
            Driver      "fglrx"
            Option      "Monitor-DFP3" "1-DFP3"
            Option      "Monitor-DFP4" "1-DFP4"
            BusID       "PCI:3:0:0"
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[0]-0"
            Device     "aticonfig-Device[0]-0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Virtual   3840 1920
                    Depth     24
            EndSubSection
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]-0"
            Device     "aticonfig-Device[1]-0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Virtual   1920 2400
                    Depth     24
            EndSubSection
    EndSection

  7. #7
    Join Date
    Nov 2008
    Posts
    783

    Default

    change the line
    Option "Xinerama" "off"
    to "on". Then it should work as expected.

  8. #8
    Join Date
    Aug 2010
    Posts
    3

    Default

    I'm running:
    kernel: 2.6.35_rc6-git6
    xorg: 1.7.2
    fglrx: 8.75.5

    xorg.conf file, autogenerated from `aticonfig --initial --adapter=all`
    Code:
    Section "ServerLayout"
            Identifier     "aticonfig Layout"
            Screen      0  "aticonfig-Screen[0]-0" 1920 0
            Screen         "aticonfig-Screen[1]-0" 0 982
    EndSection
    
    Section "Module"
    EndSection
    
    Section "ServerFlags"
            Option      "Xinerama" "on"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]-0"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]-0"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Monitor"
            Identifier   "0-DFP3"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1280x1024"
            Option      "TargetRefresh" "60"
            Option      "Position" "161 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Monitor"
            Identifier   "0-DFP4"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1680x1050"
            Option      "TargetRefresh" "60"
            Option      "Position" "0 1024"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Monitor"
            Identifier   "1-CRT1"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "TargetRefresh" "100"
            Option      "Position" "0 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
            Option      "PreferredMode" "640x480"
    EndSection
    
    Section "Monitor"
            Identifier   "1-DFP3"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
            Option      "PreferredMode" "1920x1080"
            Option      "TargetRefresh" "60"
            Option      "Position" "0 0"
            Option      "Rotate" "normal"
            Option      "Disable" "false"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]-0"
            Driver      "fglrx"
            Option      "Monitor-DFP3" "0-DFP3"
            Option      "Monitor-DFP4" "0-DFP4"
            BusID       "PCI:3:0:0"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[1]-0"
            Driver      "fglrx"
            Option      "Monitor-DFP3" "1-DFP3"
            BusID       "PCI:4:0:0"
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[0]-0"
            Device     "aticonfig-Device[0]-0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Virtual   2960 2960
                    Depth     24
            EndSubSection
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]-0"
            Device     "aticonfig-Device[1]-0"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
            EndSubSection
    EndSection
    I now have 3 out of four monitors (all DVI!) lighting up! The fourth (CRT) remains dead

    When I turn on xinerama, I get a segmentation fault:
    Code:
    Backtrace:
    0: /usr/bin/X (xorg_backtrace+0x28) [0x461628]
    1: /usr/bin/X (0x400000+0x6b919) [0x46b919]
    2: /lib/libpthread.so.0 (0x7f554dd4a000+0xf010) [0x7f554dd59010]
    3: /usr/bin/X (0x400000+0x15750f) [0x55750f]
    4: /usr/bin/X (0x400000+0x16ebf7) [0x56ebf7]
    5: /usr/bin/X (0x400000+0x16ef40) [0x56ef40]
    6: /usr/bin/X (miPointerUpdateSprite+0x157) [0x4570c7]
    7: /usr/bin/X (0x400000+0x57229) [0x457229]
    8: /usr/bin/X (0x400000+0xc6a81) [0x4c6a81]
    9: /usr/bin/X (mieqProcessDeviceEvent+0x172) [0x45a3c2]
    10: /usr/bin/X (mieqProcessInputEvents+0xd9) [0x45a509]
    11: /usr/bin/X (ProcessInputEvents+0x9) [0x471909]
    12: /usr/bin/X (0x400000+0x3041c) [0x43041c]
    13: /usr/bin/X (0x400000+0x251bb) [0x4251bb]
    14: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f554cdedbbd]
    15: /usr/bin/X (0x400000+0x24d69) [0x424d69]
    Segmentation fault at address 0x38
    
    Fatal server error:
    Caught signal 11 (Segmentation fault). Server aborting
    Any ideas?

  9. #9
    Join Date
    Oct 2007
    Location
    Toronto-ish
    Posts
    7,570

    Default

    Earlier recommendations for multicard included mentioning Xinerama in the aticonfig parameters... might be worth checking aticonfig --help to see if that is still an option.

  10. #10
    Join Date
    Jul 2010
    Posts
    4

    Default

    Yeah, I'll try it out when I get a chance, but had some doubts.

    I had been under the impression that xinerama support was dropped a few versions back. I "accidentally" upgraded xorg at some point, and ran into a crazy mess with ATI/kernel/xorg incompatibilities, and then xinerama didn't work anymore. Can't remember if it was crashing or black dead screen though.

    Part b of that is even if xinerama works, doesn't that disable the DRI/accelerated stuff?

    Off to hack... will report back with status.

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •