Trying to get 1280x800, need kernel source for nvidia driver
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to get 1280x800, need kernel source for nvidia driver
I'm currently running Suse 9.2. Everything works fine except for the resolution, which is stuck in 1024x768 resolution. I want 1280x800, which is what the monitor is suposed to have
I found from some site that had installed debian on an R3000 that I needed a Nvidia driver for my monitor (it has a Nvidia nForce3 chipset for the display). The Linux IA32 driver was the one (it can be gotten on nvidia.com).
But when I first tried to install it, the driver asked for a c compiler. So I got gcc. Then it says that it can't find my kernel souce... (neither can I, not sure I have it). The driver is trying to look in
but that doesn't exist. The driver suggests that the path is wrong. I want to know where the source code should be (on Suse 9.2) and them how to change the deafault path, or how to get the source.
I also tried to use the built in updater for Suse, (YOU) and the kernel source does show up there but its box is shaded which means "do not install" and I can't seem to change that.
My computer's specs. (at least the ones I think are important here)
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177
Rep:
You'll need to install the source before it's available on the the updates.
Yast > Software > Install and Remove
then kernel-source in search box + enter
Assuming your install path has it, then tick the kernel-source and install.
If you dont have the full install material try the thread in the forum to find and then add an install source: Yast sources
Once you've got everything installed I recommend doing the following:
as root in a terminal
cd /usrsrc/linux
make cloneconfig
make prepare-all
This helps any app find the kernel properly. Each time you upgrade your kernel, reboot then do this little routine.
(You'll probably need to redo nvidia after a kernel upgrade as well)
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440
Rep:
contact suse directly
you will need the source for your kernel inclusing the complete patchset. Suse can tell you where to get it.
once you have that, you have a hard road ahead, but yiou can do it, and suse ought to be able to help you. One little thing though. . .
nothing will work without putting "options nvidia NVreg_Mobile=0" in /etc/modprobe.d/nvidia-*
this will detect the correct mode-line and everything willwork great, like it did using vesa or nv, accpt faster/better
I had some problems with my R3140 as well (AMD-64 version of the Presario R3000 with the GForce 420 32 video card) For some time the YAST Online Updater (YOU) would not install the nVidia drivers correctly. This problem seems to have been fixed in the latest fetchnvidia.sh. However in order to get the driver correctly installed I had to go directly into SaX2 as opposed to using YAST to configure the monitor.
Another problem I had was that when I updated the driver and set the screen res to 1200 X 800 one of the scanning frequencies was off and my display would only come up with a rectangle on the left of the screen with a black bar down the right side and a white bar all the way across the bottom.
While not related to this thread but related to the solution I was also having difficulty with the USB/Alps touchpad playing nicely together. In this case my resolution was to update the BIOS to F.34 and then reinstall SuSE. While this is admittedly a "redmond" style solution it did resolve the problem. I was lead to this course of action after I paid Novell and the guys who run this board a visit at Linux World in Boston. I left my laptop with the guys at the booth for a whole day and they could not solve the problem, neither could the Germans in the SuSE kiosk. I figgured that if these guys couldn't fix it I would be no worse off with a new install.
Since it worked I am happy with the fix.
If you want config files or anything either PM me or post a note to this thread and I'll make them availible.
I experienced the same problem BubaDragon described (white box on left, black box on right, white bar at bottom). Here is the process I got thru:
- YOU auto-update doesn't work (somehow update to nvidia version 5663)
- I downloaded 7167, install manually (sh NVIDIA ..., no source code needed)
- Go to X86Config file, change modeline to:
Modeline "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828
and change "nv" to "nvidia"
- startX, I got what you described (boxes)
- Go to X86Config again, change HorizSync from 35-50 to 30-75, change VertRefresh from 35-50 to 35-75
- startX, I got a double image (screen split in halves, upper and lower identical but does show the correct desktop content in each half)
- Go to X86Config again, add "-HSync -VSync" at the end of Modeline "1280x800" ...
- startX, look beautiful!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.