Spotify web player crackles on Bionic












0















I have not installed, and do not want to install, the snap for Spotify, but I've been using the Web Player in Firefox. Unfortunately, I get a lot of crackling in the sound. It doesn't happen with anything else -- just Spotify. I have filmed it, and you can hear it here:



https://youtu.be/GM6x5d78xdM



I know the sound quality isn't that great, but a few seconds into the video you get a really good idea of the sound I'm describing. I would describe it as "static" or "crackling" or "noise."



At the time the video was filmed, Firefox was the only application I had launched, and Spotify was the only tab open. It doesn't happen all the time, and it will start and stop doing it at seemingly random times. It doesn't seem to depend on system load or uptime.



Firefox: 65.0+build2-0ubuntu0.18.04.1



Kernel: 4.15.0.45.47 (generic)



Probably some other important information is that I have an NVIDIA GTX 1080 which is outputting sound and video through HDMI to my TV. This is from lshw:



*-display
description: VGA compatible controller
product: GP104 [GeForce GTX 1080]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:126 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
*-multimedia
description: Audio device
product: GP104 High Definition Audio Controller
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:17 memory:f7080000-f7083fff


NVIDIA packages, from dpkg --list | grep nvidia:



ii  libnvidia-cfg1-410:amd64                        410.48-0ubuntu1                              amd64        NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-410 410.48-0ubuntu1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-410:amd64 410.48-0ubuntu1 amd64 NVIDIA libcompute package
ii libnvidia-decode-410:amd64 410.48-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-410:amd64 410.48-0ubuntu1 amd64 NVENC Video Encoding runtime library
ii libnvidia-fbc1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-compute-utils-410 410.48-0ubuntu1 amd64 NVIDIA compute utilities
ii nvidia-dkms-410 410.48-0ubuntu1 amd64 NVIDIA DKMS package
ii nvidia-driver-410 410.48-0ubuntu1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-410 410.48-0ubuntu1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-410 410.48-0ubuntu1 amd64 NVIDIA kernel source package
ii nvidia-modprobe 410.48-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
ii nvidia-settings 410.48-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-410 410.48-0ubuntu1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-410 410.48-0ubuntu1 amd64 NVIDIA binary Xorg driver


gstreamer packages, from dpkg --list | gstreamer:



ii  gir1.2-gstreamer-1.0                            1.14.1-1~ubuntu18.04.1                       amd64        GObject introspection data for the GStreamer library
ii gstreamer1.0-alsa:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for ALSA
ii gstreamer1.0-clutter-3.0:amd64 3.0.26-1 amd64 Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-fluendo-mp3:amd64 0.10.32.debian-1 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
ii gstreamer1.0-gl:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for GL
ii gstreamer1.0-libav:amd64 1.14.1-1~ubuntu18.04.1 amd64 libav plugin for GStreamer
ii gstreamer1.0-packagekit 1.1.9-1ubuntu2.18.04.4 amd64 GStreamer plugin to install codecs using PackageKit
ii gstreamer1.0-plugins-base:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-good:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:amd64 1.14.1-1~ubuntu18.04.1 amd64 GStreamer plugins from the "ugly" set
ii gstreamer1.0-pulseaudio:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for PulseAudio
ii gstreamer1.0-tools 1.14.1-1~ubuntu18.04.1 amd64 Tools for use with GStreamer
ii gstreamer1.0-vaapi:amd64 1.14.1-1~ubuntu18.04.1 amd64 VA-API plugins for GStreamer
ii gstreamer1.0-x:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for X11 and Pango
ii libgstreamer-gl1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer GL libraries
ii libgstreamer-plugins-bad1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "bad" set
ii libgstreamer-plugins-base1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer development files for libraries from the "good" set
ii libgstreamer1.0-0:amd64 1.14.1-1~ubuntu18.04.1 amd64 Core GStreamer libraries and elements


Here is the output from top showing my memory and CPU usage:



