Page 1 of 1

Is GPU Acceleration 'On' by default on Plugin?

Posted: 24 Jan 2013 16:28
by chuck2nd
I'm using:

VLC 2.0.4 Twoflower
NPAPI VLC plugin, version 2.0.4
Firefox 10.0.12
RHEL 6.2, 64 bit

When I run VLC with default settings and stream video, Xorg resources go to 100% when running multiple instances of streaming video. If I uncheck "Accelerated video output (Overlay)", Xorg resources return to normal. I believe there is a problem with the graphics card driver - but turning off acceleration solves the problem.

When using the plugin and running multiple instances of video on one web page, CPU resources go to 100%, which makes me believe GPU acceleration is on as default for the plugin. Is there a way to turn it off through the plugin interface, Or is there a VLC setting that sets GPU acceleration off when using the plugin?

thanks,

Chuck

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 24 Jan 2013 19:00
by Jean-Baptiste Kempf
No, you cannot change it. And if overlay is broken for you, drivers are likely the ones to blame.

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 24 Jan 2013 19:46
by chuck2nd
Thanks.
And overlay acceleration is 'on' by default in the plugin?

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 24 Jan 2013 20:07
by Jean-Baptiste Kempf
Yes.

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 05 Jun 2013 22:27
by chuck2nd
What about Video Output? I can get video running correctly with Video Overlay on, if I can set video output to "OpenGL GLS video output (XCB)". I have around 170 computers that I can manage the VLC configuration of, but need to view VLC through the plugin. If I set the video Output to OpenGL in the VLC preferences will the Plugin use this setting?
thanks,
Chuck

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 07 Jun 2013 23:39
by Jean-Baptiste Kempf
I don't think so.

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 13 Jun 2013 15:31
by chuck2nd
Would the only way to "force" the vout setting set to "OpenGL GLX video output (XCB)" when using the Web plugin be to recompile VLC and disable all other video output options in the configure.sh file... or is there an easier solution. Again the web embedded player will only be viewed by computers in which I manage the software load.
thanks,
Chuck

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 14 Jun 2013 15:37
by Jean-Baptiste Kempf
You could do that, or just remove the other .dll/.so for the other plugins :)
Or pay me to develop the switcher to activate the option ;)

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 24 Jun 2013 19:06
by chuck2nd
You could do that, or just remove the other .dll/.so for the other plugins
That would be too easy :) I actually tried removing the .so's not being used. Everything works fine running standalone VLC --- when I open Preferences -> video -> Output only has two options (default and OpenGL GLX video output (XCB); video streams fine. But using the web plugin, no video streams will start. I am going to slowly add video_output plugins back in to see which one the NPAPI Plugin is using.

I'm not sure if re-compiling will help if the plugin is hardcoded to use a specific vout.

Maybe I will require a custom switcher :)

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 02 Jul 2013 16:08
by Jean-Baptiste Kempf
It is not hardcoded.

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 06 Feb 2014 17:19
by SteveTP
I am facing a similar problem and would like to set the video output to OpenGL from the web plugin. I have tried removing the other .so plugin files but vlc complains when the vmem plugin is removed. If it's not hardcoded, where / how is the video output controlled for the web plugin?

Re: Is GPU Acceleration 'On' by default on Plugin?

Posted: 11 Feb 2014 17:59
by Jean-Baptiste Kempf
By the scoring of the video output plugins.