Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add web renderer #80

Open
1 of 3 tasks
jeffshee opened this issue Aug 5, 2023 · 6 comments
Open
1 of 3 tasks

Add web renderer #80

jeffshee opened this issue Aug 5, 2023 · 6 comments
Labels
enhancement New feature or request meta Meta

Comments

@jeffshee
Copy link
Owner

jeffshee commented Aug 5, 2023

Description
This is the meta thread for the progress of adding a web renderer to the Hanabi extension.

Progress

  • Add preference options for the web renderer to the prefs.js
  • Integrate the build processes for gstcefsrc and gtk4paintablesink into meson
  • Test gstcefsrc with gtk4paintablesink and clappersink

Related works

@jeffshee jeffshee added enhancement New feature or request meta Meta labels Aug 5, 2023
@Gouster4
Copy link

Gouster4 commented Nov 30, 2023

Im really interested into website (homeassistant) as wallpaper for gnome on wayland.
web perfs are already merged.
So i can just merge "Render for websites" locally, build it and it whould somwehow work?
Proof of concept, so i dont mind if there would be some bugs or performance issues...

Just want to know if merging "Render for websites" is all i need to get it working.
If not, what are we missing?

Thank you.

@jeffshee
Copy link
Owner Author

jeffshee commented Dec 1, 2023

Hi @Gouster4

web perfs are already merged.
So i can just merge "Render for websites" locally, build it and it whould somwehow work?

In short, no. The web perfs are just foundational work for the UI; the implementation for the web renderer is not there yet.

Just want to know if merging "Render for websites" is all i need to get it working.

That pull request was dropped because WebKitGtk4 had serious performance and stability issues. I'm not sure what the current state is, but I heard it's improving recently.

When considering webpage as live wallpaper, we have another promising method to consider. That's by using gstcefsrc, which is Chromium-based and has a higher affinity with Hanabi's implementation. I have made some attempts (see web-renderer branch) but still haven't got it working yet.

So, that's pretty much the current state for the web renderer. There are still things that need to be investigated and implemented, and we don't have enough manpower~

@jeffshee
Copy link
Owner Author

jeffshee commented Dec 1, 2023

@Gouster4

Im really interested into website (homeassistant) as wallpaper for gnome on wayland.

Just for reference, what's your use case (expected result)?
Do you expect to be able to interact (with mouse/keyboard) with the website that you set as wallpaper? If yes, why?

@Gouster4
Copy link

Gouster4 commented Dec 1, 2023

@Gouster4

Im really interested into website (homeassistant) as wallpaper for gnome on wayland.

Just for reference, what's your use case (expected result)? Do you expect to be able to interact (with mouse/keyboard) with the website that you set as wallpaper? If yes, why?

Just preview without interaction would be good. But live preview, not static image/screenshot. Interactive webpage would be even better. I use my server with gyroscopic remote control (keyboard+mouse) on all TVs in my house. I dont use desktop icons, just a simple gnome dock. And homeassistant dashboard as wallpaper would be awesome to keep an eye on whole house (including camera livestream widgets which i already have in homeassistant dashboard). If it would be interactive, even better.

Server is powerfull, so i dont mind any performance/optimalization issues, as i dont mind wasting some resources.

I am also ok with any bugs or lags... Still better then nothing.

@Gouster4
Copy link

Gouster4 commented Dec 1, 2023

Hi @Gouster4

web perfs are already merged.
So i can just merge "Render for websites" locally, build it and it whould somwehow work?

In short, no. The web perfs are just foundational work for the UI; the implementation for the web renderer is not there yet.

Just want to know if merging "Render for websites" is all i need to get it working.

That pull request was dropped because WebKitGtk4 had serious performance and stability issues. I'm not sure what the current state is, but I heard it's improving recently.

When considering webpage as live wallpaper, we have another promising method to consider. That's by using gstcefsrc, which is Chromium-based and has a higher affinity with Hanabi's implementation. I have made some attempts (see web-renderer branch) but still haven't got it working yet.

So, that's pretty much the current state for the web renderer. There are still things that need to be investigated and implemented, and we don't have enough manpower~

So, web-render branch is attemp to use gstcefscr?
But not working yet. Right?

I didnt found any other project that attemps to do this, so im waiting and hoping for best, as i dont have enought knowedgle to help with this project.

My problem is that im tied to wayland because of waydroid, and gnome because of extensions im using otherwise i would be able to use hidamari.

@jeffshee
Copy link
Owner Author

jeffshee commented Dec 1, 2023

Ref: centricular/gstcefsrc#80

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request meta Meta
Projects
None yet
Development

No branches or pull requests

2 participants