Page 1 of 1

NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 9:33 am
by swapniel99
Hi,

I am somewhat new to linux and am using Linux Mint 14 and am fond of the cinnamon UI.
Configuration:
Asus X53SC-SX492D.
Corei5 2ndgen cpu
Nvidia Geforce GT520MX 1GB graphics card.
4GB ram.
It is dual-booted with Windows 7.

I am trying to make the graphics card drivers work since past 2 days.
I installed the drivers from following sources:
1) apt-get install nvidia-current
After these drivers get installed it was conflicting with Nouveau. So I blacklisted it.
When I reboot, Cinnamon no longer loads, though the desktop is the same. Resolution is 640x480 and m unable to change it.
Installed Jockey and it says "Drivers are activated but not being used".
If I uninstall nvidia-current, Cinnamon loads but resolutions stays 640x480, and I am unable to change it.
No use even after reinstalling nvidia-current.
I followed this post while the above process:http://www.dedoimedo.com/computers/ubun ... vidia.html
I blacklisted the nouveau because i was not able to do "modprobe nvidia-current".
I searched but was not able to find a solution. So I visited nvidia website and installed from following source.


2)http://www.nvidia.in/object/linux-displ ... er-in.html

I stopped the Xorg server somehow and was able to install the drivers from .run file but still the problem is the same.
Xorg.conf file shows nvidia in devices section.
lsmod | grep nvidia also gives output "nvidia <somenumber> 0"
inxi command also recognises nvidia, but it says none are used; neither intel nor nvidia.

btw glib is installd. when I open nvidia-settings, it says you dont seem to be using nvidia.
So I run nvidia-xconfig... no use.
I also ran Xorg -configure(after stopping mdm service)... no use

Plz help me.
Give me the commands if u want some output to see. I dont want to uninstall mint because i like it. I need a working linux laptop in 1 week.

Plz help. Thnx in advance.

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 11:18 am
by viking777
I don't have an Nvidia card any more, but when I did, and the normal tools didn't work, I used to use this:

http://forums.linuxmint.com/viewtopic.p ... xi#p497881

If you decided to try it everything you need to know is on that post. I know the post is a bit out of date, but I am sure it will still work.

Good Luck.

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 11:28 am
by AlbertP
@ viking777: He's not using LMDE, so no sgfxi necessary here.

@ swapniel99: You probably have hybrid graphics so you'll need Bumblebee: https://wiki.ubuntu.com/Bumblebee
That will make nvidia-current working.
But please uninstall the manually installed NVIDIA driver first:

Code: Select all

sudo nvidia-installer --uninstall

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 11:37 am
by Flemur
I had the same (?) problem (same symptoms), and fixed it with one or both of these lines in /etc/X11/xorg.conf,

Code: Select all

Section "Monitor"
...
    HorizSync       28.0 - 72.0
    VertRefresh     28.0 - 72.0
...
Then reboot.

IIRC, the VertRefresh was either missing or had smaller values.
I don't recall how or why I came up with this fix.(!)

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 1:18 pm
by viking777
AlbertP wrote:@ viking777: He's not using LMDE, so no sgfxi necessary here.

@ swapniel99: You probably have hybrid graphics so you'll need Bumblebee: https://wiki.ubuntu.com/Bumblebee
That will make nvidia-current working.
But please uninstall the manually installed NVIDIA driver first:

Code: Select all

sudo nvidia-installer --uninstall
I think you have gone a bit astray here AlbertP.

LMDE and sgfxi have no relationship. Sgfxi just happens to be a very easy way to install Nvidia drivers - on any debian based distro - when the usual methods don't work.

