Connecting USB DAC to VM produces poor sound


Recommended Posts

I'm trying to run Roon Bridge on a Linux Mint VM and play music via a DAC that is connected to the server via USB. No problem with connecting to the DAC, which shows up as a USB Device in the VM Setup page, but the sound is very poor - a bit like bad reception on a radio.

 

I don't know if I might be able to improve things by passing through the entire USB controller, but unfortunately the motherboard has only one USB controller, and the unRAID flash drive is obviously sitting on it. This is the IOMMU grouping:

 

IOMMU group 3:	[8086:7ae0] 00:14.0 USB controller: Intel Corporation Alder Lake-S PCH USB 3.2 Gen 2x2 XHCI Controller (rev 11)
			Bus 001 Device 001 Port 1-0		ID 1d6b:0002 Linux Foundation 2.0 root hub
			Bus 001 Device 002 Port 1-4		ID 0665:5161 Cypress Semiconductor USB to Serial
			Bus 001 Device 003 Port 1-6		ID 174c:2074 ASMedia Technology Inc. ASM1074 High-Speed hub
			Bus 001 Device 004 Port 1-13		ID 26ce:01a2 ASRock LED Controller
			Bus 001 Device 005 Port 1-6.2		ID 0781:5591 SanDisk Corp. Ultra Flair
			Bus 001 Device 006 Port 1-7		ID 0644:8043 TEAC Corp. TEAC UD-501
			Bus 002 Device 001 Port 2-0		ID 1d6b:0003 Linux Foundation 3.0 root hub
	 	[8086:7aa7] 00:14.2 RAM memory: Intel Corporation Alder Lake-S PCH Shared SRAM (rev 11)

 

Is there anything that can be done? The DAC is the TEAC device.

 

(I appreciate that this is not the best way to get music to the DAC, and I am using other alternatives, like Ropieee on a Raspberry Pi, but if I can get this VM approach to work, it would be a nice solution for my use case.)

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.