casperse Posted February 14, 2019 Share Posted February 14, 2019 (edited) Hi All Facing some trouble having two display adapters one Nvidia GPU and the other Intel iGP especially when selecting one primary for "Nvidia Unraid" but that's a discussion in another thread I am like many others following the video on getting passthrough working on a windows 10 gamer VM and found that my MB had grouped the adapter with alot of others devices so I had to enable "PCIe ACS Override" I then got a Group 16 with the Nvidia card I then selected the card in the VM And fired up the VM and got this The card was not being initialized and updating the driver didn't help. The log file states: Any input to what to do next? do I need some BIOS file for the card? Thanks Edited February 14, 2019 by casperse Quote Link to comment
Ascii227 Posted February 14, 2019 Share Posted February 14, 2019 (edited) Have a look at the answer suggested in this thread regarding mmap errors on GPUI passthrough Edited February 14, 2019 by Ascii227 Quote Link to comment
bastl Posted February 14, 2019 Share Posted February 14, 2019 (edited) There are different things you can test to fix Code43 on NVidia cards. This error mostly occurs when the Nvidia driver notices it runs inside a VM. Change the VM machine type between i440fx and Q35 or setup a VM as OVMF or as Seabios, HyperV on vs off, passthrough a BIOS for the Card, change the PCIe slot the card is placed in. There are a couple threads here in the forum with this topic. There are no general fix that works for everyone. Edited February 14, 2019 by bastl Quote Link to comment
Jerky_san Posted February 14, 2019 Share Posted February 14, 2019 4 hours ago, casperse said: Hi All Facing some trouble having two display adapters one Nvidia GPU and the other Intel iGP especially when selecting one primary for "Nvidia Unraid" but that's a discussion in another thread I am like many others following the video on getting passthrough working on a windows 10 gamer VM and found that my MB had grouped the adapter with alot of others devices so I had to enable "PCIe ACS Override" I then got a Group 16 with the Nvidia card I then selected the card in the VM And fired up the VM and got this The card was not being initialized and updating the driver didn't help. The log file states: Any input to what to do next? do I need some BIOS file for the card? Thanks Sounds like your booting with a single gpu and your also booting with UEFI mode.. If both of these things are true. Then try this.. 1. Turn off autostart with the vm that has GPU passthrough 2. Restart unraid 3. Wait for unraid to fully boot and bring the array up. 4. Connect with putty and run the below commands. echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind 5. Try starting the machine again 6. Tell me what happened. Quote Link to comment
casperse Posted February 14, 2019 Author Share Posted February 14, 2019 Ok thanks for the links... Maybee a little beyond my skill level but I will try, and document my learning here I tried to use the user scripts and got this: Script location: /tmp/user.scripts/tmpScripts/Fix Gpu Passthrough/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/Fix Gpu Passthrough/script: line 4: /sys/bus/platform/drivers/efi-framebuffer/unbind: Permission denied Then I used putty and executed them manually, that went ok echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind That went ok, I then went back and tried to start up the VM Still getting the: I then tried to change the Change the VM machine type between i440fx and Q35 But that wasnt allowed - Do I have to create a new from scratch? Also trying to setup VM as Seabios, HyperV on vs off, is greyed out and cannot be changed Finally passthrough a BIOS for the Card, I tried looking for a bios file for my Quadro P2000 card at techpowerup.com but they didnt have one, and I could only see a way to dump it using CPU-Z if it was placed in a local windows machine which I dont have. Anyone having a vBios for the Quadro P2000 that they would like to share then give me a ping Thanks! Quote Link to comment
casperse Posted February 14, 2019 Author Share Posted February 14, 2019 3 hours ago, Jerky_san said: Sounds like your booting with a single gpu and your also booting with UEFI mode.. If both of these things are true. Then try this.. 1. Turn off autostart with the vm that has GPU passthrough 2. Restart unraid 3. Wait for unraid to fully boot and bring the array up. 4. Connect with putty and run the below commands. echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind 5. Try starting the machine again 6. Tell me what happened. Ok here are the logs still same error in windows Quote Link to comment
Jerky_san Posted February 14, 2019 Share Posted February 14, 2019 (edited) 8 minutes ago, casperse said: Ok here are the logs still same error in windows Ok pretty sure this one is it.. Also this might work.. https://www.techpowerup.com/vgabios/200435/200435 Edited February 14, 2019 by Jerky_san Quote Link to comment
casperse Posted February 14, 2019 Author Share Posted February 14, 2019 (edited) 1 hour ago, Jerky_san said: Ok pretty sure this one is it.. Also this might work.. https://www.techpowerup.com/vgabios/200435/200435 Thanks I already found that file and edited it in one of the other videoes to remove the vbios Nvidia header but at that time it didn't work? I think it's because I run the script it now seem to work just took a little time to process Here is the edited file to anyone else who need it: quadroP2000.rom Also here is the line added: And Voila (Thanks for all your help!) Last thing, how do I get the user script to run the script at boot up? Seem it doesn't have the root access to run the 3 lines any input on how to fix that? Edited February 14, 2019 by casperse Quote Link to comment
casperse Posted February 14, 2019 Author Share Posted February 14, 2019 Oh one last thing adding the second sound output: doesn't seem to work for some reason I get this Quote Link to comment
casperse Posted February 22, 2019 Author Share Posted February 22, 2019 Hi All Could someone help me get the sound working? I have them split into two, but would really like normal output, when working on the machine directly Quote Link to comment
casperse Posted February 22, 2019 Author Share Posted February 22, 2019 (edited) oh and as always your help is much appreciated, I am trying to give back to the community whenever I can Edited February 22, 2019 by casperse Quote Link to comment
casperse Posted April 17, 2019 Author Share Posted April 17, 2019 (edited) Hi @Jerky_san I just updated Unraid to Version: 6.7.0-rc7 and afterwards when I try to start this VM i get this error: internal error: unknown pci source type 'vendor' Anyone experienced the same? and maybee know of a quick solution? Thanks Logs: 2019-04-17 11:58:30.535+0000: 5584: info : libvirt version: 5.1.0 2019-04-17 11:58:30.535+0000: 5584: error : virUSBDeviceFindByVendor:218 : internal error: Did not find USB device 046d:c077 2019-04-17 11:58:30.781+0000: 5584: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 11:58:30.781+0000: 5584: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 11:59:28.634+0000: 5588: error : virUSBDeviceFindByVendor:218 : internal error: Did not find USB device 046d:c077 2019-04-17 11:59:28.877+0000: 5588: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 11:59:28.877+0000: 5588: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 11:59:54.230+0000: 5593: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:00:02.880+0000: 5592: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:00:08.092+0000: 5586: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:01:53.411+0000: 5585: error : virUSBDeviceFindByVendor:218 : internal error: Did not find USB device 046d:c077 2019-04-17 12:01:53.655+0000: 5585: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 12:01:53.655+0000: 5585: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 12:07:38.847+0000: 5588: error : virUSBDeviceFindByVendor:218 : internal error: Did not find USB device 046d:c077 2019-04-17 12:07:39.101+0000: 5588: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 12:07:39.101+0000: 5588: warning : virHostdevReAttachUSBDevices:1869 : Unable to find device 000.000 in list of active USB devices 2019-04-17 12:08:29.534+0000: 5591: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:09:44.069+0000: 5584: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:10:04.432+0000: 5584: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' 2019-04-17 12:11:18.173+0000: 5589: error : virDomainHostdevSubsysPCIDefParseXML:7471 : internal error: unknown pci source type 'vendor' Edited April 17, 2019 by casperse Quote Link to comment
casperse Posted April 17, 2019 Author Share Posted April 17, 2019 Update: Adding USB devices to the actual server made it work? (Don't seem to be able to delete these devices?) Quote Link to comment
Jerky_san Posted April 18, 2019 Share Posted April 18, 2019 On 4/17/2019 at 7:31 AM, casperse said: Update: Adding USB devices to the actual server made it work? (Don't seem to be able to delete these devices?) You have to manually edit the xml file Quote Link to comment
lemoncurry Posted May 2, 2019 Share Posted May 2, 2019 (edited) - moved - Edited May 2, 2019 by lemoncurry moved Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.