xrdp_vaapi 项目 - 带硬件加速的远程桌面服务
项目描述
本项目自动构建支持Intel VA-API硬件加速的xrdp远程桌面服务器,并为Debian/Ubuntu系统配置可用的虚拟机环境。
虽然主要设计用于配合libvirt/qemu虚拟机和i915-sriov-dkms驱动使用,但也适用于其他场景。
[image: 1750767249320-30adb9d4-b0c7-4a2e-b905-dcaee41cafe3-image.png]
系统源配置要求
Debian/Ubuntu用户必须确保/etc/apt/sources.list包含完整源配置:
Debian系统源
deb https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb-src https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
Ubuntu系统源
deb http://de.archive.ubuntu.com/ubuntu noble main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu noble main restricted universe multiverse
使用指南
基础使用
克隆项目仓库:
git clone https://github.com/tabletseeker/xrdp_vaapi -b master
进入项目目录:
cd xrdp_vaapi
执行安装脚本:
bash xrdp_vaapi.sh
参数与环境变量说明
xrdp_vaapi.sh 脚本参数
参数/变量
说明
默认值/可选值
DRIVER_NAME
LIBVA_DRIVER_NAME环境变量
默认: iHD
BUILD_DIR
构建源代码目录
默认: 当前目录($PWD)
–sriov 或 -s
编译安装i915_sriov_dkms驱动
默认: false (不安装)
buildyami.sh 脚本参数
参数
说明
默认值/可选值
–prefix
安装目录
默认: /usr/local
–disable-x11
禁用X11支持编译
默认: 启用
–latest
自动获取最新版本
默认: 使用预设版本
注意:若不使用--latest参数,将使用xrdp_vaapi/yami/omatic/buildyami.sh文件中243-247行指定的固定版本号。