aalyaqoub

Members
  • Posts

    7
  • Joined

  • Last visited

aalyaqoub's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi - I was wondering how yall test out your opencore config changes so that you don't run into boot issues if you mess up?
  2. Hi - I am trying to passthrough an amd wx4100 graphics card to my Mac VM, but it always gets stuck on a black screen with one thread max to 100%. The VM works fine with VNC, but when I passthrough a graphics card I get a black screen. I have tried it creating a new Mac VM with my vbios ROM, but it still wouldn't work. I tried the graphics card with a Windows VM and it works fine. I am not really sure whats going wrong as everything worked fine a couple of weeks ago. Have any of you had similar issues when trying to passthrough gpus? Am I not passing through the gpu correctly? Is it because of the gpu's bus? I would really appreciate it if you have any suggestions on how to proceed. Thanks EDIT: I got it to work by changing the GPU and audio bus to bus='0x00'. I read somewhere that macOS doesn't like it when you use other buses. XML: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Macinabox Mojave</name> <uuid></uuid> <description>MacOS Mojave</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="Mojave.png" os="osx"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>8</vcpu> <cputune> <vcpupin vcpu='0' cpuset='2'/> <vcpupin vcpu='1' cpuset='12'/> <vcpupin vcpu='2' cpuset='4'/> <vcpupin vcpu='3' cpuset='14'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='16'/> <vcpupin vcpu='6' cpuset='8'/> <vcpupin vcpu='7' cpuset='18'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-4.2'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/50ad9e1d-6b5f-4620-a4a6-1474f68e60bf_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='4' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/disk2/domains/Macinabox Mojave/macos_disk.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='pci' index='0' model='pcie-root'/> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='6' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <interface type='bridge'> <mac address='52:54:00:8f:a9:e9'/> <source bridge='br0'/> <model type='e1000-82545em'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/vbios/wx4100.rom'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x248a'/> <product id='0x8367'/> </source> <address type='usb' bus='0' port='2'/> </hostdev> <memballoon model='none'/> </devices> <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> Logs: -rtc base=utc,driftfix=slew \ -global kvm-pit.lost_tick_policy=delay \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x1 \ -device pcie-root-port,port=0x9,chassis=2,id=pci.2,bus=pcie.0,addr=0x1.0x1 \ -device pcie-root-port,port=0xb,chassis=3,id=pci.3,bus=pcie.0,addr=0x1.0x3 \ -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \ -device pcie-root-port,port=0xa,chassis=5,id=pci.5,bus=pcie.0,addr=0x1.0x2 \ -device pcie-pci-bridge,id=pci.6,bus=pci.1,addr=0x0 \ -device ich9-usb-ehci1,id=usb,bus=pcie.0,addr=0x7.0x7 \ -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pcie.0,multifunction=on,addr=0x7 \ -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pcie.0,addr=0x7.0x1 \ -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pcie.0,addr=0x7.0x2 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.2,addr=0x0 \ -blockdev '{"driver":"file","filename":"/mnt/disk2/domains/Macinabox Mojave/macos_disk.img","node-name":"libvirt-1-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-1-storage"}' \ -device ide-hd,bus=ide.2,drive=libvirt-1-format,id=sata0-0-2,bootindex=1,write-cache=on \ -netdev tap,fd=33,id=hostnet0 \ -device e1000-82545em,netdev=hostnet0,id=net0,mac=52:54:00:8f:a9:e9,bus=pci.3,addr=0x0 \ -chardev pty,id=charserial0 \ -device isa-serial,chardev=charserial0,id=serial0 \ -chardev socket,id=charchannel0,fd=34,server,nowait \ -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 \ -device usb-tablet,id=input0,bus=usb.0,port=1 \ -device vfio-pci,host=0000:05:00.0,id=hostdev0,bus=pci.4,addr=0x0,romfile=/mnt/user/isos/vbios/wx4100.rom \ -device vfio-pci,host=0000:05:00.1,id=hostdev1,bus=pci.5,addr=0x0 \ -device usb-host,hostbus=1,hostaddr=3,id=hostdev2,bus=usb.0,port=2 \ -usb \ -device usb-kbd,bus=usb-bus.0 \ -device '************************' \ -smbios type=2 \ -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on 2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: high-privileges 2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: custom-argv 2021-07-27 20:32:02.303+0000: Domain id=3 is tainted: host-cpu char device redirected to /dev/pts/1 (label charserial0)
  3. I check and thunderbolt was enabled, but I changed gpio3 force pwr from disabled to enabled and now it shows up in unraid. [8086:15ec] 24:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 4C 2018] (rev 06) The problem now is that unraid doesn't recognize the caldigit ts3 plus when its connected. Additionally I tried passing through the thunderbolt controller and installing thunderbolt drivers on my Windows VM, but it also doesn't recognize the hub (I ddon't know if I installed the drivers correctly as when I go to device manager —> system devices I do not see any thunderbolt drivers). It is a functional hub as I can use it with my Mac. I am stuck on how to proceed from here. Any advice would be appreciated Thanks
  4. Hi I have a Gigabyte Z490 VISION D and it has a Thunderbolt 3 port, but I am having trouble passing it through. I am not sure if any thunderbolt connection is detected by unraid as its not in system devices. I tried connecting things and using lsusb to see if anything is detected and didn't see anything. Used lspci to see pci connections and I don't think any thunderbolt connection is there. I am fairly new to this so I would appreciate it if you could tell me if I missed something, what further testing I can do, and what you think the problem is. Edit: I tried connecting a USB C dongle with devices connected and the devices show up in unraid, but I still don't really know why thunderbolt connections don't work. My System Devices IOMMU group 0:[8086:9b33] 00:00.0 Host bridge: Intel Corporation Device 9b33 (rev 05) IOMMU group 1:[8086:1901] 00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05) IOMMU group 2:[8086:1905] 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) (rev 05) IOMMU group 3:[8086:9bc5] 00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 05) IOMMU group 4:[8086:06f9] 00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller IOMMU group 5:[8086:06ed] 00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. 4-Port USB 2.1 Hub Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub Bus 001 Device 004: ID 0781:5571 SanDisk Corp. Cruzer Fit Bus 001 Device 005: ID 048d:5702 Integrated Technology Express, Inc. ITE Device Bus 001 Device 006: ID 8087:0026 Intel Corp. Bus 001 Device 007: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub Bus 001 Device 008: ID 14cd:1212 Super Top microSD card reader (SY-T18) Bus 001 Device 009: ID 1d5c:7102 Fresco Logic, Inc Generic Billboard Device Bus 001 Device 010: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. 4-Port USB 3.1 Hub Bus 002 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub [8086:06ef] 00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM IOMMU group 6:[8086:06f0] 00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi IOMMU group 7:[8086:06e0] 00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller IOMMU group 8:[8086:06d2] 00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller [3:0:0:0] disk ATA ST2000DM008-2FR1 0001 /dev/sdd 2.00TB [4:0:0:0] disk ATA ST14000NM001G-2K SN02 /dev/sde 14.0TB IOMMU group 9:[8086:06c0] 00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0) IOMMU group 10:[8086:06ac] 00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0) IOMMU group 11:[8086:06b8] 00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0) IOMMU group 12:[8086:06b9] 00:1c.1 PCI bridge: Intel Corporation Device 06b9 (rev f0) IOMMU group 13:[8086:06bc] 00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0) IOMMU group 14:[8086:06b0] 00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) IOMMU group 15:[8086:06b4] 00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0) IOMMU group 16:[8086:0685] 00:1f.0 ISA bridge: Intel Corporation Device 0685 [8086:06c8] 00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS [8086:06a3] 00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller [8086:06a4] 00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller [8086:0d4d] 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-V IOMMU group 17:[1002:67e3] 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon Pro WX 4100] IOMMU group 18:[1002:aae0] 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] IOMMU group 19:[1987:5016] 03:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01) [N:0:1:1] disk Sabrent Rocket 4.0 1TB__1 /dev/nvme0n1 1.00TB IOMMU group 20:[1000:0072] 04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03) [5:0:0:0] disk ATA Samsung SSD 860 4B6Q /dev/sdb 1.00TB [5:0:1:0] disk ATA Samsung SSD 860 4B6Q /dev/sdc 1.00TB IOMMU group 21:[8086:15f3] 06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 02) IOMMU group 22:[1987:5016] 40:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01) [N:1:1:1] disk Sabrent Rocket 4.0 1TB__1 /dev/nvme1n1 1.00TB lspci 00:00.0 Host bridge: Intel Corporation Device 9b33 (rev 05) 00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05) 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) (rev 05) 00:02.0 VGA compatible controller: Intel Corporation CometLake-S GT2 [UHD Graphics 630] (rev 05) 00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller 00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller 00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM 00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi 00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller 00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller 00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0) 00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0) 00:1c.0 PCI bridge: Intel Corporation Device 06b8 (rev f0) 00:1c.1 PCI bridge: Intel Corporation Device 06b9 (rev f0) 00:1c.4 PCI bridge: Intel Corporation Device 06bc (rev f0) 00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0) 00:1d.4 PCI bridge: Intel Corporation Device 06b4 (rev f0) 00:1f.0 ISA bridge: Intel Corporation Device 0685 00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS 00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller 00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (11) I219-V 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon Pro WX 4100] 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] 03:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01) 04:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03) 06:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 02) 40:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01) Thanks
  5. Hey cobhc I was getting the same thing after I edited my unraid.sh to include the updated Big Sur product id. I did the following 1) uninstalled macinabox, 2) removed appdata: /mnt/user/appdata/macinabox 3) removed custom_ovmf: /mnt/user/system/custom_ovmf 4) check if there are any macOS images in /mnt/user/isos 5) after that I rebooted and reinstalled macinabox and put in the modified unraid.sh file and it seemed to work. Note: I used method 2 of installation cause method 1 causes problems. Hope this helps
  6. Hi, Does anyone know how to create 2 instances of MacOS VMs? Edit: I changed my current vm instance's name then reinstalled macinabox and I got it to set up another VM for me. Thanks
  7. Hi I've recently have been trying to install MacOS Catalina using macinabox, but I think its not running properly. No user scripts are created. I've have tried removing and reinstalling macinabox and that hasn't helped. Here are my macinabox logs I am quite new to this, but is it failing at getting the macos image? If not what do you think the problem is? Thanks Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running: x11vnc -ncache 10 ... One can also add -ncache_cr for smooth 'copyrect' window motion. More info: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching Traceback (most recent call last): File "fetch-macos2.py", line 501, in <module> sys.exit(main()) File "fetch-macos2.py", line 497, in main action_download(args) File "fetch-macos2.py", line 236, in action_download info = get_image_info(session, bid=args.board_id, mlb=args.mlb, File "fetch-macos2.py", line 147, in get_image_info headers, output = run_query(url, headers, post) File "fetch-macos2.py", line 80, in run_query response = urlopen(req) File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.8/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response response = self.parent.error( File "/usr/lib/python3.8/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain result = func(*args) File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 417: Expectation Failed