Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 09-07-2007, 04:57 PM   #1
Registered: Jun 2004
Location: Aurora, IL
Distribution: Slackware Current
Posts: 162

Rep: Reputation: 30
Help with Nvidia

I'm running Kubuntu Feisty 7.04 and I have a Nvidia MX 4000 video card. The driver I have to use is Latest Legacy GPU version (1.0-96xx series): 1.0-9639. Because this legacy driver is not in the repositories, I have to use the binary off Nvidia's website. Not really a problem. The problem is that I also have a few games installed on my Linux box which requires having mesa libraries. Nvidia's driver and mesa library have a conflict with the opengl files. Also not really a problem when my computer is running, I just install Nvidia's drivers after mesa and everything is overwritten and it works.

The real problem I'm having is that whenever I reboot the computer X won't start until I reinstall Nvidia's drivers. Now because X won't start I still really don't have a problem with this being the Nvidia's drivers require X to be closed. It is an annoyance but i really don't turn my computer off that much. But now I'm hearing that Gutsy will have an X safemode, so now I'm realizing I need to take care of this problem once and for all. Please help.
Old 09-07-2007, 07:34 PM   #2
Registered: Sep 2007
Location: Near Dallas, TX
Distribution: Debain and Ubuntu
Posts: 36

Rep: Reputation: 15
I guess you're saying that every time you reboot, you lose the NVidia driver? Is that a fair suggestion?

Is it a conflict between a regular kernel module being loaded instead of the newer nvidia one at boot time? You'd be able to blacklist the regular kernel one, if that's the case.

Apart from that, I don't see Kubuntu reloading the mesa libraries at boot time

can you find out, before and after loading the nvidia driver, what the loaded modules are? Here's a suggestion:
BEFORE loading nvidia driver:
# lsmod | sort > /tmp/nvidia-before
AFTER loading nvidia driver:
# lsmod | sort > /tmp/nvidia-after
# diff /tmp/vidia-before /tmp/nvidia-after
This should list any differences in the currently loaded modules before and after. We can then blacklist the ones we don't want to load.
Old 09-08-2007, 01:54 AM   #3
Registered: Jun 2004
Location: Aurora, IL
Distribution: Slackware Current
Posts: 162

Original Poster
Rep: Reputation: 30
Doing what you said I received these results.

< agpgart 35788 2 nvidia,via_agp
> agpgart 35788 1 via_agp
< nvidia 3930860 0
I'm not really familiar with how this works necessarily so it would be awesome if you could tell me what to do next.
Old 10-21-2007, 01:37 PM   #4
LQ Newbie
Registered: Aug 2006
Location: North Ayrshire, Scotland
Distribution: Kubuntu (Hardy Heron)
Posts: 22

Rep: Reputation: 15
Let me translate this into English for you

Before, you agpgart was loaded and one module (via_agp) was using it.
Afterwards, both that module and the nvidia module were.

Afterwards, the (enormous!) nvidia module was loaded.

So maybe you want to put nvidia in the list of modules loaded at boot time? By sticking it on the end of the file /etc/modules perhaps. Just the word nvidia on a line by itself should do. This should work for you if you find loading it by hand fixes your problem (you'd type "modprobe nvidia" (no quotes) as root to see if it does).

There is a proper way, involving associating the nvidia module with appropriate device nodes, but it depends if you're happy with this hack...

Hope I understood the problem correctly.



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
Nvidia 9746 Drivers - startx freezes machine when using nvidia module Astro Slackware 17 01-21-2007 07:36 PM
Graphic sucks after updating kmod-nvidia and xorg-X11-nvidia hans21 Fedora 1 12-10-2006 02:21 PM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 02:10 AM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:52 AM.

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