1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

群辉显卡转码折腾的一些心得体会

本帖由 a877505302023-03-15 发布。版面名称:群晖 Synology DSM

  1. a87750530

    a87750530 New Member

    注册:
    2019-08-19
    帖子:
    22
    先说结果,是还失败了,主要原因是显卡驱动版本太低了,已经成功在docker下面看到了显卡的信息

    教程来源
    https://www.right.com.cn/forum/thread-8267275-1-1.html
    https://imnks.com/7009.html

    说明及补充:
    本人比较喜欢
    nyanmisaka/jellyfin:latest
    的jellyfin,问题是要求显卡驱动太高
    jellyfin版本
    服务器:jellyfin

    版本:10.8.9
    操作系统:Linux


    docker部署代码
    docker run -d --name jellyfin \
    -p 8096:8096 \
    -v /volume2/docker/ny-jellyfin/config:/config:rw \
    -v /volume2/docker/ny-jellyfin/cache:/cache:rw \
    -v /volume3/YH12/jellyfin/media:/media:rw \
    -e NVIDIA_DRIVER_CAPABILITIES=all \
    -v /usr/local/bin/nvidia-smi:/usr/local/bin/nvidia-smi:rw \
    -v /usr/local/bin/nvidia-cuda-mps-control:/usr/local/bin/nvidia-cuda-mps-control:rw \
    -v /usr/local/bin/nvidia-persistenced:/usr/local/bin/nvidia-persistenced:rw \
    -v /usr/local/bin/nvidia-cuda-mps-server:/usr/local/bin/nvidia-cuda-mps-server:rw \
    -v /usr/local/bin/nvidia-debugdump:/usr/local/bin/nvidia-debugdump:rw \
    -v /usr/lib/libnvcuvid.so:/usr/lib/x86_64-linux-gnu/libnvcuvid.so:rw \
    -v /usr/lib/libnvidia-cfg.so:/usr/lib/x86_64-linux-gnu/libnvidia-cfg.so:rw \
    -v /usr/lib/libnvidia-compiler.so:/usr/lib/x86_64-linux-gnu/libnvidia-compiler.so:rw \
    -v /usr/lib/libnvidia-eglcore.so:/usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so:rw \
    -v /usr/lib/libnvidia-encode.so:/usr/lib/x86_64-linux-gnu/libnvidia-encode.so:rw \
    -v /usr/lib/libnvidia-fatbinaryloader.so:/usr/lib/x86_64-linux-gnu/libnvidia-fatbinaryloader.so:rw \
    -v /usr/lib/libnvidia-fbc.so:/usr/lib/x86_64-linux-gnu/libnvidia-fbc.so:rw \
    -v /usr/lib/libnvidia-glcore.so:/usr/lib/x86_64-linux-gnu/libnvidia-glcore.so:rw \
    -v /usr/lib/libnvidia-glsi.so:/usr/lib/x86_64-linux-gnu/libnvidia-glsi.so:rw \
    -v /usr/lib/libnvidia-ifr.so:/usr/lib/x86_64-linux-gnu/libnvidia-ifr.so:rw \
    -v /usr/lib/libnvidia-ml.so:/usr/lib/x86_64-linux-gnu/libnvidia-ml.so:rw \
    -v /usr/lib/libnvidia-opencl.so:/usr/lib/x86_64-linux-gnu/libnvidia-opencl.so:rw \
    -v /usr/lib/libnvidia-ptxjitcompiler.so:/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so:rw \
    -v /usr/lib/libnvidia-tls.so:/usr/lib/x86_64-linux-gnu/libnvidia-tls.so:rw \
    -v /usr/lib/libicuuc.so:/usr/lib/x86_64-linux-gnu/libicuuc.so:rw \
    -v /usr/lib/libcuda.so:/usr/lib/x86_64-linux-gnu/libcuda.so:rw \
    -v /usr/lib/libicudata.so:/usr/lib/x86_64-linux-gnu/libicudata.so:rw \
    --device /dev/nvidia0:/dev/nvidia0 \
    --device /dev/nvidiactl:/dev/nvidiactl \
    --device /dev/nvidia-uvm:/dev/nvidia-uvm \
    --device /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools \
    --restart unless-stopped \
    nyanmisaka/jellyfin:latest


    复制代码如果不喜欢读写可以把:rw去掉,此段代码与上面两个教程的运行命令略有不同
    完成后运行下面的命令
    #进入docker容器
    docker exec -i -t jellyfin /bin/bash
    #运行命令
    ldconfig
    nvidia-smi

    运行后成功看到显卡信息,以上仅供大佬参考,也希望大家能解决显卡驱动问题!
     
  2. xcgf

    xcgf Member

    注册:
    2019-11-30
    帖子:
    269
    怎么解决我不会 你出个视频教学