Optimus Graphics works great - Mint 17.2

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Optimus Graphics works great - Mint 17.2

Postby mint-me » Fri Jul 03, 2015 12:39 am

Hi, just some feedback and a few tips for Optimus graphics, tested on the latest Linux Mint 17.2 “Rafaela” Cinnamon & MATE versions (64bit). The hardware I use is listed below in my signature.

Thanks to Clem and team, for providing an easy built-in control for Optimus graphics cards. Great, no more Bumblebee required!

Nouveau
Upon a clean install (reboot and run updates), the desktop comes up fine. Then using the command "inxi -xG" I noticed it was running on Intel, and had 'nouveau' installed for the Nvidia card - but it reported it as "failed". I recommend using Nvidia drivers over Nouveau as they always seem to work better.

Driver Manager
Next step, I opened the "Driver Manager" to change the driver. I select the latest Nvidia 346.72 version and it installs. You can see which versions are Recommended/Certified for your hardware by checking here:
GeForce Drivers

Optimus Nvidia/Intel Selection
After a reboot, the desktop comes up running on the Nvidia card, using the Nvidia driver. A new icon appears on the panel, its an Nvidia logo. Clicking on it brings up Nvidia Settings GUI where Nvidia settings can be made. You can also select to run the Intel card instead. When selecting Intel or Nvidia, you are prompted to logout/in to activate it.

I really love this latest version - its stable, fast and cool - best ever!
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

areynaldos
Level 1
Level 1
Posts: 25
Joined: Mon Jan 24, 2011 2:46 pm

Re: Optimus Graphics works great - Mint 17.2

Postby areynaldos » Wed Jul 08, 2015 3:05 pm

Hi there. I have always had trouble when running Optimus in my setup. I have an Nvidia NVS 4200M card.

Do you have Optimus enabled ? I am guessing yes, but just checking.

For me, if I have Optimus enabled, Cinnamon won't work. It will say it is running in "Fallback Mode" and it looks like regular Gnome, with "Applications" and "Places" as the only available options in the menu, and Gnome-style submenus. Then I disable Optimus and Cinnamon runs fine, but without the new Rafaela functionality with the Applet, etc.

User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: Optimus Graphics works great - Mint 17.2

Postby mint-me » Wed Jul 08, 2015 6:28 pm

Hi areynaldos, when you say "Optimus enabled" I guess you mean you switch it on (muxed) in BIOS? On my machine there is no such function, its always on at boot time (muxless).

I suggest try the following:

1. Enable Optimus
2. Boot into OS and go
Menu > Admin > Driver Manager
3. Select/Install an Nvidia driver (check compatability GeForce Drivers or ALL Nvidia)
4. Reboot. Now Nvidia icon should appear in panel, and all works.
5. Toggle between Intel/Nvidia by clicking the icon.

Done!
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

Dave B
Level 4
Level 4
Posts: 338
Joined: Thu Jan 08, 2015 10:49 pm
Location: UK

Re: Optimus Graphics works great - Mint 17.2

Postby Dave B » Wed Jul 08, 2015 7:12 pm

mint-me wrote:...I really love this latest version - its stable, fast and cool - best ever!

Really hope it's not the best ever! That would mean all versions to follow won't be as good. :D

User avatar
LucaCava
Level 1
Level 1
Posts: 12
Joined: Fri May 29, 2015 6:55 pm

Re: Optimus Graphics works great - Mint 17.2

Postby LucaCava » Fri Jul 10, 2015 11:40 am

My laptop does nothing of what you said :cry: I own a optimus-compatible gpu (610M), I select the latest nvidia drivers (same problem with older ones), I reboot, but I see no icon, no possibility to switch between integrated gpu and geforce... It used to work great with bumblebee and 331 drivers, but I just upgraded to 17.2 and I wanted to use this new feature, so I removed bumblebee. What do you suggest me? Thanks :D :D

User avatar
Pjotr
Level 17
Level 17
Posts: 7922
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Optimus Graphics works great - Mint 17.2

Postby Pjotr » Fri Jul 10, 2015 11:53 am

LucaCava wrote:My laptop does nothing of what you said :cry: I own a optimus-compatible gpu (610M), I select the latest nvidia drivers (same problem with older ones), I reboot, but I see no icon, no possibility to switch between integrated gpu and geforce... It used to work great with bumblebee and 331 drivers, but I just upgraded to 17.2 and I wanted to use this new feature, so I removed bumblebee. What do you suggest me? Thanks :D :D

