Page 1 of 1

OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 5:58 pm
by dirkme
Hi Guys,

just wanted to make MX19.3 my gaming station and got to this error message : Failed to open NVENC codec: Function not implemented

Also in WarThunder I can't click any key bindings whatsoever, anybody know how to fix it?

Thanks a lot to all willing to help ;-)

Thanks

Dirk

Quick System Info:

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-12-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-12-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.3_x64 patito feo November 11  2020 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Desktop System: HP product: HP Pavilion Gaming Desktop 690-00xx v: N/A 
           serial: <filter> Chassis: type: 3 serial: <filter> 
           Mobo: HP model: 843B v: 00 serial: <filter> UEFI: AMI v: F.11 date: 06/11/2018 
CPU:       Topology: 6-Core model: Intel Core i5-8400 bits: 64 type: MCP arch: Kaby Lake 
           family: 6 model-id: 9E (158) stepping: A (10) microcode: D6 L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33696 
           Speed: 840 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 
           5: 899 6: 900 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: disabled, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Hewlett-Packard driver: nvidia 
           v: 418.152.00 bus ID: 01:00.0 chip ID: 10de:1c82 
           Display: x11 server: X.Org 1.20.4 driver: nvidia 
           unloaded: fbdev,modesetting,nouveau,vesa alternate: nv resolution: 1920x1080~60Hz 
           OpenGL: renderer: GeForce GTX 1050 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 418.152.00 
           direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 chip ID: 8086:a348 
           Device-2: NVIDIA GP107GL High Definition Audio vendor: Hewlett-Packard 
           driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb9 
           Device-3: Creative type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus ID: 1-4.3:31 chip ID: 041e:324d serial: <filter> 
           Device-4: Logitech type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-2:22 
           chip ID: 046d:08e3 serial: <filter> 
           Sound Server: ALSA v: k4.19.0-12-amd64 
