LMDE & nVidia Driver

Questions about hardware and drivers
Forum rules
Before you post please read this

LMDE & nVidia Driver

Postby EmyrB on Thu Jun 30, 2011 2:10 pm

Hi Folks,

I just installed LMDE on a spare machine that has a GeForce 8400 GS card. I followed the instructions here http://community.linuxmint.com/tutorial/view/331 and rebooted. The 2.6.39-2-686 PAE kernel just dumps me to a command prompt, but xserver is running. I change the driver in xorg.conf to vesa and I get a GUI. If I select the default kernel that comes with LMDE 201101, 2.6.32-5-686, I get a GUI using the nvidia driver. So, my question is how do I compile the 2.6.39 PAE kernel to use the nvidia driver?

Cheers

EmyrB
EmyrB
Level 1
Level 1
 
Posts: 8
Joined: Tue Nov 11, 2008 11:37 am

Linux Mint is funded by ads and donations.
 

Re: LMDE & nVidia Driver

Postby DrHu on Thu Jun 30, 2011 4:58 pm

One could always create a custom kernel to add or remove device support,--it will always be custom, but based off the generic kernel, meaning that most items won't change, only the device you need to add or edit..
https://help.ubuntu.com/community/Kernel/Compile
    Reasons for compiling a custom kernel
    * You have hardware the stock Ubuntu kernel does not support.
    Reasons for NOT compiling a custom kernel
    * You merely need to compile a special driver. For this, you only need to install the linux-headers packages
https://help.ubuntu.com/community/EnablingPAE
http://credentiality2.blogspot.com/2009 ... reaks.html
pae and nvidia driver..

http://jeffhoogland.blogspot.com/2010/0 ... -1004.html
a little further data ref: nvidia driver install, depends on your version of Linux ?
list]This bug still is present in 11.04.
After upgrading my system, the pae kernel is automatically selected and the nvidia binary driver is not working!
[/list]

Possibly it is still a bug...
http://www.mailrepository.com/ubuntu-bu ... g/3772448/
User avatar
DrHu
Level 16
Level 16
 
Posts: 6297
Joined: Wed Jun 17, 2009 8:20 pm

Re: LMDE & nVidia Driver

Postby affirmedatheist on Thu Jun 30, 2011 6:03 pm

Yeah, apparently there have been some problems in LMDE with the architecture change from standard to PAE kernels. The linux-headers for 2.6.39 are apparently not getting downloaded when people update (nvidia's driver requires these to compile its driver against). This is ok, you can manually install them from the command line and run a reinstall of the nvidia drivers.

First, check EXACTLY the name of the kernel:
Code: Select all
uname -a


Then:

Code: Select all
sudo apt-get update && sudo apt-get install linux-headers-2.6.39-2-[your architecture]


You can use aptitude in place of apt-get if you prefer.

(I've made these instructions generic for the sake of anybody else who comes along. in your case it would be i686-PAE or something similar).

After this just run a reinstall of the nVidia drivers and things should be back to normal. :) Hope this helps.
LMDE XFCE x86_64, Kernel 3.0.0.1, XFCE 4.8 | Gentoo Linux, Kernel 3.0.6, KDE 4.7.2, -march:core2 | Windows Vista Home Premium x64
Core 2 Quad Q9400, Kingston (value) 8GB DDR2 800MHz, GeForce GTX 550Ti, 320GB + 250GB HDD, ASUS P5Q-Pro motherboard.
affirmedatheist
Level 1
Level 1
 
Posts: 11
Joined: Thu Apr 29, 2010 7:20 pm

Re: LMDE & nVidia Driver

Postby EmyrB on Fri Jul 01, 2011 3:04 am

Thanks guys. I'll give each suggestion a go.

Cheers

EmyrB
EmyrB
Level 1
Level 1
 
Posts: 8
Joined: Tue Nov 11, 2008 11:37 am

Re: LMDE & nVidia Driver

Postby CiaW on Fri Jul 01, 2011 1:42 pm

You'll probably also want to install the nvidia-kernel-dkms package, here's the description:
Provided that you have the kernel header packages installed, the kernel
module will be built for your running kernel and automatically rebuilt for
any new kernel headers that are installed.
The NVIDIA binary drivers provide optimized hardware acceleration of
OpenGL applications via a direct-rendering X Server for graphics cards
using NVIDIA chip sets. AGP, PCIe, SLI, TV-out and flat panel displays
are also supported.
CiaW
Level 3
Level 3
 
Posts: 170
Joined: Fri Sep 10, 2010 11:39 am
Location: Spokane Wash, USA

Re: LMDE & nVidia Driver

Postby EmyrB on Sat Jul 02, 2011 2:49 am

@affirmedathiest & CiaW - thanks guys, your suggestions worked like a charm. Although I think I'll stay the updates for a while as per this topic: - http://forums.linuxmint.com/viewtopic.php?f=141&t=76239 :(

Cheers

EmyrB
EmyrB
Level 1
Level 1
 
Posts: 8
Joined: Tue Nov 11, 2008 11:37 am


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 3 guests