udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
913 stars 28 forks source link

greenfield.app/docs leads to 404 #62

Closed cubuzz closed 3 years ago

cubuzz commented 3 years ago

The link to the greenfield documentation ( https://greenfield.app/docs/ ) leads into a 404 void.

Zubnix commented 3 years ago

Indeed those pointed to the old docs that are outdated/no longer valid and would lead to confusion. Is there anything in particular that you would like to see explained that is not available in this repo?

cubuzz commented 3 years ago

I was hoping to find some more detailed install instructions since running those commands alone caused some issues with GSL not loading (iirc, was 2 days ago). Not sure why exactly. That issue is totally on my end, tho, so your code seems to be fine :) I can still post the errors here, if you want me to ^^

Zubnix commented 3 years ago

The installation should be quite simple. You can look at the (debian) dependencies in the dockerfile of the app-endpoint-server to give you an idea of what you might need: https://github.com/udevbe/greenfield/blob/master/app-endpoint-server/Dockerfile#L69

On top of that you need to tell gstreamer what kind of opengl implementation you want to use, you need to set the environment variable GST_GL_WINDOW to either egl-device or gbm if you run it on a headless machine, or x11 or wayland if you already have a desktop running.

cubuzz commented 3 years ago

Thank you, I missed that file. This should allow me to resolve this issue 👍