View previous topic :: View next topic |
Author |
Message |
rabcor Apprentice
Joined: 05 Apr 2012 Posts: 200
|
Posted: Tue Jun 03, 2014 11:47 pm Post subject: Gentoo compatible VGA Passthrough patches |
|
|
Following this thread for passthroughing graphics cards to a kernel virtual machine with qemu, I noticed some patches weren't working on Gentoo (I assume this is because gentoo has modified sources)
I made gentoo compatible versions of the patches I noticed didn't work, namely the debug registers patch and the ACS override patch. the rest of the patches can be found conveniently listed here and they all seemed to work by putting them into /etc/portage/patches/... without any modifications.
Here is the ACS_Override patch (mostly needed for intel processors) and here is the debug registers patch for any who need them
Just to save you the manual labor of loads of copying and pasting code and (re)creating these patches on your own. _________________ This picture was my biggest reason for ever trying Gentoo <3
Last edited by rabcor on Wed Jun 11, 2014 5:57 pm; edited 1 time in total |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Wed Jun 04, 2014 3:15 pm Post subject: |
|
|
This stuff?
https://bbs.archlinux.org/viewtopic.php?id=162768
I've been meaning to give it a go on my Optimus laptop, but it appears the op is outdated. And I don't feel like going through 70 pages to learn what I need :/ |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Wed Jun 04, 2014 4:28 pm Post subject: |
|
|
I've been passing through (radeon) for a while with no patches, using vfio-pci.
I think success depends on which version of qemu and the kernel is being used.
I've had limited success on passing through nvidia cards, but they seem to be a PITA in general for this use. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
rabcor Apprentice
Joined: 05 Apr 2012 Posts: 200
|
Posted: Wed Jun 11, 2014 5:46 pm Post subject: |
|
|
May I interest you with a shorter version?
Although I don't know about the optimus cards, haven't heard of anyone using two intergrated cards :/ all depends on what your lspci output is if it's possible (from my point of view anyways ) _________________ This picture was my biggest reason for ever trying Gentoo <3 |
|
Back to top |
|
|
|