You are not logged in.

#1 2016-08-26 11:12:15

gl3nn
Member
Registered: 2016-08-26
Posts: 3

[SOLVED] Linux-vfio

Hello guys,
I'm trying to make a two headed machine with kvm and vga passthrough following this guide http://turlucode.com/qemu-kvm-on-arch-l … ide/#tab-1. According to the guide I have to install linux-vfio kernel because i have two gtx 970's.
The problem is that when i try to boot into the kernel I get a blackscreen and can't do anything about it. Any ideas?

Greetings,
Gl3nn

edit: found it. For everyone else who is having this problem you need to install nvidia-dkms and the linux-headers with Yaourt.

Last edited by gl3nn (2016-08-27 11:05:01)

Offline

#2 2016-08-26 12:03:17

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [SOLVED] Linux-vfio

You don't have to install linux-vfio because you have two 970's. The only reason you might need that kernel is if you have IOMMU grouping problems (which is why that step explicitly says 'if needed' and includes commands to check that).
I'm running two 970's as well and I've never needed any custom kernels or custom kernel patches to accomplish GPU passthrough.

Note, there is a whole article about this on the Arch wiki as well; https://wiki.archlinux.org/index.php/PC … h_via_OVMF

Last edited by Omar007 (2016-08-26 12:05:53)

Offline

#3 2016-08-26 12:53:47

gl3nn
Member
Registered: 2016-08-26
Posts: 3

Re: [SOLVED] Linux-vfio

Yes that's correct sorry for leaving that out. I indeed need the patch for the iommu grouping problem.

Offline

#4 2016-08-27 15:31:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] Linux-vfio

gl3nn wrote:

edit: found it. For everyone else who is having this problem you need to install nvidia-dkms and the linux-headers with Yaourt.

It's bad enough that guide doesn't mention there are plenty of alternatives for yaourt.
Please don't make it worse by advocating yaourt for things pacman is responsible for.
nvidia-dkms is in repos.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2016-08-27 19:15:04

gl3nn
Member
Registered: 2016-08-26
Posts: 3

Re: [SOLVED] Linux-vfio

Could you explain why yaourt is worse then pacman?

Offline

#6 2016-08-27 20:13:14

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED] Linux-vfio

gl3nn wrote:

Could you explain why yaourt is worse then pacman?

Oldie but goodie http://jasonwryan.com/blog/2013/04/09/helpers/

Offline

#7 2016-08-28 00:03:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [SOLVED] Linux-vfio

gl3nn wrote:

Could you explain why yaourt is worse then pacman?

Every time someone uses Yaourt, God kills a kitten.

But seriously, it is a tool.  But, like all tools -- Tesla Autopilots, firearms, chainsaws, surface planers, Linotype -- if you don't know what you are doing and don't understand the basics,  things are not going to end well.
There are also better tools for the job. https://wiki.archlinux.org/index.php/AUR_helpers . Hint: more green, the better.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB