NVIDIA DRIVER and OPTIMUS

539 views
Skip to first unread message

nezn...@xy9ce.tk

unread,
Jan 20, 2017, 9:38:35 AM1/20/17
to qubes-users
Jesus Christ! Is there are at least one way to install proprietary driver for discrete videocard? I lost so many months! I read tones of manuals! I'm already annoyed!
I tried this https://www.qubes-os.org/doc/install-nvidia-driver/
I installed fedora 18, but..

>>>You will need at least kernel-devel (matching your Qubes dom0 kernel)

...i haven't in fedora 18 a kernel-devel matching with my Qubes dom0! WTF? How i can did this?

I think qubes-authors should been create video-support team about 5 years ago! Because i already think to buy a laptop without Optimus, however don't know how i will be solving this problem. Can somebody just create a video for people like me? For future. I'm tired from futile manuals and advices.

nezn...@xy9ce.tk

unread,
Jan 20, 2017, 9:43:26 AM1/20/17
to qubes-users, nezn...@xy9ce.tk
There is a 0 video on youtube about nvidia drivers on Qubes and one weird manual from authors of Qubes. Unbelievable!

muhamme...@gmail.com

unread,
Jan 20, 2017, 11:00:56 AM1/20/17
to qubes-users, nezn...@xy9ce.tk
Hi. Qubes OS is not operating system for gaming. The optional nVidia Optimus VGA is (still) not working. Nvidia = blob.

nezn...@xy9ce.tk

unread,
Jan 20, 2017, 11:21:29 AM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com
I don't need a games.
Even if i'll buy a laptop without Optimus (with only a discrete card) - i have no idea how to use it with a driver from Nvidia site.

01v3g4n10

unread,
Jan 20, 2017, 11:41:46 AM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com
On Friday, January 20, 2017 at 10:21:29 AM UTC-6, nezn...@xy9ce.tk wrote:
> I don't need a games.
> Even if i'll buy a laptop without Optimus (with only a discrete card) - i have no idea how to use it with a driver from Nvidia site.

Then get one with amd or intel instead. ;^P

nezn...@xy9ce.tk

unread,
Jan 20, 2017, 11:57:28 AM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com

> Then get one with amd or intel instead. ;^P

with intel i have right now, ty

muhamme...@gmail.com

unread,
Jan 20, 2017, 12:13:34 PM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com
> > Then get one with amd or intel instead. ;^P

I'am used Intel graphics too.

Qubes based on Xen, maybe that links will help you, also Marek or Andrew can answer the question correctly.

https://wiki.xen.org/wiki/Xen_VGA_Passthrough_Tested_Adapters

https://www.qubes-os.org/doc/install-nvidia-driver/

01v3g4n10

unread,
Jan 20, 2017, 12:26:04 PM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com
On Friday, January 20, 2017 at 11:13:34 AM UTC-6, muhamme...@gmail.com wrote:
> > > Then get one with amd or intel instead. ;^P
>
> I'am used Intel graphics too.

My laptop has optimus, but I have long since disabled it in the bios and have just been using the intel graphics since it is so much easier than messing with bumblebee.

nezn...@xy9ce.tk

unread,
Jan 20, 2017, 12:30:13 PM1/20/17
to qubes-users, nezn...@xy9ce.tk, muhamme...@gmail.com

> Qubes based on Xen, maybe that links will help you, also Marek or Andrew can answer the question correctly.
>
> https://wiki.xen.org/wiki/Xen_VGA_Passthrough_Tested_Adapters
>
> https://www.qubes-os.org/doc/install-nvidia-driver/

