<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Thank you for providing steps for successful configuration, Steve!<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 9:21 PM, Steve Duell <span dir="ltr">&lt;<a href="mailto:steveduell@gmail.com" target="_blank">steveduell@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Wow, guys - you did it!  Finally, after over 2 weeks, I&#39;ve got an RT kernel working with the proprietary NVIDIA drivers.  Thanks to you, I can now have super low latency AND lots of windows open with no screen corruption.  Well done!<br>


<br>When I tried to do this on my own, I had to bounce back and forth between various sources, sometimes reading long threads and hunting down specific information in each one.  Now, in order to save fellow adventurers on this path from future headaches, I&#39;d like to review the steps I took in one clean, step-by-step procedure:<br>


<br><br>1) Install Fedora<br><br>2) Make downloads more efficient by installing a plugin for yum:<div class=""><br><br>yum install yum-plugin-fastestmirror<br>yum update<br><br></div>3) Add the RPM Fusion repositories so you can have access to necessary packages outside of official Fedora ones:<br>


<br>su -c &#39;yum localinstall --nogpgcheck <a href="http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm" target="_blank">http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm</a> -E %fedora).noarch.rpm <a href="http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm" target="_blank">http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm</a> -E %fedora).noarch.rpm&#39;<br>


<br>4) Make sure you have basic software development packages<br>installed so you can compile stuff:  <br><br>yum groupinstall &quot;Development Tools&quot;<br><br>5) Uninstall any other type of nvidia and/or noveau driver. Search theses terms in the package manager and remove any installed packages.<br>


<br>6) While still running stock kernel, install the most recent nvidia akmod:<div class=""><br><br>sudo yum install akmod-nvidia.x86_64 xorg-x11-drv-nvidia-libs.x86_64<br><br></div>   (note: replace the x86_64 with i686 if you&#39;re running in 32bit.  You&#39;ll also need to install the xorg-x11-drv-nvidia-libs.i686 alongside x86_64 if you want to run 32bit opengl apps.)<br>


<br>7) Reboot and verify that the nvidia drivers work with the stock kernel.  It may take a while for it to finish booting, as the driver is compiled from the akmod at boot time.  <br><div class="">Possible troubleshooting:<br>

The akmod installation scripts should disable noveau so if you run into problems, like a blank screen on startup, go to a virtual terminal by hitting CTRL+ALT+F2, login and do a &quot;lsmod |grep noveau&quot; (without the quotes) and see if there&#39;s a module called noveau and if there is you have to get rid of it.  If that command shows nothing than do a &quot;lsmod | grep nvidia&quot; and if that doesn&#39;t it means the nvidia module either didn&#39;t compile or is not loading.<br>


<br></div>8) Check to see if NVIDIA installed cleanly.  You should have access to &#39;Applications &gt; Settings &gt; Nvidia X Server Settings&#39; from the application launcher.  Or, if you want to check in the terminal, you can:<br>


<br>lsmod |grep nvidia<br><br>which should output something like this: <br>nvidia               9665481  45 <br>drm                   230882  4 nvidia<br>i2c_core               28502  2 drm,nvidia<br><br>9) Now, you can get ready to install the realtime kernel.  First, add the ccrma repositories:<br>


<br>rpm -Uvh <a href="http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/20/i386/planetccrma-repo-1.1-3.fc20.ccrma.noarch.rpm" target="_blank">http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/20/i386/planetccrma-repo-1.1-3.fc20.ccrma.noarch.rpm</a><br>


<br>note: the above command is only for Fedora 20. Commands to add repositories for other versions can be found at: <a href="http://ccrma.stanford.edu/planetccrma/software/installplanettwenty.html" target="_blank">http://ccrma.stanford.edu/planetccrma/software/installplanettwenty.html</a><br>


<br>10) Through the package manager, install &quot;Planet CCRMA core packages (kernel and drivers)&quot;.  Take note, as it&#39;s installing, whether the kernel is PAE (physical address extension) or not, as you&#39;ll need to know for the next step.<br>


<br>11) Install either the kernel-rt-devel or kernel-rtPAE-devel package which matches the CCRMA kernel you just installed.<br><br>12) Reboot and give the system some extra time to compile the NVIDIA drivers.  After a while (about 3 minutes in my case), the system should finish booting and you&#39;ll have access to the Nvidia X Server Setings as described in step 8.<br>


<br>Done!<br><br>Good luck.<br><br><br>Thanks again for all the help in getting my install finished.  MUCH appreciated!<span class="HOEnZb"><font color="#888888"><br><br>-Steve<br></font></span></div><div class="HOEnZb">

