Mint 15 Olivia does not like NVIDIA drivers

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
deltadirac
Level 1
Level 1
Posts: 8
Joined: Sun Jun 09, 2013 1:22 pm

Mint 15 Olivia does not like NVIDIA drivers

Post by deltadirac »

Hi gyus,

twice after have been installed Mint 15 on my laptop with GeForce GT540M happened that everything works as a sharm until I install NVIDIA drivers from the official repos. After the reboot, nvidia drivers are not loaded at all and Cinnamon stops working! Menu disappeared so that the DT is useless.

Is there a way to fix it ?
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.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by AlbertP »

Does this laptop have NVIDIA Optimus? In that case, you can't just install NVIDIA Linux drivers. You can use Bumblebee instead: https://wiki.ubuntu.com/Bumblebee
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
zerozero

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by zerozero »

http://www.geforce.com/hardware/notebook-gpus/geforce-gt-540m/features
the second feature listed is optimus meaning that your only option is https://wiki.ubuntu.com/Bumblebee
(preferable without any previous traces of nvidia drivers installations)
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by AlbertP »

@ zerozero: Looking in the specifications that way isn't really helpful, many GPU's capable of hybrid graphics have been used in non-hybrid configurations in Windows Vista machines because Vista didn't have full support for hybrid graphics yet. But, the 540M is a more recent GPU from the Windows 7 days so it'll most likely be Optimus anyway. (Lenovo, though, put it into a few laptops without Optimus)

@ deltadirac: To be sure of this, please open a terminal from the menu, and run this command, and post the output:

Code: Select all

inxi -Gx
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
deltadirac
Level 1
Level 1
Posts: 8
Joined: Sun Jun 09, 2013 1:22 pm

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by deltadirac »

Yes, the laptop is an Asus K53 (X53SV) with NVIDIA GeForce GT 540M (N12P-GS) + Intel HD Graphics 3000, and it uses the optimus Technology under Windows 7. I thought that Linux could access directly to the nVidia resources .... Anyway I do not understand why by loading the nVidia drivers from official repos it makes Cinnamon crashed. I remember that in live DVD everything went fine after having loaded nVidia drivers from restricted .
deltadirac
Level 1
Level 1
Posts: 8
Joined: Sun Jun 09, 2013 1:22 pm

[SOLVED] Re: Mint 15 Olivia does not like NVIDIA drivers

Post by deltadirac »

This is the result of inxi -Gx command:
  • Graphics:
    Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
    Card-2: NVIDIA GF108M [GeForce GT 540M] bus-ID: 01:00.0
    X.Org: 1.13.3 drivers: intel (unloaded: fbdev) FAILED: vesa Resolution: 1366x768@60.0hz
    GLX Renderer: N/A GLX Version: N/A Direct Rendering: N/A
Something must be fixed :shock:

So, decided to install Bumblebee following instructions detailed in the Ubuntu Wiki guide:

Add the repo and refresh the list of new packages:

Code: Select all

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
Install Bumblebee using the default proprietary nvidia driver:

Code: Select all

sudo apt-get install bumblebee virtualgl linux-headers-generic
Then:

Code: Select all

Reboot
Now Cinnamom shows no errors :D and optirun works as a charm:

glxspheres

Code: Select all

Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: Mesa DRI Intel(R) Sandybridge Mobile 
60.615056 frames/sec - 53.816471 Mpixels/sec
59.616960 frames/sec - 52.930321 Mpixels/sec
60.176928 frames/sec - 53.427483 Mpixels/sec
59.666163 frames/sec - 52.974006 Mpixels/sec
optirun -c yuv glxspheres

Code: Select all

Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GT 540M/PCIe/SSE2
181.083353 frames/sec - 160.773044 Mpixels/sec
187.832714 frames/sec - 166.765397 Mpixels/sec
188.667741 frames/sec - 167.506767 Mpixels/sec
184.812095 frames/sec - 164.083570 Mpixels/sec
Thank you guys!
Yash1

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by Yash1 »

Thanks a lot guys.
I'm running Linux Mint Olivia on a Samsung laptop with NVIDIA. Just last night read up on the forum on this tutorial.
I'm now getting this when I run optirun glxgears (can't believe these figures are really true!!)

4712 frames in 5.0 seconds = 942.312 FPS
4881 frames in 5.0 seconds = 976.118 FPS
4865 frames in 5.0 seconds = 972.849 FPS

Mainly, my battery life has gone up from two and half hours to about 3:15 or so. I get close to 5:30 hours however, when I boot into Windows 8 on the same laptop.
I still am not getting good graphics on my Google Earth , get many pixellations and don't know why. I'm still looking around for answers.

Thanks again.

Yash

Edited :- My battery meter often reads 3:45 to 4 hours plus standby time, depending on what I am doing. Thanks to Bumblebee!! :D :D
Last edited by Yash1 on Fri Aug 23, 2013 7:30 am, edited 1 time in total.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by AlbertP »

That looks very well. Your graphics card can render much more frames per second than you can ever display on your monitor. The NVIDIA driver is one of the few drivers that actually allows the card to work so hard in glxgears. Other drivers indeed don't go beyond the monitor's refresh rate.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
jomimube

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by jomimube »

Muchas gracias.

La temperatura permanecia cerca a los 60 grados y disminuyo a 47 grados centigrados +/-

Mis resultados

inxi -Gx
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GF108M [GeForce GT 630M] bus-ID: 01:00.0
X.Org: 1.13.3 drivers: intel (unloaded: fbdev) FAILED: vesa Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile GLX Version: 3.0 Mesa 9.1.3 Direct Rendering: Yes

optirun -c yuv glxspheres
Polygons in scene: 62464
Visual ID of window: 0x20
Context is Direct
OpenGL Renderer: GeForce GT 630M/PCIe/SSE2
145.173522 frames/sec - 124.390480 Mpixels/sec
149.057586 frames/sec - 127.718502 Mpixels/sec
146.795869 frames/sec - 125.780573 Mpixels/sec

Thank's
nomko

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by nomko »

jomimube wrote:Muchas gracias.

La temperatura permanecia cerca a los 60 grados y disminuyo a 47 grados centigrados +/-

Mis resultados
Please reply in English the next time when posting in the English section of this forum. There are many people here who doesn't understand Spanish/Portuguese...
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: Mint 15 Olivia does not like NVIDIA drivers

Post by AlbertP »

Rough translation with a bit of help from Google: Thank you. The temperature which used to be around 60 degrees, has decreased to +/- 47 degrees.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Software & Applications”