NVidia Drivers installed but not runnning.

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this

NVidia Drivers installed but not runnning.

Postby swapniel99 on Sun Feb 17, 2013 9:33 am

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/ubuntu-quetzal-nvidia.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-display-amd64-310.32-driver-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.
User avatar
swapniel99
Level 1
Level 1
 
Posts: 6
Joined: Sun Feb 17, 2013 7:43 am
Location: Mumbai, India

Linux Mint is funded by ads and donations.
 

Re: NVidia Drivers installed but not runnning.

Postby viking777 on Sun Feb 17, 2013 11:18 am

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:

viewtopic.php?f=59&t=86154&p=497881&hilit=sgfxi#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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: NVidia Drivers installed but not runnning.

Postby AlbertP on Sun Feb 17, 2013 11:28 am

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

Re: NVidia Drivers installed but not runnning.

Postby Flemur on Sun Feb 17, 2013 11:37 am

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.(!)
Mint 17/Xfce/fluxbox & another Mint 17/Xfce/fluxbox
User avatar
Flemur
Level 5
Level 5
 
Posts: 855
Joined: Mon Aug 20, 2012 9:41 pm

Re: NVidia Drivers installed but not runnning.

Postby viking777 on Sun Feb 17, 2013 1:18 pm

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?
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: NVidia Drivers installed but not runnning.

Postby AlbertP on Sun Feb 17, 2013 2:08 pm

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

Re: NVidia Drivers installed but not runnning.

Postby swapniel99 on Sun Feb 17, 2013 2:24 pm

@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. :)
User avatar
swapniel99
Level 1
Level 1
 
Posts: 6
Joined: Sun Feb 17, 2013 7:43 am
Location: Mumbai, India

Re: NVidia Drivers installed but not runnning.

Postby AlbertP on Sun Feb 17, 2013 2:27 pm

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

Re: NVidia Drivers installed but not runnning.

Postby swapniel99 on Sun Feb 17, 2013 2:32 pm

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.
User avatar
swapniel99
Level 1
Level 1
 
Posts: 6
Joined: Sun Feb 17, 2013 7:43 am
Location: Mumbai, India

Re: NVidia Drivers installed but not runnning.

Postby viking777 on Mon Feb 18, 2013 5:47 am

@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.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: NVidia Drivers installed but not runnning.

Postby anandrkris on Mon Feb 18, 2013 6:01 am

@ 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
Cheers,
If there is a drive, there will be a path
User avatar
anandrkris
Level 5
Level 5
 
Posts: 868
Joined: Fri Nov 16, 2012 1:13 am
Location: Chennai

Re: NVidia Drivers installed but not runnning.

Postby swapniel99 on Thu Mar 28, 2013 1:27 pm

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
User avatar
swapniel99
Level 1
Level 1
 
Posts: 6
Joined: Sun Feb 17, 2013 7:43 am
Location: Mumbai, India

Re: NVidia Drivers installed but not runnning.

Postby AlbertP on Thu Mar 28, 2013 2:01 pm

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

Re: NVidia Drivers installed but not runnning.

Postby roblm on Sun Mar 31, 2013 8:01 pm

Post was removed because of wrong information.
Last edited by roblm on Tue Dec 31, 2013 6:25 pm, edited 1 time in total.
User avatar
roblm
Level 5
Level 5
 
Posts: 638
Joined: Sun Feb 24, 2013 2:41 pm

Re: NVidia Drivers installed but not runnning.

Postby Toorakable on Sun Dec 29, 2013 3:58 am

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
Toorakable
Level 1
Level 1
 
Posts: 9
Joined: Sat Jun 15, 2013 5:52 pm
Location: Wanganui New Zealand

Linux Mint is funded by ads and donations.
 

Return to Graphic Cards & Monitors

Who is online

Users browsing this forum: No registered users and 4 guests