Hiccups with nvidia-378.13 & GPU mode (with workaround)

Hello,

I noticed that after updating the nvidia drivers (in my case on Arch Linux) to 378.13, videos in shotcut will jump back and forth while playing when using GPU accelerated mode. I’m not sure whether this is a problem with the nvidia drivers or shotcut, but at any rate, starting shotcut with the following environment helps to avoid the stutters:

__GL_THREADED_OPTIMIZATIONS=0 shotcut

Replace “shotcut” with whatever command you use to actually start your installation of shortcut. The background is that the latest nvidia drivers try to use OpenGL Threaded Optimizations by default (see nvidia driver README). The above environment variable force-disables them.

It would be interesting to know whether the nvidia drivers or shotcut/MLT is the culprit. As a workaround, maybe it would be worthwhile to include the environment definition in shotcut for the time being?

Best regards
Ochi

I can add it to the launcher script for Linux.