unable to determine the version of kernel sources (solved)

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

unable to determine the version of kernel sources (solved)

Postby amirhdrz on Thu Oct 22, 2009 5:28 pm

Hi everyone,
Im trying to install the driver for my Geforce 7400 Go graphics card
http://www.nvidia.com/object/linux_disp ... -8756.html --> this is the link where i downloaded the driver.
but when i try to install it, it says that it is unable to determine the version of kernel sources located in `/lib/modules/2.6.28-16-generic/build`

before installing this driver i have installed the linux display driver version 185.18.36, according to nivdia website the other driver that im trying to install adds support for my model because my model is not supported in the version 185.18.36. however im currently using 185.18.36 but sometimes like every 30 seconds the screen blinks (becomes black for an instant) thats why i tried to also install the driver which adds support to my model.

from nvnews i found out that the problem might also be that both external vga port and the internal LCD are both on. (my laptop is sony vaio SZ32GP, and i run both win xp and linux mint gloria)
can someone tell me also that how can i switch to LCD only mode. because as i press Fn+F8 (thats the key to switch in win xp) apparently nothing happens.

I have also tried to install the driver from the Hardware Drivers in mint menu but glxgears wont run then.

Thanks
Last edited by amirhdrz on Sun Nov 15, 2009 1:15 am, edited 1 time in total.
amirhdrz
Level 1
Level 1
 
Posts: 6
Joined: Tue Aug 18, 2009 4:16 pm

Linux Mint is funded by ads and donations.
 

Re: unable to determine the version of kernel sources.

Postby Husse on Wed Oct 28, 2009 7:20 am

A new nvidia driver was released yesterday
Try it out - I generally don't recommend "bleeding edge" but it might help 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: unable to determine the version of kernel sources.

Postby amirhdrz on Sun Nov 01, 2009 11:51 pm

Thanks Husse, the new driver has worked pretty well so far, I've had no screen blinks since I installed it.
amirhdrz
Level 1
Level 1
 
Posts: 6
Joined: Tue Aug 18, 2009 4:16 pm

Re: unable to determine the version of kernel sources.

Postby amirhdrz on Tue Nov 03, 2009 4:30 pm

The screen blinks are back again.
Can anyone help?

Thanks
amirhdrz
Level 1
Level 1
 
Posts: 6
Joined: Tue Aug 18, 2009 4:16 pm

Re: unable to determine the version of kernel sources.

Postby Husse on Wed Nov 04, 2009 6:55 am

I'll come back to you shortly
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: unable to determine the version of kernel sources.

Postby Husse on Thu Nov 12, 2009 4:47 pm

Well - here's a solution will put your driver in "Maximum Performance" mode but (hopefully) will stop the blinking
Code: Select all
echo 'options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222" ' | sudo tee /etc/modprobe.d/otions.conf

This will create the file /etc/modprobe.d/otions.conf
with a content that triggers "Maximum Performance" mode
For a version prior to Gloria the .conf part of the file name is to be removed
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: unable to determine the version of kernel sources.

Postby amirhdrz on Sun Nov 15, 2009 1:14 am

Thanks a lot Husse,
I think your solution has solved my problem.
amirhdrz
Level 1
Level 1
 
Posts: 6
Joined: Tue Aug 18, 2009 4:16 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: BenTrabetere and 18 guests