Thanks you that you take the time answering all the question. I have almost no knowledge about low-level programming so most of the stuff you do here is completely out of my field of expertise and I suspect pinches of magic .
I read the thread again, but the first post is pretty much talking about Vega and that it needs a kernel patch, now you got me proper confused.
Additionally I wanted to ask about your time estimate for Navi. I understand that people getting impatient is annoying but I have until next Thursday to return my Navi and am slowly turning insane stopping all my work and rebooting my computer everytime I need Windows. If I see a light at the end of the tunnel I might keep it since I don’t want to spend my money on “no proper linux driver”-Nvidia.
How can i modify the patch for linux-5.2.14-200?
Can i search for something and adjust the line numbers?
Sorry if thats a noob question, i’ve never modified a patch yet.
How can i modify the patch for linux-5.2.14-200?
Can i search for something and adjust the line numbers?
Sorry if thats a noob question, i’ve never modified a patch yet.
The patch is really simple. You don’t need to apply the patch using the tool. Just copy/pasting from patch on “pci/quirks.c” works:
Thanks for the information.
Is it correct to just add
/*
* Radeon RX Vega and Navi devices break on bus reset. Oi...
* This is *not a real workaround* - disabling bus reset
* for your GPU may have unintended consequences.
*/
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, 0x687f, quirk_no_bus_reset);
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, 0xaaf8, quirk_no_bus_reset);
I don’t get it. Using the provided application I get
Failed to read /sys/bus/pci/devices/0000:24:00.0/vendor
and if I try to apply the patch I get
➜ sudo patch -p1 < fix-vega-reset.patch
can't find file to patch at input line 5
I’m running kernel 5.2.11-1 on Manjaro.
Is there some kind of documentation on how to do all this?
I know documentation takes a lot of time but as so much hard work went into this, it would be a shame if just a small group of people are able to take advantage of this.
I’m running into what I assume is the same unclean reset issue with my RX580.. Whilst this patch is for the 10/12 generation only, do you have access to and any plans to look at the RX580 generation of cards?
Either way, great work on getting the 5700 working. Making the lives of all passthrough users easier in the future I’m almost tempted to upgrade just to have a working reset, even though the RX580 is still meeting my gaming needs
Navi reset patch working on my ASRock 5700XT!
THANK YOU GNIF!
I’m using Arch as my host OS. I had to switch to Q35 to get passthrough working.
Followed the directions on the Arch wiki for building a kernel and applying the patch. (was gonna put the wiki article here, but I can’t post links, the article title is ‘Kernel/Arch Build System’)
One note, I do not seem to need a BIOS file. I was using it earlier today while troubleshooting, and forgot to put it back in at some point after removing the device from the VM. Working fine at the moment.