NVidia Drivers installed but not runnning.

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
swapniel99

NVidia Drivers installed but not runnning.

Post 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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

Re: NVidia Drivers installed but not runnning.

Post 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.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: NVidia Drivers installed but not runnning.

Post 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
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: NVidia Drivers installed but not runnning.

Post 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.(!)
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
viking777

Re: NVidia Drivers installed but not runnning.

Post 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?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: NVidia Drivers installed but not runnning.

Post 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?
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
swapniel99

Re: NVidia Drivers installed but not runnning.

Post 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. :)
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: NVidia Drivers installed but not runnning.

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
swapniel99

Re: NVidia Drivers installed but not runnning.

Post 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.
viking777

Re: NVidia Drivers installed but not runnning.

Post 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.
anandrkris

Re: NVidia Drivers installed but not runnning.

Post 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
swapniel99

Re: NVidia Drivers installed but not runnning.

Post 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
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: NVidia Drivers installed but not runnning.

Post 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.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia Drivers installed but not runnning.

Post by roblm »

Post was removed because of wrong information.
Last edited by roblm on Tue Dec 31, 2013 6:25 pm, edited 1 time in total.
Toorakable
Level 1
Level 1
Posts: 14
Joined: Sat Jun 15, 2013 5:52 pm
Location: Wanganui New Zealand

Re: NVidia Drivers installed but not runnning.

Post 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
Locked

Return to “Graphics Cards & Monitors”