XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Audio support for Windows VM on XCP-ng

    Scheduled Pinned Locked Moved Hardware
    3 Posts 3 Posters 20 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      taghjichte
      last edited by

      Hello,

      I have a project where I need to replace a physical Windows PC with a VM running on XCP-ng.

      Current use case:

      • The physical PC continuously broadcasts audio through a 3.5 mm jack output connected to external speakers/amplifier.
      • I want to migrate this workload to a Windows VM hosted on XCP-ng.
      • The VM will mainly be used for continuous audio playback.

      I would like to know the best and most stable solution regarding audio support on XCP-ng.

      Questions:

      1. Does XCP-ng officially support audio devices for Windows VMs?
      2. Is USB sound card passthrough the recommended approach?
      3. Has anyone successfully used a USB audio adapter with Windows 11 VM on XCP-ng for continuous audio output?
      4. Are there recommended compatible USB sound cards/chipsets?
      5. Is PCI passthrough of an internal sound card supported/reliable on XCP-ng?
      6. Any known stability issues for 24/7 audio playback?
      7. Would Windows 11 be better than Windows Server for this use case?

      Environment:

      • Hypervisor: XCP-ng
      • Guest OS planned: Windows 11
      • Audio output required: physical 3.5 mm jack
      • Goal: replace a physical audio broadcasting PC

      Thank you for your feedback and recommendations.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dinhngtu Vates 🪐 XCP-ng Team @taghjichte
        last edited by dinhngtu

        @taghjichte A PCI card should be more reliable than an USB card in most cases. Do you have realtime/low latency audio requirements or is it simply for normal playback (music etc)? Virtualization will work fine for typical playback but for low latency, you might want some specific tuning. Also, you might want to test DPC latencies with the Xen drivers when there's I/O activity.

        1 Reply Last reply Reply Quote 0
        • acebmxerA Offline
          acebmxer
          last edited by

          @taghjichte From my testing you would need to passthought a device for audio. If need for professional audio work then yes a pci passthough would be the perferred option. With that said.

          @dinhngtu As for sound I have never looked much into it but the only vm I heard make sound is from Fedora even while booted from install iso. Kubuntu or windows with xen drivers installed no audio. (find for me at the moment)

          While audio seems to work in Fedora from iso it seems to be limited to left channel. Local system is connected to 5.1 sound.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post