Hardware acceleration for flash video

162 views
Skip to first unread message

edv-te...@marel.at

unread,
Jan 20, 2012, 4:02:02 AM1/20/12
to Webconverger Users
Hi,

I miss hardware acceleration for flash video (stage video support).
This should be possible with VDPAU library. Is this feature scheduled
near future? Would be great if we can use your product as "standalone"
flash client.

BR, Mike

Kai Hendry

unread,
Jan 21, 2012, 10:26:22 AM1/21/12
to webc-...@googlegroups.com

I would have included it earlier if I knew the name of the package. :)

x220:~$ curl -s
http://build.webconverger.org/webconverger.2012-01-21.packages | grep
nvidia
nvidia-vdpau-driver 195.36.31-6

Could folks with nvidia hardware please try
http://build.webconverger.org/webconverger.2012-01-21.iso and report
if it works?

Kind regards,

Kai Hendry

unread,
Jan 24, 2012, 9:49:39 PM1/24/12
to webc-...@googlegroups.com
Could anyone with access to nvidia hardware please test the latest dailies?

http://build.webconverger.org/


I want to do a new release with Linux 3.2, the improvements in the
Firefox extension (tab groups removed and proper download blocking!)
and hopefully the improved nvidia performance! :)


Many thanks,

edv-te...@marel.at

unread,
Jan 25, 2012, 7:45:26 AM1/25/12
to webc-...@googlegroups.com
Hi Kai,

thank you for fast response! I tested both images (from 21th and 24th) and there's no effect about hardware acceleration with nvidia cards. At the moment it is a little tricky to add this feature to Flash player, because it seems Adobe doesn't support stage video on official releases. At Ubuntu I install Firefox Addon "Flash-aid". This allows to install latest beta (currently 11.2.202.183) of flash player and run some tweaks (/etc/adobe/mms.cfg) to add hardware acceleration. This works, but at fullscreen a wrong color space is set. This means red color is shown as blue and other way. So it's still beta development, but it even plays 1080p video with 20fps on a low CPU system (instead of 7 fps with CPU only).

Here are some links:
http://ubuntuforums.org/showthread.php?t=1856830
http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer11-2/flashplayer11-2_p4_install_lin_32_011912.tar.gz

I will check further updates and let you know about it.

BR, Mike

Kai Hendry

unread,
Jan 25, 2012, 11:51:49 PM1/25/12
to webc-...@googlegroups.com
On 25 January 2012 20:45, <edv-te...@marel.at> wrote:
> thank you for fast response! I tested both images (from 21th and 24th) and
> there's no effect about hardware acceleration with nvidia cards. At the

Drat. :/ Should I remove the nvidia-vdpau-driver then?

> and other way. So it's still beta development, but it even plays 1080p video
> with 20fps on a low CPU system (instead of 7 fps with CPU only).

> I will check further updates and let you know about it.

Please do. Though I'm kinda keen to ween people off Flash. Have you
experimented with 1080p and HTML5 video?
Have a play with http://m.vid.ly/ I think it helps convert between formats.


Kind regards,

edv-te...@marel.at

unread,
Jan 27, 2012, 2:55:44 AM1/27/12
to webc-...@googlegroups.com
Am Donnerstag, 26. Januar 2012 05:51:49 UTC+1 schrieb Kai Hendry:

Drat. :/ Should I remove the nvidia-vdpau-driver then?

 I think, it's not needed.

Please do. Though I'm kinda keen to ween people off Flash. Have you
experimented with 1080p and HTML5 video?
Have a play with http://m.vid.ly/ I think it helps convert between formats.

I understand your statement. For our streaming solution flash is nearly perfect, because we can handle streaming byte for byte. With Adobe AIR it works on several operating systems too and - instead of HTML5 - one file format is needed only. I tried HTML5 video with Webconverger at Youtube. WebM codec is supported only and hardware acceleration doesn't work. Welcome to the codec jungle ;-)