Secondly the OP only has one graphics card (or at least if he does have another one he isn't telling us about it). So what does he need Bumblebee for?

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 2:08 pm
by AlbertP
This is a laptop, and nearly all NVIDIA laptops sold with Windows 7 or 8 have Optimus. His CPU, 2nd gen Intel Core i5, has integrated graphics and Windows 7/8 laptops in which that integrated graphics is not enabled are very rare. Laptop CPUs without integrated graphics are not manufactured anymore by Intel and AMD, so all laptop manufacturers can take advantage of the power savings of integrated graphics without additional cost. I'm quite sure this laptop must have an Intel + NVIDIA hybrid configuration too.

@ swapniel99: could you post the output of inxi -Gx in terminal?

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 2:24 pm
by swapniel99
@AlbertP BumbleBee did the trick :D

Finally after 2 days I am running Mint on full resolution.
I dont know whether Nvidia drivers are being used or not, But I surely observed a drop in CPU utilisation and cpu-temp. So I think CPU load has reduced after installing bumblebee. And it is most probably that of graphics.

Code: Select all

niel@elderwand ~ $ inxi -Gx
Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0 
           Card-2: NVIDIA GF119 [GeForce GT 520MX] bus-ID: 01:00.0 
           X.Org: 1.13.0 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz 
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 9.0 Direct Rendering: Yes

Code: Select all

niel@elderwand ~ $ lspci -vmk | grep -A 8 -B 2 VGA

Device:	00:02.0
Class:	VGA compatible controller
Vendor:	Intel Corporation
Device:	2nd Generation Core Processor Family Integrated Graphics Controller
SVendor:	ASUSTeK Computer Inc.
SDevice:	Device 1682
Rev:	09
Driver:	i915
Module:	i915

--

Device:	01:00.0
Class:	VGA compatible controller
Vendor:	NVIDIA Corporation
Device:	GF119 [GeForce GT 520MX]
Rev:	ff
ProgIf:	ff

Device:	03:00.0
Class:	Network controller
Vendor:	Atheros Communications Inc.
Can you tell from this whether Nvidia is used or not?
Again Thnx. :)

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 2:27 pm
by AlbertP
This is indeed a laptop with NVIDIA Optimus according to the inxi -Gx output. On these laptops the Intel graphics is normally used, but you can run applications that use 3D acceleration on your NVIDIA card by adding "optirun" at the start of the command used to run the program (this can for example be done by editing the menu item that starts your program). If you run optirun inxi -Gx for example, you will get your NVIDIA card as GLX Renderer instead of Mesa DRI Intel Sandybridge Mobile.

Re: NVidia Drivers installed but not runnning.

Posted: Sun Feb 17, 2013 2:32 pm
by swapniel99
Please tell me whether this is correct:
optirun command is to force Nvidia renderer.

But If we dont use optirun, then it automatically detects which renderer is best.

Re: NVidia Drivers installed but not runnning.

Posted: Mon Feb 18, 2013 5:47 am
by viking777
@AlbertP Looks like you were right - I apologise. I actually googled the machines specs, looked at 4 results and not one of them mentions anything about dual graphics cards.

Re: NVidia Drivers installed but not runnning.

Posted: Mon Feb 18, 2013 6:01 am
by anandrkris
@ swapniel99 - Yes, optirun starts the Nvidia renderer.

Type the below in terminal.
To check properties

Code: Select all

optirun nvidia-settings -c :8
To check your FPS performance

Code: Select all

optirun glxspheres
or

Code: Select all

optirun glxgears

Re: NVidia Drivers installed but not runnning.

Posted: Thu Mar 28, 2013 1:27 pm
by swapniel99
Hi,

After Auto updates, I am facing a problem with Bumblebee..

Code: Select all

niel@elderwand ~ $ optirun
[ 1697.453104] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 1697.453217] [ERROR]Could not connect to bumblebee daemon - is it running?
When I reinstalled Bumblebee.. it wrked fine.. But after restart, again the same problem occurs..

Any solution for this?

thanks

Re: NVidia Drivers installed but not runnning.

Posted: Thu Mar 28, 2013 2:01 pm
by AlbertP
This seems to be a problem with Bumblebee 3.1 which has just been released. Please watch the updater to see if any Bumblebee update might come through to fix this.

Re: NVidia Drivers installed but not runnning.

Posted: Sun Mar 31, 2013 8:01 pm
by roblm
Post was removed because of wrong information.

Re: NVidia Drivers installed but not runnning.

Posted: Sun Dec 29, 2013 3:58 am
by Toorakable
Hi Flemur just wanted to say thanks for the solution you posted re editing the xorg.conf file. The HorizSync was set wrong and bingo altering the value to 72.0 and then a re-boot got my Mint 16 running again after an attempt to install a Nvidia driver on my Intel laptop screwed things up and I was left with 640x480 resolution. Worth spending time looking through the forum ta :D