Getting audio working for Windows 10 VM+GPGPU

Post Reply
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

So I'm in a similar dilemma as this post viewtopic.php?f=318&t=143544

It's been one thing after another with my TVS-1282. My configuration is quite different for what i'm trying to achieve because of my kids and lab requirements, but the underlying issue is still the same.

Unable to get HDMI Audio through the GPU to the VM. Even though the nvidia drivers successfully shows the hdmi extender in the nv control panel, the windows 10 virtual machine itself cannot detect any audio device. Been working with a tech from QNAP on another issue, but been asking questions about this, but to no avail. currently pointed him to the mentioned article in hopes that I may need a BIOS update to get HDMI audio to work through the GPU. Also when gpu passthrough is enabled on a vm, whether the audio emulation is enabled or disable, doesn't matter because it likely has something to do with the audio via gpu that would cause issues and is only relevant if you would use the VM to passthru to the NAS HDMI natively.

Currently attempting USB 2.0/3.0 passthrough with a usb wireless headset (Logitech G930); results thus far are, usb3.0 passthru works for 3-10s with high latency. attempting to play anything with audio just stalls after those seconds. using usb 2.0, the headset has crackling and seems to interfere greatly with the logitech usb wireless receiver passthru for the kb+mice. Also read the Creative Sound Blaster X-FI 5.1 USB that's compatible is only for the NAS itself, and that the crackling issue occurs for usb passthru as well.

Really hoping to get audio working as I've spent a good bit of money attempting to get a third computer setup for my kids, and trying to utilize my NAS to accomplish this, audio seems to be the greatest obstacle so far.

Configuration:[Receiving Hardware]
BenQ GW2780 27 Inch IPS 1080p HDMI Monitor w/ Speakers
OREI Wireless HDMI Transmitter Receiver Extender 1080P Kit with IR Remote
IBRA Orange HDMI Cable 3ft - UHD HDMI 2.0 (4K@60Hz) Ready -18Gbps-28AWG
Logitech MK345 Wireless Keyboard and Mouse Combo
Silex DS-520AN Wireless/Wired USB Device Server *still shipping*
Sabrent 4 Port USB 3.0 Hub *waiting on the Silex*

Configuration:[Source System]
QNAP TVS-1282-I7-32GB 4.3.5
HDD: 8 x Seagate IronWolf Red 10TB 7200 RPM 256MB
SSD: Old Corsair 256GB
GPU: GeForce GTX 1050TI
Sabrent 4-Port USB 3.0 Hub with Individual Power Switches and LEDs *testing passthru*
Sabrent 22AWG USB 3.0 Extension Cable - A-Male to A-Female
Virtualization: Windows 10 running on SSD volume

Now because I was originally testing on my workstation; notice the latency difference between running a VM on my workstation to the Receiving Hardware compared to running a VM on the NAS. Now this maybe due to the fact that the NAS is currently migrating drives into a RAID group with up to 20% IO wait and 30% cpu utilization, but would think it wouldn't effect performance that much because the VM is running on a separate volume.

Configuration:[Workstation System]
CPU: AMD ThreadRipper 1950X
RAM: G.Skill 128GB DDR4 @2933Mhz
GPU: MSI Radeon RX Vega 64 - Driver 18.9.3
NVMe: 2 x Samsung 960 PRO 1 TB
Virtualization: VMWare Workstation 15 Pro - Windows 10 NVMe Guest OS

Anyways, due to me needing my GPU to play games amongst other things, the shared 3GB video memory running isn't sufficient for their usage and mines, and they really cannot play DirectX games through a VMWare Workstation VM anyways. So decided to upgrade the QNAP with an XPG SX8000 512GB NVMe, EVGA GeForce 1060 6GB SC and attempt to utilize a Bengoo USB Sound Card, Avantree USB Bluetooth Dongle and a Sabrent USB External Stereo Sound Adapter for the Receiving Hardware so they could get the full computer experience.

but at last, desperately need help to to get audio working. Hoping when the Silex DS-520AN gets here sharing USB audio devices *may* work to circumvent this issue.

