flathub / org.chromium.Chromium

https://flathub.org/apps/details/org.chromium.Chromium
43 stars 25 forks source link

Rendering is blurry again (hidpi) - has workaround #304

Open f1yn opened 1 year ago

f1yn commented 1 year ago

I'm not sure how to test this as I rarely use Flatpak, but it would seem that Chromium has become blurry again on hidpi, even when the Ozone detect platform is set to auto or wayland.

For context, I think something has potentially negated a patch that was made a few months ago - but I can't see any recent changes upstream, but I don't have enough information to l

Current version (from flatpak list):

Name                                     Application ID                                        Version          Branch        Installation
Chromium Web Browser                     org.chromium.Chromium                                 115.0.5790.102   stable        system

Screenshot from 2023-07-25 21-10-37

I am going to see if I can rollback versions and see if it was the latest system update I did that killed text rendering.

f1yn commented 1 year ago

Update:

Reverting to cfe3c544f465cc2f4c3c69bf6bdda705961c41e3b6f10ab7eaa9b0d43e171f94 seems to restore text rendering - so the change is isolated to the Chromium upstream and not something else (I thought maybe it was Mutter).

flatpak update org.chromium.Chromium --commit=cfe3c544f465cc2f4c3c69bf6bdda705961c41e3b6f10ab7eaa9b0d43e171f9
# pin
flatpak mask org.chromium.Chromium

History:

flatpak remote-info --log flathub org.chromium.Chromium
        ID: org.chromium.Chromium
       Ref: app/org.chromium.Chromium/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 132.0 MB
 Installed: 346.1 MB
   Runtime: org.freedesktop.Platform/x86_64/22.08
       Sdk: org.freedesktop.Sdk/x86_64/22.08

    Commit: 2786caedafc0a8a182a11e281b34f29f32a602e27ed119fa9d91b62de0ad44e3
    Parent: d148a8c21b781c63e9e8cdea17a31a14d254008aaedd996b91f94950fe27a776
   Subject: Update chromium-115.0.5790.98.tar.xz to 115.0.5790.102 (6c558f3b)
      Date: 2023-07-22 05:51:35 +0000
   History: 

    Commit: d148a8c21b781c63e9e8cdea17a31a14d254008aaedd996b91f94950fe27a776
   Subject: Updates for Chromium 115 (90631bce)
      Date: 2023-07-19 17:00:38 +0000

    Commit: cfe3c544f465cc2f4c3c69bf6bdda705961c41e3b6f10ab7eaa9b0d43e171f94
   Subject: Update chromium-114.0.5735.133.tar.xz to 114.0.5735.198 (a3e840b0)
      Date: 2023-06-27 16:53:34 +0000

    Commit: 07e1264dd84e6fb8b136eed31ea7f1434571aafb294b70740f7705d3020da1e0
   Subject: Update chromium-114.0.5735.106.tar.xz to 114.0.5735.133 (d5307d93)
      Date: 2023-06-14 19:18:58 +0000

    Commit: f7bbeb91af1e4e084732352da44e8504f3c2371f5d4625290938e2e5135d9284
   Subject: Update chromium-114.0.5735.90.tar.xz to 114.0.5735.106 (0fa01d95)
      Date: 2023-06-12 18:20:48 +0000
refi64 commented 1 year ago

Oof I should've made note of this, recent Chromium releases ship Wayland fractional scaling support that's blurry on current Mutter versions. You can work around it by adding this to ~/.var/app/org.chromium.Chromium/config/chromium-flags.conf:

features-=WaylandFractionalScaleV1

or manually passing --disable-features=WaylandFractionalScaleV1.