Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ubuntu VM Nvidia Sound crackling

Featured Replies

Hi, as im on the turn from Win to Ubuntu ...

 

1 major issue i see here is the sound, i know i had to fix the MSI interrupts on my windows vmś too, but i cant find any solution therefore on a linux vm ...

 

in my usecase its ubuntu and a nvidia 1030, drivers installed, sound device is there, but as in topic mentioned crackling ...

 

now from Unraid lspci console

 

---

root@AlsServer:~# sudo lspci -v -s 4:00.1
04:00.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] GP108 High Definition Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at dd080000 (32-bit, non-prefetchable)
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: vfio-pci

root@AlsServer:~#

---

 

from the VM console

---

alturismo@Ubuntu:~$ sudo lspci -v -s 01:00.0
[sudo] Passwort für alturismo: 
01:00.0 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] GP108 High Definition Audio Controller
    Physical Slot: 0
    Flags: bus master, fast devsel, latency 0, IRQ 22
    Memory at 91800000 (32-bit, non-prefetchable)
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

alturismo@Ubuntu:~$ 
---

 

what wonders me a little, kernel driver snd_hda_intel ? is this correct ? caue it is the nvidia device ...

 

for any help, thanks ahead

@alturismo Create "/etc/modprobe.d/snd-hda-intel.conf" inside the VM with the following content and restart the VM.

options snd-hda-intel enable_msi=1

Crackling sound should be gone with this.

  • Author
14 minutes ago, bastl said:

@alturismo Create "/etc/modprobe.d/snd-hda-intel.conf" inside the VM with the following content and restart the VM.


options snd-hda-intel enable_msi=1

Crackling sound should be gone with this.

perfect, thanks alot

  • 1 month later...
On 12/8/2019 at 7:07 AM, bastl said:

@alturismo Create "/etc/modprobe.d/snd-hda-intel.conf" inside the VM with the following content and restart the VM.


options snd-hda-intel enable_msi=1

Crackling sound should be gone with this.

Thank you! This fixed not only audio issue but also video playback (video was pausing in sync with audio at least while testing youtube).

 

Still getting weird screen artifacts on the top right of my primary and top left of my secondary monitor, any clue as to what that could be?

 

I've got ryzen 1600x, ASUS Prime B350-PLUS mb, GTX 1060 3GB (only GPU) passed through and running Ubuntu 19.04. In the Ubuntu software updater I've enable use of the nvidia-driver-418 as Nouveau was extremely unstable (although I haven't tested that with MSI enabled).

 

Please let me know if more info would be helpful!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.