Try the nvidia-352 driver by means of the mamarley PPA:
https://sites.google.com/site/easylinux ... nvidia-PPA
(item 1, left column)
Tip: 10 things to do after installing Linux Mint 18.2 Sonya
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
LucaCava
Level 1
Level 1
Posts: 12
Joined: Fri May 29, 2015 6:55 pm

Re: Optimus Graphics works great - Mint 17.2

Postby LucaCava » Fri Jul 10, 2015 12:24 pm

Done, but nothing changed :( still no icon

User avatar
xfrank
Level 5
Level 5
Posts: 562
Joined: Sat Nov 24, 2012 6:09 pm
Location: Mexico City
Contact:

Re: Optimus Graphics works great - Mint 17.2

Postby xfrank » Fri Jul 10, 2015 12:28 pm

I have a laptop with nVidia, works great with Bumblebee and 331 driver. I just digit "optirun" in the terminal when I need to start a program with the nVidia card, otherwise the card is switched off. LM 17.2 did not force to load the newer nVidia driver.
Linux everywhere. Active Distro in my computers: LM17.3 (Cinnamon, Xfce); LM18.1 (Cinnamon,Xfce); LMDE 2 (Mate)

User avatar
LucaCava
Level 1
Level 1
Posts: 12
Joined: Fri May 29, 2015 6:55 pm

Re: Optimus Graphics works great - Mint 17.2

Postby LucaCava » Fri Jul 10, 2015 12:43 pm

So you are suggesting me to reinstall the old-but-gold bumblebee with 331 or 331-updates drivers and the applet, right?

User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: Optimus Graphics works great - Mint 17.2

Postby mint-me » Fri Jul 10, 2015 4:38 pm

Hi all, mine worked fine on clean install. If upgrading I would suggest the following:

1. Remove/purge Bumblebee (make sure bbswitch is removed).
2. Install Nvidia driver.
3. Make sure the following commands appear in System Settings > Startup Applications:

NVIDIA X Server Settings

Code: Select all

sh -c '/usr/bin/nvidia-settings --load-config-only'


Support for NVIDIA Prime

Code: Select all

/usr/lib/nvidia-prime-applet/nvidia-prime


4. Use Update Manager to upgrade kernel to "3.16.0-38-generic"
5. Reboot

Now it should work!
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

User avatar
xfrank
Level 5
Level 5
Posts: 562
Joined: Sat Nov 24, 2012 6:09 pm
Location: Mexico City
Contact:

Re: Optimus Graphics works great - Mint 17.2

Postby xfrank » Fri Jul 10, 2015 4:54 pm

LucaCava wrote:So you are suggesting me to reinstall the old-but-gold bumblebee with 331 or 331-updates drivers and the applet, right?


Maybe. Bumblebee works fine, so why change it? :)
Just curious: what are the advantages of Optimus vs Bumblebee? :?:
Linux everywhere. Active Distro in my computers: LM17.3 (Cinnamon, Xfce); LM18.1 (Cinnamon,Xfce); LMDE 2 (Mate)

User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: Optimus Graphics works great - Mint 17.2

Postby mint-me » Fri Jul 10, 2015 5:20 pm

The difference - can run entire desktop on Nvidia!
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

User avatar
xfrank
Level 5
Level 5
Posts: 562
Joined: Sat Nov 24, 2012 6:09 pm
Location: Mexico City
Contact:

Re: Optimus Graphics works great - Mint 17.2

Postby xfrank » Fri Jul 10, 2015 5:57 pm

mint-me wrote:The difference - can run entire desktop on Nvidia!

But nVidia is useful for specific tasks, not generically. For example, to improve photo or video editing, watching HD video, and so on.
I spend 99.5% of the time browsing, writing or reading (LibreOffice, pdf viewers...) and hearing music (Banshee), all tasks that can perform very well with the Intel IGPU. nVidia would be useful only occasionally (Gimp, VLC, Inkscape, a game...).
Linux everywhere. Active Distro in my computers: LM17.3 (Cinnamon, Xfce); LM18.1 (Cinnamon,Xfce); LMDE 2 (Mate)

User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: Optimus Graphics works great - Mint 17.2

Postby mint-me » Fri Jul 10, 2015 6:14 pm

Yes, these are the differences, and the user has choice.

Another thing I noticed with the new implementation, on Intel graphics now my machine runs a few degrees cooler. Its winter here now, summer will be the real test.

One more tip for running good stable high-performance graphics:

CPU Scaling Driver : intel_pstate

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver

CPU Scaling Governor : performance

