5 ms·
The R9 Fury is for me and anyone else who's main machine is a virtual one. nVidia has locked out its consumer graphics cards from being passed-through to a virt
by ComputerGuru 11y ago
The R9 Fury is for me and anyone else who's main machine is a virtual one. nVidia has locked out its consumer graphics cards from being passed-through to a virtual machine unless you buy their multi-thousand-dollar workstation graphics cards, while AMD lets you pass your graphics cards through to your VMs, no problem.
Edit: For clarification, if you want to use a virtual machine directly (i.e. not in a window or a virtual terminal on another machine running a virtual machine browser), keyboard and mousing directly into the VM and having the VM direct its output directly to a video card/monitor, you must "pass through" the video card so the VM "owns" it exclusively and the host machine does not. Regardless of whether you want gaming-level graphics or just basic VGA output, you need to give it an actual, real graphics card (there are exceptions with new cards by nVidia that understand VMs and let you "create" a graphics card out of a subsection of a more powerful card, but at prohibitive prices). AMD's entire graphics card lineup, from their $20 to their $700 GPUs will let you do this. nVidia's cards detect they're being passed-through to a VM and won't install the drivers, unless you perform a (risky) hardware hack or use their professional graphics cards that a) aren't designed nor optimized for consumer graphics card use, and b) cost at least an order of magnitude more than their regular graphics cards.
- Fr0styMatt8 11y agoI really wish AMD would promote this type of thing more heavily in general (having advanced features that Nvidia restricts to their high-cost cards). I seem to remember a similar thing with AMD being fantastic for Bitcoin mining and from memory it's because Nvidia gimped certain features that were on the cards, while AMD did not. (on that note, I'm constantly annoyed that despite it being Nvidia specific, everyone supports CUDA for everything cool). I understand companies have to do this to segregate their products and that it's impractical to have separate fab lines for a chip family for this kind of difference. It's still something I think AMD has a competitive advantage on though and they really need to push that alone (unless they just don't really want to - to sell their own high-end professional cards). A worse example of this is Nvidia cards not running in systems that have AMD graphics cards in them. Which means, for example, you can't buy a low/mid-range Nvidia card to sit in your system as a dedicated PhysX/CUDA card. I'd consider such a setup for my system and I imagine there's probably others like me out there.
- steckerbrett 11y agoAMD didn't expose the necessary features for good SHA256 performance on their GPUs either, for a while you had to hack their SDK to get them.
- noipv4 11y agoIIRC, it was the BFI_INT instruction.
- woadwarrior01 11y agoThe bitcoin mining edge that AMD cards had over Nvidia cards was came down to the AMD ISA having a single cycle hardware rotate instruction, which the NVIDIA cards lacked. Also the AMD philosophy of many dumb cores vs the Nvidia's philosophy of fewer smarter cores made a significant difference.
- optimiz3 11y agoNot true - AMD GCN also has bitselect, which does dst = (A & B) | (~A & C). This is equivalent to the SHA-256 Ch "Choose" function. It also can be used to compose the SHA-256 Maj "Majority" function with an additional XOR. Additionally, the AMD ISA doesn't have a "rotate" instruction per-se, BFI_INT is "bitfield insert", which can be used to compose arbitrary length rotates, but is not strictly a rotate in and of itself. AMD ISA also has instructions for computing integer add with carry, which is great for crushing elliptic curves. NVidia really, really, sucks for integer compute. Friends don't let friends buy NVidia!
- noipv4 11y agoCryptocurrency mining demand for Radeon GPUs between 2010 - 2012 had improved AMD's revenue stream quite a bit back then. http://www.fool.com/investing/general/2015/02/14/why-the-party-is-over-for-amd.aspx http://www.fool.com/investing/general/2015/02/14/why-the-par... AMD GPU mining rigs and some other hardware pics. http://www.buttcoinfoundation.org/mining-rig-megapost#more-3423 http://www.buttcoinfoundation.org/mining-rig-megapost#more-3...
- 11y ago
- baghira 11y agoSomeone at Nvidia realized they were doing something non-evil by working on nouveau for tegra, and felt the need to restore balance. I had completely missed this new form of insanity, which generation of cards did it start?
- walterbell 11y agoIt has been the case almost as long as PCI passthrough was possible. At one point, higher-end Nvidia GPUs could be passed through. Note that Nvidia has invested into graphics hardware specifically for graphics virtualization, which may explain the artificial feature segmentation, http://www.nvidia.com/object/virtual-gpus.html http://www.nvidia.com/object/virtual-gpus.html
- tyfon 11y agoIsn't this restriction only related to using the card both in a multiple VMs and/or the host OS at the same time? I'm pretty sure you can (if you have a vt-d capable cpu) use the intel IGP for Linux and a nvidia card dedicated for the vm using kvm and vfio-vga drivers. Unfortunately I can not test this myself as I have a 4770k cpu in my gaming computer and it does not support vt-d.
- ComputerGuru 11y agoNo, unfortunately I have a useless brick of a GTX 680 Lightning laying on my desk as we speak and an R9 Fury in the mail because that's not the case. I have a separate, basic PCI-E graphics card in the machine as the host GPU, but nothing you do will get an nVidia to pass through. I haven't tried KVM, but I have tried Xen and ESXi, and my reading tells me the same is true for KVM. I'm using an older AMD/ATi HD 7790 in the meantime, it passes through just fine. (Hint/Note: don't pass through the on-board HDMI, that'll give you BSODs and kernel panics to no end.)
- DCKing 11y agoThe article mentions that KVM/Qemu has an option you pass in to work around the GPU detection. Might be worth checking out before you spend that money.
- Svenstaro 11y agoWhat you are saying does to appear to be true. See here [0] and [1]. [0] https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVM... [1] http://vfio.blogspot.de/ http://vfio.blogspot.de/ Apparently it's working very well: https://bbs.archlinux.org/viewtopic.php?id=162768 https://bbs.archlinux.org/viewtopic.php?id=162768
- Scramblejams 11y agoAs I understand it, Nvidia cards are working right now because recent versions of Qemu removed certain hints that Nvidia drivers were using to detect that they were being run in a VM. I would expect this situation to last only until Nvidia catches on and updates their drivers.
- jzelinskie 11y agoThis is true. You can see a list of successful build configurations here[0] and there are plenty of nVidia machines. [0]: https://docs.google.com/spreadsheets/d/1LnGpTrXalwGVNy0PWJDURhyxa3sgqkGXmvNCIvIMenk/edit#gid=2 https://docs.google.com/spreadsheets/d/1LnGpTrXalwGVNy0PWJDU...
- Scramblejams 11y agoThe length of time this situation has persisted has started to make me wonder. I wonder if for Nvidia it's really about making sure the consumer cards don't work on VMware and the other commercial hypervisors. I'd figure they're protecting their enterprise sales, and my guess is KVM and Xen don't have much enterprise market share, Amazon possibly notwithstanding. So if these cards run on KVM, maybe they don't care. Still, I personally would be reluctant to drop big money on a consumer Nvidia card thinking that I'd always have the ability to use it under KVM with the latest driver. Nvidia could choose to close this particular hole at any time.
- xienze 11y agoIt's definitely true for ESXi.
- XorNot 11y agoThis all reminds me that I need to upgrade my motherboard to one which actually supports VT-d. I would really love to boot Windows virtualized on top of my ZFS array, rather then have to cold-boot between OS's.
- jon-wood 11y agoI may be being dense, but why would you want to do this? Are you saying you can get equivalent performance running games under a Windows VM as booting directly? What are the tradeoffs involved?
- Scramblejams 11y agoRight, that's the promise. The reason I want to do this is that it's great to throw your money into a single high-spec machine, with fast processors, lots of them, lots of RAM, quiet fans, SSDs, etc., and all your VMs are able to share in the benefits. Plus you have far less hardware to manage. Also, I find it vastly easier to work with Windows when the backing store is abstracted away into something like LVM where I can easily snapshot and rollback and change it out, store it on a RAID array maybe, and all Windows thinks is it's dealing with a bog standard C drive. Plus, there's a it's-just-cool factor. Cool to have one awesome machine and three monitors, three keyboards and three mice coming out of it, running different desktop operating systems simultaneously, etc. It's like the mainframe got reinterpreted for modern home use. The trade off is that often much fiddling is required to make it work. Lots of motherboards have hidden gotchas. Consumer Nvidia cards can be somewhere between a hassle to impossible to get working (with KVM currently an exception to this, though I'm guessing that will turn out to be short-lived). Going with AMD means using their drivers, and on Linux I've always had problems with them. (Though if you don't need high-end 3D on your Linux VM, you could grab a cheap Quadro off eBay and that'll work without difficulty.) And if you have a big hardware problem like a motherboard failure, all your systems are down, though that's true for any kind of VM setup.
- slantyyz 11y agoYou can get surprisingly good performance, but sometimes it might be the only way to get a game working on a particular machine. My Lenovo Y50 has an nVidia GPU with Optimus switching. I have a few games that don't seem to run (Street Fighter X Tekken and Blazblue Continuum Shift), but I can get them to run at 60FPS@1080p on a VM.
- aguki 11y ago> AMD lets you pass your graphics cards through to your VMs, no problem. This is still based on a 1-1 basis i.e. one GPU passthrough-ed for one VM. Intel's GVT-g, notably XenGT, is IMO more interesting: allowing for one iGPU to be shared with up to 4 VMs (DomU + 3 DomU). This is especially interesting considering Intel's recent inroads into the GPU market with Iris Pro graphics, even bundling them with certain Xeon CPUs.
- dogma1138 11y agoThe XEON CPU's which come with IGP's are the low end CPU's (E3 only) which are re-branded low to mid range desktop processors that were cherry picked to go through XEON's QC process. Intel doesn't ship high end desktop or server CPU's with IGP's atm, the decision for the XEON's was to provide video transcoding performance, even highest performance Iris chip is still no match for even a mid range GPU from 5 years ago.