top - 12:10:58 up 7 min,  1 user,  load average: 0.61, 0.47, 0.22
Tasks: 246 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
%Cpu(s): 8.0 us, 4.3 sy, 0.0 ni, 87.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 32881844 total, 30656428 free, 1297688 used, 927728 buff/cache
KiB Swap: 0 total, 0 free, 0 used. 31089084 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3035 branja 20 0 1878116 283552 159828 S 27.4 0.9 1:01.55 Web Content
2534 branja 9 -11 2286424 16448 12884 S 10.2 0.1 0:33.16 pulseaudio
2958 branja 20 0 2315556 343116 161660 S 9.2 1.0 0:39.19 firefox
3485 branja 20 0 398532 37640 29816 S 3.3 0.1 0:06.72 plugin-con+
2482 branja 20 0 3606692 279140 94580 S 1.7 0.8 0:16.13 gnome-shell
3941 branja 20 0 42920 4124 3452 R 1.0 0.0 0:00.13 top
2296 root -51 0 0 0 0 S 0.7 0.0 0:02.81 irq/126-nv+
2318 root 20 0 379360 81576 66464 S 0.7 0.2 0:09.60 Xorg
8 root 20 0 0 0 0 I 0.3 0.0 0:00.40 rcu_sched
36 root 20 0 0 0 0 I 0.3 0.0 0:01.35 kworker/1:1
37 root 20 0 0 0 0 I 0.3 0.0 0:00.05 kworker/2:1
621 root 20 0 0 0 0 S 0.3 0.0 0:00.04 md0_raid1
1104 systemd+ 20 0 71012 6356 5600 S 0.3 0.0 0:00.19 systemd-re+
3093 branja 20 0 1520556 104932 80640 S 0.3 0.3 0:00.91 WebExtensi+
3576 branja 20 0 421364 5196 4560 S 0.3 0.0 0:00.02 sd_generic
1 root 20 0 225376 9112 6692 S 0.0 0.0 0:01.35 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd


If you need any other logs or information, please let me know! Any help is appreciated -- thank you!










