开源中国-最新资讯 ( ) • 2022-08-09 09:12

微软 Linux on Windows 团队主管宣布,已面向所有 Windows Insiders 用户推出了 Windows Subsystem for Linux 0.65.1。

WSL 即 Windows Subsystem for Linux,是 Windows 的 Linux 子系统,本质是在 Windows 上原生运行 Linux 二进制可执行文件(ELF 格式)的兼容层。它允许用户直接在 Windows 中运行 GNU/Linux 环境,而无需通过虚拟机 (VM)) 或配置双启动系统,支持 Windows 10 和 Windows 11。WSL 是一个非常方便的实用程序,尤其适用于跨平台开发和测试。微软会定期更新 WSL 的新特性和功能。

主要变化

  • 改进 localhost relay 以获得更好的性能,并准确报告绑定失败的情况
  • 使用/dev/ptp0来保持访客时钟 (guest chock) 与主机同步
  • 当无法获取发行版列表并连接到 wsl.exe --list --online时,改进了错误处理
  • 将 Linux 内核版本升级到 5.15.57.1
    • 修复自上一个 v5.10 WSL2 内核以来的 9p 文件系统回归错误
    • 启用对高精度时间同步协议 (PTP) 时钟设备的支持
    • 在 x86_64 构建中启用 Retbleed 缓解
    • 启用 nftables 和流量控制
    • 启用 VGEM 驱动
  • 将 Microsoft.WSLg 升级到 1.0.41
    • WSLg: 添加默认 x11 铃声
    • WSLg: 更新 /etc/wsl.conf 以将默认用户设置为 wslg
    • WSLGd: 在 gdbserver 下添加启动 weston 的选项
    • WSLGd: 简化 weston 命令行构建
    • compositor: 添加 wslgd-notify
    • compositor: 停止捕获 SIGINT
    • compositor: load xwayland module last
    • rdp: 调整 MoveWindow/SnapArrange PDU 的边际幅度 (margin adjustment)
    • rdpaudio: 使用 pthread_cancel instead of pthread_kill
    • xwayland: give Xwayland its own session
    • xwayland: Don't track focus for override redirect windows

下载地址 & Release Note