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

Linux App #11

Open
Mohan-Mano opened this issue Sep 30, 2023 · 7 comments
Open

Linux App #11

Mohan-Mano opened this issue Sep 30, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@Mohan-Mano
Copy link

Hi the Windows app looks awesome, any scope for creating one for Linux desktop ?

@rocksdanister
Copy link
Owner

I need to think about it, can be a fun exercise.

Creating Linux version would require rewriting the shaders to GLSL and using framework like Avalonia or Uno for Linux.

I would like to keep the UWP Windows version separate for performance.

@rocksdanister rocksdanister added the enhancement New feature or request label Oct 2, 2023
@rocksdanister
Copy link
Owner

rocksdanister commented Oct 4, 2023

I am looking into using Uno for Mac/Linux version.

Will try to rewrite the shader to SkSL since SkiaSharp is already included with Uno.

Image editing/ML code will also be rewritten to use SkiaSharp to avoid additional ImageSharp dependency.

Windows will continue to use UWP/ComputeSharp for performance.

SkSL example:
unoplatform/uno#13812

@Mohan-Mano
Copy link
Author

Thank you so much for considering my request. To be honest I am no developer so i did not understand any of the terms mentioned by you but I was able to come to a conclusion. that you are trying to do something bring a version for MAC/Linux.

Thank you so much for that.

@rocksdanister
Copy link
Owner

rocksdanister commented Oct 4, 2023

To be honest I am no developer so i did not understand any of the terms mentioned by you

No worries, I use github issue as a bookmark/todo list.

that you are trying to do something bring a version for MAC/Linux.

That is correct, yes.

@MartinZikmund
Copy link

@rocksdanister that sounds great! Let us know if you need some support from our team 👍 !

@inson1
Copy link

inson1 commented Oct 12, 2023

@rocksdanister Why not use Avalonia? What is performace difference of Avalonia with UWP and Uno?

@rocksdanister rocksdanister pinned this issue Sep 17, 2024
@rocksdanister
Copy link
Owner

rocksdanister commented Sep 30, 2024

I made the final decision to use Avalonia #85

lw_mac_alpha1_d1.mp4

STORY TIME
Original plan was to use WebView and make an app (mac, linux) and wallpaper version for my Lively Wallpaper app while maintaining the uwp version for Windows.
But on testing WebView (Tauri and other solutions) had poor performance on linux (webgl did not even initialize properly or super slow) - turns out default linux gtk browser was quite slow and not as performant as chromium.. my other option was to use Electron which I wanted to avoid.
I looked at other options like Flutter but no C# ( I made a weather abstraction library for this and didnt want to rewrite everything + uwp version.)
Then its either build my own using imgui, silk.net or Uno, Avalonia.
I build a prototype in Avalonia since I hav used it in the past for a bit ( its very easy and quick to setup and simple back then whereas Uno was giving me trouble.. etc) and ended up finishing the Avalonia version since by the time I built all the shader systems already.
I do wonder how much performant Electron would hav been (minus the memory + storage).. since its built for blurring and css effects 🤔

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

No branches or pull requests

4 participants