Sad, but first link have no GTX980m or GTX1070, and 2nd link i read b4 without successful :`(

Gray Olson

unread,
Jan 21, 2017, 12:14:40 AM1/21/17
to qubes-users, nezn...@xy9ce.tk

It's impossible. It's a known bug with Xen and nVidia drivers past version 3.19.xxx or something like that. See this thread: https://devtalk.nvidia.com/default/topic/691565/geforce-driver-problem-on-centos-6-4-with-xen-installed/

The only way is to use Nouveau. Problem with that is, Nouveau doesn't support new-ish GPUs without upgrading to kernels past the current Qubes supported kernels. So, nvidia owners are SOL with Qubes atm.

tpie...@gmail.com

unread,
Jan 21, 2017, 5:57:13 AM1/21/17
to qubes-users, nezn...@xy9ce.tk

I did this to install bumblebee, turn off nvidia and get a much better battery life:
- Here is the official how to install bumblebee in Fedora 23 (dom0 is based on Fedora 23 afaik)
https://fedoraproject.org/wiki/Bumblebee
- Download bumblebee-release-1.2-1.noarch.rpm and bumblebee-nonfree-release-1.2-1.noarch.rpm
wget http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee/fedora23/noarch/bumblebee-release-1.2-1.noarch.rpm
wget http://install.linux.ncsu.edu/pub/yum/itecs/public/bumblebee-nonfree/fedora23/noarch/bumblebee-nonfree-release-1.2-1.noarch.rpm
- Copy both files over to dom0 (https://www.qubes-os.org/doc/copy-from-dom0/)
- Install both rpm files in dom0
sudo dnf -y -nogpgcheck install <rpmfile>
- Edit /etc/yum.repos.d/bumblebee-nonfree.repo and /etc/yum.repos.d/bumblebee.repo and replace '$releasever' (or similar) with a fixed value of '23'
- I don't know why, but I had to import the gpg keys manually once again:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-bumblebee-nonfree-public
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-bumblebeepublic
- Last step: Just install the packages like mentioned in the official howto
sudo dnf install bumblebee-nvidia bbswitch-dkms primus kernel-devel

Now you can repoot and check within dom0 if optimus is running and your nvidia gpu is off, which may take some seconds
# cat /proc/acpi/bbswitch
0000:01:00.0 OFF

Finished. Hope that helps.

nezn...@xy9ce.tk

unread,
Jan 23, 2017, 8:28:13 AM1/23/17
to qubes-users, nezn...@xy9ce.tk

> The only way is to use Nouveau. Problem with that is, Nouveau doesn't support new-ish GPUs without upgrading to kernels past the current Qubes supported kernels. So, nvidia owners are SOL with Qubes atm.

What "SOL" is means? Btw thx for answer, m8

nezn...@xy9ce.tk

unread,
Jan 23, 2017, 8:39:21 AM1/23/17
to qubes-users, nezn...@xy9ce.tk, tpie...@gmail.com

> Finished. Hope that helps.

Thank you very much for such a detailed answer m8! I feel like i are the most stupid here)), but I think it's okay actually, because I have another occupation, and not so smart in the *nix-systems. That's why ur instruction is very well for me. I'll try

GOls...@brophybroncos.org

unread,
Jan 23, 2017, 1:04:37 PM1/23/17
to qubes-users, nezn...@xy9ce.tk
On Monday, January 23, 2017 at 6:28:13 AM UTC-7, nezn...@xy9ce.tk wrote:
> > The only way is to use Nouveau. Problem with that is, Nouveau doesn't support new-ish GPUs without upgrading to kernels past the current Qubes supported kernels. So, nvidia owners are SOL with Qubes atm.
>
> What "SOL" is means? Btw thx for answer, m8

SOL = Shit out of luck

It depends on which gpu you have - if it's supported in kernel 4.8.12-12 then you're good; that's the latest kernel version in the unstable repo. If not, you would need to compile it yourself which is a PITA and I'm not sure how exactly you'd do it.

Gray

nezn...@xy9ce.tk

unread,
Jan 24, 2017, 6:49:05 AM1/24/17
to qubes-users, nezn...@xy9ce.tk, tpie...@gmail.com
> - Install both rpm files in dom0
sudo dnf -y -nogpgcheck install <rpmfile>

sudo: dnf: command not found
i have no idea what to do

nezn...@xy9ce.tk

unread,
Jan 28, 2017, 12:29:32 PM1/28/17
to qubes-users, nezn...@xy9ce.tk, tpie...@gmail.com
all problems solved. qubes has been deleted.
Reply all
Reply to author
Forward
0 new messages