Force vout option from npapi plugin
Posted: 04 Feb 2014 16:56
We are running the npapi plugin in windowless mode in firefox on Fedora 19 using intel HD 3000 graphics but see a lot of frame tearing when videos play.
It appears that the source of the problem is with the graphics drivers but despite trying several things, I've been unable to fix this. I can workaround the problem when running vlc directly from the command line by including one of "--vout=glx" or "--no-overlay". Unfortunately, it seems that these options are ignored by the web plugin. I've tried patching the plugin and rebuilding to set these options / allow them to be set (as suggested here - https://forum.videolan.org/viewtopic.php?t=114103) but have had no success.
I've also tried removing all vlc video_output plugins except libxcb_glx_plugin.so in the hope that vlc will resort to glx video output (as suggested in this post https://forum.videolan.org/viewtopic.php?t=107916). However as soon as I remove libvmem_plugin.so, the web plugin fails to show video. The vlc log shows the following errors:-
[0x7ff274e9b9b8] main generic error: option vmem-chroma does not exist
[0x7ff274e9b9b8] main generic error: option vmem-width does not exist
[0x7ff274e9b9b8] main generic error: option vmem-height does not exist
[0x7ff274e9b9b8] main generic error: option vmem-pitch does not exist
I would really appreciate it if anyone has any further suggestions for how to force either a video output of glx or set no-overlay from the npapi plugin?
It appears that the source of the problem is with the graphics drivers but despite trying several things, I've been unable to fix this. I can workaround the problem when running vlc directly from the command line by including one of "--vout=glx" or "--no-overlay". Unfortunately, it seems that these options are ignored by the web plugin. I've tried patching the plugin and rebuilding to set these options / allow them to be set (as suggested here - https://forum.videolan.org/viewtopic.php?t=114103) but have had no success.
I've also tried removing all vlc video_output plugins except libxcb_glx_plugin.so in the hope that vlc will resort to glx video output (as suggested in this post https://forum.videolan.org/viewtopic.php?t=107916). However as soon as I remove libvmem_plugin.so, the web plugin fails to show video. The vlc log shows the following errors:-
[0x7ff274e9b9b8] main generic error: option vmem-chroma does not exist
[0x7ff274e9b9b8] main generic error: option vmem-width does not exist
[0x7ff274e9b9b8] main generic error: option vmem-height does not exist
[0x7ff274e9b9b8] main generic error: option vmem-pitch does not exist
I would really appreciate it if anyone has any further suggestions for how to force either a video output of glx or set no-overlay from the npapi plugin?