拍电影

 找回密码
 注册

QQ登录

只需一步,快速开始

MOVCAM铁头官方网店
查看: 2736|回复: 0

[调色] Centos8 linux for DaVinci Resolve16

[复制链接]
A德 实名认证

30

主题

368

帖子

0

精华

认证会员

出品人 制片 编剧 导演 摄影 剪辑 调色

注册时间
2013-3-3
发表于 2020-4-5 00:33 | 显示全部楼层 |阅读模式
技术帖
内容来源: 原创(楼主原创内容)
技术帖类别: 经验/心得
本帖最后由 A德 于 2020-4-5 01:12 编辑

Centos8 linux for DaVinci Resolve16实际上也测试了POP.UBUNTU.DEEPIN等系统安装Resolve16的运行。都非常类似。
下面是centos8安装Resolve16的一些参考。

  • I have DaVinci Resolve Studio 16.0 up and running on CentOS 8.0 with the NVIDIA 430.50 driver for a single GTX 1080 Ti card.

    For now, until ELRepo can get the NVIDIA driver packaged for CentOS 8, the NVIDIA driver can only be installed with the .run file, which is even more convoluted than previously, because CentOS 8 defaults to Wayland. Wayland must be disabled because NVIDIA doesn't yet have a driver compatible with Wayland.

    N.B. using NVIDIA's .run file requires the use of a virtual console and perhaps even SSHing in from a different machine on your LAN at times. You should be comfortable with the CLI to attempt this.

    I keep these notes hosted on GitHub, because software constantly changes. If and when ELRepo does package the NVIDIA driver for CentOS 8, I'll modify the instructions to take advantage of that, because that's much easier. Also, I had to temporarily remove my optional instructions for installing PostgreSQL on CentOS 8, just because I haven't yet done it, but I still have instructions available that should work for CentOS 7.7. When I do upgrade my PostgreSQL server from 7.7 to 8.0, I'll add instructions for how to do it back into my main document.
    • Create a bootable USB drive
    • UEFI settings
      • Set to boot to a USB drive first
      • Disable Secure Boot and disable Legacy BIOS mode
    • Install CentOS from USB
      • Software selection should be Workstation with only GNOME Applications checked.
      • Set up DHCP
        • Set password for root account and create just one administrator account

    • CentOS's installation interacts with HP's UEFI in such a way as to change the boot order, so reboot, and you'll boot to the M.2 SSD with the fresh installation
      • Reboot and you'll boot into the M.2 SSD with the fresh installation
      • Accept the CentOS license
      • You can then safely eject the USB installation disk
    • Install CentOS updates and reboot
    • Take note of the IP address on the LAN, because you might need to SSH into the machine later.
    • Install the kernel source:
      • $ sudo yum install "kernel-devel-uname-r == $(uname -r)"
    • Install EPEL
    • Install DKMS
      • $ sudo yum install dkms
    • Prepare for the NVIDIA driver
      • Download the .run file for 430.50 from NVIDIA's site.
      • Become the root user:
        • $ su -
      • Make the file executable:
        • # chmod +x NVIDIA-Linux-x86_64-430.50.run
      • Blacklist the nouveau module:
        • # echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.conf
      • Install dependencies:
        • # dnf groupinstall "Workstation" "base-x" "Legacy X Window System Compatibility" "Development Tools"
        • # dnf install elfutils-libelf-devel "kernel-devel-uname-r == $(uname -r)"
      • Back up and rebuild your initramfs:
        • # mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
        • # dracut -f
      • Change the default runlevel:
        • # systemctl set-default multi-user.target
      • Reboot the system:
        • # reboot

    • From the command-line, log into root, navigate to wherever you put the .run file, and then install the NVIDA driver:
      • # ./NVIDIA-Linux-x86_64-430.50.run
        • Be sure to install to DKMS
      • Test the new driver:
        • # systemctl isolate graphical.target
      • If the test is successful, correct your default runlevel:
        • # systemctl set-default graphical.target
      • Reboot:
        • # reboot
      • Confirm that you're running the NVIDIA driver at any time by running $ nvidia-smi
    • Download and install the latest DeckLink driver
      • Download the latest driver from the Blackmagic Design website
      • Become the root user:
        • $ su -
          • When prompted, enter your root user's password.

      • If you already have an older DeckLink driver installed, uninstall it:
        • # rpm -qa | grep desktopvideo | xargs rpm -e
      • If GNOME didn't uncompress it for you already, uncompress the downloaded driver package:
        • # tar xvfz /path/to/downloaded/driver/location/Blackmagic_Desktop_Video_Linux_.tar.gz
      • cd into the rpm folder, since this is CentOS
        • # cd /Blackmagic_Desktop_Video_Linux_/rpm/
      • Install the latest Desktop Video driver, GUI, and Media Express. Type:
        • # rpm -ivh desktopvideo-.x86_64.rpm
        • # rpm -ivh desktopvideo-gui-.x86_64.rpm
        • # rpm -ivh mediaexpress-.x86_64.rpm
      • The installer for Media Express might fail and tell you that you mediaexpress needs libGLU.so.1, so install libGLU and try again:
        • # dnf install mesa-libGLU
      • After the installation completes, you should see the terminal prompt. Reboot.
      • After the machine has rebooted, open a Terminal shell again
      • Become the root user again:
        • $ su -
          • When prompted, please enter your root user's password
        • You might need to update the firmware on your DeckLink card. Type:
          • # BlackmagicFirmwareUpdater update 0
        • If a firmware update was applied, reboot the machine after it completes. If no firmware update was required, a reboot is not necessary.

    • At this point, installing Desktop Video to DKMS will probably have "broken" the grub configuration again. If you try to log into the GUI, the screen will just go black. So we'll need to go rebuild the grub configuration again.
      • If you can get to a virtual console, log in. Otherwise, SSH into the root account from a different machine on the network.
      • vim into /etc/default/grub
      • For the GRUB_CMDLINE_LINUX line, remove rhgb and add rd.driver.blacklist=nouveau", so that the whole line is:
        • GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.lvm.lv=cl/swap quiet rd.driver.blacklist=nouveau"
      • Write and close: :wq
      • Rebuild the grub configuration again:
        • # grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
      • Reboot:
        • # reboot

    • Now we should be totally ready for DaVinci Resolve.
    • Install DaVinci Resolve
      • Download and extract DaVinci_Resolve_Studio_16.0_Linux.zip (if you have a DaVinci Resolve license dongle or key) or DaVinci_Resolve_16.0_Linux.zip from the Blackmagic Design website.
      • Double-click the .run file to use the GUI installer
      • Resolve might not launch after the installation--if you run it via the command-line from /opt/resolve/bin/, you can look for clues as to why it might not be able to launch. If some program is missing, try figuring out what Resolve needs and install via dnf.
         一般在正常安装完CT8系统后,安装完N驱动,再安装完DR16软件,是无法正常启动DR16的,因为缺少一些相关的依赖程序,需要自己用终端命令行,来启动程序,查看缺少的依赖软件,然后逐个安装,直到能运行DR16为止。ubuntu19.10/20.04系统也是一样存在这样的问题。当然在我看来,我觉得Centos系并不是一个很好的视觉工作站桌面图形发行版系统,相比之下桌面发行版,ubuntu是更好的选择。但是ubuntu在第三方工业体系支持里来说,是没有RPM系更全的。毕竟RHEL的引领还是非常重要的。但就个人使用和娱乐来说,Ubuntu更容易使用。同样也包括安装使用DR16.但是比如IO卡,raid卡,ubuntu的驱动和管理软件就没有RPM系更全。


您需要登录后才可以回帖 登录 | 注册

本版积分规则

filmaker.cn ( 桂ICP备16000355号-1 )

GMT+8, 2020-5-27 22:51

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表