Code: Select all

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor


If you want to know how to modify these I will do another post for it.
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

sunderen
Level 1
Level 1
Posts: 12
Joined: Mon Jun 29, 2015 3:22 am

Re: Optimus Graphics works great - Mint 17.2

Postby sunderen » Sat Jul 11, 2015 2:32 pm

I had installed the nvidia-346 driver and the nvidia icon was showing up fine. Even the intel icon showed up when I switched to power saving and re logged in. However when I changed it back to high performance and re logged in the applet icon turned into an X mark and said active graphic card unknown. I cant switch back to high performance mode (nvidia). Can someone please help me regain optimus functionality

User avatar
LucaCava
Level 1
Level 1
Posts: 12
Joined: Fri May 29, 2015 6:55 pm

Re: Optimus Graphics works great - Mint 17.2

Postby LucaCava » Sat Jul 11, 2015 3:37 pm

I CAN'T EVEN COME BACK TO BUMBLEBEE, NOTHING IS WORKING, I'M GOING CRAZY! :twisted: :twisted:

User avatar
mint-me
Level 3
Level 3
Posts: 106
Joined: Sat May 26, 2012 2:25 am
Location: Australia

Re: Optimus Graphics works great - Mint 17.2

Postby mint-me » Sat Jul 11, 2015 6:40 pm

If upgrading, try these commands to clear old stuff and make way for the new.

Code: Select all

sudo apt-get purge bumblebee
sudo apt-get purge bbswitch
sudo apt-get purge nvidia*
sudo apt-get autoremove
sudo apt-get autoclean


Then go ahead and install Nvidia driver from Driver Manager. Reboot.

PS:
* Check to make sure the 2 entries appear in "Startup Applications" as described in the above post:
viewtopic.php?f=59&t=199269&p=1038924#p1038489
* Use Update Manager to upgrade kernel to "3.16.0-38-generic"
Mint 17.3 Cinnamon/Mate 64bit
Dell Inspiron 15R(N5110) Intel i7-2670QM, 4GB DDR3 1333Mhz, Intel 6 Express HM67
GeForce GT525M (Optimus), 500G SATA, 15.6" HD 1366x768

User avatar
LucaCava
Level 1
Level 1
Posts: 12
Joined: Fri May 29, 2015 6:55 pm

Re: Optimus Graphics works great - Mint 17.2

Postby LucaCava » Wed Jul 15, 2015 2:03 am

mint-me wrote:If upgrading, try these commands to clear old stuff and make way for the new.

Code: Select all

sudo apt-get purge bumblebee
sudo apt-get purge bbswitch
sudo apt-get purge nvidia*
sudo apt-get autoremove
sudo apt-get autoclean


Then go ahead and install Nvidia driver from Driver Manager. Reboot.

PS:
* Check to make sure the 2 entries appear in "Startup Applications" as described in the above post:
viewtopic.php?f=59&t=199269&p=1038924#p1038489
* Use Update Manager to upgrade kernel to "3.16.0-38-generic"


I'll try again as soon as I can, but I actually did it every time, and I tried hundreds of times :lol: thank you again, I'll let you know.

Dupo
Level 4
Level 4
Posts: 448
Joined: Thu Jan 31, 2008 9:42 pm

Re: Optimus Graphics works great - Mint 17.2

Postby Dupo » Fri Jul 17, 2015 10:06 am

Hi,

the support for Optimus works great in Linux Mint 17.2. :D

Thanks to Clem and the Linux Mint Team.

Will it be possible in the futur to have a quick switchable option like prime-indicator ? See it : http://www.webupd8.org/2014/01/prime-indicator-lets-you-quickly-switch.html.

GuizmoPhil
Level 1
Level 1
Posts: 1
Joined: Thu Jul 23, 2015 1:42 pm

Re: Optimus Graphics works great - Mint 17.2

Postby GuizmoPhil » Thu Jul 23, 2015 1:49 pm

I hadn't noticed that was a new feature from 17.2, since I just upgraded from 17.1 ans was already using nvidia-prime with prime-indicator.

But since I did upgrade to 17.2, I am now unable to switch GPU, it's always on the Intel GPU, but always shows the nvidia logo in the "system tray".

I'm no Linux god, does anyone know how to completely uninstall the nvidia-prime and prime-indicator I had, in order to reinstall correctly the one included in Mint 17.2? Right now it seems there's a conflict somewhere.


Return to “Graphic Cards & Monitors”

Who is online

Users browsing this forum: No registered users and 1 guest