Closed armenr closed 2 months ago
@armenr Is it working correctly with scaling 1 or 2?
I guess it’s because of fractional scaling. Maybe you need to set a gnome environment variable to enable it. https://forum.endeavouros.com/t/fractional-scaling-on-gnome/57254/2
Seems to be a GTK bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/7022
@mylinuxforwork - if scaling is set to 1, it does not happen. If it's anything other than 1 (including whole numbers like 2), it happens.
I will look at the link you shared. Thank you!
@ffoebel - Thank you, I will have a look here as well!
@ffoebel - I can confirm that GDK_DISABLE=vulkan gnome-calculator
works.
@mylinuxforwork -- I have just one (silly) question, since I'm still a bit of a newb to some of this.
When I run gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
the return is: No such schema “org.gnome.mutter”
In our case, using hypr + ml4w, what should I do to try to enable that?
Also, in my conf/custom.conf
, I added the following:
# Workaround for Gnome + Vulkan b0rkness
# ref: https://gitlab.gnome.org/GNOME/gtk/-/issues/7022
env = GDK_DISABLE,vulkan
...but it doesn't seem to persist/help. Is there a better way (or more correct way) that I should be setting this environment variable with hypr + ML4W?
Thanks so much for the quick help to both of you!
Dropping this off in ml4w's custom.conf
file did the trick:
# Workaround for Gnome + Vulkan b0rkness
# ref: https://gitlab.gnome.org/GNOME/gtk/-/issues/7022
# ref: https://github.com/hyprwm/Hyprland/issues/7854
env=GSK_RENDERER,ngl
Thanks for the help!
@armenr Do you think there are any negative side effects when I put it as default into the environment.conf
Check out this comment: https://github.com/hyprwm/Hyprland/issues/7854#issuecomment-2363260275
Looks like the default was never vulkan to begin with. I think adding that default setting should be fine, at least according to what's in this thread 😎
Describe the bug ML4W Settings App and various other apps (Calculator, Files, etc) all crash/break if using any scaling settings for display in hyprland.
To Reproduce Use some setting like this:
Then attempt to open one ML4WSettings App or gnome-text-editor
Expected behavior Uncertain whether this is actually related to ML4W Dotfiles/settings or not, or whether it can be addressed by it. :-\
Distribution (please complete the following information):
Additional context Using the dark-mode enabled settings ( I think it uses gtk-portal?)