Network:   Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: Hewlett-Packard 
           driver: r8822be v: kernel port: 4000 bus ID: 02:00.0 chip ID: 10ec:b822 
           IF: wlan0 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus ID: 03:00.0 
           chip ID: 10ec:8168 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.03 TiB used: 68.70 GiB (6.5%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520 SDAPNUW-128G-1006 
           size: 119.24 GiB block size: physical: 512 B logical: 512 B speed: 15.8 Gb/s lanes: 2 
           serial: <filter> rev: 20110006 scheme: GPT 
           ID-2: /dev/sda vendor: Western Digital model: WD10EZEX-60WN4A0 size: 931.51 GiB 
           block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: 1A01 scheme: GPT 
Partition: ID-1: / raw size: 22.92 GiB size: 22.44 GiB (97.88%) used: 8.21 GiB (36.6%) fs: ext4 
           dev: /dev/sda5 
           ID-2: /home raw size: 147.32 GiB size: 144.00 GiB (97.75%) used: 60.46 GiB (42.0%) 
           fs: ext4 dev: /dev/sda6 
Sensors:   System Temperatures: cpu: 56.0 C mobo: 27.8 C gpu: nvidia temp: 43 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 28% 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
           1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ buster main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian buster-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian buster main contrib non-free
           2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://mxrepo.com/mx/repo/ buster main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 317 Uptime: 1d 3h 43m Memory: 7.69 GiB used: 5.08 GiB (66.0%) 
           Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 
           Shell: quick-system-in running in: quick-system-in inxi: 3.0.36 

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 7:08 pm
by JayM
Can't help you very much with no Quick System info or anything. I assume you're using OBS Studio (but I have no idea what that has to do with gaming.) Did you try searching the web for the error message? I did and every indication is that it's a video driver issue, so again, you can't be helped until you provide the Quick System Info (just run it then paste in a reply, don't copy/paste) as we have no idea what video card or GPU you have or what version of its driver.

Regarding War Thunder, whatever that is, again we can't help you with assigning hot keys/shorycut keys as we don't know what desktop environment you have. Also and per the forum rules, which please read, you need to start a new topic for each issue or help request.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 7:20 pm
by dirkme
JayM wrote: Mon Nov 30, 2020 7:08 pm Can't help you very much with no Quick System info or anything. I assume you're using OBS Studio (but I have no idea what that has to do with gaming.) Did you try searching the web for the error message? I did and every indication is that it's a video driver issue, so again, you can't be helped until you provide the Quick System Info (just run it then paste in a reply, don't copy/paste) as we have no idea what video card or GPU you have or what version of its driver.
Let me know how to run the report and you get it, yes it is OBS and I used the MX NVIDIA installer which also said nvidia encoding installed.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 7:22 pm
by JayM
Click the link in my signature and follow the instructions.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 7:26 pm
by dirkme
JayM wrote: Mon Nov 30, 2020 7:22 pm Click the link in my signature and follow the instructions.
Thanks, copied into the top ;-)

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 8:18 pm
by JayM
Next question: how did you install OBS Studio?

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Mon Nov 30, 2020 8:28 pm
by JayM
Also your system would benefit immensely, especially for gaming, if you enabled the ahs repo in MX Repo manager on the third tab from the left (Individual sources), click Apply, open a terminal and run sudo apt update then install all of the updates when the update notifier icon turns green. You should probably also install the Debian 5.8 kernel from MX Package installer, Popular Applcations tab, Kernels section to get the full AHS suite, then select it as the default in MX Boot Options and reboot. You may also need to rerun the Nvidia driver installer tool and install the 4.50 driver from the test repo as the OBS error relates to your video driver which is currently 4.18. Do this after updating your kernel, and also the system with the ahs goodies.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 12:53 am
by dirkme
JayM wrote: Mon Nov 30, 2020 8:28 pm Also your system would benefit immensely, especially for gaming, if you enabled the ahs repo in MX Repo manager on the third tab from the left (Individual sources), click Apply, open a terminal and run sudo apt update then install all of the updates when the update notifier icon turns green. You should probably also install the Debian 5.8 kernel from MX Package installer, Popular Applcations tab, Kernels section to get the full AHS suite, then select it as the default in MX Boot Options and reboot. You may also need to rerun the Nvidia driver installer tool and install the 4.50 driver from the test repo as the OBS error relates to your video driver which is currently 4.18. Do this after updating your kernel, and also the system with the ahs goodies.
There is no AHS repro?? I am running 19.3 fully updated though.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 1:59 am
by JayM
Please post a screenshot of the MX Repo Manager's Individual Sources tab.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 5:37 pm
by Stevo
Have you ever enabled and installed anything from the third-party deb-multimedia repo? That can break nvenc.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 8:23 pm
by dirkme
Image
JayM wrote: Tue Dec 01, 2020 1:59 am Please post a screenshot of the MX Repo Manager's Individual Sources tab.
Image

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 8:24 pm
by dirkme
Stevo wrote: Tue Dec 01, 2020 5:37 pm Have you ever enabled and installed anything from the third-party deb-multimedia repo? That can break nvenc.
nope not on this installation.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 8:25 pm
by dirkme
JayM wrote: Mon Nov 30, 2020 8:18 pm Next question: how did you install OBS Studio?
through the MX Package installer.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Tue Dec 01, 2020 8:30 pm
by JayM
OK, but how? The Popular Applications tab, selecting individual packages in the Stable Repo tab, the Test Repo tab, the Debian Backports tab? You need to provide details when answering questions, otherwise your answers only lead to more questions which delays getting this fixed.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Wed Dec 02, 2020 1:41 am
by JayM
dirkme wrote: Tue Dec 01, 2020 8:23 pm Image
JayM wrote: Tue Dec 01, 2020 1:59 am Please post a screenshot of the MX Repo Manager's Individual Sources tab.
Image
The ahs repo is right there in the MX list. Check the checkbox and click apply. DO NOT check the checkbox for the test repo though or you'll booger your system.

Re: OBS - Failed to open NVENC codec: Function not implemented

Posted: Wed Dec 02, 2020 3:26 pm
by dirkme
JayM wrote: Wed Dec 02, 2020 1:41 am
dirkme wrote: Tue Dec 01, 2020 8:23 pm Image
JayM wrote: Tue Dec 01, 2020 1:59 am Please post a screenshot of the MX Repo Manager's Individual Sources tab.
Image
The ahs repo is right there in the MX list. Check the checkbox and click apply. DO NOT check the checkbox for the test repro though or you'll booger your system.
Thanks, I have no clue why I couldn't see the trees in front of the Forrest, will update my hopefully success ;-)