Kai Hendry

unread,
Jan 27, 2012, 11:11:23 PM1/27/12
to webc-...@googlegroups.com
On 27 January 2012 15:55, <edv-te...@marel.at> wrote:
> I understand your statement. For our streaming solution flash is nearly
> perfect, because we can handle streaming byte for byte. With Adobe AIR it
> works on several operating systems too and - instead of HTML5 - one file
> format is needed only. I tried HTML5 video with Webconverger at Youtube.
> WebM codec is supported only and hardware acceleration doesn't work. Welcome
> to the codec jungle ;-)

I thought these two blogs lately were pretty interesting.
http://www.longtailvideo.com/html5/
http://hsivonen.iki.fi/webm-share/

It's a bit of a shame streaming and even blasted fullscreen isn't very
easy in HTML5 video. :/

Rok Škufca

unread,
Jan 31, 2012, 8:57:02 AM1/31/12
to Webconverger Users
I test webconverger on pc with nvidia graphic, max resolution is only
1024x765, i need 1280x1024? I tested it on another pc with resolution
1366x768 but max resolution is not work.
Have you some idea what is wrong?

BR,
Rok

On Jan 21, 4:26 pm, Kai Hendry <hen...@webconverger.com> wrote:
> On 20 January 2012 17:02,  <edv-techni...@marel.at> wrote:
>
> > I miss hardware acceleration for flash video (stage video support).
> > This should be possible with VDPAU library. Is this feature scheduled
> > near future? Would be great if we can use your product as "standalone"
> > flash client.
>
> I would have included it earlier if I knew the name of the package. :)
>
> x220:~$ curl -shttp://build.webconverger.org/webconverger.2012-01-21.packages| grep
> nvidia
> nvidia-vdpau-driver     195.36.31-6
>
> Could folks with nvidia hardware please tryhttp://build.webconverger.org/webconverger.2012-01-21.isoand report

Rok Škufca

unread,
Feb 1, 2012, 9:21:05 AM2/1/12
to Webconverger Users
When i run xrandr --auto get this:

xrandr: Failed to get size of gamma for output default

no idea how to solve problem.

BR, Rok

On Jan 26, 5:51 am, Kai Hendry <hen...@webconverger.com> wrote:
> On 25 January 2012 20:45,  <edv-techni...@marel.at> wrote:
>
> > thank you for fast response! I tested both images (from 21th and 24th) and
> > there's no effect about hardware acceleration with nvidia cards. At the
>
> Drat. :/ Should I remove the nvidia-vdpau-driver then?
>
> > and other way. So it's still beta development, but it even plays 1080p video
> > with 20fps on a low CPU system (instead of 7 fps with CPU only).
> > I will check further updates and let you know about it.
>
> Please do. Though I'm kinda keen to ween people off Flash. Have you
> experimented with 1080p and HTML5 video?
> Have a play withhttp://m.vid.ly/I think it helps convert between formats.
>
> Kind regards,

Kai Hendry

unread,
Feb 1, 2012, 9:27:47 AM2/1/12
to webc-...@googlegroups.com
2012/2/1 Rok Škufca <r...@skufca.net>:

> When i run xrandr --auto get this:
> xrandr: Failed to get size of gamma for output default
> no idea how to solve problem.

Have you Googled about with "xrandr: Failed to get size of gamma for
output default"? There seems to be a few long threads.


I generally find if xrandr fails, it usually down to odd unsupported
hardware. :/

Rok Škufca

unread,
Feb 1, 2012, 9:30:50 AM2/1/12
to Webconverger Users
Hm... i tested with ubuntu live cd, and it works well.

maybe i must manual configure xorg.conf?

Kai Hendry

unread,
Feb 1, 2012, 9:32:10 AM2/1/12
to webc-...@googlegroups.com
2012/1/31 Rok Škufca <r...@skufca.net>:

