Overclock.net › Forums › Graphics Cards › AMD/ATI › ATI Drivers and Overclocking Software › How to configure multi card, multi monitor under Ubuntu
New Posts  All Forums:Forum Nav:

How to configure multi card, multi monitor under Ubuntu

post #1 of 4
Thread Starter 
This post is really an answer to my own question that I posted a few days ago, but I will start a new thread because it's really an how-to.

A little back story:
I bought a 5770 here on OCN a few days back to increase my hashing power for bitcoin mining. After installing the card in a second PCI-E slot (my first card is a 6850) and booting into Ubuntu, it wouldn't show up in any software in an meaningful way. I.E., I couldn't run bitcoin miner off of it. I also run a multi monitor setup, and plugging the second monitor into the card also did nothing.

Step 1:
Uninstall all ATI drivers. You can do this though the package manager in Ubuntu by searching for "fglrx". You will want to install the "amdcccle" package as well to get rid of Catalyst. Reboot.

Step 2:
Plug both of your monitors into the first card. Make a VGA dummy plug and plug it in to your second card. I refer you to this page for instructions on making this device. You will need the dummy plug in order to fake a monitor on the second card, so that the driver will enable the card.

Side note: You may be why didn't I just plug the second monitor into the second card. Here is why. If you plug the second monitor into the second card, it will extend the desktop, but it will NOT allow windows to be dragged across to it. This limitation essentially renders the setup useless.

Step 3:
Download ATI/AMD drivers from ATI/AMD's website. Do not use the ones from the "restricted drivers" menu in Ubuntu. For my setup I used version 11.4 drivers, as they seem to work a bit better.
64 bit 11.4 catalyst drivers from AMD

Step 4:
Install the downloaded drivers. Open a terminal windows and change directory to where you downloaded them. Then use
Code:
sudo chmod +x [I]name of ati driver file here[/I]
Now run execute the file by typing
Code:
sudo ./[I]name of ati driver file here[/I]
Choose the option to install the drivers and just click through it like you would a normal Windows installer.
After it finishes, log out, then back in again.

Step 5:
Generate a new Xorg config file using aticonfig.
type:
Code:
sudo aticonfig --initial -f --adapter=all
The adapter=all part is key here. That particular switch will force aticonfig to make an xorg.conf file which includes the second card and fake monitor.
After you run that, log out and back in again.

Step 6:
Open Catalyst control center administrative and arrange your monitors how you like them. I placed the fake monitor off to the right side of my setup, as placing it at the corners gave me trouble. Do not disable the fake monitor though, as this will contradict everything we are trying to do. Once you have it set how you like it, apply the changes and log out and back in again.

Screenshot.png


Step 7:
Make sure everything works. Run "fglrxinfo". You should see something like this:
Code:
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: AMD Radeon HD 6800 Series 
OpenGL version string: 2.1 (4.1.10666 Compatibility Profile Context)



Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
display: :0.0  screen: 1
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 5700 Series
OpenGL version string: 2.1 (4.1.10666 Compatibility Profile Context)

If you only see a reference to one card, then something is wrong with your config. Go back and check your monitor setup in CCC.
If you do see two different cards references by the output of "fglrxinfo", then you've done it right and should be able to use both GPUs for compute tasks like bitcoin mining, WPA hash cracking, Folding, or whatever else you want to run.
Hope this tutotial helps someone out there.
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
post #2 of 4
I already did this using 4 Firestream 9350, because I had to test
hplgpu with opensuse 11.3 biggrin.gif
Athena
(14 items)
 
Achilles
(9 items)
 
 
CPUMotherboardGraphicsHard Drive
[Intel] i5 2500k  [ASUS] p8p67 Evo B3 [EVGA] GTX 680 [Samsung] 1TB 
CoolingOSMonitorKeyboard
[Noctua] NH-D14 [Micro$oft] Win7 64-bit/Linux [HP] 2311x [Logitech] G510 
PowerCaseMouse
[XFX] 650W [Cooler Master] HAF X [Logitech] G400 
CPUMotherboardGraphicsRAM
990X 6.5Ghz EVGA X58 3 way SLI classified XFX GT 240/modded 8800GTS/8800GTX/5870/4980/FIR... Corsair Dominator PSC  
CoolingOSMonitorCase
F1 Extreme Dark, DICE and LN2!! XPeeeee and Win 7 Old CRT Open 
  hide details  
