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

Window isn't rendered at desktop resolution #468

Open
kbasaran opened this issue Aug 31, 2024 · 5 comments
Open

Window isn't rendered at desktop resolution #468

kbasaran opened this issue Aug 31, 2024 · 5 comments

Comments

@kbasaran
Copy link

kbasaran commented Aug 31, 2024

Hello,

I use 200% display scaling on my screen and I see that Tidal window is not rendered at the correct resolution. I add a screenshot to show the difference in sharpness with Firefox.

Screenshot from 2024-08-31 08-32-29

Ubuntu 24.04.1 LTS
deb package, manually installed, tidal-hifi/now 5.16.0 amd64

@Mastermindzh
Copy link
Owner

Make sure you are using the following flags: --enable-features=UseOzonePlatform --ozone-platform=wayland
Also see: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1318, it's a known issue in Electron unfortunately.

@lrpg
Copy link

lrpg commented Sep 18, 2024

No request here, just stating if that can be of some help to someone.

  • As far as I remember, it was clear at 4k without fractional scaling under Ubuntu 22 (last week in my case).
  • It's now clear at 4k ONLY with fractional scaling under Ubuntu 24. Aka, it's now blurry without the fractional scaling.
    Above flags aren't changing the result.

Ubuntu 24.04.1
flatpak installed. Tried w/ and w/o --enable-features=UseOzonePlatform --ozone-platform=wayland flags.

Something is probably different for Wayland under Ubuntu 24. Haven't dug at all to find what.
or
Maybe it wasn't running under Wayland at all for some reason.

@kbasaran
Copy link
Author

Make sure you are using the following flags: --enable-features=UseOzonePlatform --ozone-platform=wayland Also see: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1318, it's a known issue in Electron unfortunately.

Isn't that already done by this commit though? I'm running the desktop file to start the app.

Same comments for #467, since these flags are the proposed solution also there.

@Mastermindzh
Copy link
Owner

#476 is not running the desktop file 😄.

But yes, if you use the Wayland platform flags then it "should" support fractional scaling, but it's always given me issues with Electron apps t.b.h (unless the app specifically supports it by using proper css scaling like rems instead of pixels)

@nixigaj
Copy link

nixigaj commented Dec 23, 2024

The app is blurry when running natively on Wayland. On Chrome/Chromium, this blurriness can be fixed by passing the --disable-features=WaylandFractionalScaleV1 flag to the executable. For electron apps, it seems like this needs to be made explicitly configurable as noted in this issue. Although maybe the Electron version just needs to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants
@Mastermindzh @kbasaran @lrpg @nixigaj and others