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

broken fractional scaling #1843

Closed
Malix-Labs opened this issue Oct 28, 2024 · 16 comments · Fixed by #1846 or #1847
Closed

broken fractional scaling #1843

Malix-Labs opened this issue Oct 28, 2024 · 16 comments · Fixed by #1846 or #1847
Labels
bug Something isn't working

Comments

@Malix-Labs
Copy link

Malix-Labs commented Oct 28, 2024

Describe the bug

On [email protected], the fractional scaling doesn't seem to be available and the toggle to enable it is not displayed either

Image

What did you expect to happen?

A working fractional scaling

Here is how it looked on the previous version

Image

Output of rpm-ostree status

malix@malix-pc ~> rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:956f3bdc63735db2f34d6b77a9c82f58e8d4fdd379e2531f32d46bfcecb5baa1
                  Version: 40.20241027.0 (2024-10-27T05:46:49Z)
          LayeredPackages: google-chrome-beta

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:f733cc86d54895b239bb160465c8c7898bdaf4bd5fb7097d01fee6bd0c9658d4
                  Version: 40.20241019.0 (2024-10-20T22:26:03Z)
          LayeredPackages: google-chrome-beta

Output of groups

malix@malix-pc ~> groups
malix wheel docker incus-admin lxd libvirt

Extra information or context

malix@malix-pc ~> echo $XDG_SESSION_TYPE
wayland

Tried also reverting https://discussion.fedoraproject.org/t/gdk-message-error-71-protocol-error-dispatching-to-wayland-display/127927/42

By rm -rf ~/.config/environment.d/ (environment.d was a directory)

Maybe something broke there ?

If I remember correctly, the environment.d directory didn't exist before doing the custom patch from https://discussion.fedoraproject.org/t/gdk-message-error-71-protocol-error-dispatching-to-wayland-display/127927/32

Rollbacking for now

@dosubot dosubot bot added the bug Something isn't working label Oct 28, 2024
@m2Giles
Copy link
Member

m2Giles commented Oct 28, 2024 via email

@Malix-Labs
Copy link
Author

Malix-Labs commented Oct 28, 2024

@m2Giles

I am and always was on Wayland, afaik :

malix@malix-pc ~> echo $XDG_SESSION_TYPE
wayland

@BrodyB
Copy link

BrodyB commented Oct 28, 2024

I also booted up Bluefin (latest branch) today on my Framework 13 to find that fractional scaling (which has always been on) was now disabled and unavailable.

Image

@m2Giles
Copy link
Member

m2Giles commented Oct 28, 2024

Will take a look to see what's changed in commits.

@BrodyB when was your previous image from?

@jfturcot
Copy link

Running the following and rebooting fixed it for me:

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

@BrodyB
Copy link

BrodyB commented Oct 28, 2024

Will take a look to see what's changed in commits.

@BrodyB when was your previous image from?

My previous version shown on rpm-ostree status is 40.20241025.0, but that's likely the first image I pulled that had the issue, as I updated once I saw the issue.

@Malix-Labs
Copy link
Author

Running the following and rebooting fixed it for me:

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

Great!

It might be a problem with this argument not being included or escaped for some reason

Needs to be fixed upstream for sure

@befanyt
Copy link
Contributor

befanyt commented Oct 28, 2024

On the beta tag, it is present, but it is not in latest. It seems that it doesn't like the newly added xwayland-native-scaling. Setting it manually in latest results in an error. Without xwayland-native-scaling, it doesn't give that error.

❯ gsettings set org.gnome.mutter experimental-features  "['scale-monitor-framebuffer', 'xwayland-native-scaling']"
The provided value is outside of the valid range
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:latest
                   Digest: sha256:d08fa6914fb9eed027a6710c6b8ba0c33526c3e8688652d2676ae2c6fba3669c
                  Version: 40.20241027.0 (2024-10-28T04:44:53Z)

❯ gsettings get org.gnome.mutter experimental-features
@as []
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin:beta
                   Digest: sha256:799300e58fe50c9e43a4d7ca9ef697ab9cf219e5ac28977c5f57f66b9c47413c
                  Version: 41.20241028.0 (2024-10-28T04:45:16Z)

❯ gsettings get org.gnome.mutter experimental-features
['scale-monitor-framebuffer', 'xwayland-native-scaling']

@Malix-Labs Malix-Labs changed the title [email protected] : broken fractional scaling broken fractional scaling Oct 28, 2024
@mmartinortiz
Copy link

In case it is of any value, it is also happening in Framework 13 running gts

❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:726b9cadec6c9c0cf05a0fec83cf5647e41e37e07726a31989f928e1d2af8af1
                  Version: 39.20241027.0 (2024-10-27T05:44:35Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:gts
                   Digest: sha256:35148d883fbd3b07e7eed946860307cbbb44623781c5d37d032feece97aeb43e
                  Version: 39.20241019.0 (2024-10-20T22:26:25Z)

❯ echo $XDG_SESSION_TYPE
wayland

@Malix-Labs
Copy link
Author

I wonder if it's also happening on vanilla Fedora Silverblue, or even Fedora Workstation

castrojo added a commit that referenced this issue Oct 28, 2024
Seems to be working in bazzite so let's just match their setting:

Attempts to fix #1843
@castrojo castrojo reopened this Oct 28, 2024
@castrojo
Copy link
Member

Ok pushed a fix to latest but pretty sure befanyt's is probably the way to go, I could use a hand testing if you've got the hardware!

@castrojo
Copy link
Member

Ok had a pow wow with the others, my fix for sure won't work since we have GNOME versions, so we're going with #1847

When this goes greens and lands (about 30m from this post), we'll need another round of testing if people have time!

@Malix-Labs
Copy link
Author

I will, ofc

@castrojo
Copy link
Member

Any changes?

@Malix-Labs
Copy link
Author

Malix-Labs commented Oct 29, 2024

Rebasing to latest as I type

@Malix-Labs
Copy link
Author

Yes, it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
7 participants