m1k1o / neko

A self hosted virtual browser that runs in docker and uses WebRTC.
https://neko.m1k1o.net/
Apache License 2.0
5.96k stars 449 forks source link

Add nvidia docker gpu acceleration #238

Closed m1k1o closed 1 year ago

m1k1o commented 1 year ago

Inspired by qwantify fork that succesfully implemented docker-nvidia-egl-desktop.

Issue #228. Issue #226. Issue #213.

TODO: Add nvenc to gstreamer, help wanted.

m1k1o commented 1 year ago

Google chrome is currently unable to use GPU using EGL. We need to wait until VirtualGL reaches stable on its 3.1 branch. https://github.com/selkies-project/docker-nvidia-egl-desktop/issues/20

m1k1o commented 1 year ago

Gstreamer with nvcodec: https://gist.github.com/m1k1o/28c73fc15cd1fba59b73364c3b7a5d0a

Gauvino commented 1 year ago

@m1k1o are you gonna make it compatible soon ?

yesBad commented 1 year ago

@m1k1o are you gonna make it compatible soon ?

It's done when it's done. 🍿

Still waiting for VirtualGL 3.1 Stable aswell.

Gauvino commented 1 year ago

Yes i understand no problem

Gauvino commented 1 year ago

Virtual GL got 3.1 stable now !

m1k1o commented 1 year ago

Nice! Thanks for letting me know @Uruknara gonna try it out.

Gauvino commented 1 year ago

What are you waiting for to merge this ?

Need beta tester ?

m1k1o commented 1 year ago

I tried it out, but does not seem to work :( Added details here: https://github.com/selkies-project/docker-nvidia-egl-desktop/issues/20

yesBad commented 1 year ago

I tried it out, but does not seem to work :( Added details here: selkies-project/docker-nvidia-egl-desktop#20

Seems like they solved it for ya, excellent :D

m1k1o commented 1 year ago

Yes. They did! Preparing to merge this now. Doing some last tests.