LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 02-03-2005, 05:17 PM   #1
Zonzhal
LQ Newbie
 
Registered: Feb 2005
Location: Ont, Canada
Distribution: Suse 9.2
Posts: 1

Rep: Reputation: 0
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
Code:
/lib/modules/2.6.8-24.11-default/build/include/linux/kernel.h
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)

Compaq presario R3215
- AMD athlon XP-M 2800+
- 512 mb RAM
- NVIDIA GeForce 4 420 Go 32MB
- 60 GB HD
- 15.4" WXGA Widescreen (1280x800)
- Broadcom 54g Built-in Wifi
- Realtek 8139 10/100Mbs Built-in Ethernet
 
Old 02-05-2005, 03:37 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Your kernel source should be in /usr/src/<kernel-version>
Where kernel version will be the output of the command
Code:
uname -r
That's odd that' SuSE's updater won't let you install the source.

See if you can't find it manually on an ftp mirror somewhere. Make sure the kernel version matches the version you are running.

--Shade
 
Old 02-05-2005, 04:10 AM   #3
prj
Member
 
Registered: Aug 2003
Location: South Wales
Distribution: Kubuntu, Ubuntu server, SuSE 11, Knoppix, Puppy, Myth. Oh alright then, all of them
Posts: 177

Rep: Reputation: 30
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)

Then try the nvidia stuff again.

good luck
 
Old 03-03-2005, 09:20 AM   #4
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
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
 
Old 03-03-2005, 09:26 PM   #5
BubaDragon
LQ Newbie
 
Registered: Jan 2005
Location: Texas
Distribution: Suse 9.2 Professional
Posts: 5

Rep: Reputation: 0
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.

Hope this helps
 
Old 03-22-2005, 03:04 PM   #6
sillyxone
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
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!
 
Old 03-23-2005, 09:16 AM   #7
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Read all replies before posting

add:
Code:
option nvidia NVreg_Mobile=0
to your /etc/modprobe.conf file and it should be fine
no modleine or modification fo XF86config-4 or Xorg.conf are required.

only changing the driver to nv.

this also stops the console corruption problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing NVIDIA Driver --- Kernel Source ??? aratis Red Hat 4 06-29-2005 08:07 PM
Nvidia Driver Kernel Source SparkerR Linux - Hardware 1 09-29-2004 09:29 PM
Nvidia Driver can't find kernel source Forezt Fedora 9 04-20-2004 07:35 PM
Nvidia Driver Install/Kernel Source Problem Brian of Gep Debian 6 03-14-2004 06:27 PM
Cant locate kernel-source to build my Nvidia driver nyhm Linux - Software 3 02-16-2004 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration