折腾本腾
Nas 篇一:unraid 安装 nvidia驱动加速 emby/jellyfin_NAS存储_什么值得买
00 分钟
2023-7-15
2023-9-17
type
status
date
slug
summary
tags
category
icon
password
URL
notion image

环境说明

unraid6.9.2 gtx1650
显卡未直通

驱动安装

查询显卡支持linux驱动

notion image
驱动
查看支持列表,一般7系列之后都支持
notion image
支持
n卡解码编码
编码能力
notion image

插件安装

nvidia driver 安装过程中不要关闭安装界面,会下载几百兆驱动,等待下载完
notion image
gpu statistics 非必须,用于仪表盘显示gpu信息
notion image
nvtop 非必须,用于cli命令行显示gpu信息
notion image

插件应用

安装完三个插件后,在设置找到对应功能
notion image
打开nvidia driver ,正常情况可以看到显卡信息及驱动信息,说明驱动已正常安装
此处需注意 记下显卡id (GPU-xxxxxxxxxxxxxxxxxxxxxxxxxxxx)
notion image
打开GPU Statistics,设置仪表盘显示n卡信息
设置完后,在仪表盘可查看显卡运行信息,之后加速emby时,可以通过仪表盘判断emby是否调用独显加速
notion image
notion image
打开终端命令行,输入nvtop命令,可通过命令行查看显卡运行信息
notion image

emby/jellyfin 设置

编辑
jellyfin docker配置,打开高级视图,额外参数 修改为 --runtime=nvidia
添加变量
NVIDIA_VISIBLE_DEVICES GPU-xxxxxxxxxxxxxxxxxxxxxx(nvidia driver 应用显示的gpuid)
notion image
NVIDIA_DRIVER_CAPABILITIES all
notion image
--runtime=nvidia
NVIDIA_VISIBLE_DEVICES GPU-xxxxxxxxxxxxxxxxxxxxxx(nvidia driver 应用显示的gpuid)
NVIDIA_DRIVER_CAPABILITIES all
重启jellyfin,进入jellyfin后台管理页面,设置转码
notion image
播放一个视频,修改码率,验证独显是否进行转码,查看仪表盘显卡运行信息,查看jellyfin后台播报信息
notion image
notion image
至此安装完成
作者声明本文无利益相关,欢迎值友理性交流,和谐讨论~

评论
Loading...