centricular / gstcefsrc

A simple gstreamer wrapper around Chromium Embedded Framework
84 stars 45 forks source link

Add a gpu support property #22

Closed reinismu closed 3 years ago

reinismu commented 3 years ago

With GPU 60 fps image

Without GPU only 6-7 fps

I'm still very surprised that this works. Was under impression that GPU in osr mode works only under windows

Tested with this site https://threejs.org/examples/#webgl_points_dynamic

p.s. first c code I write in years

reinismu commented 3 years ago

Github action worked as well :sunglasses:

MathieuDuponchelle commented 3 years ago

Looks good to me otherwise, well done :) I'll give this a spin on my machine, I'm also surprised that it is possible on linux but that's good news :)

woot re action :)

MathieuDuponchelle commented 3 years ago

tnx, will give it a test later :)

reinismu commented 3 years ago

tnx, will give it a test later :)

Any luck on checking it out? :)

MathieuDuponchelle commented 3 years ago

Hey @reinismu sorry this slipped my mind, and I was in vacation last week :)

Unfortunately I can't test this locally, I have a nvidia card and see nasty errors in my terminal:

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

The website loads fine but the animation isn't displayed.

In any case, this is property-gated and the code is fine, so given you see gains on your end it needs merging, thanks :)