for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Sound through mini displayport my accasualy stop working

Open rostidev opened this issue 1 year ago • 1 comments

Description

Sound through mini displayport of my monitor may stop working. When it happens playing youtube videos at least in the Firefox browser slows down and looks like playing in slow motion. If I switch to any other sound device, for example to my headphones (connected into USB) or to the integrated Realtek sound card the sound works properly again and youtube videos are played correctly. If I reboot my computer the sound and the youtube in Firefox works properly through the mini displayport until next unpredictable time this issue happens.

I have the latest drivers of my Intel HD 4600 video card (20.19.15.5171) and of Intel Display Audio (6.16.0.3208). I use Windows 10 Professional 22H2 build 19045.4291 with all latest updates installed. Hyper-V is disabled, only Virtual Machine Platform and WSL are enabled. Tried with WSL versions: 2.2.3 (now), 2.2.2, 2.1.5 With only WSL installed without Docker Desktop is seems like it doesn't happen. Before I started to use Docker Desktop and WSL this issue never happened for years.

Reproduce

Don't have a specific scenario. It just happens sometimes.

Expected behavior

Sound through all sound devices must always work properly.

docker version

Client:
 Cloud integration: v1.0.35+desktop.13
 Version:           26.0.0
 API version:       1.45
 Go version:        go1.21.8
 Git commit:        2ae903e
 Built:             Wed Mar 20 15:18:56 2024
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.29.0 (145265)
 Engine:
  Version:          26.0.0
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.8
  Git commit:       8b79278
  Built:            Wed Mar 20 15:18:01 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

docker info

Client:
 Version:    26.0.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.13.1-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.26.1-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.23
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     C:\Program Files\Docker\cli-plugins\docker-feedback.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.1.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.6.3
    Path:     C:\Program Files\Docker\cli-plugins\docker-scout.exe

Server:
 Containers: 35
  Running: 19
  Paused: 0
  Stopped: 16
 Images: 18
 Server Version: 26.0.0
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
 Kernel Version: 5.15.153.1-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 7.607GiB
 Name: docker-desktop
 ID: 9ddb21d1-d969-4090-a006-1ff59935967c
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: daemon is not using the default seccomp profile

Diagnostics ID

2F0444EB-B34F-4DCA-86BA-1D5F9BC9597F/20240426053000

Additional Info

Currently I have K8s enabled but with K8s disabled it happens too.

rostidev avatar Apr 26 '24 05:04 rostidev

Happens with WSL 2.2.4 as well. Also when it happens it could sometimes be fixed manually without reboot by the Windows 10 "Troubleshoot sound problems" option that reinstall the current sound driver of the Intel(R) Display Audio.

rostidev avatar Apr 27 '24 04:04 rostidev

Seems to be not related to the Docker itself but to the WSL2 or to the "Virtual Machine Platform" component of Windows 10 Pro. See my other issue and comments there: https://github.com/microsoft/WSL/issues/11546

rostidev avatar May 10 '24 13:05 rostidev