Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win10 wsl2是否支持 #178

Open
fanshunguo opened this issue Jun 13, 2022 · 3 comments
Open

win10 wsl2是否支持 #178

fanshunguo opened this issue Jun 13, 2022 · 3 comments
Assignees
Labels
operation problem 用户操作问题

Comments

@fanshunguo
Copy link

环境win10 wsl2 ubuntu20.04
wsl内核不支持声卡显卡,启动wukong后报错:
image
定位到是pyaudio模块,调用portaudio时,输入输出设备为空,如下图:
image
image
尝试使用pulseaudio,但是portaudio好像不支持puleaudio,没有找到相关配置文档。
是否有什么方法可以workaround?

@fanshunguo fanshunguo added the operation problem 用户操作问题 label Jun 13, 2022
@yetzi1975
Copy link

yetzi1975 commented Aug 30, 2022

我是同样的环境,遇到了同样的问题。
3fc4f46f81ae4bbed608e996f2739eb

@0Lisixian0
Copy link

虽然已经过去了一年,但还是说一下我的解决方案。我也是win10的ubuntu20.04子系统。
要安装pulseaudio,在win10系统上和Ubuntu子系统上都要安装,修改配置后同时开启,就可以实现让子系统使用Windows的声音输入输出设备。
参考:
https://www.lance.moe/archives/post-335/
https://blog.csdn.net/Parabolaa/article/details/126611447
https://gyrojeff.top/index.php/archives/WSL%E5%A3%B0%E9%9F%B3%E8%BE%93%E5%85%A5%E8%BE%93%E5%87%BA%E6%96%B9%E6%A1%88-pulseaudio/

@Joseph513shen
Copy link

虽然已经过去了一年,但还是说一下我的解决方案。我也是win10的ubuntu20.04子系统。 要安装pulseaudio,在win10系统上和Ubuntu子系统上都要安装,修改配置后同时开启,就可以实现让子系统使用Windows的声音输入输出设备。 参考: https://www.lance.moe/archives/post-335/ https://blog.csdn.net/Parabolaa/article/details/126611447 https://gyrojeff.top/index.php/archives/WSL%E5%A3%B0%E9%9F%B3%E8%BE%93%E5%85%A5%E8%BE%93%E5%87%BA%E6%96%B9%E6%A1%88-pulseaudio/

请问这个WSL就是子系统是吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operation problem 用户操作问题
Projects
None yet
Development

No branches or pull requests

5 participants