On Sunday, December 18, 2016 at 11:33:23 PM UTC+1, Mathew Evans wrote:
> Just to update.
> 
> I am currently running Nvidia drivers without a issue.
> 
> dom0 Kernel: 4.4.31-11
> Nvidia: 375.20
> Kernel-module: compiled in dom0; 
> 
> Quick Guide:
> 1. dom0:   qubes-dom0-update install gcc devel-kernel ksmod linux-headers
> 2. appvm:  download NVIDIA-Linux-375.20-install.run (any appvm)
> 3. dom0:   qvm-run --pass-io <APPVM> 'cat /PATH/TO/NVIDIA.run' > NVIDIA.run
> 4. dom0:   ./NVIDIA.run --ui=none --no-x-check --keep --extract-only 
> 5: dom0:   cp NVIDIA-*/kernel/;  IGNORE_XEN_PRESENCE=y CC="gcc 
> -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make module;
> 6: dom0:   cp nvidia.ko /lib/modules/4.4.31-11.pvops.qubes.x86_64/extra/.
> 7: dom0:   depmod -a; modinfo nvidia (all working will show up fine)
> 8: dom0:   EDIT GRUB or EFI; add rd.driver.blacklist=nouveau
> 9: dom0;   reboot and enjoy nvidia support.
> 
> additional: you can install nvidia extra apps etc.. if you so wish just run 
> ./nvidia.run --no-kernel-module -a
> 
> 
> Hopefully this will help those of you wanting Nvidia driver instead of 
> Nouveau.
> Please note this is a ruff write up and guide not a perfect solution, and 
> assumptions are made that you are always fimilar enough with *nix operating 
> systems to figure out that parts i've missed out or aint put in detail.

Thanks. Corrected a few typos / improved readability:

1. dom0:   qubes-dom0-update gcc kernel-devel kmod kernel-headers; 
(qubes-dom0-update --enablerepo=qubes-dom0-unstable if using newer kernel)
2. appvm:  download NVIDIA-Linux-375.20-install.run (any appvm)
3. dom0:   qvm-run --pass-io <APPVM> 'cat /PATH/TO/NVIDIA.run' > NVIDIA.run; 
chmod +x NVIDIA.run;
4. dom0:   ./NVIDIA.run --ui=none --no-x-check --keep --extract-only
5: dom0:   cd NVIDIA-*/kernel/; make module IGNORE_XEN_PRESENCE=y CC="gcc 
-DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM";
6: dom0:   sudo cp nvidia.ko /lib/modules/4.4.31-11.pvops.qubes.x86_64/extra/.
7: dom0:   sudo depmod -a; modinfo nvidia (all working will show up fine)
8: dom0:   EDIT GRUB or EFI; add rd.driver.blacklist=nouveau (to kernel options)
9: dom0;   reboot and enjoy nvidia support. (First boot will likely take a 
while.)

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c778e347-b32c-40ee-be34-358fd6b89786%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to