> I test webconverger on pc with nvidia graphic,  max resolution is only
> 1024x765, i need 1280x1024? I tested it on another pc with resolution
> 1366x768 but max resolution is not work.
> Have you some idea what is wrong?

Since I don't have nvidia hardware, this is pretty hard for me to figure out.

The Debian packaged nvidia-vdpau-driver didn't seem to help:
https://groups.google.com/forum/#!msg/webc-users/S8OUpjU5HaU/SAU6tIt1HWsJ


I think I need to figure out how the proprietary driver is packaged in
Ubuntu and think how to offer it in Webconverger:
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia

You could try installing Ubuntu packages in Debian... :)

Kind regards,

Rok Škufca

unread,
Feb 1, 2012, 9:54:54 AM2/1/12
to Webconverger Users
the driver must be Nouveau for nvidia, this driver is instaled in
webconverger, but dont know why not working properly?

On Feb 1, 3:32 pm, Kai Hendry <hen...@webconverger.com> wrote:
> 2012/1/31 Rok Škufca <r...@skufca.net>:
>
> > I test webconverger on pc with nvidia graphic,  max resolution is only
> > 1024x765, i need 1280x1024? I tested it on another pc with resolution
> > 1366x768 but max resolution is not work.
> > Have you some idea what is wrong?
>
> Since I don't have nvidia hardware, this is pretty hard for me to figure out.
>
> The Debian packaged nvidia-vdpau-driver didn't seem to help:https://groups.google.com/forum/#!msg/webc-users/S8OUpjU5HaU/SAU6tIt1...

Kai Hendry

unread,
Feb 1, 2012, 9:58:22 AM2/1/12
to webc-...@googlegroups.com
2012/2/1 Rok Škufca <r...@skufca.net>:

> the driver must be Nouveau for nvidia, this driver is instaled in
> webconverger, but dont know why not working properly?

Can you inspect the logs? Compare them to Ubuntu's?


I did notice: http://www.unixmen.com/script-to-install-nividia-driver-in-debian-squeeze-with-one-click/

Rok Škufca

unread,
Feb 1, 2012, 12:06:12 PM2/1/12
to Webconverger Users
i test the nvidia install script, but the resolution not work, the
same problem.
maybe is problem in kernel 3.2, becouse the script not find package
nvidia-kernel-3.2, can you prepare one webconverger iso with kernel
2.6 and i test the nvidia script with kernel 2.6, and we will see what
will happen?
> I did notice:http://www.unixmen.com/script-to-install-nividia-driver-in-debian-squ...

Rok Škufca

unread,
Feb 1, 2012, 12:41:04 PM2/1/12
to Webconverger Users
i compare webconverger and ubuntu.
ubuntu have kernel 2.6.
i run the command "lshw -C video" and find the difference. on ubuntu
have information "driver:nouveau", on webconverger is without this
information, so i think that webconverger doesn't find the right
driver.
> I did notice:http://www.unixmen.com/script-to-install-nividia-driver-in-debian-squ...

Kai Hendry

unread,
Feb 1, 2012, 10:43:54 PM2/1/12
to webc-...@googlegroups.com
2012/2/2 Rok Škufca <r...@skufca.net>:

> i compare webconverger and ubuntu.
> ubuntu have kernel 2.6.
> i run the command "lshw -C video" and find the difference. on ubuntu
> have information "driver:nouveau", on webconverger is without this
> information, so i think that webconverger doesn't find the right
> driver.

Thanks Rok for taking the time to investigate this.

I've since added xserver-xorg-video-nouveau
https://github.com/Webconverger/Debian-Live-config/commit/66529f341f3d06d9479621944122bdcf5e14e9d1

Could you please test the latest daily and let us know if it worked
for you and your nvidia hardware?
http://build.webconverger.org/webconverger.2012-02-01.packages

Many thanks!

Rok Škufca

