-
nvidia 9500m gs question
I have an Asus G1Sn-X1 with an NVIDIA GeForce G9500M GS.
I tried to get it working under Hardy without much luck. I even tried several hacks that were supposed to work with that specific card. Has anyone had any luck with this laptop and chipset?
Does anyone know if this card will be supported in the next major release? Im stuck in vista right now as I have not been able to get any distro to work with this graphics card. =/
-
Re: nvidia 9500m gs question
I have the same laptop, and I dunno how soon it will get a fix. I too have tried the hacks with no luck.
I'm running 64bit 8.04
-
Re: nvidia 9500m gs question
You can try my guide, I don't own any 9 series nvidia cards, but I'd try it this way first if I bought one.
http://ubuntuforums.org/showthread.p...ghlight=nvidia
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
wolfwood2x
I have an Asus G1Sn-X1 with an NVIDIA GeForce G9500M GS.
I tried to get it working under Hardy without much luck. I even tried several hacks that were supposed to work with that specific card. Has anyone had any luck with this laptop and chipset?
Does anyone know if this card will be supported in the next major release? Im stuck in vista right now as I have not been able to get any distro to work with this graphics card. =/
I have the same laptop and I too am running Hardy 8.04 AMD64 (64 bit), and my machine runs perfectly.
I believe you need to download and install the 200+ updates immediately after installing the OS but before you download and enable the nVidia driver. It was a no-brainer installation.
Exactly how did you install the OS?
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
StormPCs
I have the same laptop and I too am running Hardy 8.04 AMD64 (64 bit), and my machine runs perfectly.
I believe you need to download and install the 200+ updates immediately after installing the OS but before you download and enable the nVidia driver. It was a no-brainer installation.
Exactly how did you install the OS?
I used the live disk for hardy 8.04 that was provided on the main website. I tried the install and drivers for it several times before giving up. The install process is not what I am complaining about. Once the operating system is installed I can not get the video drivers working correctly.
I have read several dozen threads where people claim to have the same video chipset and have it working but all the "hacked" drivers out there do not seem to install or work correctly.
-
Re: nvidia 9500m gs question
I tried the server install, the 32 bit, and the 64bit. The problem is related to having 4GB RAM. Anything more than 3 and the kernel doesn't know how to address it. There are some people that have been able to patch their kernel, but I've tried it 15-20 times with no luck.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
add2700
I tried the server install, the 32 bit, and the 64bit. The problem is related to having 4GB RAM. Anything more than 3 and the kernel doesn't know how to address it. There are some people that have been able to patch their kernel, but I've tried it 15-20 times with no luck.
I am only on 2.6.24.19 I believe. All I did was installed the OS from the CD I made from the ISO image that I downloaded, rebooted and did all updates before I clicked on the icon, downloaded the proprietary driver and then checked the box to enabled the driver. It was that simple.
I am on the 201 BIOS (which is standard). I did upgrade my CPU from a T5550 to a T9300, and my 4gigs of RAM has been upgraded with high performance memory that runs at 4-4-4-12 instead of 5-5-5-15. Everything else is stock.
What BIOS are you using?
-
Re: nvidia 9500m gs question
Storm,
I tried that too and had no luck. You must be lucky.. everyone else I have talked to cant get the nvidia drivers working for some reason.
On a side note were you able to get the side lamps working? I am curious if they will function under wine maybe.
-
Re: nvidia 9500m gs question
Heya, I'm having a hell of a time getting the nvidia driver to work on my g1sn with 4GB RAM. I've tried all the kernel patches, I'm currently at 2.6.25.10-ultimate 64bit but can't get the nvidia drivers to load. How did you do it?
-
Re: nvidia 9500m gs question
Have you guys tried taking one stick of RAM out to see if the 4GB is an issue? My 4GB works fine but others seem to think it's a problem.
The first time I installed Ubuntu I could not get the nVidia driver to work properly but the next two times I did it exactly as my previous post states and it was fine.
-
2 Attachment(s)
Re: nvidia 9500m gs question
Ok finally got 1680X1050 resoltuion using the nvidia driver on a 32bit install of 8.04 on my ASUS G1sn-A1 laptop. Here are the exact steps I took, but I take no responsibility if you don't get it to work and have to reinstall.
1. Start with a fresh install of ubuntu 8.04 32 bit, and run all the advertised patches.
2. Next, follow theses steps, taken from the good people at nvnews:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-19-rt
sudo apt-get source linux-image-2.6.24-19-rt
# Install Kernel Modules Sources
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-19-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-19-rt
#<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
cd ..
# Build
cd linux-ubuntu-modules-2.6.24-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs
cd ..
3. Lastly, run the deb packages you created above in this order:
You should then install the 4 debs :
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt
Thanks again to the people at nvnews.net.
-
Re: nvidia 9500m gs question
Hmm I have the same laptop as well and experiance the same issue, in my case the newest drivers seem to not install stating my kernel was built using a different version of GCC.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
add2700
Ok finally got 1680X1050 resoltuion using the nvidia driver on a 32bit install of 8.04 on my ASUS G1sn-A1 laptop. Here are the exact steps I took, but I take no responsibility if you don't get it to work and have to reinstall.
1. Start with a fresh install of ubuntu 8.04 32 bit, and run all the advertised patches.
2. Next, follow theses steps, taken from the good people at
nvnews:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-19-rt
sudo apt-get source linux-image-2.6.24-19-rt
# Install Kernel Modules Sources
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-19-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-19-rt
#
<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#
<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
cd ..
# Build
cd linux-ubuntu-modules-2.6.24-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs
cd ..
3. Lastly, run the deb packages you created above in this order:
You should then install the 4 debs :
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt
Thanks again to the people at
nvnews.net.
Can you elaborate on what this whole process is doing?
more to the point what is
"sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt"
That command does not seem to do anything
"sudo: fakeroot: command not found"
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
StormPCs
I am only on 2.6.24.19 I believe. All I did was installed the OS from the CD I made from the ISO image that I downloaded, rebooted and did all updates before I clicked on the icon, downloaded the proprietary driver and then checked the box to enabled the driver. It was that simple.
I am on the 201 BIOS (which is standard). I did upgrade my CPU from a T5550 to a T9300, and my 4gigs of RAM has been upgraded with high performance memory that runs at 4-4-4-12 instead of 5-5-5-15. Everything else is stock.
What BIOS are you using?
If I do the normal install of 32bit and then get all the updates. I can see the proprietary driver. If I check it to enable it and restart I get a warning about my machine running in low res mode and it wont let me choose a higher resolution than 800x600 and it prompts for a driver.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
wolfwood2x
If I do the normal install of 32bit and then get all the updates. I can see the proprietary driver. If I check it to enable it and restart I get a warning about my machine running in low res mode and it wont let me choose a higher resolution than 800x600 and it prompts for a driver.
Sorry...it appears that only 2GB of my 4GB was operational, which is why it installed correctly. It appears the kernel rebuild is necessary until nVidia makes a driver for Linux that loads properly.
add2700:
Can you post the code showing the install of the debs? Also, will this work on the 64bit 8.04? Thanks.
-
Re: nvidia 9500m gs question
Yes, I have tested and it does work with both 32bit and 64bit Hardy Heron I'm very happy to say. Just follow the directions step by step, using the command prompt. YOu can be in any directory to start, I chose to be in my home directory.
Again, note that when you download the txt patch, rename it to have a .diff extension. This is what I missed the first 20 times.
ALso, before you start you have to install fakeroot with:
sudo apt-get install fakeroot
After oyu complete all the steps, you will have a bunch of .debs but you only need to run these:
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt
They might look more like this:
linux-image-2.6.24.19-rt
Then install envy:
sudo apt-get install envy and do a manual install of the latest NVIDIA drivers using envy.
Then reboot, and you should come up in 1680 by default and be able to use compiz.
NOTE: Ubuntu updater will want you to install it's own deb packages of the same name again but just ignore them, or else the patch will break.
-
Re: nvidia 9500m gs question
How do I install the last 4 debs?
Also, what changes do I need to make to the code for 64 bit Ubuntu?:confused:
Thanks in advance.
-
Re: nvidia 9500m gs question
add2700 you sir are my personal hero...
after your steps the only thing i had to do was tweak xorg.conf to see another mode other than 640x480
Thank you so very much!
-
Re: nvidia 9500m gs question
I have 8 debs, not 4. Not sure which to install.
-
Re: nvidia 9500m gs question
I figured it out...thanks very much for the help guys. I do have a question though: I keep getting prompted to update one of the debs that I loaded. If I allow this will it break the patch?:confused:
Thanks again guys,,,you rock!:guitar:
-
Re: nvidia 9500m gs question
add2700 indicated that it would indeed break the patch. I would not recommend doing that.
Quote:
NOTE: Ubuntu updater will want you to install it's own deb packages of the same name again but just ignore them, or else the patch will break.
Cheers
-
Re: nvidia 9500m gs question
Yes, DO NOT install any of ubuntu's patches of the same name as you created. Apparently you can't tell ubuntu to not advertise those individual patches.
-
Re: nvidia 9500m gs question
Is there any chance they will address this issue in future kernel releases? It's sort of a big deal,
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
add2700
Yes, DO NOT install any of ubuntu's patches of the same name as you created. Apparently you can't tell ubuntu to not advertise those individual patches.
It's too bad it's not it's not possible to tell Ubuntu to ignore those patches. Having the notification icon up all the time is a bit annoying.
-
Re: nvidia 9500m gs question
Hi add2700,
I'm following your indications but I can't go on after executing the line:
Quote:
Originally Posted by
add2700
...
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
...
it gives me the following error:
/usr/bin/fakeroot: 166: debian/rules.d: Permission denied
don't know what else to do... Thanks in advance for any help,
Apollo
-
Re: nvidia 9500m gs question
apollo: Did you make sure to have all the dependencies/packages (build-essential, configure-debian, and fakeroot)? Did you do apt-get update first?
If it's a permission error, maybe you do not have root privelages. Try typing sudo -s, then password, cd to the Desktop/or wherever the kernel is, and then try again.
I was wondering if anybody knew what to type for that line; if you want to use the generic kernel instead of rt. Is it just...
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-debs, just like the modules?
I have a Core2Duo and I'm not sure if I should use generic instead of rt. I have successfully used both with this patch, but I'm not sure what will better utilize my CPU.
Also, I don't even know if it matters what I type for the initial download, because I seem to get all versions of the kernel when I create the debs anyways.
-
Re: nvidia 9500m gs question
Well, I have an ASUS G1Sn too with 3Gb of RAM. I have the same driver issues, but the kernel patch doesn't seem to make any difference.
I don't know what I'm doing wrong.. (I'm running Ubuntu 8.04 32 bit)
Does anyone know if and when either kernel or nvidia drivers get fixed?
Oh and is there a way to run the vesa or nv drivers in 1680x1050, that would be sufficient. I can do without 3d for now. Browsing these forums in 800x600 is a pain.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
VernieR
Well, I have an ASUS G1Sn too with 3Gb of RAM. I have the same driver issues, but the kernel patch doesn't seem to make any difference.
I don't know what I'm doing wrong.. (I'm running Ubuntu 8.04 32 bit)
Does anyone know if and when either kernel or nvidia drivers get fixed?
Oh and is there a way to run the vesa or nv drivers in 1680x1050, that would be sufficient. I can do without 3d for now. Browsing these forums in 800x600 is a pain.
Not sure when or if Nvidia will fix the drivers. However, after running the kernel patch I still had to use envy to install the correct video driver and manually edit my xorg.conf in order to get anything other than 800x600 working. Have you already done that as well and still can not get it to work?
-
Re: nvidia 9500m gs question
Hi everybody,
I just wanted to thank you all for your help... IT'S WORKING!!!
Thanks for sharing your knowledge...
Apollo
-
Re: nvidia 9500m gs question
OK, it works now. I used the fix after a clean install. Last time I had been fiddling around with drivers before I tried to patching the kernel. I guess thats was the problem. Thanks to all, and now lets hope we get a proper fix in future kernel or nvidia drivers :)
-
Re: nvidia 9500m gs question
This problem still persist on Ubuntu 8.10 Beta. I'm currently building a 2.6.27 kernel with the instructions found a few posts back and the patch, hopefully it will work.
Has there been any talk about fixing this issue without the need for a kernel patch and recompilation?
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
add2700
After oyu complete all the steps, you will have a bunch of .debs but you only need to run these:
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt
They might look more like this:
linux-image-2.6.24.19-rt
Hello. Ive been doing the procedure to fix the problem. I got to the part to where i have to 'install' the debs. Unfortunately at this step i only found 2 debs: the linux-image-rt and the linux-headers-rt. Maybe im not sure where the compiler put them.
Im really really new to ubuntu, so im probably missing something. Should there be more debs?
Finally. It took me a while to find out how to install a deb. For newbies this is not something obvious. Maybe its worthwhile to mention that you install them with:
Code:
sudo dpkg -i <package.deb>
EDIT: I got help from a friend and i think one of the steps was compiled wrong because after we tried it again, we found all the debs.
At first Ubuntu did load the driver for 9500m gs, but it would only allow 600x400 resolution. We had to use envy to fix it after some trial-error.
I still don't have 3D or OpenGL but at least i have 1600x800 resolution (against the 800x600 which i had at first).
-
Re: nvidia 9500m gs question
Nekomancer: You need to install the nvidia drivers after you have installed the new kernel image (all these steps you just did) - If you're new to Ubuntu, you should just download/use EnvyNG.
Wolfwood: If you want to just use the vesa driver, do "sudo displayconfig-gtk, or sudo displaysettings-gtk (not sure which)" but you'll then be able to setup your monitor/vesa driver correctly...
-
Re: nvidia 9500m gs question
Has anyone had any luck on getting this to work with the 8.10 final release? When I try to get the RT sources for 2.6.27-7 (the current version I have of the kernel) it says they are not available.
I had this working fine with 8.03 before upgrading and really need to get it working again. I would like to keep 8.10 as I do like several of the changes made and would hate to have to reinstall everything....
-
Re: nvidia 9500m gs question
I have this same laptop duel booted with the newest Ubuntu release with total frustration. I have reinstalled Ubuntu numerous times tried the fixes I ended up rebuilding a kernal that had no drivers instead to no avail...I am new to linux but no where near new to computers I work in the IT field. I have had numerous Linux folks from my place of employment try to figure this out including a linux admin for our company we are all scratching our heads is there a simple total newb install way to make this video card work? I am trying to make the full switch over to linux but i am a gamer so taking 2 gig out of a system i purchased with 4 gig just doesnt make any logical sense to me.
Thanks for your patience and any replies the last time i tried switching over to learn linux i couldnt get anywhere either which is dissappointing....
-
Re: nvidia 9500m gs question
Found a post about this in another thread, http://ge.ubuntuforums.com/showthread.php?t=939580. Going to give the suggestions there a try and see if I am able to get it working. I will post here and let everyone know how it goes.
-
2 Attachment(s)
Re: nvidia 9500m gs question
I posted a brief overview of the process under Intrepid in this thread: http://ge.ubuntuforums.com/showthread.php?t=939580 as mentioned in the post above me. I'll write more clear instructions for getting your laptop running on Intrepid.
You will also find the modified patch file for the new 2.6.27 kernel, attached to this post.
These instructions are based on add2700's post, which are based on a post in nvnews.net =P
-----------------------------------------
# A few notes before we start:
- I have only tested this under 64-bit Ubuntu 8.10, but it presumably works under 32-bit Ubuntu as well.
- After you have finish compiling and installing your kernel, Update Manager might want to overwrite it with its own version of it. Make sure not to do this!
- You will have to do this process every time Ubuntu releases a kernel update(or until it the issue is fixed by the OEM...if ever). If you do not wish to go through the process again, make sure not to update your kernel(linux-image, or linux-header packages).
# Install necessary packages
sudo apt-get install fakeroot
sudo apt-get build-dep linux-image-2.6.27-*-generic
# Install Kernel Sources
sudo apt-get source linux-image-2.6.27-*-generic
# * NOTE: Replace the * with the latest 2.6.27 revision number(9 as of right now).
#<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.27/
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs flavours=generic
# Lastly, run the deb packages you created above in this order:
linux-image-generic
linux-headers-generic
-
Re: nvidia 9500m gs question
I would like to thank everyone for the input on this card and the issues I do hope soon they get a fix out for this but after two weeks multiple installs the instructions listed above work now I am just afraid to download any updates of any sort ..... Also I would like to state this video card with acceleration does not talk well with two monitors extended desktop it flakes out and also locks up x windows on numerous occasions when switched between desktops but anyways yay for acceleration
Thanks
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
JaCkYL_CpX
I would like to thank everyone for the input on this card and the issues I do hope soon they get a fix out for this but after two weeks multiple installs the instructions listed above work now I am just afraid to download any updates of any sort ..... Also I would like to state this video card with acceleration does not talk well with two monitors extended desktop it flakes out and also locks up x windows on numerous occasions when switched between desktops but anyways yay for acceleration
Thanks
The dual-screen issue is kind of odd. I use my laptop with a projector all the time, and it works just fine. What utility are you using for handling multiple screens? Using the nvidia x server settings is probably your best bet, it works great.
-
Re: nvidia 9500m gs question
Get lost JaCkYL_CpX. This is one of the only solutions for us with these nvidia cards and 3+ GB of RAM, and nobody cares if you're too lazy to recompile. I'm completely greatful for Fourmiii taking the time to share this information - Fourmiii, you're the man!
Does anyone know if this patch will be necessary for x64 releases, and if so; will it work, or just break the x64 architecture, since we're using i386 code in the patch?
-
Re: nvidia 9500m gs question
I have an Acer Aspire 6920G, I'm running the nVidia 9500 as well, ubuntu 8.10 desktop x64, worked right out of the box, it does catergorize it as a Restricted Hardware Driver. No problems with video yet.... wish I could say the same for sound.
-
Re: nvidia 9500m gs question
Attempting to load 8.10 results in system crash shortly before
install completion. Tried the direct install twice with same
results. Appears to run off of 8.10 CD O.K. Version 7.10 crashes
immediately when the video driver is tested during the CD load.
Version 8.10 appears to make BIOS changes during the install.
System:
HP Slimline - AMD Quad 9100, 4GB RAM, NVIDIA 9500GS/512MB, SATA 250GB
Based on previous posts, it appears that the 4GB RAM and the 9500GS
video may be the sources of the problem for both 7.10 and 8.10.
Had hoped to use a direct eSATA 8.10 install to selectively utilize
Ubuntu without having a partitioned drive, but any 8.10 install is
problematic. So, it's back to using Vista.
-
Re: nvidia 9500m gs question
I did an upgrade to 8.10 on my ASUS laptop with NVIDIA 9700 and it rocks with 1680X1050 res.
-
Re: nvidia 9500m gs question
Just wanted to say Thanks a lot to all inputs in this post. I was able to get MY laptop up and going using the Patch. I tried a fresh install using latest updates but it didn't work. Using the patch was the only thing that worked for me. My only issue is that I can't get 1680x1050 resolution. I know my laptop and video card can support it but I just can't figure it out. Any help would be great.
Current Xorg.Conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Mon Nov 3 08:46:04 UTC 2008
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUO"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9500M GS"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
-
Re: nvidia 9500m gs question
Sorry people, 8.10 does run 1680 res in basic mode but not with the NVIDIA driver so it's slow. Going to try to recompile again.
-
Re: nvidia 9500m gs question
Updated the Ubuntu kernal recently on my G1SN and am having problems running the command:
sudo apt-get source linux-image-2.6.27-9-generic
Regardless of what version I put in for this command, the following is returned:
Unable to find a source package for linux
Any ideas if something changed with the recent updates? This did work before with the 2.6.27-7 kernal but does not seem to be working now.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
splinterpaw
Updated the Ubuntu kernal recently on my G1SN and am having problems running the command:
sudo apt-get source linux-image-2.6.27-9-generic
Regardless of what version I put in for this command, the following is returned:
Unable to find a source package for linux
Any ideas if something changed with the recent updates? This did work before with the 2.6.27-7 kernal but does not seem to be working now.
Finally had a chance to play with this and figured it out. It turns out that not all of the needed repositories were active on my install, therefore it could not find the image. I have activated the necessary repositories and it is working now.
-
Re: nvidia 9500m gs question
Quote:
- You will have to do this process every time Ubuntu releases a kernel update(or until it the issue is fixed by the OEM...if ever). If you do not wish to go through the process again, make sure not to update your kernel(linux-image, or linux-header packages).
In compliment to this post is it possible for somebody to describe how to prevent the linux-image and linux-header packages from getting updated? I have tried 'locking' these packages in Synaptic but no such luck - they still get overridden if an update is ran.
-
1 Attachment(s)
Re: nvidia 9500m gs question
I have the same problem only difference is I have 3gb RAM and NVIDIA 7600Go with has 128MB dedicated memory. I tried to modify the 256MB patch and changed 'r->end = 0xd0000000' to 'r->end = 0xc8000000' to created 128MB gap, but this didn't work so can you tell me if this is the correct way to do this for my config ? I have attached out put of `dmesg`
-
Re: nvidia 9500m gs question
What is the status of this "fix" for 8.10, please ?
I am considering doing this (Asus G1Sn-B1 with 8.10 amd64), but if it is not working, I think I'd rather stick with nv instead of going through the headache of doing a kernel recompile in a system that doesn't like that sort of thing (think Synaptic updates). After all, if I wanted to recompile things, I'd go with a different flavor...
And if the fix is simply to patch the kernel, why has this not yet been done ? How hard could it be to patch the kernel for this and use some kind of hardware detection in the restricted drivers dialogue in order to give us what we need ? Ie, installing the correctly patched kernel and then the nvidia driver via the Hardware Drivers dialogue ?
I think I'll give it a go anyway, and I'll post back here with my success (or lack thereof) in a bit...
Rinias
PS : Anyone know why the generic kernel (2.6.27-9) would have Xen (and thus be non-compatible with the standard nvidia .run package install method) ?
( PPS : Is the rt kernel necessary to this method or will any kernel do ? ) ==> Reading the all of the original post would be good...
Quote:
Originally Posted by add2700
Code:
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
Fourniii from the nvnews forums also makes a note :
Quote:
Here's the new way of doing it, note the editing of amd64.mk to only build the rt flavour.
I'll be outside if you're looking for me :s
PPS (v2) : add2700, I see that you updated for 8.10 x86_64 on the nvnews forums. You added two links, one to backports.ubuntu and the other to Envy. The backports link doesn't seem to work, is there somewhere else I can access this information ?
-
Re: nvidia 9500m gs question
Ok, so Im following :
Quote:
Originally Posted by add2700
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-19-rt
sudo apt-get source linux-image-2.6.24-19-rt
# Install Kernel Modules Sources
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-19-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-19-rt
#<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
[...]
Except that :
- I switched from linux-image-2.6.24-19-rt to linux-image-2.6.27-3-rt and there are no linux-ubuntu-modules* so I installed linux-restricted-modules-2.6.27-3-rt
- Inspection of the .diff file gives :
Code:
diff -Naur linux-2.6.24.orig/arch/x86/pci/i386.c linux-2.6.24/arch/x86/pci/i386.c
--- linux-2.6.24.orig/arch/x86/pci/i386.c 2008-06-03 20:24:26.000000000 -0400
+++ linux-2.6.24/arch/x86/pci/i386.c 2008-06-03 20:25:40.000000000 -0400
Needless to say, these files do not exist. What is interesting is that the command
Code:
sudo patch -p0 < NVRM_512M_fix.diff
is not given with a cd into a directory and when prompted with the "File to patch :" from the patch command (because the error is that the file is not found - which is normal), I cannot figure out what to enter.
Furthermore, the kernels in /usr/src are not built, so there are no i386.c files (nor any other *.c 's - just Makefiles), but no instructions on building are given for the fix. Where this another system, I'd go along with my usual make oldconfig && make menuconfig, etc., etc. but this is Ubuntu and I've broken it before with such tactics...
So - any update on these instructions ? Anyone have any information that might prove useful ?
Thanks in advance,
Rinias
-
Re: nvidia 9500m gs question
Sorry to go slightly off topic, but can the others with the G1SN laptop who are running into the issue add any missing information from Splinterpaw's bug on Launchpad?
https://bugs.launchpad.net/ubuntu/+s...ux/+bug/288843
Thanks.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
twisted_steel
Thank you - I posted my dmesg and iomem (the OP never did, it seems). Hopefully this will be resolved shortly. It is rather bothersome, considering the fact that this problem is known for many different distros and that it is not new.
Rinias
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
Rinias
Thank you - I posted my dmesg and iomem (the OP never did, it seems). Hopefully this will be resolved shortly. It is rather bothersome, considering the fact that this problem is known for many different distros and that it is not new.
Rinias
I'm really not sure what the status is on trying to fix the overall allocation problem, but I figured that we could at least try to make sure there are enough related bug reports out there to help.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
twisted_steel
I'm really not sure what the status is on trying to fix the overall allocation problem, but I figured that we could at least try to make sure there are enough related bug reports out there to help.
Indeed.
I've had no luck with the patching. As far as I can tell, the kernel must be compiled to have the i386.c (in arch/x86/pci). When I compile the kernel, I do in fact get this file. The problem thereafter is - for me - two-fold :
- I cannot know where to insert the lines in i386.c (the position changes from kernel version to kernel version...) so I cannot manually apply the patch.
- I don't have any idea how, in Ubuntu, to simply use the changed files to repackage a kernel in a .deb for installation purposes (assuming that I knew the exact location for the patch code).
I can confirm, however, that there is no fix with 2.6.27-11-generic which came out yesterday.
Rinias
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
Rinias
- I don't have any idea how, in Ubuntu, to simply use the changed files to repackage a kernel in a .deb for installation purposes (assuming that I knew the exact location for the patch code).
I found two sets of instructions that might be of use:
- http://ubuntuforums.org/showthread.php?t=56835
- http://www.howtoforge.com/roll_a_ker...ian_ubuntu_way
-
Re: nvidia 9500m gs question
If you look further back in this thread you will see that I posted updated instructions on how to get the patch working with the latest kernels.
http://ubuntuforums.org/showpost.php...8&postcount=37
-
Re: nvidia 9500m gs question
Hi all,
I'm looking to buy an ASUS M51Sn-B1, with the same NVidia 9500GS chip, and the same 4Gb of RAM. Anyone heard that this problem would occur on this laptop as well?
I'm sure it'll be solved eventually, but in the meantime, is there a bugreport that can be followed? I'd like to see what's going on with this.
Thanks
-
Re: nvidia 9500m gs question
Hello add2700, I have the Asus G1Sn with 4GB Ram e nVidia 9500M.
I follow your steps to instal de 9500M in Ubuntu 8.04 32Bit and works perfects. But it just recognized 3GB Ram.
So, if I install Ubuntu 8.04 64Bit or Ubuntu 8.10 64Bit, Will I need follow your steps again to install nVidia 9500M or it will recognized and works alone?
Tks
Roberto
Quote:
Originally Posted by
add2700
Ok finally got 1680X1050 resoltuion using the nvidia driver on a 32bit install of 8.04 on my ASUS G1sn-A1 laptop. Here are the exact steps I took, but I take no responsibility if you don't get it to work and have to reinstall.
1. Start with a fresh install of ubuntu 8.04 32 bit, and run all the advertised patches.
2. Next, follow theses steps, taken from the good people at
nvnews:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-19-rt
sudo apt-get source linux-image-2.6.24-19-rt
# Install Kernel Modules Sources
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-19-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-19-rt
#
<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#
<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules custom-binary-rt
cd ..
# Build
cd linux-ubuntu-modules-2.6.24-2.6.24/
# Modify flavours in debian/rules.d/amd64.mk (rt instead of generic)
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs
cd ..
3. Lastly, run the deb packages you created above in this order:
You should then install the 4 debs :
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt
Thanks again to the people at
nvnews.net.
-
Re: nvidia 9500m gs question
For those of you getting the error message asking which file to patch: Make sure you have all the dependencies fourmii listed:
build-essential
fakeroot
configure-debian
This is just a suggestion, but I believe I was missing build-essential or something when I got that message. If you don't have that app., then x doesn't know what that patch command is saying.
-
Re: nvidia 9500m gs question
Does anyone know why the latest kernel 2.6.27-11-generic builds an amd64 kernel with these instructions? Is it O.K. to install on my G1Sn (Intel)?
-
Re: nvidia 9500m gs question
I tried to install the latest 64-Bit kernel (2.6.27-11-generic) and they download correctly; however my system decides to build 2.6.27-12-generic packages on it's own from these. This would be fine and all, but there isn't any 2.6.27-12 headers yet and so they won't install without those dependencies available. Does anyone have any suggestions on how I can force my system to only build the previous release 2.6.27-11-generic (image and headers)?
Please let me know.
Thanks,
Mike
-
Re: nvidia 9500m gs question
Sorry to keep bumping this thread, but has anybody gotten this to work within the last week. There's still an error when trying to install the deb linux-headers package. It's saying they're not installed or available 2.6.27-12-generic (amd64)!!!!
-
Re: nvidia 9500m gs question
Gonna continue bumping this since I'm suffering from this too. I take it that the fixes posted before were only for x86, so what should I do with a x86_64 then?
What I do know is that the drivers do not work with a fully up-to-date 64bit system without somesort of a workaround, aaaaand that's pretty much it. Any pointers from here on would be appreciated.
(Also running a G1Sn with 9500M GS and 3GB of ram, altough I removed 1GB just to get it working for now.)
-
Re: nvidia 9500m gs question
Nvidia seem to be making giant strides backwards. Their drivers don't even work with the graphics card listed as supported. I'm having to run linux on virtualbox these days.
With regards to the g1sn, ASUS's official stance is they don't support linux even though the problem lies indirectly with the faulty BIOS. There are no plans to release a fixed BIOS going by their forums.
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
Flaw
Gonna continue bumping this since I'm suffering from this too. I take it that the fixes posted before were only for x86, so what should I do with a x86_64 then?
What I do know is that the drivers do not work with a fully up-to-date 64bit system without somesort of a workaround, aaaaand that's pretty much it. Any pointers from here on would be appreciated.
(Also running a G1Sn with 9500M GS and 3GB of ram, altough I removed 1GB just to get it working for now.)
Sorry for never responding, but thank you Hideaki, your instructions do indeed work.
For Flaw and mcurran, follow the instructions here : http://ubuntuforums.org/showpost.php...8&postcount=37
The kernel version is currently 2.6.27-11(-generic) just like in the instructions. Following the instructions to the letter (replacing * by 11) and applying the correct patch does indeed work, though the bothersome update manager always wants you to update to 2.6.27-11-generic.
Note also that you will have to go up one directory from your build directory (linux-2.6.27 -- so cd .. would do the trick) to install the packages (sudo dpkg -i linux-image-2.6.27-11-generic-blahblahblah.deb linux-headers-2.6.27-11-generic-blahblahblah.deb).
Rinias
PS : I've tried setting apt to hold the kernel versions but they still end up in the update manager and I don't see a way to blacklist the packages. Too bad, really...
-
Re: nvidia 9500m gs question
This might be a dumb question, but what to do AFTER these instructions (http://ubuntuforums.org/showpost.php...8&postcount=37)? From my understanding, that doesn't actually install any drivers. Is it then safe to install the drivers from System > Admin > Hardware Drivers? Or should I install the official drivers from the nvidia website?
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
darkzerox
This might be a dumb question, but what to do AFTER these instructions (
http://ubuntuforums.org/showpost.php...8&postcount=37)? From my understanding, that doesn't actually install any drivers. Is it then safe to install the drivers from System > Admin > Hardware Drivers? Or should I install the official drivers from the nvidia website?
That's exactly right.
Just so everyone knows, this problem turns out to be an IOMEM issue and there is now someone working on it. Hopefully there will be a solution in the kernel in the near future.
Rinias
-
Re: nvidia 9500m gs question
But for people who has 32 bit cpu with an nvdidia 9500m gs and 4 gb ram is there a solution? Because this patch doesn't work :(
-
Re: nvidia 9500m gs question
I've been watching this topic for months now, apparently this issue will be addressed in future kernels https://bugs.launchpad.net/ubuntu/+s...ux/+bug/288843
I'm just another linux refugee looking forward to returning when it finally works.
-
Re: nvidia 9500m gs question
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 :)
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
Hideaki
I posted a brief overview of the process under Intrepid in this thread:
http://ge.ubuntuforums.com/showthread.php?t=939580 as mentioned in the post above me. I'll write more clear instructions for getting your laptop running on Intrepid.
You will also find the modified patch file for the new 2.6.27 kernel, attached to this post.
These instructions are based on add2700's post, which are based on a post in nvnews.net =P
-----------------------------------------
# A few notes before we start:
- I have only tested this under 64-bit Ubuntu 8.10, but it presumably works under 32-bit Ubuntu as well.
- After you have finish compiling and installing your kernel, Update Manager might want to overwrite it with its own version of it. Make sure not to do this!
- You will have to do this process
every time Ubuntu releases a kernel update(or until it the issue is fixed by the OEM...if ever). If you do not wish to go through the process again, make sure not to update your kernel(linux-image, or linux-header packages).
# Install necessary packages
sudo apt-get install fakeroot
sudo apt-get build-dep linux-image-2.6.27-
*-generic
# Install Kernel Sources
sudo apt-get source linux-image-2.6.27-
*-generic
# * NOTE: Replace the * with the latest 2.6.27 revision number(9 as of right now).
#<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.27/
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs flavours=generic
# Lastly, run the deb packages you created above in this order:
linux-image-generic
linux-headers-generic
I follow this step for step and i am down to
# Lastly, run the deb packages you created above in this order:
linux-image-generic
linux-headers-generic
and i get bash: linux-image-generic: command not found
when it try to run it with or without sudo
Thank,
Bkief
-
Re: nvidia 9500m gs question
Okay so i figured out i need to do
Quote:
sudo dpkg -i linux-image-generic
but the package is not found
Quote:
dpkg: error processing linux-image-generic (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
linux-image-generic
Where is the package??
-
Re: nvidia 9500m gs question
Quote:
Originally Posted by
Rinias
[blah blah blah]
Note also that you will have to go up one directory from your build directory (linux-2.6.27 -- so cd .. would do the trick) to install the packages (sudo dpkg -i linux-image-2.6.27-11-generic-blahblahblah.deb linux-headers-2.6.27-11-generic-blahblahblah.deb).
[more blah blah blah]
That help ?
-
Re: nvidia 9500m gs question
Quoting the instructions from Hideaki (thanks again!), and adding the "cd" line :
Quote:
Originally Posted by
Hideaki
I posted a brief overview of the process under Intrepid in this thread:
http://ge.ubuntuforums.com/showthread.php?t=939580 as mentioned in the post above me. I'll write more clear instructions for getting your laptop running on Intrepid.
You will also find the modified patch file for the new 2.6.27 kernel, attached to this post.
These instructions are based on add2700's post, which are based on a post in nvnews.net =P
-----------------------------------------
# A few notes before we start:
- I have only tested this under 64-bit Ubuntu 8.10, but it presumably works under 32-bit Ubuntu as well.
- After you have finish compiling and installing your kernel, Update Manager might want to overwrite it with its own version of it. Make sure not to do this!
- You will have to do this process
every time Ubuntu releases a kernel update(or until it the issue is fixed by the OEM...if ever). If you do not wish to go through the process again, make sure not to update your kernel(linux-image, or linux-header packages).
# Install necessary packages
sudo apt-get install fakeroot
sudo apt-get build-dep linux-image-2.6.27-
*-generic
# Install Kernel Sources
sudo apt-get source linux-image-2.6.27-
*-generic
# * NOTE: Replace the * with the latest 2.6.27 revision number(9 as of right now).
#<!-- Download the 512 patch if your card has 512 RAM, or the 256 if your card has 256 RAM-->
#<!-- RENAME the file from .txt to .diff as show below, and if your card has 256 RAM don't forget to alter the command accordingly-->
# Apply NVRM patch
sudo patch -p0 < NVRM_512M_fix.diff
# Build debs for linux-image & linux-headers
cd linux-2.6.27/
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs flavours=generic
# Lastly, run the deb packages you created above in this order:
cd ..
<== missing
linux-image-generic
linux-headers-generic