Hybrid system installing both GPU drivers

Questions about SolydX and SolydK installation.
User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Hybrid system installing both GPU drivers

Postby nomko » 08 Dec 2015 14:47

I know this is meant for Ubuntu and it's derivatives. But are the steps here the same for a Debian-based system like SolydX/K? Or are there other steps/commands to use? At this moment i'm only running my system with the onboard Intel GPU.

*edit*
i just found this: http://fixmynix.com/install-and-configu ... in-debian/. Is this applicable for SolydX/K?
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
Arjen Balfoort
Site Admin
Posts: 9427
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby Arjen Balfoort » 08 Dec 2015 15:56

Have you tried the Device Driver Manager (DDM)?


SolydXK needs you!
Development | Testing | Translations

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 09 Dec 2015 12:58

Hi Arjen/Schoelje,

I've been looking around again last night and i noticed most sites provides a solution involving Bumblebee (Optimus) for Nvidia/Intel hybrid systems. Not sure if this is provided by the DDM tool.

Can you enlighten me further?
Thanks!
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
Arjen Balfoort
Site Admin
Posts: 9427
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby Arjen Balfoort » 09 Dec 2015 13:33

DDM supports Bumblebee for quite some time now.
You can check the script your self: /usr/bin/ddm
Or Github: https://github.com/SolydXK/device-driver-manager

If you get any paint issues after installation: http://forums.solydxk.nl/viewtopic.php?p=57876#p57876


SolydXK needs you!
Development | Testing | Translations

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 09 Dec 2015 14:24

Ok, thanks!

I'll check it this evening hopefully. I let you know tomorrow what happened.
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
Arjen Balfoort
Site Admin
Posts: 9427
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby Arjen Balfoort » 09 Dec 2015 15:16

Don't forget to save /var/log/ddm.log, rename it to ddm.txt and attach it here before you reboot...you never know.


SolydXK needs you!
Development | Testing | Translations

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 11 Dec 2015 21:25

Hi Arjen,

Just installed the Optimus driver and it went okay. But just one question: how o i install a prime-switch for switching between Intel and Nvidia? Something like this: https://github.com/tseliot/nvidia-prime
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 18 Dec 2015 07:22

nomko wrote:Hi Arjen,

Just installed the Optimus driver and it went okay. But just one question: how o i install a prime-switch for switching between Intel and Nvidia? Something like this: https://github.com/tseliot/nvidia-prime

Anyone able to answer my question about nvidia-prime for Debian/SolydXK??
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
just
Posts: 297
Joined: 07 Nov 2013 08:06
Location: Rovaniemi, Finland

Re: Hybrid system installing both GPU drivers

Postby just » 18 Dec 2015 08:33

Bumblebee and Prime are two reciprocally incompatible driver sets.

It is possible to install one or another, but not both at the same time.

Bumblebee allows switching between two GPUs. Prime does not.

To run any program or command on Nvidia GPU with Bumblebee it's enough to prefix it with

Code: Select all

optirun
For example

Code: Select all

optirun pwd
If a command does not prefixed with optirun, then it runs on Intel GPU.

Prime does _not_ allow switching between two GPUs. Everything runs on Nvidia GPU only. Always. Intel GPU is never used with Prime.

You might want to read more about Bumblebee here and here, in this forum.

Edit

If DDM detects Nvidia Optimus video card, it installs Bumblebee for it.

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 18 Dec 2015 09:16

just wrote: Bumblebee allows switching between two GPUs. Prime does not.
O, i have a Intel GPU and Nvidia GPU but like to run Intel as default due to lesser power consumption and not needing to use a powerfull GPU for daily tasks like internet and checking forums....

At this moment my laptop runs Nvidia by default but i can't find any option to switch to Intel.
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
just
Posts: 297
Joined: 07 Nov 2013 08:06
Location: Rovaniemi, Finland

Re: Hybrid system installing both GPU drivers

Postby just » 18 Dec 2015 09:33

nomko wrote:O, i have a Intel GPU and Nvidia GPU but like to run Intel as default due to lesser power consumption and not needing to use a powerfull GPU for daily tasks like internet and checking forums..
That is what Bumblebee was developed for. Its huge adavntage over Prime is that it reduces power consumption almost to zero. By running (by default) everything on Intel GPU.

In pracitce, I run on Intel 99% of the time. And don't consider Prime to be any valid alternative to Bumblebee.

If you have installed Nvidia Optimus drivers with DDM. then you should have optirun installed as well. If you have it installed by hand, by following the guide, mentioned above, then optirun must be installed also.

Bumblebee and optirun are synonims. One doesn't exist without another.

Simply run in terminal

Code: Select all

optirun pwd
If it prints the current working directory, then everything is OK with optirun.

User avatar
nomko
Posts: 82
Joined: 12 Apr 2013 09:21
Location: The Hague, The Netherlands
Contact:

Re: Hybrid system installing both GPU drivers

Postby nomko » 21 Dec 2015 21:28

When running that command i get this as response back:

Code: Select all

nomko@msi-ge70-2pe ~ $ optirun pwd
/home/nomko
nomko@msi-ge70-2pe ~ $ 
I still have no clue wether i'm running Intel by default or Nvidia... Under Mint this was easier with the prime command. And also the Nvidia Xserver Settings tool doesn't provide me any direct info...

Is it really this hard to switch to Intel and use Intel by default?
My notebook:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160

User avatar
belze
Posts: 221
Joined: 29 Sep 2014 16:31
Location: Torino, Italy

Re: Hybrid system installing both GPU drivers

Postby belze » 21 Dec 2015 22:04

nomko wrote:When running that command i get this as response back:

Code: Select all

nomko@msi-ge70-2pe ~ $ optirun pwd
/home/nomko
nomko@msi-ge70-2pe ~ $ 
I still have no clue wether i'm running Intel by default or Nvidia... Under Mint this was easier with the prime command. And also the Nvidia Xserver Settings tool doesn't provide me any direct info...

Is it really this hard to switch to Intel and use Intel by default?
you are already running intel right now (sure at 99%) if you installed optimus with ddm! So you are using the safest video driver, and you can check this using these two commands:
i'm using intel, and i can see those lines:

Code: Select all

$ glxinfo | grep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Intel Open Source Technology Center
I want to try if optirun really execs applications using nvidia driver:

Code: Select all

$ optirun glxinfo | grep vendor
server glx vendor string: NVIDIA Corporation
client glx vendor string: primus
OpenGL vendor string: NVIDIA Corporation
Can you run the same commands? Could you post what output you get?
-------
Image

User avatar
just
Posts: 297
Joined: 07 Nov 2013 08:06
Location: Rovaniemi, Finland

Re: Hybrid system installing both GPU drivers

Postby just » 22 Dec 2015 00:22

nomko wrote:...Is it really this hard to switch to Intel and use Intel by default?
You're already doing it. By using Bumblebee.


Return to “Installation”

Who is online

Users browsing this forum: No registered users and 3 guests