Page 10 of 11 FirstFirst ... 891011 LastLast
Results 91 to 100 of 108

Thread: nvidia 9500m gs question

  1. #91
    Join Date
    Jun 2006
    Location
    State College, PA, USA
    Beans
    244
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: nvidia 9500m gs question

    I don't know if this is relevant, but I have an Asus F8Sn-D1 with a Geforce 9500m GS.

    It "just works" with 8.10, 9.04, and I think with 8.04 too.

  2. #92
    Join Date
    May 2005
    Location
    Washington, DC
    Beans
    30

    Re: nvidia 9500m gs question

    Quote Originally Posted by YesImaLinuxWanabee View Post
    Im running Ubuntu 8.04 64 bit edition on an Asus G1Sn with a 512MB 9500m GS and Im having some troubles with the directions in post #11.

    I can get to the step where I download the txt file and rename it to a diff file, but when i do this step:
    I get a prompt asking me for the file to patch.
    Why am I getting this and what file am I supposed to patch?
    What kernel version are you trying to patch, which patch did you download and are you following the directions exactly, ie without switching directories ?

    The patch only works for the kernel specified in the patch, which can be determined by the first line in the .diff :

    Code:
    diff -Naur linux-2.6.27.orig/arch/x86/pci/i386.c linux-2.6.27/arch/x86/pci/i386.c
    --- linux-2.6.27.orig/arch/x86/pci/i386.c
    If you're not patching 2.6.27, then you will need to go into the linux kernel directory and navigate to

    Code:
    arch/x86/pci/
    [edit]Note : The linux kernel directory is going to be where you are working. Typically, if you haven't changed anything and simply opened a terminal, you will be working in your home directory (to find out where you are, use the command pwd(which stands for "present working directory") and it will tell you). The commands given will download the linux kernel into this directory, so open up a file manager and find the linux-2.6.27 folder (or linux-2.6.28 or whatever version it is) and then go into arch/x86/pci/. You will find what you need in there.[/edit]

    and open the file i386.c in a text editor. The next thing you must do is find the section like this :

    Code:
     				r = &dev->resource[idx];
     				if (!r->flags)
     					continue;
     				pr = pci_find_parent_resource(dev, r);
     				if (!r->start || !pr ||
     				    request_resource(pr, r) < 0) {
    and insert

    Code:
    				if ((r->start == 0xbdf00000) && (r->end == 0xddefffff)) {
    					r->start = 0xc0000000;
    					r->end = 0xe0000000;
    				}
    after continue; so that it looks like :

    Code:
     				r = &dev->resource[idx];
     				if (!r->flags)
     					continue;
    				if ((r->start == 0xbdf00000) && (r->end == 0xddefffff)) {
    					r->start = 0xc0000000;
    					r->end = 0xe0000000;
    				}
     				pr = pci_find_parent_resource(dev, r);
     				if (!r->start || !pr ||
     				    request_resource(pr, r) < 0) {
    Save the file and continue with the instructions and all should turn out well.

    Rinias

    NB : If you do it this way, then you are skipping the

    Code:
    sudo patch -p0 < NVRM_512M_fix.diff
    step.
    Last edited by Rinias; May 11th, 2009 at 02:55 PM. Reason: Clearing up directory location
    Slacker at heart.

    Di mi se mai fu fatta alcuna cosa...

  3. #93
    Join Date
    May 2009
    Beans
    15

    Re: nvidia 9500m gs question

    3. Lastly, run the deb packages you created above in this order:
    You should then install the 4 debs :

    if i understand this, after the 2 builds, i install those 4 packages in that order

    what exactly do i type to do this
    (i am pretty much an utter noob in the command line, sorry)


    and once i am done, do i simply download/install the nvidia driver under system>administration>hardware drivers?

  4. #94
    Join Date
    May 2009
    Location
    Wisconsin
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Talking Re: nvidia 9500m gs question

    LOL I figured out what I was doing wrong. I was running the diff file from the wrong location. All I needed to do was move the diff file to the directory I had built the kernel packages in.

    Thanks for the help all. I now have Ubuntu 8.04 64 bit running on my laptop. Now I'm going to try to do this in Ubuntu 8.10 and maybe 9.04

  5. #95
    Join Date
    May 2005
    Location
    Washington, DC
    Beans
    30

    Re: nvidia 9500m gs question

    Quote Originally Posted by Malart View Post
    3. Lastly, run the deb packages you created above in this order:
    You should then install the 4 debs :

    if i understand this, after the 2 builds, i install those 4 packages in that order

    what exactly do i type to do this
    (i am pretty much an utter noob in the command line, sorry)
    You have two options, actually. The first is to click on the packages (or right-click and run with GDebi), the second is to continue using the command line.

    From your working/build directory (that's the linux directory, the one with the kernel that you cd'ed into) :

    Code:
    cd ..
    sudo dpkg -i linux-image*
    sudo dpkg -i linux-headers*
    You can also use the command ls to make sure there is only one linux-image and linux-headers package - otherwise the commands I just gave you will install all the linux-image and linux-headers packages in that directory, which could lead to problems...


    Quote Originally Posted by Malart View Post
    and once i am done, do i simply download/install the nvidia driver under system>administration>hardware drivers?
    That is exactly right. After which, you reboot and everything should work!

    Rinias
    Slacker at heart.

    Di mi se mai fu fatta alcuna cosa...

  6. #96
    Join Date
    May 2009
    Location
    Wisconsin
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: nvidia 9500m gs question

    Has anyone had luck getting Ubuntu 9.04 working with the NVidia 9500m GS yet? I have installed it on my laptop and I have, by default, a 1680x1050 resolution, which is good. Way better that 800x600 or 640x480, but the NVidia drivers are not installed so there is no 3D accelleration.

    I think I am going to try installing the drivers, but I don't think they are going to work. I suppose i should ask, is there a way to uninstall the drivers if they don't work?

    edit:
    The drivers didn't work. I tried version 180 and 173 with no luck. I found out to uninstall the drivers its the same process as installing, just click "remove" instead of "activate".
    Last edited by YesImaLinuxWanabee; May 22nd, 2009 at 03:15 PM.

  7. #97
    Join Date
    Mar 2005
    Beans
    25

    Re: nvidia 9500m gs question

    Has anyone had any luck with the patch in 9.04 yet? Or does anyone know when the 30 kernel will drop?

  8. #98
    Join Date
    Mar 2005
    Beans
    25

    Re: nvidia 9500m gs question

    Quote Originally Posted by VernieR View Post
    I have just applied this patch to 9.04 beta. Works like a charm. Since 9.04 uses a newer kernel version 2.6.28 I had to change this in the patch file.

    Now lets hope it gets fixed soon

    What did you have to change in the patch file?
    Last edited by wolfwood2x; May 24th, 2009 at 09:04 PM.

  9. #99
    Join Date
    May 2009
    Location
    Wisconsin
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: nvidia 9500m gs question

    @ wolfwood2x
    I do believe all you need to do is edit the diff file. Just change the kernel number to the correct one. i.e. :
    original = linux-2.6.27.orig/arch/x86/pci/i386.c
    new = linux-2.6.28.orig/arch/x86/pci/i386.c
    But I have not tested it nor dug around to see if its right.

    @ anyone
    Is there any way to hide or keep updates from the automatic updates manager?

  10. #100
    Join Date
    Mar 2005
    Beans
    25

    Re: nvidia 9500m gs question

    Quote Originally Posted by YesImaLinuxWanabee View Post
    @ wolfwood2x
    I do believe all you need to do is edit the diff file. Just change the kernel number to the correct one. i.e. :
    original = linux-2.6.27.orig/arch/x86/pci/i386.c
    new = linux-2.6.28.orig/arch/x86/pci/i386.c
    But I have not tested it nor dug around to see if its right.
    That is what I ended up trying after posting my question here. It worked. I do appreciate the response anyway.

Page 10 of 11 FirstFirst ... 891011 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •