giafidis

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

giafidis's Achievements

Noob

Noob (1/14)

1

Reputation

1

Community Answers

  1. I'm running 6.12.3 and using macvlan (no call traces, no crashes), since my Router is a fritzbox and i had problems with ipvlan. Can i leave my Network Settings as they are before and after updating to 6.12.4?
  2. I finally managed to solve the problem. The solution was to utilize the MSI Tool and enable the Radeon HDMI Sound Card option. After doing so and restarting Windows, sound became available through the GPU, even when using DisplayPort
  3. Hello everyone, I'm encountering an issue with passthrough of the Radeon Vega56 GPU (Sapphire Pulse Vega56) and its audio counterpart in a Windows 10/11 virtual machine. While the GPU passthrough works fine, the audio card associated with the GPU is not recognized by Windows. I have also tested this setup with a Linux Manjaro VM, where the sound is functioning without any problems. Here are some details regarding my configuration: unRAID version: 6.12.2 Mainboard: Gigabyte X99-UD4 CPU: E5-2699V3 GPU IOMMU group: 30 [1002:687f] 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c3) Audio IOMMU group: 3 [1002:aaf8] 04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 HDMI Audio [Radeon Vega 56/64] Steps I have taken so far to resolve the issue: Tried both Windows 10 and Windows 11 VMs, but encountered the same results. Configured the VM with the Q35-7.1 machine type. Attempted to bind the GPU and audio device but makes no difference. Modified the XML template for the VM, enabling the multifunction option as suggested by others. Tested both PCIe ACS override options in the VM Manager Settings. Tried both Legacy and UEFI boot options in unRAID. Additionally, I have installedthe AMD Vendor Reset Plugin from ich777 to address any potential problems from the AMD Reset Bug. Despite these efforts, I have not been able to get the GPU audio device recognized by Windows in the VM. It's worth noting that the GPU is installed in the second slot on my mainboard, and I have tested with and without the VBios ROM without any noticeable difference. My VM XML for Reference: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10 AMD</name> <uuid>da61cd5d-ecab-d060-bab5-b98140e093db</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/> </metadata> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>15</vcpu> <cputune> <vcpupin vcpu='0' cpuset='10'/> <vcpupin vcpu='1' cpuset='28'/> <vcpupin vcpu='2' cpuset='11'/> <vcpupin vcpu='3' cpuset='29'/> <vcpupin vcpu='4' cpuset='12'/> <vcpupin vcpu='5' cpuset='30'/> <vcpupin vcpu='6' cpuset='13'/> <vcpupin vcpu='7' cpuset='14'/> <vcpupin vcpu='8' cpuset='32'/> <vcpupin vcpu='9' cpuset='15'/> <vcpupin vcpu='10' cpuset='33'/> <vcpupin vcpu='11' cpuset='16'/> <vcpupin vcpu='12' cpuset='34'/> <vcpupin vcpu='13' cpuset='17'/> <vcpupin vcpu='14' cpuset='35'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-7.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/da61cd5d-ecab-d060-bab5-b98140e093db_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv mode='custom'> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none' migratable='on'> <topology sockets='1' dies='1' cores='15' threads='1'/> <cache mode='passthrough'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <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/Windows 10 AMD/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <serial>vdisk1</serial> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </disk> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/sdj'/> <target dev='hdd' bus='virtio'/> <serial>vdisk2</serial> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/cyg-en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso'/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.229-1.iso'/> <target dev='hdb' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='qemu-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <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='0x10'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x11'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </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='0x14'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='pci' index='6' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='6' port='0x8'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' 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> <interface type='bridge'> <mac address='52:54:00:be:4a:ce'/> <source bridge='br0'/> <model type='virtio-net'/> <address type='pci' domain='0x0000' bus='0x01' 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'/> <audio id='1' type='none'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0' multifunction='on'/> </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='0x05' slot='0x00' function='0x1'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'/> </domain> I would appreciate any insights or suggestions you may have. Thank you in advance for your help! Cheers, giafidis
  4. @DoeBoye I just saw the Announcement and was thinking to try it out, but i switched back to 6.8.3 because i tried some things in the meantime and got super frustrated: I checked my System Log and saw some repeated Error Messages: pcieport 0000:00:03.0: [ 6] Bad TLP, PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=0010(Transmitter ID). They are registering after some activity from the PCIe Bus. After researching a bit, i turned out that x99 Chipsets are known for this Issue, but i couldn't remember it being present on 6.8.3. With Kernel Parameter "pcie_aspm=off" in the Flash Boot menu, you disable the Active State Power Management for PCIe on boot and the Errors don't occur anymore. I was convinced that this was causing the Passthrough Issues, but after some testing, nothing changed...
  5. Used the exact same Settings as yours, but still no luck.
  6. What Motherboard do you have? I also tried the Binding Feature on all my GPUs (Nvidia and AMD) and it doesn't change anything. @Celsian Thanks your support Mate! I already dumped it with the Script. It didn't make any difference... Side note: The script doesn't work for me in 6.9. I get always an error message that i should bind the GPU with vfio-pci first and then try again. I tried that out, but no luck. In 6.8.3 however, the script works without any Binding at all...
  7. I use TightVNC, for VMs that are using VNC and GPU Passthrough. I just finished installed a fresh Win10 VM. I used VNC for the Installation and switch after to my 1050 Ti. After Driver Installation, the VM locks up and reboots. I don't know what else to try out... This is the Log of the new VM. It looks normal to me: ErrorWarningSystemArrayLogin -smp 4,sockets=1,dies=1,cores=2,threads=2 \ -uuid e8002a45-a8da-7e91-2076-7fbd4f5077de \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=31,server,nowait \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x7.0x7 \ -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x7 \ -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x7.0x1 \ -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x7.0x2 \ -device ahci,id=sata0,bus=pci.0,addr=0x3 \ -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/en_windows_10_enterprise_ltsc_2019_x64_dvd_74865958.iso","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":true,"driver":"raw","file":"libvirt-3-storage"}' \ -device ide-cd,bus=sata0.0,drive=libvirt-3-format,id=sata0-0-0,bootindex=2 \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.190-1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device ide-cd,bus=sata0.1,drive=libvirt-2-format,id=sata0-0-1 \ -blockdev '{"driver":"file","filename":"/mnt/disks/SanDisk_SD7SB2Q-512G-1006_152978401993/Windows 10/vdisk1.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=sata0.2,drive=libvirt-1-format,id=sata0-0-2,bootindex=1,write-cache=on \ -netdev tap,fd=33,id=hostnet0 \ -device virtio-net,netdev=hostnet0,id=net0,mac=xx:xx:xx:xx:xx:xx,bus=pci.0,addr=0x2 \ -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:02:00.0,id=hostdev0,bus=pci.0,addr=0x5,romfile=/mnt/user/My Stuff/Dokumente/VGA BIOS/Gigabyte GeForce GTX 1050 Ti 4GB/1050ti _owndump.rom' \ -device vfio-pci,host=0000:02:00.1,id=hostdev1,bus=pci.0,addr=0x6 \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on 2021-03-07 20:19:06.395+0000: Domain id=1 is tainted: high-privileges 2021-03-07 20:19:06.395+0000: Domain id=1 is tainted: host-cpu char device redirected to /dev/pts/0 (label charserial0)
  8. I set it up exactly like yours (s. Attachment). Can you post the Script log?
  9. Upgraded back to 6.9 and tried it out but unfortunately, it doesn't work for me and im not sure if i did something wrong. As suggested, i created the User Script and set it to start before the Array does. Im getting this Output: Script location: /tmp/user.scripts/tmpScripts/GPU Passthrough Fix 6.9/script Note that closing this window will abort the execution of this script /tmp/user.scripts/tmpScripts/GPU Passthrough Fix 6.9/script: line 3: /sys/class/vtconsole/vtcon1/bind: No such file or directory /tmp/user.scripts/tmpScripts/GPU Passthrough Fix 6.9/script: line 4: echo: write error: No such device Starting the VM, has the same effects as before (Blackscreen and Bootloop).
  10. Amazing! Will try this out first thing tomorrow when i got back to the server! @Celsian: Thanks for the valuable info!!!
  11. I already switched back, because my Plex Server runs under a VM with GPU Passthrough. I didn't test it in detail, but what i tested, ran without problems. It is more performance bound i believe. If the ask for any Logs, i made a copy while i was on 6.9. Hopefully it gets fixed.
  12. @fearlessknight Same here. Try to disable Hyper-V in the XML Template and then the VM should boot up with GPU Passthrough, showing Error 43 in the Device Manager: <hyperv> <relaxed state='off'/> <vapic state='off'/> <spinlocks state='off'/> <vendor_id state='off'/> </hyperv>
  13. Glad to see that im not the only one with this Problem. What is your Hardware Configuration? My Server Specs: Motherboard: Gigabyte Technology Co., Ltd. - X99-UD4-CF Processor: Intel® Xeon® CPU E5-2640 v3 @ 2.60GHz Memory: 128 GB DDR4 GPU1: Radeon HD 6450 GPU2: GeForce GTX 1050 Ti GPU3: GeForce GT 1030