microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
9.91k stars 298 forks source link

Unable to use libsound2-dev with WSL #420

Open mcandre opened 2 years ago

mcandre commented 2 years ago

Environment

Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] 10.0.19043.0
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL] 20.04
Your WSLg version: [Open 'Apps and Features' and check the version of 'Windows Subsystem for Linux GUI app support', e.g: 0.2.3.13] 5.10.16

Steps to reproduce

Source: https://github.com/mcandre/octane

Trace:

octane -list
Polling for MIDI devices...
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory

MidiInAlsa::initialize: error creating ALSA sequencer client object.
panic: can't open default MIDI in: �x�

Expected behavior

The available MIDI devices are enumerated.

Actual behavior

Linux environment unable to present sound devices. In fact, NO sound devices are available.

$ ls /dev/snd
ls: cannot access '/dev/snd': No such file or directory
hideyukn88 commented 2 years ago

Hi @mcandre, WSL runs on virtual machine, thus unless those hardware on host are projected to virtual machine and properly assign for guest VM usage, it does not work. This is currently not supported. I move this as enhancement for future consideration. Thanks for trying out WSLg!

aakh1361 commented 5 months ago

Hi @mcandre, WSL runs on virtual machine, thus unless those hardware on host are projected to virtual machine and properly assign for guest VM usage, it does not work. This is currently not supported. I move this as enhancement for future consideration. Thanks for trying out WSLg!

hi When will it be done ? The past two and a half years