-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find any dGPU?I use A10-7850 #37
Comments
Do you have a GPU? Sent from my iPhone
|
only a APU, Platform Name: AMD Accelerated Parallel Processing Device Type: CL_DEVICE_TYPE_CPU |
Did you create a log folder in Caffe directory? It should be on the same
level like folders data and examples.
|
F0321 18:29:37.102532 9402 device.cpp:95] Cannot find any dGPU! I have created a log folder in Caffe directory.but there also is a erro |
Also I have similar problems building. I successfully run cmake and make commands. Apparently I have Radeon 7850 but make runtest command gives me
error:
My clinfo command:
|
Lol. Same problem. My clinfo
My error log
|
It seems that you have a really old GPU with OpenCL 1.1. Sent from my iPhone
|
Oh the log said that null platform pointer. Opencl caffe did not find your platform. Suggest you go to arc/caffe/device.cpp, device::init() look at the logic, print out more info Sent from my iPhone
|
gujiunli, Meaning this?
Probably it's can't go into
Because |
Or may be |
you can insert a few printfs in this file to trace down whether the clGetDeviceIDs(PlatformIDs[0], CL_DEVICE_TYPE_GPU, 0, NULL, &numDevices); uiNumDevices = numDevices; printf("#device %d \n", uiNumDevices); if (0 == uiNumDevices) {
} else { On Tue, Nov 22, 2016 at 1:56 PM, janchk [email protected] wrote:
|
@gujunli I've found problem. Variable
|
I see. So your GPU is an integrated GPU. The opencl caffe by default is set to look for a discrete GPU. You can comment out the unifiedmemotmry logic, use what ever GPU it finds.
See whether it works.
Junli
…Sent from my iPhone
On Nov 23, 2016, at 10:05 AM, janchk ***@***.***> wrote:
@gujunli I've found problem. Variable unified_memory == 1. Because of this it's can't get into
if (!unified_memory) { //skip iGPU
//we pick the first dGPU we found
pDevices[0] = pDevices[i];
device_id = i;
LOG(INFO) << "Picked default device type : dGPU " << device_id;
break;
//skip iGPU What does it do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@gujunli
Here what
I want to use caffe with my AMD discrete graphics. Also i tried |
Maybe try this, since the AMD branch is no longer actively maintained: |
@naibaf7
I've got this. And lot of code above this. |
@janchk |
@naibaf7 As I know FGLRX does not work on ubuntu 16.04. And at the same time AMDGPU-PRO does not support my graphics card (radeon hd 8750m). Should I use old version of ubuntu instead? |
Try ububtu 14.04, this is the most stable version for caffe
…Sent from my iPhone
On Nov 24, 2016, at 11:58 AM, Fabian Tschopp ***@***.***> wrote:
@janchk
Yes if BOTH branches don't work it's definitely a failure with the drivers.
Seems the driver reports unified (zero-copy) memory between your CPU and GPU, but this is not actually the case.
So it's broken.
It seems you use the CLOVER OpenCL implementation. This never worked for me and I usually disable it on my system. Use a FGLRX or AMDGPU-PRO implementation instead for better results.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@janchk Or use Windows, the Caffe OpenCL branch will be available under Windows at latest end of January. |
@naibaf7 I would like to try method that you advised. If it is not difficult for you. |
Here is something that works on Fedora 23/24/25, instructions and all: https://github.com/imageguy/fglrx-for-Fedora
Make sure to never update those packages or you'll get no GPU. This is how you install the driver in the ZIP below:
Here is a driver I already patched that you can try: http://tingy.pw/fglrx.zip (won't be up forever...) |
@naibaf7 |
@janchk |
@naibaf7 When I install without --force.
I have solved problem with pre-requisites. So i got this. Same log i have with |
Oooh, this already looks quite good. |
@naibaf7 Yup don't install them both. |
@naibaf7 After system reinstallation and making other steps i've got this fglrx-install.log. And then GNOME crashed and forced me to reboot. Then it stuck on boot log. |
@janchk |
@naibaf7
And this is what I've got , when patching driver from here: https://github.com/imageguy/fglrx-for-Fedora
Should I worry about Update. Yes I should. Another boot failed and second log |
Hmm the only reason for it still failing after the latest patches I could only imagine that the kernel (XSTATE_FP, __fgl_cmpxchg, fpu_xsave(fpu)) changed too substantially between 4.7.2 (latest tested kernel) and 4.7.9. |
@naibaf7 Thank you for your support. I have solved the problem. Used ubuntu 15.10, latest AMD drivers from the official site and your branch of caffe using viennacl. Oh, |
@janchk |
@naibaf7 MANY thanks to you dude! Using my old configuration I faced with error |
@janchk OK, watch out for updates on my OpenCL branch, it will show when Windows is ready :) It is true that |
Hi! I have this problem when tried to do runtest on Ubuntu 16.04: |
Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20160319-002926.5520!Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20160319-002926.5520!Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20160319-002926.5520!Could not create logging file: No such file or directory
COULD NOT CREATE A LOGGINGFILE 20160319-002926.5520!F0319 00:29:26.820322 5520 device.cpp:95] Cannot find any dGPU!
*** Check failure stack trace: ***
@ 0x7fbf1b7d0ea4 (unknown)
@ 0x7fbf1b7d0deb (unknown)
@ 0x7fbf1b7d07bf (unknown)
@ 0x7fbf1b7d3a35 (unknown)
@ 0x7fbf1bad9a77 caffe::Device::Init()
@ 0x7fbf1badaedd caffe::Caffe::Caffe()
@ 0x409865 train()
@ 0x4069d1 main
@ 0x7fbf1aab0a40 (unknown)
@ 0x407019 _start
@ (nil) (unknown)
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: