m1k1o / neko-rooms

Selfhosted collaborative browser - room management for n.eko
Apache License 2.0
456 stars 62 forks source link

Add the latest NVIDIA docker image on neko-rooms #89

Closed Gauvino closed 1 year ago

Gauvino commented 1 year ago

Hello, just wanted to know if you missed it or im doing something wrong but where can i get the new image with docker nvidia ?

m1k1o commented 1 year ago

Hello, I am currently buidling them. Once done, they will be avaliable here: https://neko.m1k1o.net/#/getting-started/

image

But currently they are not part of neko-rooms so you could add them manually to ENV:

NEKO_ROOMS_NEKO_IMAGES="ghcr.io/m1k1o/neko/nvidia-firefox:latest ghcr.io/m1k1o/neko/nvidia-chromium:latest ghcr.io/m1k1o/neko/nvidia-google-chrome:latest ghcr.io/m1k1o/neko/nvidia-microsoft-edge:latest ghcr.io/m1k1o/neko/nvidia-brave:latest"

And do not forget in expert settings, when creating room, add gpu.

I'll notify you when they are available.

EDIT: added firefox.

Gauvino commented 1 year ago

Thank you so much gonna try this out right now ^^

m1k1o commented 1 year ago

Brave should be available now. Working on other chromiums.

Gauvino commented 1 year ago

Ok, I tested Brave image on the local network with neko on LXC by proxmox and is just so much fluid like for everything

Just watching YouTube videos and moving cursor is a lot faster than ever

m1k1o commented 1 year ago

Glad to hear that! Now all others are avaliable. https://github.com/m1k1o?tab=packages&tab=packages&q=nvidia

Gauvino commented 1 year ago

Oh little problem i think cause i was wanting to test and compare in real time with another brave but without nvidia and tried to pull the image but just neko-rooms won't finish downloading it look

https://img.uruk.dev/‌​‍⁠⁠‍⁠‌​⁠​⁠‌‍​

Gauvino commented 1 year ago

Oh strange now i can't download any image ?

m1k1o commented 1 year ago

Try to ssh to your server and simply pull it with docker pull <image>. see why it fails. Check if your disk is not full.

Gauvino commented 1 year ago

Oh my god sorry but i was not having enought space on my CT so it just can't download it but strange that neko-rooms doesn't show me the error from docker and just closed the window

m1k1o commented 1 year ago

Yeah, thats a good point. I guess i never tried such edge case. It should show error, would be easier to debug.

Gauvino commented 1 year ago

Yeah, thats a good point. I guess i never tried such edge case. It should show error, would be easier to debug.

Of course !

Gauvino commented 1 year ago

Last question i think but why can't we when having a gpu make room in 4k60 ?

Why the chromium version is in 83 or the latest is 113 ?

And why we can't add extension with new image ?

m1k1o commented 1 year ago

Currently only browser is gpu accelerated, not the encoding. For that I would need to compile gstreamer with nvenc codecs and I was not successful yet. It could be added to xorg.conf. You can downlaod that file locally, add new sizes and mount it to new container.

Because nvidia image uses ubuntu 20.04 and chromium available in their package repository was only snap installation. I added pop OS repository, but it looks like their chromium is old. We would need to find a different package registry that has newer chromium.

It looks like this new format for ghcr.io is not properly recognized by neko-rooms as valid image for supported types. I will update this.

Gauvino commented 1 year ago

Thanks for every reply and yes maybe you will find a better package for chromium cause 83 is like very old and we don't have the full capacity of the navigator ^^

And in the future encoding would be so much cooler so we can use HEVC and all other codec and have a complete compatibility with everything and so much less use of the CPU

Another time thank you very much and have an absolutely wonderful day ☺️