diff --git a/CREDITS.md b/CREDITS.md index e63ec96..2ea4efa 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -128,4 +128,6 @@ - https://github.com/thiagokokada - Makefile to improve usability +- https://github.com/jturnism - doc fixes + Note: Individual files have more specific 'credits' in them. diff --git a/OpenCore/OpenCore.qcow2 b/OpenCore/OpenCore.qcow2 index fdce401..4c1c8c4 100644 Binary files a/OpenCore/OpenCore.qcow2 and b/OpenCore/OpenCore.qcow2 differ diff --git a/OpenCore/opencore-image-ng.sh b/OpenCore/opencore-image-ng.sh index 29c2bc8..fe5d924 100755 --- a/OpenCore/opencore-image-ng.sh +++ b/OpenCore/opencore-image-ng.sh @@ -153,9 +153,6 @@ fish copy-in $WORK/EFI/OC/ACPI /ESP/EFI/OC/ fish copy-in $BASE/../resources/OcBinaryData/Resources /ESP/EFI/OC/ fish copy-in $WORK/EFI/OC/Tools /ESP/EFI/OC/ -# Note -fish copy-in startup.nsh / - BASE="$(dirname $0)" fish copy-in "$WORK/config.plist" /ESP/EFI/OC/ diff --git a/OpenCore/startup.nsh b/OpenCore/startup.nsh deleted file mode 100755 index 521c59d..0000000 --- a/OpenCore/startup.nsh +++ /dev/null @@ -1 +0,0 @@ -fs0:\EFI\BOOT\BOOTx64.efi diff --git a/README.md b/README.md index a29bd33..7df55f4 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ Phenom II X3 720 does not. Ryzen processors work just fine. To make this change permanent, you may use the following command. ``` - sudo cp kvm.conf /etc/modprobe.d/kvm.conf # for intel boxes only + sudo cp kvm.conf /etc/modprobe.d/kvm.conf # for intel boxes only, after cloning the repo below ``` * Install QEMU and other packages. @@ -142,7 +142,7 @@ Phenom II X3 720 does not. Ryzen processors work just fine. ``` * Create a virtual HDD image where macOS will be installed. If you change the - name of the disk image from `mac_hdd.img` to something else, the boot scripts + name of the disk image from `mac_hdd_ng.img` to something else, the boot scripts will need to be updated to point to the new image name. ``` 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