Nokse22 / Exhibit

3D model viewer for the GNOME desktop powered by f3d
https://flathub.org/apps/io.github.nokse22.Exhibit
GNU General Public License v3.0
73 stars 7 forks source link

Blurry in Wayland with fractional scaling #10

Closed meybonomme closed 5 days ago

meybonomme commented 3 months ago

Without fractional scaling:

Screenshot from 2024-06-08 12-37-01

With fractional scaling:

Screenshot from 2024-06-08 12-37-40

rien333 commented 3 months ago

Yeah, maybe the idea to use xwayland by default needs some further discussion/clarification.

I believe the rationale is to not leave anyone out. A fine goal, but it does raise the question who's being left out.

Most distros that ship gnome don't offer an option to run x11 sessions anymore, iirc (e.g. fedora and maybe arch). On arch, I wouldn't even know how to start one. In that sense, you are aiding the — maybe overly change-reluctant — minority, possibly at cost of the UX of the majority (this issue being one example thereof).

Moreover, this is a new app, made to look modern/GTK4-ish. In that sense, it's realistically an early adaptors kind of thing, i.e. your users might well be the sort of people that have been using wayland for a while now.

Anyway, I was looking for something like this, so the project is much appreciated!

rien333 commented 3 months ago

Well, I suppose the disclaimer about being xwayland only applies to the flatplak release.

It doesn't take a lot of effort to package this with wayland support on Arch Linux (which I'm doing now). Hopefully it will be in the AUR tomorrow!

Nokse22 commented 3 months ago

Thank you, I was hoping to get some feedback on this actually. My intention was exactly to not exclude anyone. I could switch the Flatpak version to Wayland and provide an X11 only build using github actions.

I will think about it, and test how it runs on Wayland only.

rien333 commented 3 months ago

Well, it seems you are working on getting this fixed upstream, so I guess you're fine for the time being.

meybonomme commented 3 months ago

I could switch the Flatpak version to Wayland and provide an X11 only build using github actions.

I believe that would be the best solution. As @rien333 said, it's still a modern GTK4 libadwaita application, and most mainstream Linux distributions with GNOME desktop already use Wayland.

meybonomme commented 3 months ago

Unfortunately issue is not gone and app version 1.20 (flatpak) is still blurry under the Wayland with fractional scaling.

Nokse22 commented 1 month ago

@meybonomme With the latest release it is still blurry by default because it's using the old gtk gl renderer, but you can set the app to use the new ngl rederer doing flatpak override --env=GSK_RENDERER=ngl io.github.nokse22.Exhibit.

I have decided to force it to use gl because there were some glitches with the new one for me (https://gitlab.gnome.org/GNOME/gtk/-/issues/6771 and other glitches)

Nokse22 commented 5 days ago

Now it is using the default GTK renderer