|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
Need help getting realtime kernel working with Fedora 8 and nvidiaHi all,
I've just installed Fedora Core 8 on my laptop and am very anxious to get the planetccrma realtime kernel and all of those wonderful applications running on it. But I'm having a problem getting the rt kernel working. First, my vital statistics: Computer: HP Pavilion dv9608ca laptop, AMD Athlon 64/x2 cpu, 2GHz, 2GB memory video card: nvidia MCP67M (GeForce 7150M / nForce 630M compatible) Installed kernel that is working properly with the (livna-supplied) nvidia driver: 2.6.24.5-85.fc8 Installed ccrma kernel: 2.6.24.3-1.rt1.2.fc8.ccrmart (NOT WORKING) Here's my story: I've successfully installed Fedora Core 8 on my laptop and now have a dual-boot system with Windows Vista as the other OS and GRUB as my bootloader. Everything working fine at this point. Then I installed the nvidia driver from livna to get full support for my display. Everything working superfine at this point. Played around with it for a couple of days, no problems. Then I followed the instructions at planetccrma and installed the realtime kernel listed above. No problems yet. When I rebooted into the ccrma kernel I noticed some error messages involving the nvidia driver. Couldn't find nvidia.ro or something like that. I didn't see the nvidia splash screen during boot either, so it definitely wasn't initializing properly. When I got to the login screen I was able to login to the GUI but it was unstable and eventually just froze; no response from mouse or keyboard. I've read many of the posts on various forums about similar problems being experienced by others and their solutions, but it's all a bit confusing and I don't want to do something out of desperation and loose my whole system in the process. Here's what I THINK the problem is: Because I installed the nvidia driver while running under the 2.6.24.5-85.fc8 kernel (and before installing the planetccrma realtime kernel) it only works with that kernel, and does not work with the ccrma kernel. After viewing the livna repository files I noted that there aren't any driver rpm's for the ccrma version of the kernel (2.6.24.3-1.rt1.2.fc8.ccrmart). Many people talked about this in the forums and suggested downloading the livna sources and re-compiling the driver for the ccrma kernel. Is this what I need to do? Here's what I THINK I have to do: 1. Install the kernel-rt-devel package for the ccrma realtime kernel (do I need the kernel-headers too?) 2. Download the source rpm's for the livna driver 3. Install the source rpm's for the livna driver 4. Compile the livna source rpm's and install the resulting binary rpm's while running under the ccrma realtime kernel 5. Reboot and I will be in ccrma heaven Is this correct? If so, could someone please give me, or point me to, detailed instructions on how to accomplish this. I'm far from a Linux expert and very new to Fedora. If it's not correct, could someone please illuminate me. -- Kind Regards, Paul Vallee pv.vallee@... . _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaHi Paul,
What I do to get Nividia going with the CCRMA kernels is: I download the driver installer from the Nvidia web site: http://www.nvidia.com/object/unix.html (You have to do this every time you install or update a CCRMA kernel). Then you have to run the installer out of X. The way I do is I boot the CCRMA kernel and when X fails to load I login, then become root and execute the Nvidia installer, follow the instructions and then reboot. I think in order for it to work you have to uninstall any other Nvidia rpm installed from livna. Let me know if you need a more detailed guide (it's a little bit late here). Cheers, Hector On Wed, May 7, 2008 at 10:11 PM, Paul Vallee <pv.vallee@...> wrote: > Hi all, > > I've just installed Fedora Core 8 on my laptop and am very anxious to get > the planetccrma realtime kernel and all of those wonderful applications > running on it. But I'm having a problem getting the rt kernel working. > > First, my vital statistics: > > Computer: HP Pavilion dv9608ca laptop, AMD Athlon 64/x2 cpu, 2GHz, 2GB > memory > video card: nvidia MCP67M (GeForce 7150M / nForce 630M compatible) > Installed kernel that is working properly with the (livna-supplied) nvidia > driver: 2.6.24.5-85.fc8 > Installed ccrma kernel: 2.6.24.3-1.rt1.2.fc8.ccrmart (NOT WORKING) > > Here's my story: > > I've successfully installed Fedora Core 8 on my laptop and now have a > dual-boot system with Windows Vista as the other OS and GRUB as my > bootloader. Everything working fine at this point. Then I installed the > nvidia driver from livna to get full support for my display. Everything > working superfine at this point. Played around with it for a couple of days, > no problems. > > Then I followed the instructions at planetccrma and installed the realtime > kernel listed above. No problems yet. > > When I rebooted into the ccrma kernel I noticed some error messages > involving the nvidia driver. Couldn't find nvidia.ro or something like that. > I didn't see the nvidia splash screen during boot either, so it definitely > wasn't initializing properly. When I got to the login screen I was able to > login to the GUI but it was unstable and eventually just froze; no response > from mouse or keyboard. I've read many of the posts on various forums about > similar problems being experienced by others and their solutions, but it's > all a bit confusing and I don't want to do something out of desperation and > loose my whole system in the process. > > Here's what I THINK the problem is: > > Because I installed the nvidia driver while running under the > 2.6.24.5-85.fc8 kernel (and before installing the planetccrma realtime > kernel) it only works with that kernel, and does not work with the ccrma > kernel. After viewing the livna repository files I noted that there aren't > any driver rpm's for the ccrma version of the kernel > (2.6.24.3-1.rt1.2.fc8.ccrmart). Many people talked about this in the forums > and suggested downloading the livna sources and re-compiling the driver for > the ccrma kernel. Is this what I need to do? > > Here's what I THINK I have to do: > > 1. Install the kernel-rt-devel package for the ccrma realtime kernel (do I > need the kernel-headers too?) > 2. Download the source rpm's for the livna driver > 3. Install the source rpm's for the livna driver > 4. Compile the livna source rpm's and install the resulting binary rpm's > while running under the ccrma realtime kernel > 5. Reboot and I will be in ccrma heaven > > Is this correct? > If so, could someone please give me, or point me to, detailed instructions > on how to accomplish this. I'm far from a Linux expert and very new to > Fedora. > > If it's not correct, could someone please illuminate me. > > > -- > Kind Regards, > > Paul Vallee > pv.vallee@... > > . > _______________________________________________ > PlanetCCRMA mailing list > PlanetCCRMA@... > http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma > > _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
|
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaHi Matt,
Thanks for your help.
I'm glad that your solution uses the livna-supplied drivers rather than the nvidia-supplied drivers because I understand from reading this article:
Attention: Proprietary video driver users (ATI, Nvidia, etc.)
https://www.redhat.com/archives/fedora-devel-list/2006-February/msg01178.html that the drivers supplied by Nvidia overwrite some OpenGL libraries with their own versions of those libraries. Very naughty.
Before I can proceed I need ask you a few questions:
1. How do I find out if I have the plantetccrma kernel-devel package installed on my system and if it's not there, how do I get it?
2. Do I have to remove the livna-supplied nvidia driver that I have already installed on my Fedora 2.6.24.5-85.fc8 kernel, or can it co-exist peacefully with the one I'm about to install on the planetccrma 2.6.24.3-1.rt1.2.fc8.ccrmart kernel?
3. Do I have to do the installation as root or should I do it as a regular user?
4. Which 'package' do I need to download from livna: xorg-x11-drv-nvidia-169.12.1.lvn8.src.rpm, nvidia-kmod-169.12-7.lvn8.src.rpm, ...?
Thanks
On 5/8/08, Matt Barber <brbrofsvl@...> wrote:
Hello, -- Kind Regards, Paul Vallee pv.vallee@... . _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaSome answers below:
On Fri, May 9, 2008 at 3:50 AM, Paul Vallee <pv.vallee@...> wrote: > Hi Matt, > > Thanks for your help. > I'm glad that your solution uses the livna-supplied drivers rather than the > nvidia-supplied drivers because I understand from reading this article: > > Attention: Proprietary video driver users (ATI, Nvidia, etc.) > https://www.redhat.com/archives/fedora-devel-list/2006-February/msg01178.html > > that the drivers supplied by Nvidia overwrite some OpenGL libraries with > their own versions of those libraries. Very naughty. > > Before I can proceed I need ask you a few questions: > > 1. How do I find out if I have the plantetccrma kernel-devel package > installed on my system and if it's not there, how do I get it? to find out: rpm -q kernel-rt-devel if you want to find all the kernel packages installed: rpm -qa | grep kernel for more on the above commands, you can man rpm and do a search for "QUERY OPTIONS" to install: (as superuser) yum install kernel-rt-devel > > 2. Do I have to remove the livna-supplied nvidia driver that I have already > installed on my Fedora 2.6.24.5-85.fc8 kernel, or can it co-exist peacefully > with the one I'm about to install on the planetccrma > 2.6.24.3-1.rt1.2.fc8.ccrmart kernel? You should be able to keep the livna-supplied driver, I think. When you run the rpm command to install the new one, make sure you use -ihv rather than -Uhv, just to be safe (install rather than update). > > 3. Do I have to do the installation as root or should I do it as a regular > user? You'll need root privileges to install any rpm -- you can do it as sudo if you have set up sudo privileges for your user(s). > > 4. Which 'package' do I need to download from livna: > xorg-x11-drv-nvidia-169.12.1.lvn8.src.rpm, > nvidia-kmod-169.12-7.lvn8.src.rpm, ...? > The nvidia-kmod package -- this is the kernel module that you have to build to work with your specific kernel version. If I'm not mistaken, the other one is the driver components which are common to all nvidia modules, as well as some documentation, the /dev devices, and some config scripts. (run rpm -ql xorg-x11-drv-nvidia | less to see what's there) The beginning of the nvidia-kmod.spec looks like this for me: ---------------------------------------------------------------------------- # stuff to be implemented externally: Source10: kmodtool %define kmodtool bash %{SOURCE10} # end stuff to be ... # hardcode for now: %{!?kversion: %define kversion 2.6.24.3-1.rt1.2.fc7.ccrmart} %define kmod_name nvidia %define kverrel %(%{kmodtool} verrel %{?kversion} 2>/dev/null) %define upvar "" # kdump-devel missing #define kdumpvar kdump # xen uses a different version; ignore #define xenvar xen # don't build for debug kernels #define debugvar debug PAE-debug %{!?kvariants: %define kvariants %{?upvar}} --------------------------------------------------------------------------- You can get the kernel version to put in the .spec file with uname -r again, notice I've deleted all references to any kvariants besides upvar -- it's probably a bit nicer to comment out the defines rather than delete them, but I like to get them out of my sight. =o) This has always worked for me -- anyone who is more of an rpm-master who sees something terrible in the above should post a better solution. Hope this works for you, let me know. Matt PS. This probably won't apply to you, but anyone who is using an old card and can't get the nvidia drivers to work should try the nvidia-96xx-kmod or (if it's REALLY old) nvidia-legacy-kmod drivers. As I mentioned before, this method works great for livna's madwifi package as well. As of yet I can't get fglrx (ATI drivers) to work -- here's the error message: FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol '__rcu_read_lock' I haven't found a workaround -- to anyone who knows the rt-kernel: is there likely to be one? > Thanks > > > On 5/8/08, Matt Barber <brbrofsvl@...> wrote: >> >> Hello, >> >> I highly suggest you use the RPM source -- it keeps things much >> cleaner, and you get to use the pretty nifty livna-config-display >> scripts (one of which is nvidia-config-display). >> >> I posted some directions on this here: >> >> >> http://ccrma-mail.stanford.edu/pipermail/planetccrma/2008-April/014640.html >> >> >> I think everything there is correct -- please let me know if it works >> or if you have any questions -- if you want I can post what the >> beginning of the final .spec file looks like when I do it. >> >> (hopefully I'M doing it right!... ) >> >> Thanks, >> >> Matt >> >> >> >> >> >> > Date: Wed, 7 May 2008 19:11:58 -0700 >> > From: "Paul Vallee" <pv.vallee@...> >> > Subject: [PlanetCCRMA] Need help getting realtime kernel working with >> > Fedora 8 and nvidia >> > To: planetccrma@... >> > Message-ID: >> > <830daa640805071911r6708a09and2d0b8d323c895f6@...> >> > Content-Type: text/plain; charset="utf-8" >> > >> > Hi all, >> > >> > I've just installed Fedora Core 8 on my laptop and am very anxious to >> > get >> > the planetccrma realtime kernel and all of those wonderful applications >> > running on it. But I'm having a problem getting the rt kernel working. >> > >> > First, my vital statistics: >> > >> > Computer: HP Pavilion dv9608ca laptop, AMD Athlon 64/x2 cpu, 2GHz, 2GB >> > memory >> > video card: nvidia MCP67M (GeForce 7150M / nForce 630M compatible) >> > Installed kernel that is working properly with the (livna-supplied) >> > nvidia >> > driver: 2.6.24.5-85.fc8 >> > Installed ccrma kernel: 2.6.24.3-1.rt1.2.fc8.ccrmart (NOT WORKING) >> > >> > Here's my story: >> > >> > I've successfully installed Fedora Core 8 on my laptop and now have a >> > dual-boot system with Windows Vista as the other OS and GRUB as my >> > bootloader. Everything working fine at this point. Then I installed the >> > nvidia driver from livna to get full support for my display. Everything >> > working superfine at this point. Played around with it for a couple of >> > days, >> > no problems. >> > >> > Then I followed the instructions at planetccrma and installed the >> > realtime >> > kernel listed above. No problems yet. >> > >> > When I rebooted into the ccrma kernel I noticed some error messages >> > involving the nvidia driver. Couldn't find nvidia.ro or something like >> > that. >> > I didn't see the nvidia splash screen during boot either, so it >> > definitely >> > wasn't initializing properly. When I got to the login screen I was able >> > to >> > login to the GUI but it was unstable and eventually just froze; no >> > response >> > from mouse or keyboard. I've read many of the posts on various forums >> > about >> > similar problems being experienced by others and their solutions, but >> > it's >> > all a bit confusing and I don't want to do something out of desperation >> > and >> > loose my whole system in the process. >> > >> > Here's what I THINK the problem is: >> > >> > Because I installed the nvidia driver while running under the >> > 2.6.24.5-85.fc8 kernel (and before installing the planetccrma realtime >> > kernel) it only works with that kernel, and does not work with the ccrma >> > kernel. After viewing the livna repository files I noted that there >> > aren't >> > any driver rpm's for the ccrma version of the kernel >> > (2.6.24.3-1.rt1.2.fc8.ccrmart). Many people talked about this in the >> > forums >> > and suggested downloading the livna sources and re-compiling the driver >> > for >> > the ccrma kernel. Is this what I need to do? >> > >> > Here's what I THINK I have to do: >> > >> > 1. Install the kernel-rt-devel package for the ccrma realtime kernel (do >> > I >> > need the kernel-headers too?) >> > 2. Download the source rpm's for the livna driver >> > 3. Install the source rpm's for the livna driver >> > 4. Compile the livna source rpm's and install the resulting binary rpm's >> > while running under the ccrma realtime kernel >> > 5. Reboot and I will be in ccrma heaven >> > >> > Is this correct? >> > If so, could someone please give me, or point me to, detailed >> > instructions >> > on how to accomplish this. I'm far from a Linux expert and very new to >> > Fedora. >> > >> > If it's not correct, could someone please illuminate me. >> > >> > >> > -- >> > Kind Regards, >> > >> > Paul Vallee >> > pv.vallee@... >> > >> > . >> > -------------- next part -------------- >> > An HTML attachment was scrubbed... >> > URL: >> > http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20080507/4fb32244/attachment-0001.html > > > > -- > Kind Regards, > > Paul Vallee > pv.vallee@... > > . _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaBy the way,
After you install the kmod-nvidia package, you might have trouble with yum update when there's a fedora kernel update, since it will try to update to the new one rather than install the new one (I think this causes a dependency conflict because kernels are installonly by default in yum, but updating tries to take away the old kmod-nvidia package - again, someone who knows yum better please advise). I am thinking you can fix this by adding "kmod-nvidia" to an installonlypkgs line in yum.conf -- or if you don't want to do that, if you get an error from yum update saying you have dependency issues involving kmod-nvidia I have found success by running yum install kernel kmod-nvidia first before running yum update. Best, Matt On Fri, May 9, 2008 at 11:11 AM, Matt Barber <brbrofsvl@...> wrote: > Some answers below: > > On Fri, May 9, 2008 at 3:50 AM, Paul Vallee <pv.vallee@...> wrote: >> Hi Matt, >> >> Thanks for your help. >> I'm glad that your solution uses the livna-supplied drivers rather than the >> nvidia-supplied drivers because I understand from reading this article: >> >> Attention: Proprietary video driver users (ATI, Nvidia, etc.) >> https://www.redhat.com/archives/fedora-devel-list/2006-February/msg01178.html >> >> that the drivers supplied by Nvidia overwrite some OpenGL libraries with >> their own versions of those libraries. Very naughty. >> >> Before I can proceed I need ask you a few questions: >> ----------------------------------------------------------------------------------- _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaHi Matt,
Sorry for getting so late to this post. I used your instructions for kmod-nvidia for a while, but on F8 I could not use them anymore (thanks a lot). I sent a post to PlanetCCRMA last February with the procedure I am using now: http://ccrma-mail.stanford.edu/pipermail/planetccrma/2008-February/014423.html Looks like Livna is using RPM Fusion in order to facilitate KMOD compilation in different Kernels. Once I have the KMOD SRPM, All I have to do is to compile kmod-nvidia module for a ccrma rt kernel as: 'rpmbuild -ba --define "kernels $(uname -r)" --target i686 \ nvidia-kmod.spec' --* Juan On Fri, 2008-05-09 at 11:35 -0400, Matt Barber wrote: > By the way, > > After you install the kmod-nvidia package, you might have trouble with > yum update when there's a fedora kernel update, since it will try > to update to the new one rather than install the new one (I think this > causes a dependency conflict because kernels are installonly by > default in yum, but updating tries to take away the old kmod-nvidia > package - again, someone who knows yum better please advise). > > I am thinking you can fix this by adding "kmod-nvidia" to an > installonlypkgs line in yum.conf -- or if you don't want to do that, > if you get an error from yum update saying you have dependency > issues involving kmod-nvidia I have found success by running > > yum install kernel kmod-nvidia > > first before running yum update. > > Best, > > Matt _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaJuan,
Terrific news. Thanks for the info -- I'm sorry I missed your february post. Note that my method still works for Fedora 7 - I suppose I should not have assumed that things hadn't changed for 8. This change is for the better, though, and makes the drivers a lot more flexible. If you're running 8, could you take a look and see what happens if you try to compile the fglrx drivers using the same method? I'll get to it later this week, but I'm anxious to know... Thanks, Matt On Wed, May 14, 2008 at 12:08 PM, Juan I Reyes <juanig@...> wrote: > Hi Matt, > > Sorry for getting so late to this post. I used your instructions for > kmod-nvidia for a while, but on F8 I could not use them anymore (thanks > a lot). I sent a post to PlanetCCRMA last February with the procedure I > am using now: > > http://ccrma-mail.stanford.edu/pipermail/planetccrma/2008-February/014423.html > > Looks like Livna is using RPM Fusion in order to facilitate KMOD > compilation in different Kernels. > > Once I have the KMOD SRPM, All I have to do is to compile kmod-nvidia > module for a ccrma rt kernel as: > > 'rpmbuild -ba --define "kernels $(uname -r)" --target i686 \ > nvidia-kmod.spec' > > --* Juan > > On Fri, 2008-05-09 at 11:35 -0400, Matt Barber wrote: >> By the way, >> >> After you install the kmod-nvidia package, you might have trouble with >> yum update when there's a fedora kernel update, since it will try >> to update to the new one rather than install the new one (I think this >> causes a dependency conflict because kernels are installonly by >> default in yum, but updating tries to take away the old kmod-nvidia >> package - again, someone who knows yum better please advise). >> >> I am thinking you can fix this by adding "kmod-nvidia" to an >> installonlypkgs line in yum.conf -- or if you don't want to do that, >> if you get an error from yum update saying you have dependency >> issues involving kmod-nvidia I have found success by running >> >> yum install kernel kmod-nvidia >> >> first before running yum update. >> >> Best, >> >> Matt > > > _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaHi all,
First of all, thanks for your help Matt, Juan and Hector. I couldn't have done it without you. I tried following Matt's instructions but ran into a roadblock when I discovered that the spec file had changed and I couldn't edit it properly to get the desired result. Then I stumbled upon the rpmfusion site and realized that we are now in the world of kmod "2.0". No more fiddling with the spec file. Just add a couple of prameters to the rpmbuild command line and kmodtool does the rest. I followed the instructions here: http://rpmfusion.org/Packaging/KernelModules/Kmods2#head-a6ef94d0e888ea41a2335d30fe7da26814e23f8f and the nvidia driver installed on the planetccrma kernel without incident. Nice! When I rebooted, however, I was still having the same problems with extra characters being emitted when I press keys on the keyboard, erratic mouse behavior and Xwindows freezing eventually. I did a little more research and decided to try out the latest testing kernel from planetccrma. Good decision. I installed it, then installed the nvidia kernel module again for the new kernel and was pleasantly surprised to find out that I now had a working system with none of the problems described above. Good response, no perceivable delays in X. Thanks again, all. I've been struggling with this for about a week and it's such a good feeling to finally be at this stage of the process. Next, I installed the planetccrma-apps package. Now I have a new problem. JACK. It seems to start up when needed, but then exits immediately with status 1. I will do some more research and see if I can get it working on my own. If I can't though, I'm wondering if I should continue bleating about it in this topic or start a new topic for the JACK problem? Paul On Wed, May 14, 2008 at 10:35 AM, Matt Barber <brbrofsvl@...> wrote: Juan, -- Kind Regards, Paul Vallee pv.vallee@... . _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaPaul,
It seems unlikely that the JACK problem is related to the nvidia driver -- start a new thread. In the meantime, post a copy of the output error message when you start jack - the problem I've seen most often on Fedora 7 is related to something like the following not being in /etc/security/limits.conf ---- ## Automatically appended by the Planet CCRMA jack-audio-connection-kit * - rtprio 99 * - memlock 4194304 * - nice -10 ---- See here, for instance: http://ccrma-mail.stanford.edu/pipermail/planetccrma/2008-April/014711.html Since Fedora has its own JACK, if it was installed when you installed the rest of the OS, sometimes you might see something different there involving a jackuser group... if this is the case, you can usually just comment that out and copy the above in. There are other things that can keep jackd from starting, though, some having to do with your specific hardware, so posting error messages is always a good idea. Thanks, Matt On Wed, May 14, 2008 at 6:11 PM, Paul Vallee <pv.vallee@...> wrote: > Hi all, > > First of all, thanks for your help Matt, Juan and Hector. I couldn't have > done it without you. I tried following Matt's instructions but ran into a > roadblock when I discovered that the spec file had changed and I couldn't > edit it properly to get the desired result. Then I stumbled upon the > rpmfusion site and realized that we are now in the world of kmod "2.0". No > more fiddling with the spec file. Just add a couple of prameters to the > rpmbuild command line and kmodtool does the rest. > > I followed the instructions here: > > http://rpmfusion.org/Packaging/KernelModules/Kmods2#head-a6ef94d0e888ea41a2335d30fe7da26814e23f8f > > and the nvidia driver installed on the planetccrma kernel without incident. > Nice! > > When I rebooted, however, I was still having the same problems with extra > characters being emitted when I press keys on the keyboard, erratic mouse > behavior and Xwindows freezing eventually. I did a little more research and > decided to try out the latest testing kernel from planetccrma. Good > decision. I installed it, then installed the nvidia kernel module again for > the new kernel and was pleasantly surprised to find out that I now had a > working system with none of the problems described above. Good response, no > perceivable delays in X. > > Thanks again, all. I've been struggling with this for about a week and it's > such a good feeling to finally be at this stage of the process. > > Next, I installed the planetccrma-apps package. Now I have a new problem. > JACK. It seems to start up when needed, but then exits immediately with > status 1. I will do some more research and see if I can get it working on my > own. If I can't though, I'm wondering if I should continue bleating about it > in this topic or start a new topic for the JACK problem? > > Paul > > > > On Wed, May 14, 2008 at 10:35 AM, Matt Barber <brbrofsvl@...> wrote: > > Juan, > > > > Terrific news. Thanks for the info -- I'm sorry I missed your > > february post. Note that my method still works for Fedora 7 - I > > suppose I should not have assumed that things hadn't changed for 8. > > This change is for the better, though, and makes the drivers a lot > > more flexible. If you're running 8, could you take a look and see > > what happens if you try to compile the fglrx drivers using the same > > method? I'll get to it later this week, but I'm anxious to know... > > > > > > Thanks, > > > > Matt > > > > > > > > > > On Wed, May 14, 2008 at 12:08 PM, Juan I Reyes > > <juanig@...> wrote: > > > Hi Matt, > > > > > > Sorry for getting so late to this post. I used your instructions for > > > kmod-nvidia for a while, but on F8 I could not use them anymore (thanks > > > a lot). I sent a post to PlanetCCRMA last February with the procedure I > > > am using now: > > > > > > > http://ccrma-mail.stanford.edu/pipermail/planetccrma/2008-February/014423.html > > > > > > Looks like Livna is using RPM Fusion in order to facilitate KMOD > > > compilation in different Kernels. > > > > > > Once I have the KMOD SRPM, All I have to do is to compile kmod-nvidia > > > module for a ccrma rt kernel as: > > > > > > 'rpmbuild -ba --define "kernels $(uname -r)" --target i686 \ > > > nvidia-kmod.spec' > > > > > > --* Juan > > > > > > On Fri, 2008-05-09 at 11:35 -0400, Matt Barber wrote: > > >> By the way, > > >> > > >> After you install the kmod-nvidia package, you might have trouble with > > >> yum update when there's a fedora kernel update, since it will try > > >> to update to the new one rather than install the new one (I think this > > >> causes a dependency conflict because kernels are installonly by > > >> default in yum, but updating tries to take away the old kmod-nvidia > > >> package - again, someone who knows yum better please advise). > > >> > > >> I am thinking you can fix this by adding "kmod-nvidia" to an > > >> installonlypkgs line in yum.conf -- or if you don't want to do that, > > >> if you get an error from yum update saying you have dependency > > >> issues involving kmod-nvidia I have found success by running > > >> > > >> yum install kernel kmod-nvidia > > >> > > >> first before running yum update. > > >> > > >> Best, > > >> > > >> Matt > > > > > > > > > > > > > > > -- > Kind Regards, > > > Paul Vallee > pv.vallee@... > > . _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaOn Wed, 2008-05-14 at 15:11 -0700, Paul Vallee wrote:
> Next, I installed the planetccrma-apps package. Now I have a new > problem. JACK. It seems to start up when needed, but then exits > immediately with status 1. What version of jack do you have installed? "rpm -q jack-audio-connection-kit" to know... -- Fernando _______________________________________________ PlanetCCRMA mailing list PlanetCCRMA@... http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma |
|
|
Re: Need help getting realtime kernel working with Fedora 8 and nvidiaFYI,
I don't know if this has been brought up here, but you may have trouble compiling the nvidia kmod (version 173.14.09-2) against some newer rt kernels (e.g. 2.6.24.7-1.rt3.2.fc8.ccrmart). The nvidia drivers use some structs and functions which have been relegated to "compat" status in RT kernels. You can apply the following patch in the build process to get it to work, but I don't know if it's safe to use the semaphore stuff anymore -- it would be good to hear about this from someone who knows the kernel better (at any rate it's needed for the nvidia drivers): --- nvidiapkg-x86/usr/src/nv/nv-linux.h 2008-06-05 03:13:45.000000000 -0400 +++ nvidiapkg-x86/usr/src/nv/nv-linux.h 2008-06-23 19:15:49.000000000 -0400 @@ -686,8 +686,8 @@ #define NV_INIT_MUTEX(mutex) \ { \ - struct semaphore __mutex = \ - __SEMAPHORE_INITIALIZER(*(mutex), 1); \ + struct compat_semaphore __mutex |