| Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 12/12/16 10:45 | Hi! Does this procedure still work: https://www.qubes-os.org/doc/install-nvidia-driver/ ? I have a box I want qubes on, but it has GTX 1070. I can temporarily swap the card out for a less obnoxious one (like, some Northern Islands Radeon, which I have lying around somewhere), but I'd prefer to put the 1070 back in eventually. Since nouveau support for this GPU is in its infancy (and frankly nouveau is not very good) I'd like to install Nvidia's proprietary drivers. Has anyone succeeded in using the "official" procedure from link above (the RpmFusion packages version of procedure specifically) on Qubes 3.2 ? Are there any things beyond what is in that link that I should keep in mind? |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | Tom Lowenthal | 13/12/16 12:02 | I believe that Nvidia binary drivers do not work under Xen. I spent a while trying unsuccessfully before reading some documentation to that effect which I considered reliable at the time, but can't immediately recall. If you find credible evidence that there's some workaround, I'd love to see it (and get my own Nvidia card working under Xen in Qubes!). Unfortunately, I currently believe that it is impossible. |
| Re: [qubes-users] Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | johny...@sigaint.org | 14/12/16 08:48 | Sorry I can't give you direct advice, as I haven't tried it on Qubes yet
(don't want to upset my working configuration, nor increase attack surface using proprietary drivers), but... I have installed the nvidia drivers (304 version) on Xen/Debian and it worked fine. Same version of Xen, so it should be possible to get the nvidia drivers working, and I have heard of others having success on Qubes. In installing the "alternative" drivers, if you install the wrong one (some older cards need the 304 version, not the newer 340 version, I think), and try to recover, the configuration can get messy. I still don't fully understand why mesa (free version of glx) adds another layer of alternative redirection on top of things, nor necessarily how it all is supposed to work. (There's the alternatives system, then mesa also redirects things somehow, so it's hard to know what drivers are active at times.) Oh yeah, when I did successfully install the nvidia drivers, once a day or so, when running an accelerated program, things would freeze and crash. Even though the default nouveau drivers are slower, they do seem to be a more reliable. On a side note, one of Qubes strengths is the fast vchan-based gui/guid system. Using shared memory, it updates the screen a lot faster than, say, VNC (the typical way of using Xen), allowing playing videos and such, even under nouveau. Cheers, -jj |
| Re: [qubes-users] Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | Foppe de Haan | 14/12/16 11:52 | On Wednesday, December 14, 2016 at 5:48:37 PM UTC+1, johny...@sigaint.org wrote: Well, playing videos at ~1080p max, on a ~1080p screen. 1080p on a 2160p screen is quite laggy already, never even mind 2160p@2160p. :) |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | Mathew Evans | 18/12/16 14:33 | Just to update. I am currently running Nvidia drivers without a issue. dom0 Kernel: 4.4.31-11 Quick Guide: additional: you can install nvidia extra apps etc.. if you so wish just run ./nvidia.run --no-kernel-module -a
|
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | Foppe de Haan | 19/12/16 04:12 | 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) 3. dom0: qvm-run --pass-io <APPVM> 'cat /PATH/TO/NVIDIA.run' > NVIDIA.run; chmod +x NVIDIA.run; 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.) |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 06/01/17 03:48 | Thanks a lot! I will try this out as soon as I gather some much needed bravery. So far I have bought a new mobo (asus Hero VIII) and was getting some very ... curious behavior on it (making a writeup right now) that I was able to reproduce on a different box with same model of motherboard and CPU. Frankly, I am very looking forward to using proprietary drivers and the GPU (IGFx on Skylake Core i7 is ... weird.) Once again, thank you very much! |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 07/01/17 06:46 | On Monday, December 19, 2016 at 3:12:55 PM UTC+3, Foppe de Haan wrote: Attempt to extract the driver results in "extraction failed TERMINATED" No further info. Where do I go from here ? |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 07/01/17 07:17 | Found out the reason - had too little free space out there in dom0 land (dumb nvidia installer could have at least said something about not having enough space in /tmp/). Built the module in a special folder I made in /var/... Installing now... wish me luck |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 07/01/17 08:03 | On Monday, December 19, 2016 at 3:12:55 PM UTC+3, Foppe de Haan wrote: Poor thing just stopped after I entered my LUKS password (I pressed escape to see if there are any errors there - nope), switched to a black screen and that's ... all. Should I like, wait more? It's been at least 10 minutes... |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | testo...@gmail.com | 07/01/17 09:53 | looks like your lightdm died, Daltong. Had exactly same thing. That's about as far as I got myself a month ago Maybe some Xorg driver is needed or some other magic. P.S. |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 07/01/17 15:44 | Okay, this is indeed lightdm dying (also, xorg doesn't start, so I guess the reason for lightdm's death is that xorg is not starting) I tried to install nvidia's xorg stuff by running: ./nvidia.run --no-kernel-module -a the results ended up very dubious (xorg died again and rebooting with Intel graphics did not "resurrect" it) Managed to restore "intel compatible" xorg.conf with some trial and error (note to self: Backups!) and am writing this from qubes running with IGfx. Foppe de Haan, Mathew Evans, could you please share your xorg.confs for Nvidia driver ? |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 07/01/17 16:36 | Did you run into a fatal xorg crash when trying to get xorg use nvidia driver? I get a "Failed to allocate sofware rendering cache surface: out of memory" error which, according to Google, is pretty damn bad Full log of my Xorg's sad demise when using Nvidia driver P.S.: |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | Foppe de Haan | 08/01/17 00:07 | I got (to) the same (point). Have not managed to get it to work so far. Same error, too, though I got multiple (depending on how I tried to initialize X). gtx 950. |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | daltong defourne | 08/01/17 09:42 | I hope Mathew Evans has the secret (he said he is running the driver "without an issue" ... (intense finger crossing) |
| Re: Nvidia drivers in dom0 still works? (need to get a GTX 1070 off the ground) | mj.enge...@gmail.com | 04/08/17 04:30 | Having the same issue. It's very clear that NVIDIA is not supporting Xen according to this chat https://devtalk.nvidia.com/default/topic/691565/linux/geforce-driver-problem-on-centos-6-4-with-xen-installed/2/?offset=26#5197554 |