Xwayland scaling I have packaged this patch into mutter-xwayland-scaling. The other option Plasma offers is to Obviously, scaling will work on apps that have their own font settings; an app set to font size 10 will effectively be 11 if the scaling is set to 110%; if KDE fonts are set to 11 instead of 10, (It freezes when running it both with wayland and The screen is set to my 4k scaling at %150 atm, but I want the hdmi screen to be %100 scaling which isn't allowed obviously by the display configuration system. 0dpi). Any values you set in your system settings in your Wayland-powered DE are invisible to X11 apps. In terms of "ideal" image quality, it is best not to use fractional Even without fractional scaling enabled, this is still an issue on GNOME 45. For some reason it seems the scaling Hyprland does for xwayland is inferior to sway. 8cm) then the DPI should be auto-calculable as (93. This is not the first time this bug has happened according to web searches for this issue. EDIT: --scale 1. The Aside from eliminating the need to implement xwayland support in every compositor, this approach has been reported to result in better xwayland scaling than native xwayland support in some compositor, and it allows xwayland applications to be treated more like regular wayland applications instead of getting special access. SSH forwarding has worked for several years already by running apps on XWayland (I'm not even sure if it ever stopped working, really), and Waypipe can be used to run both on XWayland and on Wayland. 200% is now also blurry, where it used to not be. The Framework laptop will never be a great Linux laptop so long as the current display is the only option. You can find a comparison between Wayland and Xorg on Wikipedia. For I suggest you force it to run on Wayland because as you have realised using it on xwayland with fractional scaling is frankly embarrassing. That's just how GNOME handles fractional scaling, since multiple monitors may have multiple scaling factors. However, if I Xwayland applications look nice and sharp. Are you sure checked that combo? My bad I had "opengl for media" disabled with the experimental option for nvidia opengl enabled. --high-dpi-support=1 let Edge enable HiDPI support for fractional scaling. 37 Resolution: 1920x1080 Hello, If the screen resolution (1920 x 1080) and the screen size (52. open as 3840x2160. mutter experimental-features "['scale-monitor-framebuffer', XWayland apps appear blurry as a result due to being rendered at 1X and scaled up. What’s more important is that there are no benefits to running the flag, other than that you have the “peace of mind” that you are now running Vivaldi as Wayland instead of XWayland app. However I am totally stumped with an issue with Steam and Proton and have been completely unable to figure it out. If you use fractional scaling, all bets are off. Xwayland applications look nice and sharp. 15x1. XWayland applications (e. mutter experimental-features '["scale-monitor-framebuffer", "xwayland-native Xwayland does not offer crisp scaling per se (fractional or non-fractional, i. This PPA does not contain any packages yet. Font rendering with any fractional scale on my Fedora Add support for smart scaling in wayland. My problem is that the tablet can only reach 2/3 of the screen in those apps. you may need to disable high-DPI scaling for Telegram separately. With fractional scaling enabled, the “legacy” X11 applications render to a lower resolution than that of the Decided to set mouse cursor to default size - 24. gsettings get org. I know that I can turn off scaling xwayland by adding to config I have packaged this patch into mutter-xwayland-scaling. 12. 7-zen1-1-zen ackages: 1049 (pacman), 5 (flatpak) Shell: bash 5. My multi-monitor setup is indeed similar, minus the fractional On Wayland (Hyprland) with fractional scaling, fullscreen mode only renders the top left 1/4 of the frame. ssh -X user@ip app = Even applying MR 3215 on top of it, > maximized/fullscreen Xwayland windows still get a very noticeable > bottom+right border which bleeds the wallpaper. All XWayland applications look blurry, so it is not an option. I forked and fixed some of its issues, and it's very usable for me now. 0. This usually happens on smaller displays running very high resolutions, such as my laptop's screen with a resolution of 2500x1600 (Hyprland preferred, auto-scaled) on a 14-inch screen. qute fonts and picture rendering just doesn't look right, it's pixelated. I logged out and this time selected Wayland and logged back in. Most likely, some of the scaling is done by mpv and the rest by the compositor. Additionally, clients which are unaware of HiDPI signal this limitation through inaction, allowing the compositor to make up for it This topic is about fractional scaling, not Font DPI, although that can help to customise your fonts according to preference. I'm using Ubuntu 22. Hyprland, built from branch main at commit 91e28bb dirty (xwayland: use a completely separate coordinate system). Active Releases The following unofficial repositories are provided as-is by owner of this project. I suspect _XWAYLAND_GLOBAL_OUTPUT_SCALE is reset to 1 for some unknown reason, because after I run xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2 again the issue is gone temporarily -- after a Since the release of Fedora 41 / GNOME 47, I've been running the experimental xwayland-native-scaling feature to make the desktop look consistent and not destroy my eyes with blurry electron/non-wayland windows. g. Unset QT_SCREEN_SCALE_FACTORS environment variable as follows: Hello,developers. log. conf to handle scaling on my monitors and to prevent Hyprland from scaling X11 applications: monitor=HDMI-A-1,preferred,0x0,1. Scaling can be set in 6. For X11 clients connected via Xwayland, in the above monitor layout representation, it is currently not possible to display HiDPI clients properly, as today Xwayland always assumes client windows are of scale 1. I run Fedora 38 with Wayland and my scaling is set to 125%. Support for fractional-scale-v1 protocol is merged to Firefox main. 2. Includes some buffer sizing fixes for non-rootless mode. The (flatpak) xwayland apps I am using are intellij and rider on a laptop using 2x scaling. PPA statistics Activity 0 One Wayland compositor may chose to favor legacy applications and keep a scale factor of 1 (and have X11 apps blurry with fractional scaling as of today), another one may decide to favor newer HiDPI X11 clients and use a scale factor of 2 to the detriment of legacy X11 LoDPI applications, whereas yet another one may decide to take that hard path of having 2 Xwayland servers and Apply custom scaling to Xwayland When monitor framebuffers are scaled, this special cases Xwayland and sends output regions in a way that Xwayland think everything is N times as large as the logical region, where N is the ceil of the max monitor scale. Explore; Sign in; wayland: Apply Xwayland scale for direct scanout Code Review changes Check out branch Since the release of Fedora 41 / GNOME 47, I've been running the experimental xwayland-native-scaling feature to make the desktop look consistent and not destroy my eyes with blurry electron/non-wayland windows. I can't view an entire 3840x2160 image in a web browser without scaling it down. with GUI set to 125%: gsettings get org. 25% increments. If you go with Wayland that is a whole It's disappointing that they released it without proper scaling. notourbug This bug is caused by an external Wayland addresses this by adding a "scale factor" to each output, and clients are expected to apply this scale factor to their interfaces. you'll Thank you so much for your thorough explanation, I understand it now. Display servers using the Wayland protocol are called compositors because they also act as compositing window managers. com's Reddit Forex Trading Community! Here you can converse about trading ideas, strategies, trading psychology, and nearly everything in between! I am using Hyprland with screen scaling. I thought I understood why the apps weren’t able to do There is no possible way you can switch it and have everything work correctly the way it is expected to. Anyone got any ideas? Is it possible to get the same behavior as on sway? Nothing will change soon for GTK apps, because GTK has no existing fractional scaling support and thus cannot implement this Wayland protocol to do something it couldn't already do. Installation Instructions Instructions not filled in by author. Is Hi, I am using GLFW to do Vulkan rendering, and I was wondering if using Wayland is possible with GLFW actually. If fractional scaling doesn't work with xwayland, it's more likely to be a bug or limitation in xwayland, since that should function like native x11. Could be a wlroots/Wayland/Hyprland issue. Works great, pushed it up just enough to be perfect. 28. 0-57-g91e28bbe flags: (if any) Bug or Regression? Bug. Which is Can you please give me some advise on how to achieve the same as Go to Display Settings → scaling to 200%?. The mouse cursor also needed some adjustments. In the experimental version, this decision is apparently All Wayland servers include an X server implementation (XWayland) for backward compatibility with applications that aren’t ready to work with Wayland directly. So usually not the first time I start the browser and in XWayland it works fine. Unfortunately, with the Sway config Affected version Fedora 41 (beta) mutter 47. Fractional scaling looks better so it's a worth compromise I have the following lines in my hyprland. Jonas Dreßler opened a merge request with a patch from Jonas Ådahl that has been working on the functionality for allowing scaling-aware XWayland clients to scale themselves using the scale-monitor-framebuffers functio X11 can’t have fractional scaling or scaling factor per-screen. 353pointsPerMM) 842points deep and a 10-point font should have a height of 3. Add the following to hyprland. A game running in XWayland can only run at the scaled resoltuon. But I have some doubts: Is it really so? If the underlying toolkit directly Problem In Fedora 41 Workstation, old applications, which don’t support Wayland natively, may be incorrectly sized (too small or too large), if you use display scaling above 100% (a popular example: Steam). Now, Eclipse runs in Xwayland without flickering but it’s unreadable to me (after all, it is not scaled): We can scale it with the environment variable “GDK_SCALE”, but that does not support fractional scaling: set it to 2, and then Eclipse gets too big: Under gnome, if fractional scaling is off and we use 200% scaling, xwayland apps see a hidpi canvas, and they will go to hidpi mode if supported (such as the JetBrains IDEs). So, I need to scale all element to 1. there are issues with xwayland apps as mentioned, HOWEVER it really depends on what you use on gnome. Description. Log file. the steam client is still blurry on the primary monitor, but still readable. That’s the problem with Wayland : it’s severely lacking utility programs, and what’s probably even worse, there will never be a method that works universally, since it will depend on the compositor ; one for Mutter, one for Weston, one for Enlightenment, etc. XWayland's rootful mode can allow for easily running an entire desktop within a window on a Wayland session. when I start my laptop the kde login is very small. What would be needed for those to not get upscaling is an option that allows users to choose between "some X11 windows are not blurry, but others are too small" and "all X11 windows are blurry, but have the correct size". 3. In conclusion, this seems like a When Xwayland native scaling is enabled, Xwayland applications run within their own coordinate space and all windows have the same scale factor applied regardless of the output they're placed on. Hi, I am trying to configure my fedora37-kde laptop ( thinkpad T15 gen2 ) with a 4k screen. I am using GLFW 3. It seems that this was what confused me the most. My computer’s resolution is 2560x1440,at GNOME 47 which supports xwayland fractional scaling,but the way which scale is make the screen resolution is 4096x2304 and which use fractional reducing to make XWayland apps clear,but this will cause a lot waste of performance and even Steam Gamescope cannot work On some systems (especially on Xwayland) you might need to #Force GPU acceleration. I have read the Contributing Guidelines for this project. it's fine with the precise scaling & wayland & opengl; can't reproduce the issue Addendum: As a tradeoff, this might also be possible by turning off scaling in XWayland and using multiple X servers each with their own scaling factor. My solution is to scale the fonts XWayland currently looks pixelated on HiDPI screens, due to Xorg’s inability to scale. if you have scaling set to 2x on a 3840x2160 monitor the maximum the game can render at is 1920x1080. There also might be performance degradation or potentially some blurriness in games. What are These:-enable-features=UseOzonePlatform -ozone-platform=wayland let Edge use Wayland. GNOME 47 includes an enhanced fractional display scaling feature, which provides better support for legacy X11 apps. conf [General] # Enable Qt's automatic high-DPI scaling EnableHiDPI=true but also tried on the Hello everyone, I recently installed Arch Linux with GNOME as my desktop environment and Wayland as the windowing system. For us, it’s a little annoying to change the setting manually back to 100%, when installing a new device with Gnome. 39in. Fractional scaling really does not work well on Linux. Contact the owner Is it possible to make an option to not scale Xwayland apps so they render at 1:1 scale on all monitors (meaning on HiDPI they'll be tiny if the app/game doesn't support scaling, but sharp rather than blurry)? I think I X11 does not support per display scaling. What config file should I be placing this in? EDIT: Found the solution. From both my work laptop running MS Windows and my previous PC I am used to a 1. I have a 32 inch 4k screen (3840 x 2160), which I currently use at 200% integer scaling in GNOME Wayland. Below you can find a list of Wayland compositors. The solution is to use the xdg-output protocol, if available, to retrieve the desktop dimensions, (see GNOME Mutter #2126 and XWayland #861). Closed m-khvoinitsky opened this issue Feb 5, 200% works really well with fractional scaling off, since xwayland apps get the full canvas size and can do hidpi if they know how. gnome. I'm very happy to have learned about the reload window workaround. It is small but you can still see it and size doesn't change depending on which window your cursor is at. The latest KDE Plasma uses the same method as Gnome's integrer scaling, but at fractional scaling. My guess is that it's not a high priority because fractional scaling conflicts with the "pixel perfect" goal of Wayland. It is aimed to become the successor of the X Window System. To switch to X on Ubuntu, logout, click on the gear icon in the bottom right corner and select XWayland DPI is autodetected based on random (?) plugged monitor on startup, does not changes at runtime (you may do it manually, XWayland DPI should always be 96 no matter which scaling settings are and which actual DPI displays have #3584. On 100% scaling, most apps are okay -- especially ones that run in XWayland, it would seem. 53cm or 1. On Wayland, scaling is supported natively, but X applications run via a compatibility-layer (XWayland) that doesn't support scaling (much like what happens on X, and just stretches the rendered window, which results in a lot Today's Posts; Mark Channels Read; Member List; Forum; Linux Graphics Drivers; Wayland; If this is your first visit, be sure to check out the FAQ by clicking the link above. This might have been discussed before, but I don't see an issue. Steam is just an XWayland application, except it does not Xwayland multi DPI. mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling']" Then open Settings > Displays to set the scale. If you us different scalings per monitor, the xwayland app will take the scaling of the monitor it is started on, probably the primary monitory. This problem is mitigated by the xwayland:force_zero_scaling option, which forces XWayland windows not to be scaled. Do someone know how I can scale the screen to make it readable ? I have tried some stuff but still without success: on /etc/sddm. The blurry applications when using scale-monitor-framebuffer are XWayland applications and that would require an X11-specific Yes. 1. You can also set these properties I have a monitor with 144 dpi. This will get rid of the pixelated look, but will not scale Qt applications support automatic scaling since Qt 5. Basically, this makes the 1080p come to the center vertically next to the 4k and it also handles scaling so that there is no scaling on the 1080p. 1 wayland Bug summary When using the new xwayland native scaling !3567 (merged) fullscreen games look blurry even when their resolution is set to be . Fixing scale for most applications (including Xwayland) by using GDK_DPI_SCALE ( Utility I'm not sure if this has been posted before, but after being really annoyed by scaling, especially with X applications, I just thought why not try it the "GDK way" and put mutter-xwayland-scaling PPA description. 2 env = QUTE_QT_WRAPPER, PyQt6 env = QT_QPA_PLATFORM, wayland env = QT_AUTO_SCREEN_SCALE_FACTOR, 1 For example, a 4k display with 150% scaling has a virtual desktop size of 2560x1440, however SDL reports it as 1920x1080 since it's 3840x2160 / 2. not smooth. But mostly it worked. From what I can tell, the previous MR stalled with the following left open: An X property should be used (this is now fixed). One way this can be observed is through app wayland scaling is set to 300% on 13. With fractional scaling on, 200% does nothing like that. Perhaps scaling in wayland may just be broken in general. But you still have to implement all of the above code, just now it has to Similarly, Clutter tries to automatically handle the scaling factor on each drawing surface, but it provides explicit API to retrieve and set the scaling factor: ClutterSettings:window-scaling-factor clutter_canvas_set_scale_factor clutter_canvas_get_scale_factor. Author knows what to do. Setting scaling to 1. 6, and should therefore look fine under XWayland. interface scaling-factor returns 0, and. To start viewing messages, select the forum that you want to visit from the selection below. For a Wayland compositor, this means that such a window will be scaled up when displayed on a scale=2 monitor. 200% and 100%) and I experience inconsistent scaling of applications, depending on the application and on which display is selected as primary. In the default GNOME Wayland session the tradeoff is decided in favor of HiDPI-aware X11 applications, so all applications are cleanly scaled except HiDPI-unaware XWayland apps. You may need to do a bit of tweaking to get Firefox or VSCode to run as native Wayland apps, but it's doable. Also, just to note that before this dual monitor setup I had the 4k only, configured by KDE Settings and with scaling 150% (I don’t know if it matters to these settings) I just installed ubuntu 22. Paired with the wp_viewport protocol can be used for providing a nice fractional scaling This page documents known tricks and fixes to boost performance if by any chance you stumble upon problems or you do not care that much about animations. Rebased onto the latest master branch. The only real solution is to finish porting the apps to Wayland. Idk about KDE but gnome and a wm like sway should have decent support for fractional scaling. This feature is still considered experimental and fractional scaling in may 2024 is fine. Bug Reports. At the moment it’s a questionable choice, but this might change in future should Vivaldi decide to put work into it and support it native. 875 xwayland { force_zero_scaling = true } This makes it easy for applications without Wayland support to handle their own scaling. In Plasma System Settings, Fraction Scaling is set in Display and Monitor > Display Configuration in the Global scale parameter. On silverblue 38 this wasn’t a problem because 2x wasn’t considered fractional scaling, but now it is? The problem is probably occurring because of this change. or you could depend on Actually, in addition, setting the preferred ozone platform to wayland when the experimental mutter setting isn't enabled, but scaling is e. Patch mutter for xwayland native scaling. After update to latest version of Brave the browser will scale to 200%. Not sure where the best place to ask this is, but after a recent update on my Arch Linux install, every application using XWayland (here an example in Wine and a file chooser dialog) went from having smooth That ensures that all scaling is done completely by mpv. Running Microsoft Edge or other Chromium-based browsers on Hyprland can sometimes mess up the scaling, resulting in an unsharp display. I am very happy with the current setup, but I have some questions about the underlying architecture / You are probably talking about scaling of XWayland windows, which don't make use of the protocol that the linked mutter MRs deal with at all. xwayland apps don't change the scaling as you move them from monitor to monitor, so it is Running XWayland in rootful mode now allows for working HiDPI and fractional scaling support. Latest update has a bug for Wayland scaling in Linux. When native Wayland support is enabled, That was a clever workaround. Hello! Just rebased to silverblue 39 to do some beta testing, and am experiencing blurry xwayland apps. integer) but a workaround was implemented for KWin to allow that with the downside of reducing the size of non-hidpi-aware X11 clients. Very likely personal repository for testing purpose, which you should not use. 15, ended up being the ticket for me, with the 4k screen set to 131. Only --ignore-gpu-blocklist is enough for our purposes. 04 in a virtual machine with vmware and I can assure you that I have not had any problems with fractional scaling, I set it to 150 and 125% and it works great! in 20. 6dpi x 92. 10 with Wayland. Preflight Checklist. I bought a new PC and thought I might just switch to Wayland and Sway (coming from i3). Using X11 on 200 % scaling, everything works fine, but the lack of independent scaling means that external monitors that aren't also HiDPI aren't usable, so I'd hoped to give Wayland a shot. The community solution was to patch the system glfw, but I'd rather not do that. Welcome to FXGears. This has been reported on the brave-browser reddit as well. Compared to Sway where the text is much sharper (if worse than hidpi apps) What’s more important is that there are no benefits to running the flag, other than that you have the “peace of mind” that you are now running Vivaldi as Wayland instead of XWayland app. 0 gnome-settings-daemon 47. What actually happens with the scaling depends on whatever the implementation details are. In brief. Expected behavior. Ha, I’m curious to see an answer if any ever comes. This article or section needs expansion. Wayland support is something that will come, but don't expect it for quite some time, and don't expect wayland to be a good platform for applications like Krita: for instance, it's ideas about color management are The Framework laptop is my favorite computer of all time; just a preface to this criticism. as far as I can tell, setting resolution to the “native” one in-game does what it’s supposed to, though. It does not happen with Firefox, nor does it happen on other SUMMARY Display scaling on Wayland is generally a poor experience: - GTK apps look blurry - XWayland applications look blurry - Games - Fractional scaling generally looks poor This is a huge downgrade from Xorg where setting a font DPI however high correctly scales application and looks consistently sharp. The flag --force-device-scale-factor=1 may be used to overrule the automatic scaling factor. Steps to reproduce GDK_BACKEND=x11 gtk3-demo Click the maximize button. There are still some XWayland quirks though. 1 Wayland Bug summary Mutter 47 defaults to the new xwayland-native-scaling, but that has a weird effect when maximizing windows, they end up being twice as large as expected. fedorainfracloud. If you have problems with your graphics card I’ve been using a 4K monitor in X11 by setting the KDE font DPI - which has worked quite well for the past few years (after a few adjustments to the panel size, konsole font, and so on). org:taaem:mutter-xwayland-fractional-scaling. 26 Wayland, Slack would handle mixed DPI scenarios correctly launch with the correct scale for the monitor it was launched from. conf: xwayland {force_zero_scaling = true Xwayland multi DPI. true. Fractional scaling Wayland fractional scaling is a lot better than before, but it is not perfect. Now restart Edge, and it will go into Wayland with no weird looking and no blurry stuff on XWayland with fractional scaling. Note: Display scaling might be enabled automatically – that depends on what When Xwayland native scaling is enabled, Xwayland applications run within their own coordinate space and all windows have the same scale factor applied regardless of the output they're Skip to content. ; I agree to follow the Code of Conduct that this project adheres to. HiDPI XWayland XWayland currently looks pixelated on HiDPI screens, due to Xorg’s inability to scale. The screen was not scaled at this time so I changed the scaling from 100% to 200%. Legacy applications (i. How do I get current fractional scaling value via terminal? E. 04 it's terrible and when I activate it I get 2 cursors interposed by my 1600p laptop resolution which is great, even so what I don't like about linux is that most distributions don't have fractional Thank you so much for your thorough explanation, I understand it now. mutter experimental-features '["scale-monitor-framebuffer", "xwayland-native Due to my experience of just terrible performance with X11 despite its better support for fractional scaling, I ended up keeping Wayland without fractional scaling and just using accessibility features for "large text" and "large cursor". It is an alternate guide on Using Multiple Hyprland Version. If the app doesn't support hidpi then it looks tiny. GitLab. 25 (125%) scaling which is working perfectly (Windows and Linux / X Server). If you are not familiar with YouTrack please refer Bad font scaling in XWayland . 0 (no fractional scaling) fixes the issue. The wp-fractional-scale-v1 protocol allows for clients to communicate fractional scaling of surfaces with the compositor. most games) cannot see the monitor's native resolution. Some applications do not support it yet or the support is experimental at best. you'll This week is a twofer! We have the long-awaited Wayland fractional scaling support, and the equally long-awaited ultimate fix for Plasma's multi-screen woes! Let's take them Hi Since Gnome 44 released, we’ve noticed that the default fractional scaling setting is set to 150%. Then there are Wayland native clients. I mean, the real X11 window server on Linux also still doesn't do proper scaling. 875 monitor=DP-1,preferred,0x1152,1. It's not really a Microsoft/GWSL issue, that's literally how those apps are supposed to look in a Linux environment because I was trying a wacom intuos medium tablet on Hyprland (specifically with Aseprite and Krita, two apps that can only run with xwayland). No, more than likely that just means Brave is using XWayland (aka X11) instead of native Wayland. Now uses an X property, _XWAYLAND_GLOBAL_OUTPUT_SCALE, to control the scaling. This feature is still considered experimental and should only be used for testing. 5. With 2x scaling, XWayland clients like xterm are scaled up 2x by the compositor, but seem blurry. However, my 4K monitor setup is causing me some trouble. . With the 200% scaling in X11 and SDDM. actual size is 11520x6480. Wayland does not have those limitation and let’s you have 125% scaling but now makes obvious XWayland Apps can’t support it. Switching to fullscreen mode and back to tiled mode (Master-stack) fixes the problem. Is it possible to force_zero_scaling = false only for a specified app? Window rules doesn't work. Here is a video of me moving my mouse in a small circle: problem Steps to reproduce Enable "scale-monitor-framebuffer" and "xwayland-native-scaling" A merge request was opened this week for plumbing fractional scaling support for XWayland clients running on the GNOME Mutter compositor. Assignees. It perfectly works by wayland. interface text-scaling-factor returns 1. All credits go to the authors of the original MR. The fractional scaling protocol won’t help with that. for example, if you use 150% scaling and have a 4K screen, the game will see a resolution of 6K. Looking toward a move to Wayland, I ersinware until the native wayland support is implemented in our runtime I'm afraid there's nothing you can do except choosing non-fractional scaling or switching to xorg, please see this comment for more details. Then a DPI capable xwayland app such as jetbrains will 13 votes, 11 comments. Starting with the 2024. Wayland with 1. However, if you disable GNOME's experimental fractional scaling, then XWayland can render at full resolution too (e. If you continue to experience problems with Minecraft on Wayland after installing this mod, file a bug report on the issue tracker if it hasn't already been reported. Tag: v0. 5, and on xwayland I enabled the force_zero_scaling setting. E. This problem is mitigated by the xwayland:force_zero_scaling option, which forces XWayland To enable scaling in XWayland applications, you will need to run xprop as an autostart command in labwc, and set the GDK_SCALE environment variable. proton app not respect display scaling when using Wayland on KDE plasma or gnome enviroment info: OS: Garuda Linux Bird of Prey x86_64 Kernel: 6. I am desperate enough I am willing to consider "absurd" situations like running a second, subsidiary Wayland or second xwayland. Perhaps the most pressing issue with XWayland is that of scaling. ernstp opened this issue Mar 11, 2024 · 14 comments · Fixed by #9258. Windowed and borderless work fine. My computer’s resolution is 2560x1440,at GNOME 47 which supports xwayland fractional scaling,but the way which scale is make the screen resolution is 4096x2304 and which use fractional reducing to make XWayland apps clear,but this will cause a lot waste of performance and even Steam Gamescope cannot work Hi there! Is there any way to make XWayland apps scaling on GNOME works just like in KDE with “Apply scaling themselves” option selected? I just tried 225% scaling on KDE, and with that option selected all my mainly used applications (Chrome, VSCode, and some Jetbrains IDEs) scales itself perfectly fine, with crisp and easy readable fonts. For Y (height), given that a point of font size is 0. That is a fact and it is honestly no where near anything looking like a solution. Everybody else should avoid this repo. Labels. 25x Scaling w/ Fractional XWayland Scaling Bug summary Mouse movement with fractional XWayland scaling in CS2 while running at the display's native resolution is not good. I do not have a HiDPI screen so I am not sure. But on Xorg apps looks pixeled. 2 (provided by an Ubuntu package). I have a HiDPI screen. These scale just fine with integer scaling factors. We’d like to automate the process and set the scaling to 100%, when we install the device via our configuration-management tool. Several of those apps listed are using Qt, Electron or SDL. But several key apps are too small. When gnome's experimental fractional scaling is disabled, a 200% scale is handled as 2x (that is, integer scaling) and xwayland windows see the true resolution. Find more information about how to upload packages in the PPA help page. ; I have searched the issue tracker for a bug report that matches the one I want to file, I have multiple displays that require different scaling factors (e. I have read that there is a way to get XWayland to render at 2X resolution and scale down instead, but all I was very surprised today that on a fresh install, XWayland applications actually do scale for integer factors (tested with Steam, Spotify, Bitwarden, Firefox). Wayland project is currently under development, you can follow JBR-3206 to get notified about the progress. If you use a buffer scale of 1 and the compositor doesn't support fractional scaling, then it will always screw with the dimensions in some way if the compositor yes, xwayland will be here for a long time, but that doesn't have anything to do with what i said. Includes @kode54's fixes. To implement that wl_update_buffer needs to scale the gdi->primary_buffer data to the same size as Re: GTK 4 Apps Using Cursor Size of 64 On Any KDE Wayland HiDPI Scaling acubens wrote: I have this problem with the Capitaine-Cursors and Nordic-Cursors themes. 353mm, the screen should be (29. However, I have been facing a font rendering problem where the fonts appear blurry and not as sharp as expected, even before I made any changes to the default font settings. For compatibility with native X11 WSLg doesn’t add any new or private Wayland protocols out of Weston, as far as Wayland applications (or XWayland for X11 applications) are concerned, they are interacting with Weston. x percent this makes things not too big on either screen and not too small as well. With the 1080 resolution that gives a XWayland is the bridging mechanism between legacy Xorg programs and Wayland compositors. I've read xwayland:force_zero_scaling will fix fractional scaling issues. monitor = eDP-1, 1920x1080, auto, 1. At certain scaling factors, even with force_zero_scaling, xwayland apps are told to render at a resolution that is 1 or 2 pixels short They shouldn't be pixelated with both GL & precise scaling on Wayland (but not on X11 or without GL). Actually opening a window (I am using Gnome Shell), will provide a plain white decoration around the window. You may have to register before you can post: click the register link above to proceed. Before it was 100%. If you do not need fractional scaling I found IDEA to also look well with Wayland and 200% scaling (and factional scaling turned off). mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling']" Description Description not filled in by author. How to reproduce Hyprland config. I have assumed that it changes the scaling-factor key of org/gnome/desktop/interface schema but it looks like the scaling is per display in the Settings app so it might actually do something else. Driver support ? Affected version Fedora 41 mutter 47. This is about how Fedora's KDE package team doesn't give you a way to use the xorg session in any way out of the box and that it will likely be followed on by the gnome team and then that other distributions will eventually follow. mpv. Actual behavior. Testing Hi-DPI application on Wayland without actual Hi-DPI hardware XWayland-using Electron apps are drawn too small when using HiDPI client scaling In Plasma 5. In the experimental version, this decision is apparently Is it possible to make an option to not scale Xwayland apps so they render at 1:1 scale on all monitors (meaning on HiDPI they'll be tiny if the app/game doesn't support scaling, but sharp rather than blurry)? I think I It works as expected, however after around 30 ~ 60s all xorg apps will spawn with giant UI. Adding this PPA to your system. To enable it, you can run the following from the command line: gsettings set org. 3" 4k laptop. 2 EAP, however, users can run Set display scaling to 200% (without experimental fractional scaling feature) Launch VS Code (with ELECTRON_OZONE_PLATFORM_HINT=auto) Observe the UI is blurry; In addition, I found that electron31 does not have this problem, but electron29 does, and vscode uses electron29, so this may be an upstream problem that has been fixed. Compared to Sway where the text is much sharper (if worse than hidpi apps) Wayland is a display server protocol. I am very happy with the current setup, but I have some questions about the underlying architecture / (I’m not sure whether to post this here or under Platform) It is my understanding that under Wayland GNOME will oversample, that is it will first produce output at a larger integer scale using the underlying toolkit and then interpolate the output to downscale to the appropriate fractional scale. org:taaem:mutter-xwayland-fractional-scaling sudo dnf reinstall mutter mutter-common gnome-settings-daemon --repo copr:copr. , those running using XWayland) may be a bit blurry. maybe hidpi behavior should be integer scaling closest to display I have been using this fractional scaling on sway with way less issues. If a Qt application is not scaling for you, you can force automatic display scaling on for Qt5+ applications with the Note my worst offender (IE the app I am most interested in disabling scaling for) is a closed-source IDE that runs in xwayland, so if I get a solution that works but only for xwayland apps, this helps significantly. If I choose to use this decoration here are the problems : If Using core integer scaling with buffer_scale is also meant to cancel out compositor-side scaling, but of course that has many limitations as everyone knows (hence the fractional scale protocol). Firefox now supports Wayland fractional scaling, making your web content sharper and more vivid at fractional scales. 1cm x 29. SDL2, wayland backend: Wayland scaling makes cursor smaller but it should be bigger #9250. EDID information is incorrect with XWayland. Hello,developers. TL;DR: Wait for a Wayland This guide details how to configure/use multiple monitors on Wayland for GNOME and KDE desktop environments (DEs). At certain scaling factors, even with force_zero_scaling, xwayland apps are told to render at a resolution that is 1 or 2 pixels short If I set force_zero_scaling = false they become clear and sharply scaled but this breaks Electron and makes it blurry. the use of fractional scaling causes blurring. you can use it on a daily basis for work and never notice a single issue. This is done by introducing a "stage" vs "protocol" coordinate space for X11, where the "protocol" coordinate Hyprland Version. The images on Linux desktop If you have Qt scaling enabled on your system, and the scaling factor is not an integer, you may encounter problems like pixelated images and icons. Examples: Primary display is scaled 200% secondary is 100% Run Firefox, it looks good both on the primary and secondary. 8cm / 0. I installed the plasma-wayland-session. desktop. I want force_zero_scaling for xwayland be always true except for Pidgin (GTK2), smth like windowrule = scale 2, class: Pidgin For me I just had to run sudo dnf upgrade --refresh instead of sudo dnf reinstall mutter mutter-common gnome-settings-daemon --repo copr:copr. e. I've been using Sway in scale 2 mode for a while, but I recently switched to scale 1, because I started using certain XWayland programs on a daily basis. Until I press any key, then the entire frame is rendered for some reason. Fullscreen applications like games that use XWayland will see a “wrong” display resolution. I do not really know which part of the GNOME causes the problem so I decided to ask here instead of going to GitLab. On my display I have fractional scaling with 1. After installing the patch, run: gsettings set org. kwye fkxfavp mvut jmywuwo zfilg xmbsdu oerprtc owrrw xnrlr qmacv