7 Replies Latest reply on Sep 14, 2012 1:40 PM by yurtesen

    Multi GPU Device Setup in Ubuntu 12.04

    chevydevil

      After half an hour of unsuccessfully searching for a solution I have to ask: How do I setup multi GPU Devices to work with AMD APP 2.7 in Ubuntu 12.04 without having all of them connected to a monitor?

       

      Thx

       

      Edit: For what it's worth, this is my xorg.conf file:

       

      Section "ServerLayout"

          Identifier     "real desktop"

          Screen      0  "aticonfig-Screen[0]-0" 0 0

          Screen      1  "aticonfig-Screen[1]-0" 3000 3000

      EndSection

       

      Section "Module"

      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 "Device"

          Identifier  "aticonfig-Device[0]-0"

          Driver      "fglrx"

          BusID       "PCI:1:0:0"

      EndSection

       

      Section "Device"

          Identifier  "aticonfig-Device[1]-0"

          Driver      "fglrx"

          BusID       "PCI:2:0:0"

      EndSection

       

      Section "Screen"

          Identifier "aticonfig-Screen[0]-0"

          Device     "aticonfig-Device[0]-0"

          Monitor    "aticonfig-Monitor[0]-0"

          DefaultDepth     24

          SubSection "Display"

              Viewport   0 0

              Depth     24

          EndSubSection

      EndSection

       

      Section "Screen"

          Identifier "aticonfig-Screen[1]-0"

          Device     "aticonfig-Device[1]-0"

          Monitor    "aticonfig-Monitor[1]-0"

          DefaultDepth     24

          SubSection "Display"

              Viewport   0 0

              Depth     24

          EndSubSection

      EndSection

        • Multi GPU Device Setup in Ubuntu 12.04
          nou

          do you export DISPLAY=:0 ?

            • Re: Multi GPU Device Setup in Ubuntu 12.04
              chevydevil

              Yes, and so did I with COMPUTE=:0

              Nothing works. I did some changes in the meantime: For example changed the window manager to kdm. And added "virtual" monitor for the second device. Have a look:

              Section "ServerLayout"

                  Identifier     "aticonfig Layout"

                  Screen      0  "aticonfig-Screen[0]-0" 0 0

                  Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"

              EndSection

               

              Section "Module"

              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 "Device"

                  Identifier  "aticonfig-Device[0]-0"

                  Driver      "fglrx"

                  BusID       "PCI:1:0:0"

              EndSection

               

              Section "Device"

                  Identifier  "aticonfig-Device[1]-0"

                  Driver      "fglrx"

                  BusID       "PCI:2:0:0"

              EndSection

               

              Section "Screen"

                  Identifier "aticonfig-Screen[0]-0"

                  Device     "aticonfig-Device[0]-0"

                  Monitor    "aticonfig-Monitor[0]-0"

                  DefaultDepth     24

                  SubSection "Display"

                      Viewport   0 0

                      Depth     24

                      Modes    "1920x1080"

                  EndSubSection

              EndSection

               

              Section "Screen"

                  Identifier "aticonfig-Screen[1]-0"

                  Device     "aticonfig-Device[1]-0"

                  Monitor    "aticonfig-Monitor[1]-0"

                  DefaultDepth     24

                  SubSection "Display"

                      Viewport   0 0

                      Depth     24

                      Modes    "640x480"

                  EndSubSection

              EndSection

               

              fglrinfo gives me now:

               

              ben@cogvis2:/usr/bin$ fglrxinfo

              display:  screen: 0

              OpenGL vendor string: Advanced Micro Devices, Inc.

              OpenGL renderer string: AMD Radeon HD 7800 Series

              OpenGL version string: 4.2.11762 Compatibility Profile Context

               

               

               

              display: screen: 1

              OpenGL vendor string: Advanced Micro Devices, Inc.

              OpenGL renderer string: ATI Radeon HD 5800 Series

              OpenGL version string: 4.2.11762 Compatibility Profile Context

               

               

              Nothing works. Is it even possible to use a GPU which is NOT connected to any monitor? For every compute cluster this has to be possible or not?