我刚刚将 Ubuntu 18.04 升级到 20.04。不幸的是,OBS 组件等一些东西已经损坏。
以下是捕获的一些日志/var/log/syslog
Aug 23 10:13:38 pc com.obsproject.Studio.desktop[5817]: [h264_nvenc @ 0x55a8e843d200] Driver does not support the required nvenc API version. Required: 9.1 Found: 8.1
Aug 23 10:13:38 pc com.obsproject.Studio.desktop[5817]: [h264_nvenc @ 0x55a8e843d200] The minimum required Nvidia driver for nvenc is 435.21 or newer
Aug 23 10:13:38 pc com.obsproject.Studio.desktop[5817]: warning: [NVENC encoder: 'simple_h264_recording'] Failed to open NVENC codec: Function not implemented
我已经更新了系统sudo apt update -y && sudo apt upgrade -y
但问题并没有得到解决。
我应该怎样修复此问题?
答案1
打开终端并输入:
sudo apt update
sudo apt-get remove '^nvidia'
sudo apt autoremove
sudo apt install nvidia-driver-435 # or alternatively nvidia-driver-440
sudo reboot
如果执行这些命令后仍然收到Failed to open NVENC codec: Function not implemented
错误消息,请参阅
如何在 Ubuntu 中安装/编译 NVENC?。