cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

chevydevil
Adept II

Multi GPU Device Setup in Ubuntu 12.04

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

0 Likes
7 Replies
nou
Exemplar

do you export DISPLAY=:0 ?

0 Likes

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?

0 Likes

You should simply extend the desktop to 2nd display and save catalyst manager. Last time I tried that, there was no need to have monitor connected. I remember that because I checked if the setting was working or not by sliding the mouse to the other side and see if it goes in (since I didnt have a 2nd monitor for the 2nd card)

Are you saying that you see no GPUs in clinfo output or you see only the GPU which is connected to monitor?

I did something else: I did what you posted here:

http://devgurus.amd.com/thread/159566

and that works perfectly. Thank you very much!

0 Likes

baiscaly this is same as i suggested. strange.

0 Likes

I have no idea. why your suggestion didn't work. Though I reinstalled the drivers in between and perhaps there was something wrong. Shouldn't there a official guide for such things from AMD? Using multiple gpu in a linux environment is such a common thing for gpu computing. Thx nou

0 Likes

Strange, since those instructions doesnt work so well if you login to the box and try to run opencl programs from ssh with another username (if I remember correctly). But exporting display wont help if you do not login, obviously since you wont get authorization to connect without xhost commands help....

AMD had a PDF somewhere about this, but it is a little bit outdated in my opinion.... I would also be happy if they make a manual. (they can copy from my post even...) because this is a problem people have quite often.

0 Likes