AXMAN43 Posted July 23, 2020 Share Posted July 23, 2020 Hello all, I am attempting to pass-through my Dell HD 7770 2GB graphics card into macOS Catalina. I used Spaceinvade One's video to get started. Everything works perfectly up until booting into macOS after installing, the GPU works well during install. I end up with these garbled/corrupt graphics: I have googled and searched the forum endlessly looking for a solution, no luck so far. I would appreciate any assistance resolving this issue, if possible! What I have tried so far: With and without VBIOS (dumped using GPU-Z) Naturally without shows nothing Confirmed working GPU with Windows 10 VM Confirmed GPU is UEFI enabled with GPU-Z Custom clover bootflag radpg=15 and injectATI radpg=15 results in same error injectATI causes no signal on monitor after boot to OS Verified resolution is 1080p in OVMF and Clover Same issue with Catalina, High Sierra, and Mojave Quote Link to comment
geoah Posted July 24, 2020 Share Posted July 24, 2020 Hey there, I'm currently trying to do pretty much the same thing with a Radeon 7870 and macinabox starting from the same video and I had a couple of questions based on your post. You mentioned that the GPU works well during install which was something that struck me as odd as so far I've been installing the os using the VNC gpu. 1. How did you modify the XML to add the cards? I can't do what the video says, ie modify the settings and re-add the `qemu:commandline` part and fix the `br0`, the vm won't boot even if I just change the memory. I currently simply touch the xml and try to add the card like this. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </source> <rom file='/mnt/disk1/isos/gpu-roms/Sapphire.HD7870.2048.decimal.rom'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <memballoon model='none'/> I'd be really interested to see your XML if you don't mind sharing (without the serial ofc). 2. You mentioned that you checked that the GPU is UEFI enabled, do you know if that is a requirement? --- If I manage to get any further will this will try to post any hints. Quote Link to comment
AXMAN43 Posted July 24, 2020 Author Share Posted July 24, 2020 (edited) 31 minutes ago, geoah said: 1. How did you modify the XML to add the cards? Using a fresh image created by Macinabox (maybe trying deleting your domain folder for a fresh start), I copy the XML from the VM to notepad. Make all the changes I want (add USB devices, GPU, more cores, ram), then copy back the <OS> portion back <os> <type arch='x86_64' machine='pc-q35-3.1'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_CODE.fd</loader> <nvram>/mnt/user/domains/MacinaboxCatalina/ovmf/OVMF_VARS.fd</nvram> </os> , fix the Ethernet (replace virtio with vmxnet3) <interface type='bridge'> <mac address='52:54:00:ca:52:6a'/> <source bridge='br0'/> <model type='vmxnet3'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> , and copy the qemu:commandline to the end. <qemu:commandline> <qemu:arg value='-usb'/> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd,bus=usb-bus.0'/> <qemu:arg value='-device'/> <qemu:arg value='************************'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/> </qemu:commandline> </domain> After that it boots identical to VNC, that is during install and clover menu. Hopefully this helps! 31 minutes ago, geoah said: 2. You mentioned that you checked that the GPU is UEFI enabled, do you know if that is a requirement? I have been looking at a lot of actual hackintosh builds with the card, as well as the Dell XPS 8500 (where my card came from) and someone mentioned their card did not work since it did not have UEFI. I thought it was worth double checking. 31 minutes ago, geoah said: If I manage to get any further will this will try to post any hints. For sure, this has been a real pain! Edited July 24, 2020 by AXMAN43 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.