Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo compatible VGA Passthrough patches
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Tue Jun 03, 2014 11:47 pm    Post subject: Gentoo compatible VGA Passthrough patches Reply with quote

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 8)

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
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 366

PostPosted: Wed Jun 04, 2014 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2247
Location: Dallas area

PostPosted: Wed Jun 04, 2014 4:28 pm    Post subject: Reply with quote

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.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
rabcor
Apprentice
Apprentice


Joined: 05 Apr 2012
Posts: 200

PostPosted: Wed Jun 11, 2014 5:46 pm    Post subject: Reply with quote

haarp wrote:
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 :/


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 :D )
_________________
This picture was my biggest reason for ever trying Gentoo <3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum