Bridge DMS rendering through NixGL

This commit is contained in:
wuyang
2026-07-27 17:11:49 +08:00
parent 475b87e903
commit 27da2e9dbe
7 changed files with 132 additions and 26 deletions
+5 -2
View File
@@ -26,8 +26,8 @@ Engine 创意工坊图片,不修改显示器分辨率、缩放和排列。
curl -fsSL https://git.k1412.top/wuyang/niri-beyond-glass/raw/branch/main/install.sh | bash
```
首次安装需要编译 Niri,并下载约 700 MB 的隔离 DMS 运行环境,最终约占用
2.2 GB。脚本会调用 `sudo` 安装依赖,但必须以普通用户运行。完成后注销,在
首次安装需要编译 Niri,并下载隔离 DMS 运行环境与 NixGL 图形驱动桥接
最终约占用 3.3 GB。脚本会调用 `sudo` 安装依赖,但必须以普通用户运行。完成后注销,在
GDM 会话菜单选择 **Niri**
已经运行过旧版安装器但顶栏风格不一致时,直接再次运行同一命令。脚本会跳过
@@ -105,6 +105,8 @@ curl -fsSL https://git.k1412.top/wuyang/niri-beyond-glass/raw/branch/main/uninst
`/usr/local` 编译安装 0.3.0。
- Ubuntu 24.04 的 PPA 没有 DMS/Quickshell 软件包,因此使用 Ubuntu 自带 Nix
作为隔离兼容层;这不把 Ubuntu 转换为 NixOS。
- Quickshell 通过 64 位 NixGL 桥接 Ubuntu 的 OpenGL/Vulkan 驱动;不安装
DMS 不需要的 32 位图形库。
- 不安装 DMS Greeter,登录界面仍由 GDM 管理;DMS 锁屏属于 Niri 会话内部。
- 壁纸和显示器布局不会从作者机器迁移。
- NVIDIA 用户应先确保 Ubuntu 官方驱动在 GNOME Wayland 下工作正常。
@@ -114,6 +116,7 @@ curl -fsSL https://git.k1412.top/wuyang/niri-beyond-glass/raw/branch/main/uninst
- [Niri](https://github.com/niri-wm/niri)
- [DankMaterialShell](https://github.com/AvengeMedia/DankMaterialShell)
- [Quickshell](https://quickshell.org/)
- [NixGL](https://github.com/nix-community/nixGL)
- [Xwayland Satellite](https://github.com/Supreeeme/xwayland-satellite)
## License