我剛剛將 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?。