<div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 1:53 PM, Jeremy M Booth <span dir="ltr">&lt;<a href="mailto:bq20@comcast.net" target="_blank">bq20@comcast.net</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, the kernel and kernel-devel packages installed have to match, so<br>
if CCRMA installed kernel-rtPAE by default and you installed<br>
kernel-rt-devel manually (which is for the non-PAE kernel), the akmod<br>
won&#39;t compile.<br>
<br>
<br>
On Tue, 22 Apr 2014 08:03:25 -0700<br>
<div><div>Steve Duell &lt;<a href="mailto:steveduell@gmail.com" target="_blank">steveduell@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Jeremy,<br>
&gt;<br>
&gt; Thanks indeed for the detailed steps.  Here&#39;s how it went:<br>
&gt;<br>
&gt;<br>
&gt; 1. make sure you have basic software development packages<br>
&gt; installed so you can compile stuff<br>
&gt;<br>
&gt; (wasn&#39;t sure what I needed, so I just installed gcc c++ package)<br>
&gt;<br>
&gt; 2.  install the kernel-devel packages for stock kernel<br>
&gt;<br>
&gt; (no problem)<br>
&gt;<br>
&gt; 3. uninstall any other type of nvidia driver and/or noveau<br>
&gt;<br>
&gt; (I did this through the package manager - appeared to do the job)<br>
&gt;<br>
&gt; 4. install nvidia akmod while running stock kernel<br>
&gt;<br>
&gt; (check)<br>
&gt;<br>
&gt; 5. reboot and make sure akmod working first with stock kernel<br>
&gt;<br>
&gt; (Nvidia drivers built successfully &amp; working great on the stock<br>
&gt; kernel.)<br>
&gt;<br>
&gt; 6. once it does then install the CCRMA stuff/realtime kernel but make<br>
&gt; sure you also install the kernel-rt-devel* BEFORE you reboot.<br>
&gt;<br>
&gt; (done)<br>
&gt;<br>
&gt; Upon rebooting into the CCRMA kernel, the bootloader animation made it<br>
&gt; almost to the end before the system started running through a<br>
&gt; checklist.  I saw in that list that it was attempting to build from a<br>
&gt; kmod package. Other entries appeared after that, and then the system<br>
&gt; hung on the message &quot;starting Avahi DNS something...&quot;.  I waited 5<br>
&gt; minutes with no activity, then went to the virtual terminal and ran<br>
&gt; the grep commands.  They returned no nouveau or nvidia modules.  So I<br>
&gt; guess it&#39;s as you say - the nvidia drivers for this kernel didn&#39;t<br>
&gt; compile.<br>
&gt;<br>
&gt; I have some idea about why this may be:<br>
&gt;<br>
&gt; - Even though I attempted to install the regular i686 kernel package,<br>
&gt; I noticed that the package manager gave me a PAE version.  I don&#39;t<br>
&gt; think I need this, as I&#39;m pretty sure I don&#39;t have 4 gigs of RAM. Is<br>
&gt; it possible to force the installation of the non-PAE version through<br>
&gt; the terminal?<br>
&gt;<br>
&gt; - Maybe there is another development package I need besides the gcc<br>
&gt; one?<br>
&gt;<br>
&gt; Anyway, thanks again for the help - you&#39;ve helped me get farther<br>
&gt; along in the process than I&#39;ve been able to so far on my own.  Much<br>
&gt; appreciated!<br>
&gt;<br>
&gt; -Steve<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Apr 21, 2014 at 6:30 PM, Jeremy M Booth &lt;<a href="mailto:bq20@comcast.net" target="_blank">bq20@comcast.net</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; If it helps to keep track of things to reinstall that&#39;s fine but<br>
&gt; &gt; technically you shouldn&#39;t have to do that.  All the akmod is,<br>
&gt; &gt; is the proprietary nvidia driver repackaged, so unless your machine<br>
&gt; &gt; is over a decade old it shouldn&#39;t take more than 3 or 4 minutes.<br>
&gt; &gt; Some akmods compile right after you install them so I guess just pay<br>
&gt; &gt; attention to what&#39;s going on before you reboot as well. Also every<br>
&gt; &gt; time you install a new kernel it will have to recompile itself,<br>
&gt; &gt; which it does automatically. You need the kernel devel packages<br>
&gt; &gt; first, because the akmod needs them to compile. Otherwise I&#39;m not<br>
&gt; &gt; sure whether it warns you about the dependencies or not.  I don&#39;t<br>
&gt; &gt; see why any spin would hurt so long as it&#39;s still fedora.  So if<br>
&gt; &gt; you&#39;re installing from scratch this is what I&#39;d do:<br>
&gt; &gt;<br>
&gt; &gt; first to make downloads more efficient:<br>
&gt; &gt;<br>
&gt; &gt; yum install yum-plugin-fastestmirror<br>
&gt; &gt; yum update<br>
&gt; &gt;<br>
&gt; &gt; 1. make sure you have basic software development packages<br>
&gt; &gt; installed so you can compile stuff<br>
&gt; &gt; 2.  install the kernel-devel packages for stock kernel<br>
&gt; &gt; 3. uninstall any other type of nvidia driver and/or noveau<br>
&gt; &gt; 4. install nvidia akmod while running stock kernel<br>
&gt; &gt; 5. reboot and make sure akmod working first with stock kernel<br>
&gt; &gt; 6. once it does then install the CCRMA stuff/realtime kernel but<br>
&gt; &gt; make sure you also install the kernel-rt-devel* BEFORE you reboot<br>
&gt; &gt;<br>
&gt; &gt; Possible troubleshooting:<br>
&gt; &gt; The akmod installation scripts should disable noveau so if you run<br>
&gt; &gt; into problems, like a blank screen on startup, go to a virtual<br>
&gt; &gt; terminal by hitting CTRL+ALT+F2, login and do a &quot;lsmod |grep<br>
&gt; &gt; noveau&quot; (without the quotes) and see if there&#39;s a module called<br>
&gt; &gt; noveau and if there is you have to get rid of it.  If that command<br>
&gt; &gt; shows nothing than do a &quot;lsmod | grep nvidia&quot;<br>
&gt; &gt; and if that doesn&#39;t it means the nvidia module either didn&#39;t compile<br>
&gt; &gt; or is not loading.<br>
&gt; &gt;<br>
&gt; &gt; This setup definitely works though as I&#39;ve been using the<br>
&gt; &gt; fedora/ccrma/akmod combination for several releases now, but like<br>
&gt; &gt; you said the information on the web is very spotty feel free to<br>
&gt; &gt; report back with any problems.<br>
&gt; &gt;<br>
&gt; &gt; On Mon, 21 Apr 2014 16:41:51 -0700<br>
&gt; &gt; Steve Duell &lt;<a href="mailto:steveduell@gmail.com" target="_blank">steveduell@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thank, Jeremy!  I&#39;ll reinstall F20 from scratch and follow your<br>
&gt; &gt; &gt; steps. Just a few more questions:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Should I install the akmod or the kernel-rt-devel package first?<br>
&gt; &gt; &gt; Or does it matter?  I gather that as long as they&#39;re both present<br>
&gt; &gt; &gt; at reboot, everything should come out fine.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; You mention a delay on first boot after installing the akmod.<br>
&gt; &gt; &gt; Can you estimate about how long it should take?  It&#39;s possible<br>
&gt; &gt; &gt; that the first time I tried this, I just gave up too soon.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Also, is there any harm in using the CCRMA kernel with the Fedora<br>
&gt; &gt; &gt; Jam spin?  After weeks of trying to get various distros to play<br>
&gt; &gt; &gt; nice with my hardware, I&#39;m to the point where I&#39;d gladly accept<br>
&gt; &gt; &gt; one with most of the workhorse audio utilities pre-packaged for<br>
&gt; &gt; &gt; my convenience.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks again for the prompt reply.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; -Steve<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Mon, Apr 21, 2014 at 11:21 AM, Jeremy M Booth<br>
&gt; &gt; &gt; &lt;<a href="mailto:bq20@comcast.net" target="_blank">bq20@comcast.net</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Also make sure you have the kernel-rt-devel* package installed<br>
&gt; &gt; &gt; &gt; for the akmods to compile.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Sun, 20 Apr 2014 21:29:43 -0700<br>
&gt; &gt; &gt; &gt; Steve Duell &lt;<a href="mailto:steveduell@gmail.com" target="_blank">steveduell@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Hey Folks,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;m new to linux, and have gone through several distributions<br>
&gt; &gt; &gt; &gt; &gt; over the last few weeks, looking for the right one.  I&#39;ve<br>
&gt; &gt; &gt; &gt; &gt; tried and am very happy with Fedora 19 &amp; 20 (both Xfce and<br>
&gt; &gt; &gt; &gt; &gt; LXDE editions). I&#39;ve had no problems installing the RT<br>
&gt; &gt; &gt; &gt; &gt; kernel, but running the nouveau driver for graphics doesn&#39;t<br>
&gt; &gt; &gt; &gt; &gt; work well with my NVIDIA Geforce 8 chip. Once enough windows<br>
&gt; &gt; &gt; &gt; &gt; are open, or enough images load on a webpage, the display<br>
&gt; &gt; &gt; &gt; &gt; gets corrupted and I can&#39;t continue to use the computer<br>
&gt; &gt; &gt; &gt; &gt; without a reboot.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I tried installing the proprietary drivers, which work fine<br>
&gt; &gt; &gt; &gt; &gt; on a stock kernel, but the CCRMA RT kernel will not boot<br>
&gt; &gt; &gt; &gt; &gt; after the nvidia drivers are installed.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;ve googled the issue pretty deeply, and I see lots of<br>
&gt; &gt; &gt; &gt; &gt; conflicting information about the exact steps to get the<br>
&gt; &gt; &gt; &gt; &gt; nvidia driver working with F20.  I&#39;m hoping that one of the<br>
&gt; &gt; &gt; &gt; &gt; power-users on this list has already surmounted this issue<br>
&gt; &gt; &gt; &gt; &gt; and can walk a newbie through it, step-by-step.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; I&#39;m perfectly happy to start all over with a clean install of<br>
&gt; &gt; &gt; &gt; &gt; fedora (any version) if it will make life easier for me or<br>
&gt; &gt; &gt; &gt; &gt; you.<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Thanks a ton,<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &gt; Steve<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
PlanetCCRMA mailing list<br>
<a href="mailto:PlanetCCRMA@ccrma.stanford.edu">PlanetCCRMA@ccrma.stanford.edu</a><br>
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma</a><br>
<br></blockquote></div><br></div>