Message boards : GPUs : I can't get Intel HD Graphics 4000 to work on Ubuntu 18.04
Message board moderation
Author | Message |
---|---|
Send message Joined: 13 Jun 17 Posts: 91 |
I recently have started using this computer for Boinc, running Einstein@home exclusively. It has an Intel i7-3612QM, which has integrated Intel HD Graphics 4000. For this computer, I changed the OS to Ubuntu 18.04 and then installed boinc (Costamagnagianfranco, currently on version 7.16.6). Anyway, Boinc is not detecting the HD Graphics 4000. The event log says "No usable GPUs found". I've done some searching online, and it appears that this Ivy Bridge chip should be recognized for GPU support, as long as OpenCL 1.2 is available (please correct me if I am wrong). I found Intel's support for OpenCL on Linux here, and literally, I ran these lines at terminal: sudo add-apt-repository ppa:intel-opencl/intel-opencl sudo apt update sudo apt install intel-opencl-icd Still, no luck. What am I missing? I'm a casual Linux user. That is, I search online enough to get me going, so please forgive me if I ask a bunch of noob questions going forward. Any help would be appreciated. Thanks! |
Send message Joined: 29 Apr 20 Posts: 2 |
It's a possibly a permissions problem. I had a similar issue: In my case, I needed to add the boinc user to the render group, but I'm running OpenSUSE, so you might have to add it to a different group. According to Intel's website: To allow NEO access to GPU device make sure user has permissions to files /dev/dri/renderD*. |
Send message Joined: 8 Nov 19 Posts: 718 |
Does intel_gpu_top work? (Install Intel GPU tools) If it does, OpenCL should work. I thought a 3rd gen Intel igp was too old to run OpenCL? But if boinc sees it, you'll have to edit your config.xml file and enable all GPUs See here: https://boinc.berkeley.edu/wiki/Client_configuration |
Send message Joined: 5 Oct 06 Posts: 5130 |
But if boinc sees it, you'll have to edit your config.xml file and enable all GPUsEr, no. Admittedly, that's a badly worded bit of documentation: <use_all_gpus>0|1</use_all_gpus>In fact, that rule only applies to dissimilar GPUs within each manufacter's range. The best available GPU from each manufacturer is automatically activated. |
Send message Joined: 13 Jun 17 Posts: 91 |
Does intel_gpu_top work? (Install Intel GPU tools)I don't think it does. I typed that in literally, and I got this output: (intel_gpu_top:12236) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145: (intel_gpu_top:12236) intel-mmio-CRITICAL: Failed assertion: !(error != 0) (intel_gpu_top:12236) intel-mmio-CRITICAL: Last errno: 13, Permission denied (intel_gpu_top:12236) intel-mmio-CRITICAL: Couldn't map MMIO region Stack trace: #0 [_init+0x7b87] #1 [_init+0x5420] #2 [_init+0xe85] #3 [__libc_start_main+0xe7] #4 [_init+0x1c92] Test (null) failed. **** DEBUG **** (intel_gpu_top:12236) intel-chipset-DEBUG: Test requirement passed: pci_dev (intel_gpu_top:12236) intel-mmio-CRITICAL: Test assertion failure function intel_mmio_use_pci_bar, file ../../lib/intel_mmio.c:145: (intel_gpu_top:12236) intel-mmio-CRITICAL: Failed assertion: !(error != 0) (intel_gpu_top:12236) intel-mmio-CRITICAL: Last errno: 13, Permission denied (intel_gpu_top:12236) intel-mmio-CRITICAL: Couldn't map MMIO region (intel_gpu_top:12236) igt-core-INFO: Stack trace: (intel_gpu_top:12236) igt-core-INFO: #0 [_init+0x7b87] (intel_gpu_top:12236) igt-core-INFO: #1 [_init+0x5420] (intel_gpu_top:12236) igt-core-INFO: #2 [_init+0xe85] (intel_gpu_top:12236) igt-core-INFO: #3 [__libc_start_main+0xe7] (intel_gpu_top:12236) igt-core-INFO: #4 [_init+0x1c92] **** END **** FAIL (-1.000s) I'm not sure what to do next. According to Intel's website:I looked in /dev/dri, and there is no renderD folder. To be clear, Boinc does not see my GPU at all, but I'm guessing by this output, Ubuntu is not seeing my GPU either (at least not more than a generic VGA driver). |
Send message Joined: 8 Nov 19 Posts: 718 |
If the command lspci shows the intel GPU, then it might still work. it's an older architecture, but not all Intel IGPs are supported. There are only a few projects supporting Intel CPUs. You'll need to install OpenCL for Intel See this post: https://boinc.berkeley.edu/forum_thread.php?id=13256&postid=96195 |
Send message Joined: 29 Aug 05 Posts: 15571 |
There are only a few projects supporting Intel CPUs.This statement in its present state is severely incorrect. Perhaps you meant to say Intel GPUs. Perhaps you truly meant it to differentiate with AMD CPUs. Even when one installs OpenCL for the Intel CPU the statement is incorrect. All projects that have CPU applications support Intel CPUs, but the same code can be run on AMD CPUs. Not all projects support GPUs, those that do, don't all support all brands and models. No project has OpenCL applications for CPUs, but at least one has multi-threaded applications that use all cores on the CPU. |
Send message Joined: 13 Jun 17 Posts: 91 |
If the command lspci shows the intel GPU, then it might still work.When I type lspci, I get: 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)So, something is there... I'm trying to install OpenCL for Intel, but either it didn't work or I didn't do it right. Any additional hand-holding on that front would be hepful. |
Send message Joined: 8 Nov 19 Posts: 718 |
There are only a few projects supporting Intel CPUs.This statement in its present state is severely incorrect. Perhaps you meant to say Intel GPUs. Perhaps you truly meant it to differentiate with AMD CPUs. Even when one installs OpenCL for the Intel CPU the statement is incorrect. Sorry, typo from cellphone. I meant GPU there, thanks for catching that! OpenCL is made for GPUs. intel made a few GPUs as well, but mainly still own integrated GPUs. |
Send message Joined: 29 Aug 05 Posts: 15571 |
OpenCL is made for GPUs.OpenCL was originally made for CPUs and GPUs, at the time it was even planned to run on SoCs in Ethernet cards, Soundcards and other add-on cards with dedicated processing power. Apparently AMD has dropped support for OpenCL for Ryzen (at least on Windows), but Intel still has runtime drivers and apps for OpenCL on the CPU. |
Send message Joined: 5 Mar 08 Posts: 272 |
I recently have started using this computer for Boinc, running Einstein@home exclusively. It has an Intel i7-3612QM, which has integrated Intel HD Graphics 4000.. As far as I know Intel’s Neo drivers (aka intel-opencl-icd) support the 8th gen onwards so you can’t use them. On such an old CPU I would install beignet-opencl-icd. Be aware that running OpenCL tasks on the iGPU will slow down the whole CPU so you lose productivity as a result. It’s usually faster running CPU only tasks. MarkJ |
Send message Joined: 8 Nov 19 Posts: 718 |
I recently have started using this computer for Boinc, running Einstein@home exclusively. It has an Intel i7-3612QM, which has integrated Intel HD Graphics 4000.. His CPU is about as fast as my Netbook CPU. Half a core goes to feeding the GPU (8 to 12 shaders at 600-1500Mhz, depending on the IGP specs). In most scenarios, the GPU is just as powerful as the CPU (100 Gflops) As long as the CPU isn't overheating or throttling, enabling the GPU should give about a 75% boost in performance: +100% boost for adding the gpu, minus 25% for losing half a thread on the (dual core) CPU = running at 175% performance. In his case a little less as his CPU has 8threads instead of 4. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.