Nobi Posted December 8, 2021 Share Posted December 8, 2021 Hallo, ich hab eine RX570 und Unraid version: Version: 6.10.0-rc2 somit habe ich den AMD-Vendor-Reset plugin installiert. Mein Problem ist das sich Unraid aufhängt wenn ich meine VM Macinabox Herunterfahre. Nach der Installation des Plugins kann ich zwar die VM Neustarten aber beim Herunterfahren hängt sich Unraid immer noch auf. Muss ich noch manuell im Terminal den Befehl ausführen: docker attach Unraid-Kernel-Helper oder macht er das mit dem neuen Plugin automatisch? @ich777 Quote Link to comment
ich777 Posted December 8, 2021 Share Posted December 8, 2021 20 hours ago, Nobi said: Nach der Installation des Plugins kann ich zwar die VM Neustarten aber beim Herunterfahren hängt sich Unraid immer noch auf. Kannst du bitte mal Versuchen ob es mit Windows das gleiche ist? 20 hours ago, Nobi said: Mein Problem ist das sich Unraid aufhängt wenn ich meine VM Macinabox Herunterfahre. Macinabox bin ich nicht wirklich der Profi aber ich hab das schon mal gehört, könnte damit zusammenängen das OSX evtl. die Hardware nicht bzw. anders als Windows oder Linux reseted. @giganode hast du vielleicht hier eine Idee? 20 hours ago, Nobi said: Muss ich noch manuell im Terminal den Befehl ausführen: docker attach Unraid-Kernel-Helper oder macht er das mit dem neuen Plugin automatisch? Nein, das hat nichts mit dem Kernel-Helper zu tuhen, der Support Thread vom AMD Vendor Reset Plugin ist ein Sammelthread und hat eigentlich nichts mit dem mehr zu tuhen, ich muss den Thread bei Gelegenheit mal aufteilen. Bitte vergiss auch nicht das es unter Umständen vorkommt das sich unRAID trotz des Vendor Reset Plugins aufhängen kann, solange die Hersteller der Karten keinen richtigen Patch releasen sind das alles nur Workarounds um die User experience besser zu machen. Quote Link to comment
Nobi Posted December 9, 2021 Author Share Posted December 9, 2021 Kannst du bitte mal Versuchen ob es mit Windows das gleiche ist? Quote Kannst du bitte mal Versuchen ob es mit Windows das gleiche ist? Hab Gerade mit Windows 10 ausprobiert hier hängt sich Unraid nicht auf beim Herunterfahren. Quote Bitte vergiss auch nicht das es unter Umständen vorkommt das sich unRAID trotz des Vendor Reset Plugins aufhängen kann, solange die Hersteller der Karten keinen richtigen Patch releasen sind das alles nur Workarounds um die User experience besser zu machen. Weist du vielleicht wo und wie ich nach schauen kann ob es einen Patch gibt? @ich777 Quote Link to comment
ich777 Posted December 10, 2021 Share Posted December 10, 2021 11 hours ago, Nobi said: Hab Gerade mit Windows 10 ausprobiert hier hängt sich Unraid nicht auf beim Herunterfahren. Dann hängt es eindeutig mit OSX zusammen. Wie gesagt ich kenn mich mit OSX nicht wirklich aus aber evtl. können dir wenn @giganode oder @derpuma wieder mal hier sind helfen. Womöglich gibt es einen Workaround für OSX... 11 hours ago, Nobi said: Weist du vielleicht wo und wie ich nach schauen kann ob es einen Patch gibt? Nein leider, ich glaub auch das die wenigsten Hersteller einen Patch releasen werden, du kannst nur auf der Herstellerseite selbst nachsehen. 11 hours ago, Nobi said: @ich777 Bitte richtig markieren, du musst auch nochmal auf meinen Namen klicken: Quote Link to comment
giganode Posted December 11, 2021 Share Posted December 11, 2021 Kannst du bitte mal Versuchen ob es mit Windows das gleiche ist? Kannst du bitte mal Versuchen ob es mit Windows das gleiche ist? Hab Gerade mit Windows 10 ausprobiert hier hängt sich Unraid nicht auf beim Herunterfahren. Bitte vergiss auch nicht das es unter Umständen vorkommt das sich unRAID trotz des Vendor Reset Plugins aufhängen kann, solange die Hersteller der Karten keinen richtigen Patch releasen sind das alles nur Workarounds um die User experience besser zu machen. Weist du vielleicht wo und wie ich nach schauen kann ob es einen Patch gibt? @ich777Ich selbst habe ausschließlich mit Navi-Karten macOS betrieben. Ich weiß, dass derpuma eine RX-Karte betrieben hatte und das dort auch, abhängig vom Hersteller, bestimmte Karten zu Problemen führen können. Da aber mit Windows alles funktioniert, ist das für mich auch ein Indiz der eher auf deine Konfiguration mit macOS hindeutet. Wenn du Zeit hast, dann teste mal fix eine linux vm.. Ubuntu zb. Aktuell kann ich dir in Sachen macOS leider nicht helfen, da meine 6900xt gestorben ist… 1 Quote Link to comment
ich777 Posted December 11, 2021 Share Posted December 11, 2021 1 minute ago, giganode said: 6900xt gestorben ist… 😲 🙀 😭 @giganode was ist passiert? @Nobi sieh dir bitte die Antwort von @giganode einen Post oberhalb an. Quote Link to comment
giganode Posted December 11, 2021 Share Posted December 11, 2021 @giganode was ist passiert? @Nobi sieh dir bitte die Antwort von @giganode einen Post oberhalb an.Wollte nicht mehr die Karte.. läuft nur etwa für 30 Minuten die Karte und dann crasht das System. Die Grafikkarte muss dann anschließend 1-2 Tage spannungsfrei sein, damit sie wieder für etwa 30 Minuten funktioniert 1 Quote Link to comment
Nobi Posted December 11, 2021 Author Share Posted December 11, 2021 (edited) Quote dann teste mal fix eine linux vm. Hab Jetzt Manjaro installiert und diese Funktioniert einwandfrei und wacht sogar aus dem Schlaffmodus auf. Hier ist meine config, vielleicht fällt jemaden was auf. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='7' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Monterey</name> <uuid>01292bf5-ea7c-4951-8a5b-8af08f28c4dd</uuid> <description>Mac OS</description> <metadata> <vmtemplate xmlns="unraid" name="Monterey" icon="BigSur.png" os="osx"/> </metadata> <memory unit='KiB'>46137344</memory> <currentMemory unit='KiB'>46137344</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>16</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='16'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='17'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='18'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='19'/> <vcpupin vcpu='8' cpuset='8'/> <vcpupin vcpu='9' cpuset='20'/> <vcpupin vcpu='10' cpuset='9'/> <vcpupin vcpu='11' cpuset='21'/> <vcpupin vcpu='12' cpuset='10'/> <vcpupin vcpu='13' cpuset='22'/> <vcpupin vcpu='14' cpuset='11'/> <vcpupin vcpu='15' cpuset='23'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-5.0'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/01292bf5-ea7c-4951-8a5b-8af08f28c4dd_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='8' 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/user/domains/Macinabox BigSur/macos_disk.img' index='2'/> <backingStore/> <target dev='hdc' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/cache/V-Disks/Windows 10/vdisk4.img' index='1'/> <backingStore/> <target dev='hdd' bus='sata'/> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0xc'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0xd'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xe'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <alias name='pci.4'/> <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='0x8'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='6' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <alias name='pci.6'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </controller> <controller type='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0x9'/> <alias name='pci.7'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='8' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='8' port='0xa'/> <alias name='pci.8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='9' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='9' port='0xb'/> <alias name='pci.9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <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'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <serial type='pty'> <source path='/dev/pts/1'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/1'> <source path='/dev/pts/1'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-7-Monterey/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/cache/vbios/RX570.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='0x03' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <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='0x00' slot='0x11' function='0x0'/> </source> <alias name='hostdev2'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x16' function='0x0'/> </source> <alias name='hostdev3'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x01' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </source> <alias name='hostdev4'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x02' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/> </source> <alias name='hostdev5'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x03' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </source> <alias name='hostdev6'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <alias name='hostdev7'/> <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> </source> <alias name='hostdev8'/> <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x0b' function='0x1'/> </source> <alias name='hostdev9'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x04' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x0b' function='0x2'/> </source> <alias name='hostdev10'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x10' function='0x1'/> </source> <alias name='hostdev11'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x10' function='0x6'/> </source> <alias name='hostdev12'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x07' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x12' function='0x1'/> </source> <alias name='hostdev13'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x12' function='0x5'/> </source> <alias name='hostdev14'/> <address type='pci' domain='0x0000' bus='0x06' slot='0x09' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> <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> Edited December 11, 2021 by Nobi Quote Link to comment
giganode Posted December 11, 2021 Share Posted December 11, 2021 dann teste mal fix eine linux vm. Hab Jetzt Manjaro installiert und diese Funktioniert einwandfrei und wacht sogar aus dem Schlaffmodus auf. Hier ist meine config, vielleicht fällt jemaden was auf.xml version='1.0' encoding='UTF-8'?> type='kvm' id='7' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> Monterey 01292bf5-ea7c-4951-8a5b-8af08f28c4dd Mac OS xmlns="unraid" name="Monterey" icon="BigSur.png" os="osx"/> unit='KiB'>46137344 unit='KiB'>46137344 placement='static'>16 vcpu='0' cpuset='4'/> vcpu='1' cpuset='16'/> vcpu='2' cpuset='5'/> vcpu='3' cpuset='17'/> vcpu='4' cpuset='6'/> vcpu='5' cpuset='18'/> vcpu='6' cpuset='7'/> vcpu='7' cpuset='19'/> vcpu='8' cpuset='8'/> vcpu='9' cpuset='20'/> vcpu='10' cpuset='9'/> vcpu='11' cpuset='21'/> vcpu='12' cpuset='10'/> vcpu='13' cpuset='22'/> vcpu='14' cpuset='11'/> vcpu='15' cpuset='23'/> /machine arch='x86_64' machine='pc-q35-5.0'>hvm readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd /etc/libvirt/qemu/nvram/01292bf5-ea7c-4951-8a5b-8af08f28c4dd_VARS-pure-efi.fd mode='host-passthrough' check='none' migratable='on'> sockets='1' dies='1' cores='8' threads='2'/> mode='passthrough'/> offset='utc'> name='rtc' tickpolicy='catchup'/> name='pit' tickpolicy='delay'/> name='hpet' present='no'/> destroy restart restart /usr/local/sbin/qemu type='file' device='disk'> name='qemu' type='raw' cache='writeback'/> file='/mnt/user/domains/Macinabox BigSur/macos_disk.img' index='2'/> dev='hdc' bus='sata'/> order='1'/> name='sata0-0-2'/> type='drive' controller='0' bus='0' target='0' unit='2'/> type='file' device='disk'> name='qemu' type='raw' cache='writeback'/> file='/mnt/cache/V-Disks/Windows 10/vdisk4.img' index='1'/> dev='hdd' bus='sata'/> name='sata0-0-3'/> type='drive' controller='0' bus='0' target='0' unit='3'/> type='pci' index='0' model='pcie-root'> name='pcie.0'/> type='pci' index='1' model='pcie-root-port'> name='pcie-root-port'/> chassis='1' port='0xc'/> name='pci.1'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> type='pci' index='2' model='pcie-root-port'> name='pcie-root-port'/> chassis='2' port='0xd'/> name='pci.2'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> type='pci' index='3' model='pcie-root-port'> name='pcie-root-port'/> chassis='3' port='0xe'/> name='pci.3'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> type='pci' index='4' model='pcie-root-port'> name='pcie-root-port'/> chassis='4' port='0x13'/> name='pci.4'/> type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> type='pci' index='5' model='pcie-root-port'> name='pcie-root-port'/> chassis='5' port='0x8'/> name='pci.5'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> type='pci' index='6' model='pcie-to-pci-bridge'> name='pcie-pci-bridge'/> name='pci.6'/> type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> type='pci' index='7' model='pcie-root-port'> name='pcie-root-port'/> chassis='7' port='0x9'/> name='pci.7'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> type='pci' index='8' model='pcie-root-port'> name='pcie-root-port'/> chassis='8' port='0xa'/> name='pci.8'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> type='pci' index='9' model='pcie-root-port'> name='pcie-root-port'/> chassis='9' port='0xb'/> name='pci.9'/> type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> type='virtio-serial' index='0'> name='virtio-serial0'/> type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> type='sata' index='0'> name='ide'/> type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> type='usb' index='0' model='ich9-ehci1'> name='usb'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> type='usb' index='0' model='ich9-uhci1'> name='usb'/> startport='0'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> type='usb' index='0' model='ich9-uhci2'> name='usb'/> startport='2'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/> type='usb' index='0' model='ich9-uhci3'> name='usb'/> startport='4'/> type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> type='pty'> path='/dev/pts/1'/> type='isa-serial' port='0'> name='isa-serial'/> name='serial0'/> type='pty' tty='/dev/pts/1'> path='/dev/pts/1'/> type='serial' port='0'/> name='serial0'/> type='unix'> mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-7-Monterey/org.qemu.guest_agent.0'/> type='virtio' name='org.qemu.guest_agent.0' state='connected'/> name='channel0'/> type='virtio-serial' controller='0' bus='0' port='1'/> type='tablet' bus='usb'> name='input0'/> type='usb' bus='0' port='1'/> type='mouse' bus='ps2'> name='input1'/> type='keyboard' bus='ps2'> name='input2'/> id='1' type='none'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> name='hostdev0'/> file='/mnt/cache/vbios/RX570.rom'/> type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> name='hostdev1'/> type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x00' slot='0x11' function='0x0'/> name='hostdev2'/> type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x00' slot='0x16' function='0x0'/> name='hostdev3'/> type='pci' domain='0x0000' bus='0x06' slot='0x01' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> name='hostdev4'/> type='pci' domain='0x0000' bus='0x06' slot='0x02' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/> name='hostdev5'/> type='pci' domain='0x0000' bus='0x06' slot='0x03' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> name='hostdev6'/> type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> name='hostdev7'/> type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> name='hostdev8'/> type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x0b' function='0x1'/> name='hostdev9'/> type='pci' domain='0x0000' bus='0x06' slot='0x04' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x0b' function='0x2'/> name='hostdev10'/> type='pci' domain='0x0000' bus='0x06' slot='0x05' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x10' function='0x1'/> name='hostdev11'/> type='pci' domain='0x0000' bus='0x06' slot='0x06' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x10' function='0x6'/> name='hostdev12'/> type='pci' domain='0x0000' bus='0x06' slot='0x07' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x12' function='0x1'/> name='hostdev13'/> type='pci' domain='0x0000' bus='0x06' slot='0x08' function='0x0'/> mode='subsystem' type='pci' managed='yes'> name='vfio'/> domain='0x0000' bus='0xff' slot='0x12' function='0x5'/> name='hostdev14'/> type='pci' domain='0x0000' bus='0x06' slot='0x09' function='0x0'/> model='none'/> type='dynamic' model='dac' relabel='yes'> +0:+100 +0:+100 value='-usb'/> value='-device'/> value='usb-kbd,bus=usb-bus.0'/> value='-device'/> value='************************'/> value='-smbios'/> value='type=2'/> value='-cpu'/> value='Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check'/> Kannst du das nochmal posten, aber so, dass nicht immer „span“ eingeschoben wird?Gesendet von iPhone mit Tapatalk Quote Link to comment
Nobi Posted December 11, 2021 Author Share Posted December 11, 2021 Quote Kannst du das nochmal posten, aber so, dass nicht immer „span“ eingeschoben wird? Klar, könntest du mir kurz erklären was du mit „span“ meinst? Quote Link to comment
giganode Posted December 11, 2021 Share Posted December 11, 2021 (edited) 2 hours ago, Nobi said: Klar, könntest du mir kurz erklären was du mit „span“ meinst? Oh sorry, das war dann wohl ein Fehler in der Tapatalk App.. Vergiss was ich gesagt habe Aber.... mir ist in deiner xml etwas aufgefallen, das ganze gilt auch grundsätzlich, aber gerade in Verbindung mit macOS vms ist das die Ursache für Fehlfunktionen. Ich zeige dir mal den betroffenen Ausschnitt deiner xml hier: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <rom file='/mnt/cache/vbios/RX570.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='0x03' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> Hier wäre mein Teil der Konfiguration der GPU: <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x0'/> </source> <rom file='/mnt/user/isos/AMD.RX6900XT.rom'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x2'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x2f' slot='0x00' function='0x3'/> </source> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x3'/> </hostdev> Hierbei solltest du dir vielleicht einmal bildlich vorstellen, was diese Zeilen bedeuten. Zu Beginn wird die Hardware, welche an die VM übergeben wird, definiert. In unserem Fall ist es die Grafikkarte. Danach wird ein vBios zugeteilt. Darauf folgt die Adresse in der VM - kann man sich so vorstellen, dass angegeben wird in welchen virtuellen PCIe Slot du die Karte einsteckst. Bei mir findest du den Zusatz " multifunction='on' ". Hiermit wird angegeben, dass diesem virtuellen PCIe-Slot im Verlauf der xml weitere Funktionen zugeteilt werden, denn man könnte auch tatsächlich nur die GPU ohne Sound z.B. durchschleifen.. würde aber zu anderen Problemen führen mit Treibern. Aber es gibt ja auch noch andere PCIe-Karten. Danach wird bei uns beiden die "Soundkarte" der GPU ebenfalls angegeben. In deiner xml wird die Soundkarte jedoch in einen anderen virtuellen Slot gesteckt, während bei mir die Adressierung identisch zur GPU bleibt, jedoch nur der Wert function inkrementiert wird - Wie auch bei der originalen Adressierung. Bitte ändere dies. Es ist gut möglich, dass dein Fehler beim Shutdown in der Adressierung liegt. LG Edited December 11, 2021 by giganode Quote Link to comment
Nobi Posted December 14, 2021 Author Share Posted December 14, 2021 Das Skrippt hat es mal wieder überschrieben ich hänge nochmal die richtige xml an <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> <name>Macinabox BigSur</name> <uuid>9df289ce-1cd9-43a2-961f-94f4a1443aae</uuid> <description>MacOS Big Sur</description> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="BigSur.png" os="osx"/> </metadata> <memory unit='KiB'>46137344</memory> <currentMemory unit='KiB'>11010048</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>16</vcpu> <cputune> <vcpupin vcpu='0' cpuset='4'/> <vcpupin vcpu='1' cpuset='16'/> <vcpupin vcpu='2' cpuset='5'/> <vcpupin vcpu='3' cpuset='17'/> <vcpupin vcpu='4' cpuset='6'/> <vcpupin vcpu='5' cpuset='18'/> <vcpupin vcpu='6' cpuset='7'/> <vcpupin vcpu='7' cpuset='19'/> <vcpupin vcpu='8' cpuset='8'/> <vcpupin vcpu='9' cpuset='20'/> <vcpupin vcpu='10' cpuset='9'/> <vcpupin vcpu='11' cpuset='21'/> <vcpupin vcpu='12' cpuset='10'/> <vcpupin vcpu='13' cpuset='22'/> <vcpupin vcpu='14' cpuset='11'/> <vcpupin vcpu='15' cpuset='23'/> </cputune> <os> <type arch='x86_64' machine='pc-q35-5.0'>hvm</type> <loader readonly='yes' type='pflash'>/mnt/user/system/custom_ovmf/Macinabox_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/9df289ce-1cd9-43a2-961f-94f4a1443aae_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='8' threads='2'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <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/user/domains/Macinabox BigSur/macos_disk.img'/> <target dev='hdc' bus='sata'/> <boot order='1'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/cache/V-Disks/Windows 10/vdisk4.img'/> <target dev='hdd' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </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='0xc'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0xd'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0xe'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/> </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='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/> </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='pci' index='7' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='7' port='0x9'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='pci' index='8' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='8' port='0xa'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='9' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='9' port='0xb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/> </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> <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'/> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <rom file='/mnt/cache/vbios/RX570.rom'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x11' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x16' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x01' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x02' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x03' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x0b' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x04' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x0b' function='0x2'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x10' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x10' function='0x6'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x07' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x12' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0xff' slot='0x12' function='0x5'/> </source> <address type='pci' domain='0x0000' bus='0x06' slot='0x09' function='0x0'/> </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> . Grafikkarte hat die Adresse 3:00:0 und audio 3:00:1 MAc erkennt auch den HDMI Sound. Ich hab auch von Q35-6.1 bis Q35-4.0 geteset bei manchen fährt er herunter aber dann beim Starten hängt er sich auf. oder du drückst herunterfahren und er startet die Maschine einfach neu. 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.