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

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

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

Postby Why_can't_I_use_my_own_username? on Wed Jul 23, 2008 12:33 am

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
Why_can't_I_use_my_own_username?
 

Linux Mint is funded by ads and donations.
 

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

Postby Husse on Wed Jul 23, 2008 9:29 am

Hey Why_can't_I_use_my_own_username?
which is your username - we might be able to help you - checked the spelling?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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

Postby mcurran on Mon Jul 28, 2008 10:00 pm

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...
IBM IntelliStation Z Pro [6227-ACU]
Intel Xeon (3.4GHz) | Irwindale (x2)
nVIDIA GTX 460 (1024MB-DDR5)
6GB RAM (800MHz)
MULTI-BOOT: Metro/Mountain Lion/LMDE
    User avatar
    mcurran
    Level 3
    Level 3
     
    Posts: 100
    Joined: Sun Jan 20, 2008 10:32 pm

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

    Postby mcurran on Mon Jul 28, 2008 10:03 pm

    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:
    IBM IntelliStation Z Pro [6227-ACU]
    Intel Xeon (3.4GHz) | Irwindale (x2)
    nVIDIA GTX 460 (1024MB-DDR5)
    6GB RAM (800MHz)
    MULTI-BOOT: Metro/Mountain Lion/LMDE
      User avatar
      mcurran
      Level 3
      Level 3
       
      Posts: 100
      Joined: Sun Jan 20, 2008 10:32 pm

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

      Postby Husse on Tue Jul 29, 2008 7:07 am

      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...
      Image
      Don't fix it if it ain't broken, don't break it if you can't fix it
      Husse
      Level 21
      Level 21
       
      Posts: 19710
      Joined: Sun Feb 11, 2007 7:22 am
      Location: Near Borås Sweden

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

      Postby forslice on Wed Aug 27, 2008 3:02 pm

      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.
      forslice
       

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

      Postby mcurran on Wed Aug 27, 2008 9:22 pm

      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.
      IBM IntelliStation Z Pro [6227-ACU]
      Intel Xeon (3.4GHz) | Irwindale (x2)
      nVIDIA GTX 460 (1024MB-DDR5)
      6GB RAM (800MHz)
      MULTI-BOOT: Metro/Mountain Lion/LMDE
        User avatar
        mcurran
        Level 3
        Level 3
         
        Posts: 100
        Joined: Sun Jan 20, 2008 10:32 pm

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

        Postby forslice on Tue Sep 02, 2008 10:01 pm

        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.
        forslice
         

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

        Postby lakehousetech on Tue Sep 02, 2008 11:47 pm

        Thanks for posting this. Good to know!
        Wherever you go, there you are... - Buckaroo Banzai
        http://www.lakehousetech.com
        - Mint Debian
        User avatar
        lakehousetech
        Level 4
        Level 4
         
        Posts: 454
        Joined: Wed Nov 07, 2007 3:34 pm
        Location: Toronto, ON

        Linux Mint is funded by ads and donations.
         

        Return to Tutorials / Howtos

        Who is online

        Users browsing this forum: No registered users and 6 guests