Reply
Athena
(14 items)
 
Achilles
(9 items)
 
 
CPUMotherboardGraphicsHard Drive
[Intel] i5 2500k  [ASUS] p8p67 Evo B3 [EVGA] GTX 680 [Samsung] 1TB 
CoolingOSMonitorKeyboard
[Noctua] NH-D14 [Micro$oft] Win7 64-bit/Linux [HP] 2311x [Logitech] G510 
PowerCaseMouse
[XFX] 650W [Cooler Master] HAF X [Logitech] G400 
CPUMotherboardGraphicsRAM
990X 6.5Ghz EVGA X58 3 way SLI classified XFX GT 240/modded 8800GTS/8800GTX/5870/4980/FIR... Corsair Dominator PSC  
CoolingOSMonitorCase
F1 Extreme Dark, DICE and LN2!! XPeeeee and Win 7 Old CRT Open 
  hide details  
Reply
post #3 of 4
Thread Starter 
Quote:
Originally Posted by dhenzjhen;14670662 
I already did this using 4 Firestream 9350, because I had to test
hplgpu with opensuse 11.3 biggrin.gif

Can you post a link? I would like to read it.
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
SFG II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 Asus P6T Sapphire Radeon 6850 6GB Crucial DDR3 1333 
Hard DriveHard DriveHard DriveOS
OCZ Vertex 2 HITACHI Deskstar 5K3000 SAMSUNG EcoGreen F4 Linux Mint 12 
OSOSMonitorKeyboard
Windows 7 Home premium Backtrack 5 Dual 22" Samsung SyncMaster 2253LW Saitek Eclipse 
PowerCaseMouse
PC Power&Cooling Silencer 610 NZXT Phantom Black Logitech M505 Wireless 
  hide details  
Reply
post #4 of 4
Quote:
Originally Posted by Super Coffee;14680068 
Can you post a link? I would like to read it.


I have couple of notes. maybe hplgpu interests you here the link
Athena
(14 items)
 
Achilles
(9 items)
 
 
CPUMotherboardGraphicsHard Drive
[Intel] i5 2500k  [ASUS] p8p67 Evo B3 [EVGA] GTX 680 [Samsung] 1TB 
CoolingOSMonitorKeyboard
[Noctua] NH-D14 [Micro$oft] Win7 64-bit/Linux [HP] 2311x [Logitech] G510 
PowerCaseMouse
[XFX] 650W [Cooler Master] HAF X [Logitech] G400 
CPUMotherboardGraphicsRAM
990X 6.5Ghz EVGA X58 3 way SLI classified XFX GT 240/modded 8800GTS/8800GTX/5870/4980/FIR... Corsair Dominator PSC  
CoolingOSMonitorCase
F1 Extreme Dark, DICE and LN2!! XPeeeee and Win 7 Old CRT Open 
  hide details  
Reply
Athena
(14 items)
 
Achilles
(9 items)
 
 
CPUMotherboardGraphicsHard Drive
[Intel] i5 2500k  [ASUS] p8p67 Evo B3 [EVGA] GTX 680 [Samsung] 1TB 
CoolingOSMonitorKeyboard
[Noctua] NH-D14 [Micro$oft] Win7 64-bit/Linux [HP] 2311x [Logitech] G510 
PowerCaseMouse
[XFX] 650W [Cooler Master] HAF X [Logitech] G400 
CPUMotherboardGraphicsRAM
990X 6.5Ghz EVGA X58 3 way SLI classified XFX GT 240/modded 8800GTS/8800GTX/5870/4980/FIR... Corsair Dominator PSC  
CoolingOSMonitorCase
F1 Extreme Dark, DICE and LN2!! XPeeeee and Win 7 Old CRT Open 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
Overclock.net › Forums › Graphics Cards › AMD/ATI › ATI Drivers and Overclocking Software › How to configure multi card, multi monitor under Ubuntu