Has anyone confirmed HDMI Audio working through GPU Passthrough?
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Re: Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

wanted to confirm, upgrading the QNAP BIOS resolved the HDMI audio issue. but sound passthru with any of the devices I've tried all ended up with with crackling. but bluetooth audio connectivity worked great. so that'll have to be the headset option for the kiddos.
User avatar
rgarjr
Know my way around
Posts: 229
Joined: Tue Aug 14, 2018 5:47 am
Location: Los Angeles County
Contact:

Re: Getting audio working for Windows 10 VM+GPGPU

Post by rgarjr »

adaya wrote:wanted to confirm, upgrading the QNAP BIOS resolved the HDMI audio issue. but sound passthru with any of the devices I've tried all ended up with with crackling. but bluetooth audio connectivity worked great. so that'll have to be the headset option for the kiddos.
How did you obtain the bios upgrade file? Any more details on this? I am seeing the same issue with the audio part not being listed.
Last edited by rgarjr on Thu Oct 25, 2018 2:35 am, edited 1 time in total.

[TS-1677x] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TS-1277] - Ryzen 2700, 64GB RAM - [TS-877] - Ryzen 2700, 64GB RAM - [TS-677] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TVS-472xt] - i7-8700, 64GB RAM, PSU: Enhance Electronics 600W ENP-7660B - [TVS-871u-rp] - i7-4790K, 32GB RAM
User avatar
Jase001
Getting the hang of things
Posts: 70
Joined: Wed Jul 19, 2017 3:33 pm

Re: Getting audio working for Windows 10 VM+GPGPU

Post by Jase001 »

I have the same issue. Any advice re the bios update would be great.
Jay

Model: TVS-1282 i5 16GB FW: 4.3.4.0516 Build: 20180315
Disks: [RAID-5] 4 x 4TB WD RED SSD Cache: [RAID-5] 2 x 500gb Samsung Evo 850
UPS: CyberPower CP1500EPFCLCD. Backup: TS-453A 8TB WD RED
Media Boxes: Nvidia ShieldTV Pro (4K), AppleTV 4
User avatar
Jase001
Getting the hang of things
Posts: 70
Joined: Wed Jul 19, 2017 3:33 pm

Re: Getting audio working for Windows 10 VM+GPGPU

Post by Jase001 »

So I got the BIOS update file from QNAP Version QZ03AR09 for TVS-1282 and flashed as per the instructions. All went well. However I still have no audio output device in the windows machine. Adams did you have to do anything other than flashing the bios to get sound to work? Any help would be greatfully appreciated.
Jay

Model: TVS-1282 i5 16GB FW: 4.3.4.0516 Build: 20180315
Disks: [RAID-5] 4 x 4TB WD RED SSD Cache: [RAID-5] 2 x 500gb Samsung Evo 850
UPS: CyberPower CP1500EPFCLCD. Backup: TS-453A 8TB WD RED
Media Boxes: Nvidia ShieldTV Pro (4K), AppleTV 4
User avatar
rgarjr
Know my way around
Posts: 229
Joined: Tue Aug 14, 2018 5:47 am
Location: Los Angeles County
Contact:

Re: Getting audio working for Windows 10 VM+GPGPU

Post by rgarjr »

Who did you talk to over at Qnap, I have a ticket opened but the tech hasn't been any help at all, even after I told him about the bios update that someone else did.

[TS-1677x] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TS-1277] - Ryzen 2700, 64GB RAM - [TS-877] - Ryzen 2700, 64GB RAM - [TS-677] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TVS-472xt] - i7-8700, 64GB RAM, PSU: Enhance Electronics 600W ENP-7660B - [TVS-871u-rp] - i7-4790K, 32GB RAM
User avatar
Jase001
Getting the hang of things
Posts: 70
Joined: Wed Jul 19, 2017 3:33 pm

Re: Getting audio working for Windows 10 VM+GPGPU

Post by Jase001 »

Just 1st line support. Raised held ticket and they replied with a link to the bios. But as I stated, unfortunatly in my case it did not work.
Jay