unread,
Feb 2, 2012, 3:37:04 AM2/2/12
to Webconverger Users
I test the latest build. the system not boot. here is the error:
Using system config directory "/usr/share/X11/xorg.conf.d"
No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support


On Feb 2, 4:43 am, Kai Hendry <hen...@webconverger.com> wrote:
> 2012/2/2 Rok Škufca <r...@skufca.net>:
>
> > i compare webconverger and ubuntu.
> > ubuntu have kernel 2.6.
> > i run the command "lshw -C video" and find the difference. on ubuntu
> > have information "driver:nouveau", on webconverger is without this
> > information, so i think that webconverger doesn't find the right
> > driver.
>
> Thanks Rok for taking the time to investigate this.
>
> I've since added xserver-xorg-video-nouveauhttps://github.com/Webconverger/Debian-Live-config/commit/66529f341f3...

Rok Škufca

unread,
Feb 2, 2012, 3:55:32 AM2/2/12
to Webconverger Users
before i forgot 1 line

Using config file: "/etc/X11/xconf.org" is before
Using system config directory "/usr/share/X11/xorg.conf.d"
No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support at http://wiki.x.org

Rok Škufca

unread,
Feb 2, 2012, 5:48:22 AM2/2/12
to Webconverger Users
I tested it in vmware workstation and get error:

Using config file: "/etc/X11/xconf.org"
Using system config directory "/usr/share/X11/xorg.conf.d"
Failed to load module "vmware" (module does not exist, 0)
Failed to load module "vesa" (module does not exist, 0)
Failed to load module "fbdev" (module does not exist, 0)
No drivers available.
Fatal server error:
no screens found

On Nvidia PC:
Using config file: "/etc/X11/xconf.org"
Using system config directory "/usr/share/X11/xorg.conf.d"
Failed to load module "nv" (module does not exist, 0)
Failed to load module "vesa" (module does not exist, 0)
Failed to load module "fbdev" (module does not exist, 0)
[drm] failed to open device
No drivers available.
Fatal server error:
no screens found


On Feb 2, 9:55 am, Rok Škufca <r...@skufca.net> wrote:
> before i forgot 1 line
>
> Using config file: "/etc/X11/xconf.org" is before
> Using system config directory "/usr/share/X11/xorg.conf.d"
> No drivers available.
>
> Fatal server error:
> no screens found
>
> Please consult the The X.Org Foundation support athttp://wiki.x.org
>
> On Feb 2, 9:37 am, Rok (c)kufca <r...@skufca.net> wrote:
>
>
>
>
>
>
>
> > I test the latest build. the system not boot. here is the error:
> > Using system config directory "/usr/share/X11/xorg.conf.d"
> > No drivers available.
>
> > Fatal server error:
> > no screens found
>
> > Please consult the The X.Org Foundation support
>
> > On Feb 2, 4:43 am, Kai Hendry <hen...@webconverger.com> wrote:
>
> > > 2012/2/2 Rok (c)kufca <r...@skufca.net>:

Steve Robson

unread,
Feb 2, 2012, 6:19:05 AM2/2/12
to webc-...@googlegroups.com
Running inside a VMWare virtual machine (VM) necessitates using VMWare's
video driver (correctly called as "vmware" in your example). However,
you have to install it. It is part of a bundle that VMWare calls
"vmware-tools". The "vmware" driver then passes the video to the "real"
hardware. AFAIK, you can't use any other driver in a VMWare VM.

-Steve

Kai Hendry

unread,
Feb 2, 2012, 6:23:50 AM2/2/12
to webc-...@googlegroups.com

Will check the daily in an hour or two to see if I've botched it.

Kai Hendry

unread,
Feb 2, 2012, 7:36:47 AM2/2/12
to webc-...@googlegroups.com
Hmmm, there is a problem.

It must be the new package causing this fault. :/ I'll rebuild now, to
make 100% sure.