share|improve this question





























    0















    I have not installed, and do not want to install, the snap for Spotify, but I've been using the Web Player in Firefox. Unfortunately, I get a lot of crackling in the sound. It doesn't happen with anything else -- just Spotify. I have filmed it, and you can hear it here:



    https://youtu.be/GM6x5d78xdM



    I know the sound quality isn't that great, but a few seconds into the video you get a really good idea of the sound I'm describing. I would describe it as "static" or "crackling" or "noise."



    At the time the video was filmed, Firefox was the only application I had launched, and Spotify was the only tab open. It doesn't happen all the time, and it will start and stop doing it at seemingly random times. It doesn't seem to depend on system load or uptime.



    Firefox: 65.0+build2-0ubuntu0.18.04.1



    Kernel: 4.15.0.45.47 (generic)



    Probably some other important information is that I have an NVIDIA GTX 1080 which is outputting sound and video through HDMI to my TV. This is from lshw:



    *-display
    description: VGA compatible controller
    product: GP104 [GeForce GTX 1080]
    vendor: NVIDIA Corporation
    physical id: 0
    bus info: pci@0000:01:00.0
    version: a1
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
    configuration: driver=nvidia latency=0
    resources: irq:126 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
    *-multimedia
    description: Audio device
    product: GP104 High Definition Audio Controller
    vendor: NVIDIA Corporation
    physical id: 0.1
    bus info: pci@0000:01:00.1
    version: a1
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list
    configuration: driver=snd_hda_intel latency=0
    resources: irq:17 memory:f7080000-f7083fff


    NVIDIA packages, from dpkg --list | grep nvidia:



    ii  libnvidia-cfg1-410:amd64                        410.48-0ubuntu1                              amd64        NVIDIA binary OpenGL/GLX configuration library
    ii libnvidia-common-410 410.48-0ubuntu1 all Shared files used by the NVIDIA libraries
    ii libnvidia-compute-410:amd64 410.48-0ubuntu1 amd64 NVIDIA libcompute package
    ii libnvidia-decode-410:amd64 410.48-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
    ii libnvidia-encode-410:amd64 410.48-0ubuntu1 amd64 NVENC Video Encoding runtime library
    ii libnvidia-fbc1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii libnvidia-gl-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii libnvidia-ifr1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
    ii nvidia-compute-utils-410 410.48-0ubuntu1 amd64 NVIDIA compute utilities
    ii nvidia-dkms-410 410.48-0ubuntu1 amd64 NVIDIA DKMS package
    ii nvidia-driver-410 410.48-0ubuntu1 amd64 NVIDIA driver metapackage
    ii nvidia-kernel-common-410 410.48-0ubuntu1 amd64 Shared files used with the kernel module
    ii nvidia-kernel-source-410 410.48-0ubuntu1 amd64 NVIDIA kernel source package
    ii nvidia-modprobe 410.48-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
    ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
    ii nvidia-settings 410.48-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
    ii nvidia-utils-410 410.48-0ubuntu1 amd64 NVIDIA driver support binaries
    ii xserver-xorg-video-nvidia-410 410.48-0ubuntu1 amd64 NVIDIA binary Xorg driver


    gstreamer packages, from dpkg --list | gstreamer:



    ii  gir1.2-gstreamer-1.0                            1.14.1-1~ubuntu18.04.1                       amd64        GObject introspection data for the GStreamer library
    ii gstreamer1.0-alsa:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for ALSA
    ii gstreamer1.0-clutter-3.0:amd64 3.0.26-1 amd64 Clutter PLugin for GStreamer 1.0
    ii gstreamer1.0-fluendo-mp3:amd64 0.10.32.debian-1 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
    ii gstreamer1.0-gl:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for GL
    ii gstreamer1.0-libav:amd64 1.14.1-1~ubuntu18.04.1 amd64 libav plugin for GStreamer
    ii gstreamer1.0-packagekit 1.1.9-1ubuntu2.18.04.4 amd64 GStreamer plugin to install codecs using PackageKit
    ii gstreamer1.0-plugins-base:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "base" set
    ii gstreamer1.0-plugins-base-apps 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer helper programs from the "base" set
    ii gstreamer1.0-plugins-good:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "good" set
    ii gstreamer1.0-plugins-ugly:amd64 1.14.1-1~ubuntu18.04.1 amd64 GStreamer plugins from the "ugly" set
    ii gstreamer1.0-pulseaudio:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for PulseAudio
    ii gstreamer1.0-tools 1.14.1-1~ubuntu18.04.1 amd64 Tools for use with GStreamer
    ii gstreamer1.0-vaapi:amd64 1.14.1-1~ubuntu18.04.1 amd64 VA-API plugins for GStreamer
    ii gstreamer1.0-x:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for X11 and Pango
    ii libgstreamer-gl1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer GL libraries
    ii libgstreamer-plugins-bad1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "bad" set
    ii libgstreamer-plugins-base1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "base" set
    ii libgstreamer-plugins-good1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer development files for libraries from the "good" set
    ii libgstreamer1.0-0:amd64 1.14.1-1~ubuntu18.04.1 amd64 Core GStreamer libraries and elements


    Here is the output from top showing my memory and CPU usage:



    top - 12:10:58 up 7 min,  1 user,  load average: 0.61, 0.47, 0.22
    Tasks: 246 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 8.0 us, 4.3 sy, 0.0 ni, 87.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
    KiB Mem : 32881844 total, 30656428 free, 1297688 used, 927728 buff/cache
    KiB Swap: 0 total, 0 free, 0 used. 31089084 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3035 branja 20 0 1878116 283552 159828 S 27.4 0.9 1:01.55 Web Content
    2534 branja 9 -11 2286424 16448 12884 S 10.2 0.1 0:33.16 pulseaudio
    2958 branja 20 0 2315556 343116 161660 S 9.2 1.0 0:39.19 firefox
    3485 branja 20 0 398532 37640 29816 S 3.3 0.1 0:06.72 plugin-con+
    2482 branja 20 0 3606692 279140 94580 S 1.7 0.8 0:16.13 gnome-shell
    3941 branja 20 0 42920 4124 3452 R 1.0 0.0 0:00.13 top
    2296 root -51 0 0 0 0 S 0.7 0.0 0:02.81 irq/126-nv+
    2318 root 20 0 379360 81576 66464 S 0.7 0.2 0:09.60 Xorg
    8 root 20 0 0 0 0 I 0.3 0.0 0:00.40 rcu_sched
    36 root 20 0 0 0 0 I 0.3 0.0 0:01.35 kworker/1:1
    37 root 20 0 0 0 0 I 0.3 0.0 0:00.05 kworker/2:1
    621 root 20 0 0 0 0 S 0.3 0.0 0:00.04 md0_raid1
    1104 systemd+ 20 0 71012 6356 5600 S 0.3 0.0 0:00.19 systemd-re+
    3093 branja 20 0 1520556 104932 80640 S 0.3 0.3 0:00.91 WebExtensi+
    3576 branja 20 0 421364 5196 4560 S 0.3 0.0 0:00.02 sd_generic
    1 root 20 0 225376 9112 6692 S 0.0 0.0 0:01.35 systemd
    2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd


    If you need any other logs or information, please let me know! Any help is appreciated -- thank you!










    share|improve this question



























      0












      0








      0








      I have not installed, and do not want to install, the snap for Spotify, but I've been using the Web Player in Firefox. Unfortunately, I get a lot of crackling in the sound. It doesn't happen with anything else -- just Spotify. I have filmed it, and you can hear it here:



      https://youtu.be/GM6x5d78xdM



      I know the sound quality isn't that great, but a few seconds into the video you get a really good idea of the sound I'm describing. I would describe it as "static" or "crackling" or "noise."



      At the time the video was filmed, Firefox was the only application I had launched, and Spotify was the only tab open. It doesn't happen all the time, and it will start and stop doing it at seemingly random times. It doesn't seem to depend on system load or uptime.



      Firefox: 65.0+build2-0ubuntu0.18.04.1



      Kernel: 4.15.0.45.47 (generic)



      Probably some other important information is that I have an NVIDIA GTX 1080 which is outputting sound and video through HDMI to my TV. This is from lshw:



      *-display
      description: VGA compatible controller
      product: GP104 [GeForce GTX 1080]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:126 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
      *-multimedia
      description: Audio device
      product: GP104 High Definition Audio Controller
      vendor: NVIDIA Corporation
      physical id: 0.1
      bus info: pci@0000:01:00.1
      version: a1
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list
      configuration: driver=snd_hda_intel latency=0
      resources: irq:17 memory:f7080000-f7083fff


      NVIDIA packages, from dpkg --list | grep nvidia:



      ii  libnvidia-cfg1-410:amd64                        410.48-0ubuntu1                              amd64        NVIDIA binary OpenGL/GLX configuration library
      ii libnvidia-common-410 410.48-0ubuntu1 all Shared files used by the NVIDIA libraries
      ii libnvidia-compute-410:amd64 410.48-0ubuntu1 amd64 NVIDIA libcompute package
      ii libnvidia-decode-410:amd64 410.48-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
      ii libnvidia-encode-410:amd64 410.48-0ubuntu1 amd64 NVENC Video Encoding runtime library
      ii libnvidia-fbc1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
      ii libnvidia-gl-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
      ii libnvidia-ifr1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
      ii nvidia-compute-utils-410 410.48-0ubuntu1 amd64 NVIDIA compute utilities
      ii nvidia-dkms-410 410.48-0ubuntu1 amd64 NVIDIA DKMS package
      ii nvidia-driver-410 410.48-0ubuntu1 amd64 NVIDIA driver metapackage
      ii nvidia-kernel-common-410 410.48-0ubuntu1 amd64 Shared files used with the kernel module
      ii nvidia-kernel-source-410 410.48-0ubuntu1 amd64 NVIDIA kernel source package
      ii nvidia-modprobe 410.48-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
      ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
      ii nvidia-settings 410.48-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
      ii nvidia-utils-410 410.48-0ubuntu1 amd64 NVIDIA driver support binaries
      ii xserver-xorg-video-nvidia-410 410.48-0ubuntu1 amd64 NVIDIA binary Xorg driver


      gstreamer packages, from dpkg --list | gstreamer:



      ii  gir1.2-gstreamer-1.0                            1.14.1-1~ubuntu18.04.1                       amd64        GObject introspection data for the GStreamer library
      ii gstreamer1.0-alsa:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for ALSA
      ii gstreamer1.0-clutter-3.0:amd64 3.0.26-1 amd64 Clutter PLugin for GStreamer 1.0
      ii gstreamer1.0-fluendo-mp3:amd64 0.10.32.debian-1 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
      ii gstreamer1.0-gl:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for GL
      ii gstreamer1.0-libav:amd64 1.14.1-1~ubuntu18.04.1 amd64 libav plugin for GStreamer
      ii gstreamer1.0-packagekit 1.1.9-1ubuntu2.18.04.4 amd64 GStreamer plugin to install codecs using PackageKit
      ii gstreamer1.0-plugins-base:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "base" set
      ii gstreamer1.0-plugins-base-apps 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer helper programs from the "base" set
      ii gstreamer1.0-plugins-good:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "good" set
      ii gstreamer1.0-plugins-ugly:amd64 1.14.1-1~ubuntu18.04.1 amd64 GStreamer plugins from the "ugly" set
      ii gstreamer1.0-pulseaudio:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for PulseAudio
      ii gstreamer1.0-tools 1.14.1-1~ubuntu18.04.1 amd64 Tools for use with GStreamer
      ii gstreamer1.0-vaapi:amd64 1.14.1-1~ubuntu18.04.1 amd64 VA-API plugins for GStreamer
      ii gstreamer1.0-x:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for X11 and Pango
      ii libgstreamer-gl1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer GL libraries
      ii libgstreamer-plugins-bad1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "bad" set
      ii libgstreamer-plugins-base1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "base" set
      ii libgstreamer-plugins-good1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer development files for libraries from the "good" set
      ii libgstreamer1.0-0:amd64 1.14.1-1~ubuntu18.04.1 amd64 Core GStreamer libraries and elements


      Here is the output from top showing my memory and CPU usage:



      top - 12:10:58 up 7 min,  1 user,  load average: 0.61, 0.47, 0.22
      Tasks: 246 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 8.0 us, 4.3 sy, 0.0 ni, 87.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
      KiB Mem : 32881844 total, 30656428 free, 1297688 used, 927728 buff/cache
      KiB Swap: 0 total, 0 free, 0 used. 31089084 avail Mem

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
      3035 branja 20 0 1878116 283552 159828 S 27.4 0.9 1:01.55 Web Content
      2534 branja 9 -11 2286424 16448 12884 S 10.2 0.1 0:33.16 pulseaudio
      2958 branja 20 0 2315556 343116 161660 S 9.2 1.0 0:39.19 firefox
      3485 branja 20 0 398532 37640 29816 S 3.3 0.1 0:06.72 plugin-con+
      2482 branja 20 0 3606692 279140 94580 S 1.7 0.8 0:16.13 gnome-shell
      3941 branja 20 0 42920 4124 3452 R 1.0 0.0 0:00.13 top
      2296 root -51 0 0 0 0 S 0.7 0.0 0:02.81 irq/126-nv+
      2318 root 20 0 379360 81576 66464 S 0.7 0.2 0:09.60 Xorg
      8 root 20 0 0 0 0 I 0.3 0.0 0:00.40 rcu_sched
      36 root 20 0 0 0 0 I 0.3 0.0 0:01.35 kworker/1:1
      37 root 20 0 0 0 0 I 0.3 0.0 0:00.05 kworker/2:1
      621 root 20 0 0 0 0 S 0.3 0.0 0:00.04 md0_raid1
      1104 systemd+ 20 0 71012 6356 5600 S 0.3 0.0 0:00.19 systemd-re+
      3093 branja 20 0 1520556 104932 80640 S 0.3 0.3 0:00.91 WebExtensi+
      3576 branja 20 0 421364 5196 4560 S 0.3 0.0 0:00.02 sd_generic
      1 root 20 0 225376 9112 6692 S 0.0 0.0 0:01.35 systemd
      2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd


      If you need any other logs or information, please let me know! Any help is appreciated -- thank you!










      share|improve this question
















      I have not installed, and do not want to install, the snap for Spotify, but I've been using the Web Player in Firefox. Unfortunately, I get a lot of crackling in the sound. It doesn't happen with anything else -- just Spotify. I have filmed it, and you can hear it here:



      https://youtu.be/GM6x5d78xdM



      I know the sound quality isn't that great, but a few seconds into the video you get a really good idea of the sound I'm describing. I would describe it as "static" or "crackling" or "noise."



      At the time the video was filmed, Firefox was the only application I had launched, and Spotify was the only tab open. It doesn't happen all the time, and it will start and stop doing it at seemingly random times. It doesn't seem to depend on system load or uptime.



      Firefox: 65.0+build2-0ubuntu0.18.04.1



      Kernel: 4.15.0.45.47 (generic)



      Probably some other important information is that I have an NVIDIA GTX 1080 which is outputting sound and video through HDMI to my TV. This is from lshw:



      *-display
      description: VGA compatible controller
      product: GP104 [GeForce GTX 1080]
      vendor: NVIDIA Corporation
      physical id: 0
      bus info: pci@0000:01:00.0
      version: a1
      width: 64 bits
      clock: 33MHz
      capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
      configuration: driver=nvidia latency=0
      resources: irq:126 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
      *-multimedia
      description: Audio device
      product: GP104 High Definition Audio Controller
      vendor: NVIDIA Corporation
      physical id: 0.1
      bus info: pci@0000:01:00.1
      version: a1
      width: 32 bits
      clock: 33MHz
      capabilities: pm msi pciexpress bus_master cap_list
      configuration: driver=snd_hda_intel latency=0
      resources: irq:17 memory:f7080000-f7083fff


      NVIDIA packages, from dpkg --list | grep nvidia:



      ii  libnvidia-cfg1-410:amd64                        410.48-0ubuntu1                              amd64        NVIDIA binary OpenGL/GLX configuration library
      ii libnvidia-common-410 410.48-0ubuntu1 all Shared files used by the NVIDIA libraries
      ii libnvidia-compute-410:amd64 410.48-0ubuntu1 amd64 NVIDIA libcompute package
      ii libnvidia-decode-410:amd64 410.48-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
      ii libnvidia-encode-410:amd64 410.48-0ubuntu1 amd64 NVENC Video Encoding runtime library
      ii libnvidia-fbc1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
      ii libnvidia-gl-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
      ii libnvidia-ifr1-410:amd64 410.48-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
      ii nvidia-compute-utils-410 410.48-0ubuntu1 amd64 NVIDIA compute utilities
      ii nvidia-dkms-410 410.48-0ubuntu1 amd64 NVIDIA DKMS package
      ii nvidia-driver-410 410.48-0ubuntu1 amd64 NVIDIA driver metapackage
      ii nvidia-kernel-common-410 410.48-0ubuntu1 amd64 Shared files used with the kernel module
      ii nvidia-kernel-source-410 410.48-0ubuntu1 amd64 NVIDIA kernel source package
      ii nvidia-modprobe 410.48-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
      ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA's Prime
      ii nvidia-settings 410.48-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
      ii nvidia-utils-410 410.48-0ubuntu1 amd64 NVIDIA driver support binaries
      ii xserver-xorg-video-nvidia-410 410.48-0ubuntu1 amd64 NVIDIA binary Xorg driver


      gstreamer packages, from dpkg --list | gstreamer:



      ii  gir1.2-gstreamer-1.0                            1.14.1-1~ubuntu18.04.1                       amd64        GObject introspection data for the GStreamer library
      ii gstreamer1.0-alsa:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for ALSA
      ii gstreamer1.0-clutter-3.0:amd64 3.0.26-1 amd64 Clutter PLugin for GStreamer 1.0
      ii gstreamer1.0-fluendo-mp3:amd64 0.10.32.debian-1 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
      ii gstreamer1.0-gl:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for GL
      ii gstreamer1.0-libav:amd64 1.14.1-1~ubuntu18.04.1 amd64 libav plugin for GStreamer
      ii gstreamer1.0-packagekit 1.1.9-1ubuntu2.18.04.4 amd64 GStreamer plugin to install codecs using PackageKit
      ii gstreamer1.0-plugins-base:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "base" set
      ii gstreamer1.0-plugins-base-apps 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer helper programs from the "base" set
      ii gstreamer1.0-plugins-good:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins from the "good" set
      ii gstreamer1.0-plugins-ugly:amd64 1.14.1-1~ubuntu18.04.1 amd64 GStreamer plugins from the "ugly" set
      ii gstreamer1.0-pulseaudio:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugin for PulseAudio
      ii gstreamer1.0-tools 1.14.1-1~ubuntu18.04.1 amd64 Tools for use with GStreamer
      ii gstreamer1.0-vaapi:amd64 1.14.1-1~ubuntu18.04.1 amd64 VA-API plugins for GStreamer
      ii gstreamer1.0-x:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer plugins for X11 and Pango
      ii libgstreamer-gl1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer GL libraries
      ii libgstreamer-plugins-bad1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "bad" set
      ii libgstreamer-plugins-base1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer libraries from the "base" set
      ii libgstreamer-plugins-good1.0-0:amd64 1.14.1-1ubuntu1~ubuntu18.04.1 amd64 GStreamer development files for libraries from the "good" set
      ii libgstreamer1.0-0:amd64 1.14.1-1~ubuntu18.04.1 amd64 Core GStreamer libraries and elements


      Here is the output from top showing my memory and CPU usage:



      top - 12:10:58 up 7 min,  1 user,  load average: 0.61, 0.47, 0.22
      Tasks: 246 total, 1 running, 158 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 8.0 us, 4.3 sy, 0.0 ni, 87.6 id, 0.0 wa, 0.0 hi, 0.1 si, 0.0 st
      KiB Mem : 32881844 total, 30656428 free, 1297688 used, 927728 buff/cache
      KiB Swap: 0 total, 0 free, 0 used. 31089084 avail Mem

      PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
      3035 branja 20 0 1878116 283552 159828 S 27.4 0.9 1:01.55 Web Content
      2534 branja 9 -11 2286424 16448 12884 S 10.2 0.1 0:33.16 pulseaudio
      2958 branja 20 0 2315556 343116 161660 S 9.2 1.0 0:39.19 firefox
      3485 branja 20 0 398532 37640 29816 S 3.3 0.1 0:06.72 plugin-con+
      2482 branja 20 0 3606692 279140 94580 S 1.7 0.8 0:16.13 gnome-shell
      3941 branja 20 0 42920 4124 3452 R 1.0 0.0 0:00.13 top
      2296 root -51 0 0 0 0 S 0.7 0.0 0:02.81 irq/126-nv+
      2318 root 20 0 379360 81576 66464 S 0.7 0.2 0:09.60 Xorg
      8 root 20 0 0 0 0 I 0.3 0.0 0:00.40 rcu_sched
      36 root 20 0 0 0 0 I 0.3 0.0 0:01.35 kworker/1:1
      37 root 20 0 0 0 0 I 0.3 0.0 0:00.05 kworker/2:1
      621 root 20 0 0 0 0 S 0.3 0.0 0:00.04 md0_raid1
      1104 systemd+ 20 0 71012 6356 5600 S 0.3 0.0 0:00.19 systemd-re+
      3093 branja 20 0 1520556 104932 80640 S 0.3 0.3 0:00.91 WebExtensi+
      3576 branja 20 0 421364 5196 4560 S 0.3 0.0 0:00.02 sd_generic
      1 root 20 0 225376 9112 6692 S 0.0 0.0 0:01.35 systemd
      2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd


      If you need any other logs or information, please let me know! Any help is appreciated -- thank you!







      18.04 nvidia sound spotify






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 11 at 19:57







      Jared Brandt

















      asked Feb 11 at 18:35









      Jared BrandtJared Brandt

      306




      306






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117451%2fspotify-web-player-crackles-on-bionic%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117451%2fspotify-web-player-crackles-on-bionic%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