Model: TVS-1282 i5 16GB FW: 4.3.4.0516 Build: 20180315
Disks: [RAID-5] 4 x 4TB WD RED SSD Cache: [RAID-5] 2 x 500gb Samsung Evo 850
UPS: CyberPower CP1500EPFCLCD. Backup: TS-453A 8TB WD RED
Media Boxes: Nvidia ShieldTV Pro (4K), AppleTV 4
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Re: Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

Jase001 wrote:So I got the BIOS update file from QNAP Version QZ03AR09 for TVS-1282 and flashed as per the instructions. All went well. However I still have no audio output device in the windows machine. Adams did you have to do anything other than flashing the bios to get sound to work? Any help would be greatfully appreciated.
Are you attempting to get audio working through DisplayPort/HDMI? if so, after the BIOS update, the GPU attached to the VM will have a separate device to attach for the audio. it maybe simpler to just remove and re-attach the gpu, and it'll automatically passthru both functions.
User avatar
Jase001
Getting the hang of things
Posts: 70
Joined: Wed Jul 19, 2017 3:33 pm

Re: Getting audio working for Windows 10 VM+GPGPU

Post by Jase001 »

adaya wrote:
Jase001 wrote:So I got the BIOS update file from QNAP Version QZ03AR09 for TVS-1282 and flashed as per the instructions. All went well. However I still have no audio output device in the windows machine. Adams did you have to do anything other than flashing the bios to get sound to work? Any help would be greatfully appreciated.
Are you attempting to get audio working through DisplayPort/HDMI? if so, after the BIOS update, the GPU attached to the VM will have a separate device to attach for the audio. it maybe simpler to just remove and re-attach the gpu, and it'll automatically passthru both functions.
Hi adaya, thanks for that. I did try removing the GPU and reinstalling but still not working. Only showing as a display controller in VM.
Jay

Model: TVS-1282 i5 16GB FW: 4.3.4.0516 Build: 20180315
Disks: [RAID-5] 4 x 4TB WD RED SSD Cache: [RAID-5] 2 x 500gb Samsung Evo 850
UPS: CyberPower CP1500EPFCLCD. Backup: TS-453A 8TB WD RED
Media Boxes: Nvidia ShieldTV Pro (4K), AppleTV 4
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Re: Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

Jase001 wrote:
adaya wrote:
Jase001 wrote:So I got the BIOS update file from QNAP Version QZ03AR09 for TVS-1282 and flashed as per the instructions. All went well. However I still have no audio output device in the windows machine. Adams did you have to do anything other than flashing the bios to get sound to work? Any help would be greatfully appreciated.
Are you attempting to get audio working through DisplayPort/HDMI? if so, after the BIOS update, the GPU attached to the VM will have a separate device to attach for the audio. it maybe simpler to just remove and re-attach the gpu, and it'll automatically passthru both functions.
Hi adaya, thanks for that. I did try removing the GPU and reinstalling but still not working. Only showing as a display controller in VM.
simple question, are you running a compatible GPU in your QNAP?
User avatar
rgarjr
Know my way around
Posts: 229
Joined: Tue Aug 14, 2018 5:47 am
Location: Los Angeles County
Contact:

Re: Getting audio working for Windows 10 VM+GPGPU

Post by rgarjr »

Jase, physically remove the gpu, uninstall the Nvidia driver from the AppStore. Install gpu and the Nvidia driver back.

Adaya, how did you get tech support to send you bios upgrade links?

[TS-1677x] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TS-1277] - Ryzen 2700, 64GB RAM - [TS-877] - Ryzen 2700, 64GB RAM - [TS-677] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TVS-472xt] - i7-8700, 64GB RAM, PSU: Enhance Electronics 600W ENP-7660B - [TVS-871u-rp] - i7-4790K, 32GB RAM
User avatar
Jase001
Getting the hang of things
Posts: 70
Joined: Wed Jul 19, 2017 3:33 pm

Re: Getting audio working for Windows 10 VM+GPGPU

Post by Jase001 »

rgarjr wrote:Jase, physically remove the gpu, uninstall the Nvidia driver from the AppStore. Install gpu and the Nvidia driver back.

