Page 1 of 1

Nvidia problems with hardware decoding

Posted: 13 Apr 2020 23:16
by adlerhn
I have recently enabled the Nvidia proprietary driver in my Optimus laptop. Whereas I never had any issue using the Intel driver, now that the Nvidia driver is enabled I was observing certain issues:

  1. The mouse cursor disappears when it passes in front of the video
  2. The playback controls disappear when the video is in full screen
  3. VLC now ignores the command-line video filters (e.g. --video-filter=croppadd{cropbottom=100})
I tried all video output modules and didn't make a difference.

On the input tab, hardware-accelerated decoding, I changed it from Automatic to Disabled and back. Now issues #1 and #2 are apparently fixed, for some reason that I don't understand. I can now see the mouse pointer and the controls in full screen.

However, the video filters are ignored, unless I disable all input hardware acceleration (both Nvidia/VDPAU and Intel/VA-API). With any sort of acceleration enabled, I get the following error:

croppadd filter error: Unknown input chroma VAOP

Any idea why the cursor and control disappeared and appeared again? And why are video filters not supported under acceleration? (I just want to crop the video from the command line)

I am using Ubuntu 20.04, X11, VLC 3.0.8, Nvidia proprietary driver 440.64.

Re: Nvidia problems with hardware decoding

Posted: 14 Apr 2020 18:20
by RĂ©mi Denis-Courmont
Most filters are not ported or not portable to hardware acceleration.