Nvidia Optimus mode not possible?

404 views
Skip to first unread message

evo

unread,
Mar 6, 2017, 1:49:04 PM3/6/17
to qubes-users
Hi!

i read some posts about this and as i understood, it is not possible to
use optimus mode with nvidia and intel card on Qubes OS, is it right?

The thing with Bumblebee and bbswitch, which i don't fully understand,
seems not to work, or do somebody have some new tricks?

Vít Šesták

unread,
Mar 6, 2017, 2:21:43 PM3/6/17
to qubes-users
Well, you probably can use Optimus with QubesOS, except it is pretty useless, because QubesOS renders everything in AppVMs on CPU. GPU is used:

a. In dom0, where integrated GPU is usually enough.
b. In HVMs if you use GPU passthrough. Note that you cannot start multiple VMs with the same VM assigned. (Not sure how hard/easy is it to configure GPU passthrough. It is hard not supported on my old laptop, so I have no experience with this.)

The only thing I want from Nvidia is not to consume power (and not to produce heat), which is what bbswitch is useful for.

Well, if you have an output wired to Nvidia GPU, Optimus could be useful to handle this output. I had a limited luck using intel-virtual-output with opensource Nvidia drivers (added a second screen, but the system was rather unusable then). Maybe I would have more luck with proprietary drivers.

Regards,
Vít Šesták 'v6ak'

Zrubi

unread,
Mar 7, 2017, 5:00:26 AM3/7/17
to evo, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 03/06/2017 07:48 PM, evo wrote:
> i read some posts about this and as i understood, it is not
> possible to use optimus mode with nvidia and intel card on Qubes
> OS, is it right?

Sadly you are right.
But this is a general limitation on linux, not a Qubes issue.
Moreover nVidia binary drivers still not support Optimus on linux.


> The thing with Bumblebee and bbswitch, which i don't fully
> understand, seems not to work, or do somebody have some new
> tricks?

These are dead projects, mentioning outdated drivers. I would not
bother trying to follow those instructions.


nVidia also blocking GPU passthrough via VGA BIOS (expect Quadro
cards) so we can't even hope about passing the nVidia VGA to a VM, and
use it there natively.

Currently the only use case where the binary drivers may be useful if
you have a single nVidia VGA and want to use it under Qubes -
accepting the risks for a better battery life. Or if that single card
is a new (1000 series) one, because that is not even supported by the
open source drivers.


- --
Zrubi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYvoSpAAoJEH7adOMCkunm3UUP/0Ujg3jTDOffOJfUjpk2BTy+
pGwvI1zpd+GACf3Hm3E8KTfuF1j1OQGyiWJMwu3XIyK5XoZcKraH41au6AcKL0br
YXlBQPXYMIs4dNgZH8oTP0uTcUzkeTBgCpK0c2liKTIyaGYMrwtKdH5FgNEQ2KUy
cfGGQSCJ9be7vFSAOUSnBSHklMY6jgXS54MD4bUj9uk+2rZ6ggsE4ULZMg1r3IMg
9WfV3F95+vlFMUBEFWMIZBfbOraGMg+JDtQ45GYsQCA3cHd3dlIhvB29MkSQ48kB
egE26CYinSscLgQs5cXjpuBYxbHGyEr7ISbrykIZRjxFh7lCu+aChrxMVqpCOr1f
3OY3UV/HgXalKHUtjfhdgKt7jjmNo39tTiWuWy28+F+k5993wQRSTzIQ2VEvOCZv
P3NWjr7ARFVSmKeN4xX73AZUbyxVpYxUsxb+YdcETs4zNvKO1TSknH8jqoPfn18g
uOU9dgBj7l4zyFdMyX0g+6Nc+UTnxsF1WPykpH6QibBT5czXpsKtu6qUNZe2QdHS
iDLlbf/QXpm8oCGTd5UFR9y164PRQTflo31x4x2sLV3MqGGqN+ItPLGXxVT/5Vbq
Bmp7dTVVOXJN2XsENOZzLkxbdmXMZKafACorpmL93fdS6QWXJr/MTFrxbt5lxasj
lP0+C0h1PDbYdj/USdOC
=1Een
-----END PGP SIGNATURE-----

evo

unread,
Mar 7, 2017, 11:45:27 AM3/7/17
to Zrubi, qubes-users


On 03/07/2017 11:00 AM, Zrubi wrote:
> On 03/06/2017 07:48 PM, evo wrote:
>> i read some posts about this and as i understood, it is not
>> possible to use optimus mode with nvidia and intel card on Qubes
>> OS, is it right?
>
> Sadly you are right.
> But this is a general limitation on linux, not a Qubes issue.
> Moreover nVidia binary drivers still not support Optimus on linux.
>
>
>> The thing with Bumblebee and bbswitch, which i don't fully
>> understand, seems not to work, or do somebody have some new
>> tricks?
>
> These are dead projects, mentioning outdated drivers. I would not
> bother trying to follow those instructions.
>
>
> nVidia also blocking GPU passthrough via VGA BIOS (expect Quadro
> cards) so we can't even hope about passing the nVidia VGA to a VM, and
> use it there natively.
>
> Currently the only use case where the binary drivers may be useful if
> you have a single nVidia VGA and want to use it under Qubes -
> accepting the risks for a better battery life. Or if that single card
> is a new (1000 series) one, because that is not even supported by the
> open source drivers.
>
>
>

oh, ok.. so i thought.. pitty.

i have Quadro K1000M in my notebook, so not very old and not new.

The thing is, if i start in descrete-card mode, i have some strange
grafic boot, but the system runs well. Runs there the Nvidia card, but
with nouveau-driver??

as it seems, yes.

is Nvidia in nouveau-mode then better than the intel card? not really,
isn't it?
0x35CA0532.asc
signature.asc

Vít Šesták

unread,
Mar 7, 2017, 2:58:25 PM3/7/17
to qubes-users
Good point on Bumblebee being dead, I've missed that. It works with my GPU, but my laptop model is from 2011…

Bbswitch seems to be rather simple piece of software that can disable the Nvidia GPU. It might be worth of trying it even with new GPUs. Unless you have an output wired directly to Nvidia card, disabling Nvidia is probably the only thing you need to do with it.

If bbswitch does not support new Nvidia GPUs, it is an unfortunate fact that I should consider when buying a new laptop 😔 Unfortunately, discarding all Nvidia-equipped laptops from my selection seems to discard many laptops. 😔

Regards,
Vít Šesták 'v6ak'
Reply all
Reply to author
Forward
0 new messages