News for hackers. Stuff that matters.
Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by jbmorgado on Sunday February 12, 2017 @04:23PM (#13630941)
I wonder how well they will support some more advanced virtualisation. I.E. Booting a virtual machine with PCI GPU passtrough in Windows Guest with Linux host for gaming, or booting a virtual machine with PCI GPU passtrough in Linux Guest with Linux host for some deep learning with CUDA.
Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by mastax on Sunday February 12, 2017 @08:23PM (#13632403)
This should work already, hypothetically: https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardw...

But, given how flaky this can be with Intel configurations, I'd expect the AMD ones to be even flakier. Ryzen's possible popularity may improve the situation.

Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by jbmorgado on Sunday February 12, 2017 @08:47PM (#13632529)
Yes, that's my idea as well. In Intel it was already a bit of an hassle, I'm afraid that at least for quite a few months it will be an even bigger hassle on AMD.

Then again, I think this is just a very particular use case. I unfortunately have it, but for most people it shouldn't matter.

Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by skuzye on Monday February 13, 2017 @08:04AM (#13634910)
That's something I'm also interested in for my next desktop computer. I've been holding off until Zen comes out to see how they compare with Intel's but I really feel like having this exact setup.

Guess, we'll have to wait until they come out to see how they behave.

Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by pavanky on Sunday February 12, 2017 @06:50PM (#13631952)
Why would you want to do Linux Guest with Linux host for CUDA?
Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by jbmorgado on Sunday February 12, 2017 @08:44PM (#13632518)
Because it's (well, at least 6 months ago was, now it could have improved) the only solution to reuse the GPU without rebooting X.

With a practical example:

1 - You boot up your Linux base system.

2 - You fire up KVM with GPU PCI passthrough with a Windows guest to play some games.

3 - You shutdown windows.

Now you can't use the GPU anymore, the module was assigned by KVM and you can't - for instance - run a CUDA simulation in the Linux host. You need to reboot X (you don't need to reboot the system).

The workaround/solution is to fire up KVM with GPU PCI passthrough to another guest (This time a Linux guest) and in there you will have full access to the GPU to do CUDA computations (or whatever else you want).

Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by pYQAJ6Zm on Monday February 13, 2017 @06:59AM (#13634645)
>Now you can't use the GPU anymore, the module was assigned by KVM and you can't - for instance - run a CUDA simulation in the Linux host.

Maybe we had different setups, so this wouldn’t apply – I used to unbind the device with the following script, and then load the `nvidia` module; the device was then available on the host:

  for dev in "0000:01:00.0" "0000:01:00.1"; do
          if [ -e /sys/bus/pci/devices/${dev}/driver ]; then
                  echo "${dev}" > /sys/bus/pci/devices/${dev}/driver/unbind
          fi
  done
Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by pavanky on Monday February 13, 2017 @01:03AM (#13633432)
Ah I see, that makes more sense. If you had two NVIDIA GPUs while one of them was passed through to a guest then I think that problem may still exist.

However if you only have one nvidia gpu (and have a different kind of gpu for display), then I think simply running "sudo rmmod vfio" "sudo modprobe nvidia" would work.

Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by pYQAJ6Zm on Monday February 13, 2017 @06:49AM (#13634604)
One reason is to mix AMD and NVIDIA GPUs – I experimented with running X on the integrated Radeon device, while running CUDA on a Linux guest with GPU-passthrough. Trying to have CUDA on the host system led to library conflicts.
Re:AMD Ryzen Full Lineup Prices, Specs and Clock Speeds Leaked by qnaal on Sunday February 12, 2017 @09:08PM (#13632629)
wintermute