diff --git a/References.md b/References.md index 34b1c23..79e06fa 100644 --- a/References.md +++ b/References.md @@ -13,3 +13,7 @@ * https://github.com/ofawx/VmAssetCacheEnable * https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/post-issues.html + +- https://wiki.archlinux.org/title/QEMU#UNIX_socket + +- https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#USB_controller diff --git a/boot-passthrough.sh b/boot-passthrough.sh index 800e30d..2fc50f2 100755 --- a/boot-passthrough.sh +++ b/boot-passthrough.sh @@ -46,6 +46,7 @@ args=( # 01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0] # Subsystem: Sapphire Technology Limited Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1da2:aaf0] -device vfio-pci,host=01:00.0,multifunction=on + # -device vfio-pci,host=01:00.0,multifunction=on,romfile=gpu_original_bios.bin -device vfio-pci,host=01:00.1 # ASMedia ASM1142 USB 3.1 Host Controller (comment out as needed) # 03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] diff --git a/notes.md b/notes.md index 33cc95b..6b8e7ed 100644 --- a/notes.md +++ b/notes.md @@ -170,6 +170,17 @@ AMD RX 570 GPU (May 2021). * To reuse the keyboard and mouse devices from the host, setup "Automatic login" in System Preferences in macOS and configure Synergy software. +Note: On `Pop!_OS`, use the `kernelstub` command to change the kernel boot +arguments. + +Note 2: Use [AMD VBFlash](https://www.techpowerup.com/download/ati-atiflash/) +to dump the AMD GPU bios, and pass on to QEMU. This is especially required if +your AMD GPU is not starting up properly (resulting in "no signal" on the +monitor). + +Tested GPUs: ZOTAC GeForce GT 710 DDR3 (<= Big Sur), Sapphire Radeon RX 570. + + UPDATE: Project sponsors get access to the `Private OSX-KVM repository`, and direct support. This private repository has a playbook to automate 95% of this work in a rugged, consistent manner. @@ -239,9 +250,12 @@ These steps will need to be adapted for your particular setup. ### Virtual Sound Device -*Warning: The OpenCore distribution that comes with OSX-KVM already has -`VoodooHDA OC`. Do NOT mix VoodooHDA with AppleALC. You may want to consider -HDA passthrough if it is practical or use HDMI audio instead* +https://github.com/chris1111/VoodooHDA-OC + +This kext can be used on macOS 10.12 to macOS Big Sur 11.2 to get emulated +sound card working. Do NOT mix VoodooHDA with AppleALC. You may want to +consider HDA passthrough or USB sound card passthrough or use HDMI audio +instead. Note: The emulated sound output can be choppy, and distorted. Use Sound Card / USB Sound Card passthrough instead. @@ -249,6 +263,10 @@ USB Sound Card passthrough instead. Note: It seems that playback of Flash videos requires an audio device to be present. +![USB Sound Card](./screenshots/QHM623_USB_Sound_Card_1.jpg) + +This cheap(est) USB sound card works pretty well on macOS. + ### Building QEMU from source diff --git a/screenshots/QHM623_USB_Sound_Card_1.jpg b/screenshots/QHM623_USB_Sound_Card_1.jpg new file mode 100644 index 0000000..8170d42 Binary files /dev/null and b/screenshots/QHM623_USB_Sound_Card_1.jpg differ