>>>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.
Then get one with amd or intel instead. ;^P
with intel i have right now, ty
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
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.
Sad, but first link have no GTX980m or GTX1070, and 2nd link i read b4 without successful :`(
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.
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.
What "SOL" is means? Btw thx for answer, m8
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
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
sudo: dnf: command not found
i have no idea what to do