2012-02-02-203420_1366x768_scrot.png

Kai Hendry

unread,
Feb 2, 2012, 10:45:00 AM2/2/12
to webc-...@googlegroups.com
I've reverted the change; https://github.com/Webconverger/Debian-Live-config

The latest dailies include Iceweasel 10 which newly includes the
inspector which I might leave enabled. Since the Inspector remarkably
seems to play well within a tab, and unlike View Source, it doesn't
pop out a window. Very cool!

Rok (cool name btw), moving forward, since you have the nvidia
hardware. Could you please launch the latest daily in DEBUG mode and:

1) sudo apt-get install xserver-xorg-video-nouveau
2) sudo pkill X

And try to debug what's going on?

http://wiki.debian.org/NvidiaGraphicsDrivers#Installation


Kind regards,

Rok Škufca

unread,
Feb 2, 2012, 11:59:58 AM2/2/12
to Webconverger Users
i tested it.
sudo apt-get install xserver-xorg-video-nouveau
xserver-xorg-video-nouveau is already the newest version.

kind regards,
Rok

Rok Škufca

unread,
Feb 2, 2012, 12:07:32 PM2/2/12
to Webconverger Users
woho...:)
i run comand sudo apt-get remove xserver-xorg-video-nouveau
and then run sudo pkill X , then resolution work :). so i think the
nouveau driver is problem, it`s not compatible with nv driver?

Rok

Kai Hendry

unread,
Feb 3, 2012, 1:07:16 AM2/3/12
to webc-...@googlegroups.com
2012/2/3 Rok Škufca <r...@skufca.net>:

> woho...:)
> i run comand sudo apt-get remove xserver-xorg-video-nouveau
> and then run sudo pkill X , then resolution work :). so i think the
> nouveau driver is problem, it`s not compatible with nv driver?

Interesting. I feel like an idiot because I thought I was toggling the
xserver-xorg-video-nouveau package by (un)mentioning in the
package-lists/webc.list.chroot, but it was there all the time. Doh.

x220:~$ curl -s http://download.webconverger.com/webc-11.0.txt | grep
xserver-xorg-video-nouveau
xserver-xorg-video-nouveau1:0.0.15+git20100329+7858345-5

So the nv driver works a lot better for you? Is it fast for example
when you scroll a Webpage?


If you think it's better to remove xserver-xorg-video-nouveau, I can
add a hook, though it would be good to get a bug report on
http://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=xserver-xorg-video-nouveau

To refer to. I'm trusting you here Rok. :)

Rok Škufca

unread,
Feb 3, 2012, 1:31:00 AM2/3/12
to Webconverger Users
my feeling is that it works better without nouveau driver, the
resolution is ok.
but yes, when scroll webpage there i notice a litle litle delay, on
youtube flash works ok.

today i test on another PC with diference nvidia graphic and i will
report how it work.

BR,
Rok

On Feb 3, 7:07 am, Kai Hendry <hen...@webconverger.com> wrote:
> 2012/2/3 Rok Škufca <r...@skufca.net>:
>
> > woho...:)
> > i run comand sudo apt-get remove xserver-xorg-video-nouveau
> > and then run sudo pkill X , then resolution work :). so i think the
> > nouveau driver is problem, it`s not compatible with nv driver?
>
> Interesting. I feel like an idiot because I thought I was toggling the
> xserver-xorg-video-nouveau package by (un)mentioning in the
> package-lists/webc.list.chroot, but it was there all the time. Doh.
>
> x220:~$ curl -shttp://download.webconverger.com/webc-11.0.txt| grep
> xserver-xorg-video-nouveau
> xserver-xorg-video-nouveau1:0.0.15+git20100329+7858345-5
>
> So the nv driver works a lot better for you? Is it fast for example
> when you scroll a Webpage?
>
> If you think it's better to remove xserver-xorg-video-nouveau, I can
> add a hook, though it would be good to get a bug report onhttp://bugs.debian.org/cgi-bin/pkgreport.cgi?repeatmerged=no&src=xser...

Rok Škufca

unread,
Feb 3, 2012, 8:21:59 AM2/3/12
to Webconverger Users
Hi Kai,

i tested it on pc with graphic card NVIDIA Geforce GT 330M - 1GB of
ram. The resollution work ok, scolling the webpage work ok, when
shutdown or reboot machine, there show a white screen with black
lines, i mean that this happend becouse of nv driver - like something
is not ok with driver?

Tested with old nvidia graphic card with 64MB ram, resolution work ok,
scrolling webpage - there is maybe a litle litle delay in webpages
with a lot of pictures and information. when shutdown there show white
screen without black lines.

i`m not still persuaded that all work ok.

