OpenVoiceOS / ovos-docker

Open Voice OS container images and docker-compose.yml files for x86_64 and aarch64 CPU architectures.
https://openvoiceos.github.io/ovos-docker/
Apache License 2.0
41 stars 13 forks source link

feat: run on windows with wsl2 #16

Closed mikejgray closed 1 year ago

mikejgray commented 1 year ago

https://matrix.to/#/!fSmTzeelJHuQezhZDa:matrix.org/$1yXy21Arg87ImzIxfG5C5yWKIkKaJVxFZSdb_oP3ngo?via=matrix.org&via=cyberia.club&via=mozilla.org

ChanceNCounter commented 1 year ago

With PulseAudio running on Windows, it's possible to run the Assistant natively under WSL. However, once I started Doing Stuff, I started producing BSODs that I never really figured out.

I came to associate them with launching Windows applications from a skill, but I never nailed it down.

Just a word of warning, and a reason to use this a lot before declaring it supported.

mikejgray commented 1 year ago

Fair callout, @ChanceNCounter . I do want to mention that Pulse is not running in Windows here, however - WSLG runs pulseaudio in a separate VM, which then passes through to the WSL2 distro. That intermediate VM handles the passing of audio back to Windows without ever running or installing PulseAudio.exe (that I'm aware of, anyway). So in theory the issues you described shouldn't happen here - but we should watch for them!

goldyfruit commented 1 year ago

@mikejgray awesome! :+1:

Could you please rename the docker-compose.wsl2.yml to docker-compose.windows.yml, it will be clearer for people not really comfortable with what WSL2 means.

As well, could you please add a little section in the main README about Windows (as I did for Mac OS)?

image

mikejgray commented 1 year ago

@mikejgray awesome! 👍

Could you please rename the docker-compose.wsl2.yml to docker-compose.windows.yml, it will be clearer for people not really comfortable with what WSL2 means.

As well, could you please add a little section in the main README about Windows (as I did for Mac OS)?

image

Done