Adaya, how did you get tech support to send you bios upgrade links?
Hi Adaya, I’ve removed the GPU, rebooted and attempted to uninstall the Nvidia driver from the App Store, but there is no remove option like in the other apps. I can’t seem to remove it?. Having reinstalled the GPU same issue. Recognised only as a display controller.
Jay

Model: TVS-1282 i5 16GB FW: 4.3.4.0516 Build: 20180315
Disks: [RAID-5] 4 x 4TB WD RED SSD Cache: [RAID-5] 2 x 500gb Samsung Evo 850
UPS: CyberPower CP1500EPFCLCD. Backup: TS-453A 8TB WD RED
Media Boxes: Nvidia ShieldTV Pro (4K), AppleTV 4
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Re: Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

Jase001 wrote:
rgarjr wrote:Jase, physically remove the gpu, uninstall the Nvidia driver from the AppStore. Install gpu and the Nvidia driver back.

Adaya, how did you get tech support to send you bios upgrade links?
Hi Adaya, I’ve removed the GPU, rebooted and attempted to uninstall the Nvidia driver from the App Store, but there is no remove option like in the other apps. I can’t seem to remove it?. Having reinstalled the GPU same issue. Recognised only as a display controller.
the display driver in the native app store is only for transcoding multimedia. you actually need to install the nvidia drivers inside the vm in order to get the audio working
adaya
Starting out
Posts: 19
Joined: Wed Oct 17, 2018 8:33 am

Re: Getting audio working for Windows 10 VM+GPGPU

Post by adaya »

rgarjr wrote:Jase, physically remove the gpu, uninstall the Nvidia driver from the AppStore. Install gpu and the Nvidia driver back.

Adaya, how did you get tech support to send you bios upgrade links?
Was already working with tech support for another issue, and simply pointed the operator to a forum post indicating it got sound working, and they was kind enough to send me over the latest bios. I still have the bios file for my tvs-1282-i7 but not sure if it's for your model.

Also please confirm you have a compatible GPU for the QNAP from the compatibility list on their website to ensure it's properly supported. I've tested both the ZOTAC GeForce 1050 TI and EVGA GeForce 1060 SC which are listed on their site as supported, and the audio started working after the bios update. you can ssh into your box and run "dmidecode -s bios-version" to check your bios version

-
User avatar
rgarjr
Know my way around
Posts: 229
Joined: Tue Aug 14, 2018 5:47 am
Location: Los Angeles County
Contact:

Re: Getting audio working for Windows 10 VM+GPGPU

Post by rgarjr »

I got 2 EVGA GTX 1060 SC and it works great on the ts-1677 but on the tvs-682, only the display controller shows up but not the audio controller. Can you screen capture your GPU screen info on virtualization station?
adaya wrote:
rgarjr wrote:Jase, physically remove the gpu, uninstall the Nvidia driver from the AppStore. Install gpu and the Nvidia driver back.

Adaya, how did you get tech support to send you bios upgrade links?
Was already working with tech support for another issue, and simply pointed the operator to a forum post indicating it got sound working, and they was kind enough to send me over the latest bios. I still have the bios file for my tvs-1282-i7 but not sure if it's for your model.

Also please confirm you have a compatible GPU for the QNAP from the compatibility list on their website to ensure it's properly supported. I've tested both the ZOTAC GeForce 1050 TI and EVGA GeForce 1060 SC which are listed on their site as supported, and the audio started working after the bios update. you can ssh into your box and run "dmidecode -s bios-version" to check your bios version

-
You do not have the required permissions to view the files attached to this post.

[TS-1677x] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TS-1277] - Ryzen 2700, 64GB RAM - [TS-877] - Ryzen 2700, 64GB RAM - [TS-677] - Ryzen 2700, 64GB RAM, PSU: Corsair SF600 - [TVS-472xt] - i7-8700, 64GB RAM, PSU: Enhance Electronics 600W ENP-7660B - [TVS-871u-rp] - i7-4790K, 32GB RAM
Post Reply

Return to “Virtualization Station”