i ran 'aticonfig --adapter=0,1 --initial -f'
and this is the xorg.conf i got
but still i get CL_DEVICE_NOT_FOUND with OCL samples ?
Section "ServerLayout" Identifier "Layout0" Screen 0 "aticonfig-Screen[0]-0" 0 0 Screen "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "Module" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" 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:66:0:0" EndSection Section "Device" Identifier "aticonfig-Device[1]-0" Driver "fglrx" BusID "PCI:15: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
Originally posted by: omkaranathan fulcrum_xyz, Did you try running the CAL samples? 'FindNumDevices' sample will tell you if both the devices are being detected properly.
Also, do you have a monitor attached to the second card? If not, could you try that way too?
this is the output i get with cal FindNumDevices
Supported CAL Runtime Version: 1.3.185 Found CAL Runtime Version: 1.4.636 Use -? for help CAL initialized. Finding out number of devices :- Device Count = 1 CAL shutdown successful.
Originally posted by: fulcrum_xyz
but still i get CL_DEVICE_NOT_FOUND with OCL samples ?
You should try to do an "export DISPLAY=:0.1" or to run the OpenCL application from an xterm opened on the 5870 screen. This may fix your problem.
thanks davibu, export DISPLAY=0:1 works
but only if io am logged in and if I am running init 5 only, not otherwise...
even if with rlogin, it doesn't work if the display hasn't been started up ??
any fix for this....
no Xserver must run as it load driver for VGA card.
Originally posted by: nou no Xserver must run as it load driver for VGA card.
so how would i get this to work, if I login remotely ?
i can run app remotely if i have logged in with running Xserver, then i can log in via SSH export DISPLAY and run OpenCL application. there is some article about this http://developer.amd.com/support/KnowledgeBase/Lists/KnowledgeBase/DispForm.aspx?ID=19
thanks nou,
but this doc seems to be quite out-dated....
I do the following:
I log in locally to make sure that X is running. If I then ssh into my machine (with the same user) I can see all GPUs.
fulcrum_xyz,
Are you facing any issues while trying to run remote applications with the help of the above KB article?