BR,
Rok

Rok Škufca

unread,
Feb 4, 2012, 6:47:41 AM2/4/12
to Webconverger Users
I tested graphic with remove nv drivers and install only nouveau
driver, and graphic resolution is not work.
The nvidia graphic in webconverger work well only with nv drivers
without nouveau.

BR,
Rok

On 3 feb., 14:21, Rok Škufca <r...@skufca.net> wrote:
> Hi Kai,
>
> i tested it on pc with graphic card NVIDIA Geforce GT 330M - 1GB of
> ram. The resollution work ok, scolling the webpage work ok, when
> shutdown or reboot machine, there show a white screen with black
> lines, i mean that this happend becouse of nv driver - like something
> is not ok with driver?
>
> Tested with old nvidia graphic card with 64MB ram, resolution work ok,
> scrolling webpage - there is maybe a litle litle delay in webpages
> with a lot of pictures and information. when shutdown there show white
> screen without black lines.
>
> i`m not still persuaded that all work ok.
>
> BR,
> Rok
>
> On Feb 3, 7:31 am, Rok (c)kufca <r...@skufca.net> wrote:
>
>
>
>
>
>
>
> > my feeling is that it works better without nouveau driver, the
> > resolution is ok.
> > but yes, when scroll webpage there i notice a litle litle delay, on
> > youtube flash works ok.
>
> > today i test on another PC with diference nvidia graphic and i will
> > report how it work.
>
> > BR,
> > Rok
>
> > On Feb 3, 7:07 am, Kai Hendry <hen...@webconverger.com> wrote:
>
> > > 2012/2/3 Rok (c)kufca <r...@skufca.net>:

Kai Hendry

unread,
Feb 4, 2012, 6:48:24 AM2/4/12
to webc-...@googlegroups.com
2012/2/3 Rok Škufca <r...@skufca.net>:

> i`m not still persuaded that all work ok.

Hmmm, ok. On that note I will make a 11.2 release based on the current
state of the dailies. http://build.webconverger.org/

Probably on Monday morning.


A fellow named David wrote to me about a nvidia kernel hook for use in
Debian Live boot, which looks likely to solve this problem. I'll look
into integrating it next week.


Please be patient nvidia users!

Rok Škufca

unread,
Feb 4, 2012, 6:58:18 AM2/4/12
to Webconverger Users
Ok. so we will testing it next week :)

On 4 feb., 12:48, Kai Hendry <hen...@webconverger.com> wrote:
> 2012/2/3 Rok Škufca <r...@skufca.net>:
>
> > i`m not still persuaded that all work ok.
>
> Hmmm, ok. On that note I will make a 11.2 release based on the current
> state of the dailies.http://build.webconverger.org/

Kai Hendry

unread,
Feb 4, 2012, 7:03:45 AM2/4/12
to webc-...@googlegroups.com
2012/2/4 Rok Škufca <r...@skufca.net>:

> Ok. so we will testing it next week :)

Sure, though I would greatly appreciate testing of the dailies with
Firefox 10. :)
http://webconverger.org/testing/

Reply all
Reply to author
Forward
0 new messages