You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/intel-integrated-graphics-dedicated-gpu-for-cuda-and-ubuntu-1310.html
+23-20Lines changed: 23 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -36,35 +36,38 @@ <h1>Intel Integrated Graphics, dedicated GPU for CUDA and Ubuntu 13.10</h1>
36
36
<timedatetime="2014-03-04T00:00:00">Tue 04 March 2014</time></header>
37
37
<article>
38
38
<p><em>Attention conservation notice: Summary to self about a hacky configuration process, probably fixed really soon anyway somewhere upstream.</em></p>
39
-
<p>The goal is to get <ahref="http://www.ubuntu.com/">Ubuntu 13.10</a> (Desktop version) running on the integrated Intel HD 3000 graphics chip and use the available GTX 660i as a dedicated CUDA device. Googling around brings up various guides, e.g. from <ahref="http://www.r-tutor.com/gpu-computing/cuda-installation/cuda5.5-ubuntu">RTutorial</a> for Ubuntu 12.10 and one on <ahref="http://askubuntu.com/questions/380609/anyone-has-successfully-installed-cuda-5-5-on-ubuntu-13-10-64-bit">AskUbuntu</a> specifically for Ubuntu 13.10. These guides advocate downloading the newest driver and cuda toolkit from nvidias website and running the installation process manually. Doing so however broke my Xorg setup: After logging in wiht lightdm, the screen stays black. Investigating this issue (i.e. looking into /var/log/Xorg.0.log), it seems that with the <em>current</em> nvidia provided drivers (that is version 331.??) intel's libGLX.so gets overwritten and thus unity can not start. Looking around, <ahref="http://mauricio-matera.blogspot.com.ar/2013/10/configuring-cuda-in-ubuntu-1304.html">Juan Mauricio Matera</a> already provided a simple fix for that. It seems that other people also stumbled over this problem, e.g. see this question on <ahref="http://askubuntu.com/questions/355731/use-integrated-intel-graphic-card-for-display-and-tesla-for-cuda?rq=1">AskUbuntu</a>. In the following a brief write up of the complete process, mixing these [two][aksu01] <ahref="http://mauricio-matera.blogspot.com.ar/2013/10/configuring-cuda-in-ubuntu-1304.html">guides</a>. Note: Using the preferred way of installing the cuda-toolkit via <code>apt-get</code> did not work for me either.</p>
39
+
<p>The goal is to get <ahref="http://www.ubuntu.com/">Ubuntu 13.10</a> (Desktop version) running on the integrated Intel HD 3000 graphics chip and use the available GTX 660i as a dedicated CUDA device. Googling around brings up various guides, e.g. from <ahref="http://www.r-tutor.com/gpu-computing/cuda-installation/cuda5.5-ubuntu">RTutorial</a> for Ubuntu 12.10 and one on <ahref="http://askubuntu.com/questions/380609/anyone-has-successfully-installed-cuda-5-5-on-ubuntu-13-10-64-bit">AskUbuntu</a> specifically for Ubuntu 13.10. These guides advocate downloading the newest driver and CUDA toolkit from NVIDIAs website and running the installation process manually. Doing so however broke my Xorg setup: After logging in with lightdm, the screen stays black, somethings wrong with <ahref="https://unity.ubuntu.com/">Unity</a>. Investigating this issue (i.e. looking into <code>/var/log/Xorg.0.log</code>), it seems that with the <em>current</em> NVIDIA provided drivers (that is version 331.??) intel's libGLX.so gets overwritten and thus Unity can not start. Looking around, <ahref="http://mauricio-matera.blogspot.com.ar/2013/10/configuring-cuda-in-ubuntu-1304.html">Juan Mauricio Matera</a> already provided a simple fix for that. It seems that other people also stumbled over this problem, e.g. see this question on <ahref="http://askubuntu.com/questions/355731/use-integrated-intel-graphic-card-for-display-and-tesla-for-cuda?rq=1">AskUbuntu</a>. In the following a brief write up of the complete process, mixing these <ahref="http://askubuntu.com/questions/380609/anyone-has-successfully-installed-cuda-5-5-on-ubuntu-13-10-64-bit">two</a><ahref="http://mauricio-matera.blogspot.com.ar/2013/10/configuring-cuda-in-ubuntu-1304.html">guides</a>. </p>
40
+
<p>Note: The preferred way of installing the CUDA-toolkit via <code>apt-get</code> did not work for me.</p>
40
41
<h2>Bios</h2>
41
-
<p>Make sure that in the BIOS the integrated graphics unit (IGP) is set as the primary device.</p>
42
+
<p>Make sure that in the BIOS the integrated graphics unit (iGP) is set as the primary device.</p>
42
43
<h2>lspci check</h2>
43
-
<p>After the standard installation of Ubuntu 13.10, check with lspci that both devices are available. Your output should look like this.</p>
44
+
<p>After the standard installation of Ubuntu 13.10, check with lspci that both devices are available. Your output should look similar to this.</p>
<p>The next steps are copied from the main [guide][ask01]. Blacklist any driver that is in conflict with NVIDIAS binary driver (e.g. <code>nouveau</code>): Create <code>/etc/modprobe.d/blacklist-file-drivers.conf</code> with
52
-
:::bash
53
-
blacklist nouveau
54
-
blacklist lbm-nouveau
55
-
blacklist amd76x_edac
56
-
blacklist vga16fb
57
-
blacklist rivatv
58
-
blacklist rivafb
59
-
blacklist nvidiafb
60
-
blacklist nvidia-173
61
-
blacklist nvidia-96
62
-
blacklist nvidia-current
63
-
blacklist nvidia-173-updates
64
-
blacklist nvidia-96-updates
65
-
alias nvidia nvidia_current_updates
66
-
alias nouveau off
67
-
alias lbm-nouveau off</p>
52
+
<p>The next steps are copied from the main [guide][ask01]. Blacklist any driver that is in conflict with NVIDIAS binary driver (e.g. <code>nouveau</code>): Create <code>/etc/modprobe.d/blacklist-file-drivers.conf</code> with</p>
0 commit comments