type
status
date
slug
summary
tags
category
icon
password
URL
环境说明
unraid6.9.2 gtx1650
显卡未直通
驱动安装
查询显卡支持linux驱动
驱动
查看支持列表,一般7系列之后都支持
支持
n卡解码编码
编码能力
插件安装
nvidia driver 安装过程中不要关闭安装界面,会下载几百兆驱动,等待下载完
gpu statistics 非必须,用于仪表盘显示gpu信息
nvtop 非必须,用于cli命令行显示gpu信息
插件应用
安装完三个插件后,在设置找到对应功能
打开nvidia driver ,正常情况可以看到显卡信息及驱动信息,说明驱动已正常安装
此处需注意 记下显卡id (GPU-xxxxxxxxxxxxxxxxxxxxxxxxxxxx)
打开GPU Statistics,设置仪表盘显示n卡信息
设置完后,在仪表盘可查看显卡运行信息,之后加速emby时,可以通过仪表盘判断emby是否调用独显加速
打开终端命令行,输入nvtop命令,可通过命令行查看显卡运行信息
emby/jellyfin 设置
编辑
jellyfin docker配置,打开高级视图,额外参数 修改为 --runtime=nvidia
添加变量
NVIDIA_VISIBLE_DEVICES GPU-xxxxxxxxxxxxxxxxxxxxxx(nvidia driver 应用显示的gpuid)
NVIDIA_DRIVER_CAPABILITIES all
--runtime=nvidiaNVIDIA_VISIBLE_DEVICES GPU-xxxxxxxxxxxxxxxxxxxxxx(nvidia driver 应用显示的gpuid)NVIDIA_DRIVER_CAPABILITIES all
重启jellyfin,进入jellyfin后台管理页面,设置转码
播放一个视频,修改码率,验证独显是否进行转码,查看仪表盘显卡运行信息,查看jellyfin后台播报信息
至此安装完成
作者声明本文无利益相关,欢迎值友理性交流,和谐讨论~
- 作者:Wilson Zeng
- 链接:https://wilsonzeng.com/article/f82f1602-81ea-4b6f-abde-5937e6a48c34
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。