Is GPU Acceleration 'On' by default on Plugin?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

Is GPU Acceleration 'On' by default on Plugin?

Postby chuck2nd » 24 Jan 2013 16:28

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
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 24 Jan 2013 19:00

No, you cannot change it. And if overlay is broken for you, drivers are likely the ones to blame.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

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

Postby chuck2nd » 24 Jan 2013 19:46

Thanks.
And overlay acceleration is 'on' by default in the plugin?
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 24 Jan 2013 20:07

Yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

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

Postby chuck2nd » 05 Jun 2013 22:27

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
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 07 Jun 2013 23:39

I don't think so.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

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

Postby chuck2nd » 13 Jun 2013 15:31

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
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 14 Jun 2013 15:37

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 ;)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

chuck2nd
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Sep 2012 14:36

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

Postby chuck2nd » 24 Jun 2013 19:06

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 :)
Chuck Harnden
Qinetiq North America
Kennedy Space Center

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 02 Jul 2013 16:08

It is not hardcoded.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

SteveTP
New Cone
New Cone
Posts: 4
Joined: 03 Feb 2014 17:17

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

Postby SteveTP » 06 Feb 2014 17:19

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 11 Feb 2014 17:59

By the scoring of the video output plugins.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests