Page 1 of 1

HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Wed Jul 23, 2008 12:33 am
by Why_can't_I_use_my_own_username?
I basically took all this information from Fourmiii in this nvnews thread and retyped it for Linux Mint users: http://www.nvnews.net/vbulletin/showthread.php?t=113682

NVIDIA KERNEL

Custom Kernel - Fix GPU Memory Allocation

# Open/Move To A Directory w/ A Lot of Free Space - I Find The Desktop To Be A Quick and Easy Place...
cd /home/(username)/Desktop

# Enable Necessary Repositiories
sudo gedit /etc/apt/sources.list (Uncomment Repositories-Save-Close)

# Download/Install Necessary Tools
sudo apt-get install build-essential
sudo apt-get install configure-debian
sudo apt-get install fakeroot

# Update apt-get
sudo apt-get update

# Download/Install Kernel Image
sudo apt-get build-dep linux-image-2.6.24-18-rt
sudo apt-get source linux-image-2.6.24-18-rt

# Download/Install Kernel Modules
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-18-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-18-rt

# Patch Kernel Image & Modules
sudo patch -p0 < NVRM_512M_fix.txt

# Open Kernel Image Folder
cd linux-2.6.24/
# Modify Binary Instructions & Build deb Packages
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
cd ..

# Open Kernel Modules Folder
cd linux-ubuntu-modules-2.6.24-2.6.24/
# Modify Binary Instructions & Build deb Packages
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs
cd ..

Install The New deb Packages (Kernel Source):
sudo dpkg -i linux-image-2.6.24-20-rt_2.6.24-20.37_i386.deb
sudo dpkg -i linux-headers-2.6.24-20-rt_2.6.24-20.37_i386.deb
sudo dpkg -i linux-headers-lum-2.6.24-20-rt_2.6.24-20.29_i386.deb
sudo dpkg -i linux-ubuntu-modules-2.6.24-20-rt_2.6.24-20.29_i386.deb

Install Latest NVIDIA Driver...

Edit Grub To Your Liking (I Remove Old Entries)...

Some other posts in the nvnews thread said you can skip the modules (I have not tried that) - I do know that the directories used in these instructions do not match Elyssa's default kernel (2.6.24-16-generic), so I was unable to successfully patch that kernel and retain the default system w/ 3D graphics support; however, I am satisfied with my current configuration - Hope this guide helps someone; please let me know if you have any questions

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Wed Jul 23, 2008 9:29 am
by Husse
Hey Why_can't_I_use_my_own_username?
which is your username - we might be able to help you - checked the spelling?

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Mon Jul 28, 2008 10:00 pm
by mcurran
I'm mcurran, but when I try to use my username to create this thread it would not let me use it, even though I was already logged in. Strange...

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Mon Jul 28, 2008 10:03 pm
by mcurran
I just did this with the latest kernel and modules: 2.6.24-20-rt

I think it downloads the newest source regardless of what you type, but I just figured I'd update my HowTo anyways.

So Husse, do you manage this website? Is that why you have mad experience bars? I have entered many posts and still haven't moved a notch - What's the deal? :lol:

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Tue Jul 29, 2008 7:07 am
by Husse
So Husse, do you manage this website? Is that why you have mad experience bars? I have entered many posts and still haven't moved a notch - What's the deal? :lol:
??
I don't manage the site at all - I don't have those rights - only moderator rights :)
I have to guess what you mean - do you refer to the number of posts and that yours is not increasing?
Could have something to do with your problems at the beginning of this topic - for some reason you are perhaps not recognized by phpBB
My numbers come from the posts I post - can be more than 50 in some days
When I look at your number (31I think) it seems too low for you...

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Wed Aug 27, 2008 3:02 pm
by forslice
Is this tutorial used to explain how to allow more than 4gb of RAM to be accessed by the kernel? I am new to linux, but i think that's about what this is getting at. If not, i want to know how to recompile the mint kernel to read more RAM.

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Wed Aug 27, 2008 9:22 pm
by mcurran
I actually got this information from fourmiii on nvnews' forum, so you'd be better off asking there about what it actually does, but my guess is this allowed the extra 512MB of memory I had with my GPU get addressed correctly as shared memory; however, I also have 4GB of RAM as well, which are now working. So, my bet is yes.

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Tue Sep 02, 2008 10:01 pm
by forslice
Thanks for the tip, it's compiling now (not on this box). I think you are correct. after doing a little more research including the source forum, i think it is the same thing, i just modded it a little.

Re: HowTo: Compile High-Memory Kernel 9500M GS - NVIDIA Driver

Posted: Tue Sep 02, 2008 11:47 pm
by lakehousetech
Thanks for posting this. Good to know!