HiDPI Screen + Monitor application scaling issues (Wayland and X windows)












0















I am using Ubuntu 18.04 on a Dell XPS 13 (2018) that has a HiDPI (UHD) Screen (3480 x 2160), I am then connecting to a UHD Dell 34" Monitor (3440 x 1440) via a USB-C DisplayPort cable.



All the screenshots here are using Wayland - I have also tried using X, but switched to Wayland as that supports separate scaling on the monitor and built-in display.



However the scaling is off on quite a few applications.



From the Screen Display application, the 'Built-in display' is scaled to 200% (this is the default that Ubuntu sets) and works well for the default when I am not connected to a monitor. Then the Dell Inc. 34" screen settings has the scale at 100%.



With these scaling factors my terminal session windows look about correct and so I'm using this as a base.



However there are lots of things that don't seem to match up with my most common applications:




  • Firefox

  • Chromium

  • KeypassXC (this has a QT application UI)

  • Gimp


These are the issues I've hit:




  1. The scaling of the title bars for FF,Chrome and Keypass on the monitor stays based on the in-built display (so scaled to 200% when the other applications are scaled to 100%)

  2. The scaling of the text inside the window remains huge

  3. Adjusting both the in-built and the monitor to 100% still leaves the applications with title bar heights that are scaled to 200% but the text within them is scaled to 100% and the text in the application is still scaled to 200%.


The only way to get things to match up correctly between screen and monitor is to set both to 200% but then everything looks huge on the monitor.



Screenshot 1 (built-in 200%, monitor 100%)



(Current) Best possible but the browser applications are all too big.



enter image description here



Screenshot 2 (built-in 300%, monitor 100%)



This shows the title text being based of the screen scaling and not the monitor scaling



enter image description here



Screenshot 3 (built-in 100%, monitor 100%)



The applications on the monitor still look incorrect and now Gnome applications look tiny on the built-in display.



enter image description here










share|improve this question




















  • 1





    Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

    – B.Tanner
    Dec 12 '18 at 8:21











  • @B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

    – icc97
    Dec 12 '18 at 8:29






  • 1





    I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

    – B.Tanner
    Dec 12 '18 at 10:41






  • 1





    I should add: I still had to use xrandr.

    – B.Tanner
    Dec 12 '18 at 10:57











  • @B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

    – icc97
    Dec 12 '18 at 12:05
















0















I am using Ubuntu 18.04 on a Dell XPS 13 (2018) that has a HiDPI (UHD) Screen (3480 x 2160), I am then connecting to a UHD Dell 34" Monitor (3440 x 1440) via a USB-C DisplayPort cable.



All the screenshots here are using Wayland - I have also tried using X, but switched to Wayland as that supports separate scaling on the monitor and built-in display.



However the scaling is off on quite a few applications.



From the Screen Display application, the 'Built-in display' is scaled to 200% (this is the default that Ubuntu sets) and works well for the default when I am not connected to a monitor. Then the Dell Inc. 34" screen settings has the scale at 100%.



With these scaling factors my terminal session windows look about correct and so I'm using this as a base.



However there are lots of things that don't seem to match up with my most common applications:




  • Firefox

  • Chromium

  • KeypassXC (this has a QT application UI)

  • Gimp


These are the issues I've hit:




  1. The scaling of the title bars for FF,Chrome and Keypass on the monitor stays based on the in-built display (so scaled to 200% when the other applications are scaled to 100%)

  2. The scaling of the text inside the window remains huge

  3. Adjusting both the in-built and the monitor to 100% still leaves the applications with title bar heights that are scaled to 200% but the text within them is scaled to 100% and the text in the application is still scaled to 200%.


The only way to get things to match up correctly between screen and monitor is to set both to 200% but then everything looks huge on the monitor.



Screenshot 1 (built-in 200%, monitor 100%)



(Current) Best possible but the browser applications are all too big.



enter image description here



Screenshot 2 (built-in 300%, monitor 100%)



This shows the title text being based of the screen scaling and not the monitor scaling



enter image description here



Screenshot 3 (built-in 100%, monitor 100%)



The applications on the monitor still look incorrect and now Gnome applications look tiny on the built-in display.



enter image description here










share|improve this question




















  • 1





    Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

    – B.Tanner
    Dec 12 '18 at 8:21











  • @B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

    – icc97
    Dec 12 '18 at 8:29






  • 1





    I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

    – B.Tanner
    Dec 12 '18 at 10:41






  • 1





    I should add: I still had to use xrandr.

    – B.Tanner
    Dec 12 '18 at 10:57











  • @B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

    – icc97
    Dec 12 '18 at 12:05














0












0








0


1






I am using Ubuntu 18.04 on a Dell XPS 13 (2018) that has a HiDPI (UHD) Screen (3480 x 2160), I am then connecting to a UHD Dell 34" Monitor (3440 x 1440) via a USB-C DisplayPort cable.



All the screenshots here are using Wayland - I have also tried using X, but switched to Wayland as that supports separate scaling on the monitor and built-in display.



However the scaling is off on quite a few applications.



From the Screen Display application, the 'Built-in display' is scaled to 200% (this is the default that Ubuntu sets) and works well for the default when I am not connected to a monitor. Then the Dell Inc. 34" screen settings has the scale at 100%.



With these scaling factors my terminal session windows look about correct and so I'm using this as a base.



However there are lots of things that don't seem to match up with my most common applications:




  • Firefox

  • Chromium

  • KeypassXC (this has a QT application UI)

  • Gimp


These are the issues I've hit:




  1. The scaling of the title bars for FF,Chrome and Keypass on the monitor stays based on the in-built display (so scaled to 200% when the other applications are scaled to 100%)

  2. The scaling of the text inside the window remains huge

  3. Adjusting both the in-built and the monitor to 100% still leaves the applications with title bar heights that are scaled to 200% but the text within them is scaled to 100% and the text in the application is still scaled to 200%.


The only way to get things to match up correctly between screen and monitor is to set both to 200% but then everything looks huge on the monitor.



Screenshot 1 (built-in 200%, monitor 100%)



(Current) Best possible but the browser applications are all too big.



enter image description here



Screenshot 2 (built-in 300%, monitor 100%)



This shows the title text being based of the screen scaling and not the monitor scaling



enter image description here



Screenshot 3 (built-in 100%, monitor 100%)



The applications on the monitor still look incorrect and now Gnome applications look tiny on the built-in display.



enter image description here










share|improve this question
















I am using Ubuntu 18.04 on a Dell XPS 13 (2018) that has a HiDPI (UHD) Screen (3480 x 2160), I am then connecting to a UHD Dell 34" Monitor (3440 x 1440) via a USB-C DisplayPort cable.



All the screenshots here are using Wayland - I have also tried using X, but switched to Wayland as that supports separate scaling on the monitor and built-in display.



However the scaling is off on quite a few applications.



From the Screen Display application, the 'Built-in display' is scaled to 200% (this is the default that Ubuntu sets) and works well for the default when I am not connected to a monitor. Then the Dell Inc. 34" screen settings has the scale at 100%.



With these scaling factors my terminal session windows look about correct and so I'm using this as a base.



However there are lots of things that don't seem to match up with my most common applications:




  • Firefox

  • Chromium

  • KeypassXC (this has a QT application UI)

  • Gimp


These are the issues I've hit:




  1. The scaling of the title bars for FF,Chrome and Keypass on the monitor stays based on the in-built display (so scaled to 200% when the other applications are scaled to 100%)

  2. The scaling of the text inside the window remains huge

  3. Adjusting both the in-built and the monitor to 100% still leaves the applications with title bar heights that are scaled to 200% but the text within them is scaled to 100% and the text in the application is still scaled to 200%.


The only way to get things to match up correctly between screen and monitor is to set both to 200% but then everything looks huge on the monitor.



Screenshot 1 (built-in 200%, monitor 100%)



(Current) Best possible but the browser applications are all too big.



enter image description here



Screenshot 2 (built-in 300%, monitor 100%)



This shows the title text being based of the screen scaling and not the monitor scaling



enter image description here



Screenshot 3 (built-in 100%, monitor 100%)



The applications on the monitor still look incorrect and now Gnome applications look tiny on the built-in display.



enter image description here







18.04 display display-resolution monitor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 10:08







icc97

















asked Nov 15 '18 at 8:34









icc97icc97

219310




219310








  • 1





    Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

    – B.Tanner
    Dec 12 '18 at 8:21











  • @B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

    – icc97
    Dec 12 '18 at 8:29






  • 1





    I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

    – B.Tanner
    Dec 12 '18 at 10:41






  • 1





    I should add: I still had to use xrandr.

    – B.Tanner
    Dec 12 '18 at 10:57











  • @B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

    – icc97
    Dec 12 '18 at 12:05














  • 1





    Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

    – B.Tanner
    Dec 12 '18 at 8:21











  • @B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

    – icc97
    Dec 12 '18 at 8:29






  • 1





    I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

    – B.Tanner
    Dec 12 '18 at 10:41






  • 1





    I should add: I still had to use xrandr.

    – B.Tanner
    Dec 12 '18 at 10:57











  • @B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

    – icc97
    Dec 12 '18 at 12:05








1




1





Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

– B.Tanner
Dec 12 '18 at 8:21





Currently snap apps do not respect your theme, which includes scaling. Some apps are worse than others. But they are working on it :-)

– B.Tanner
Dec 12 '18 at 8:21













@B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

– icc97
Dec 12 '18 at 8:29





@B.Tanner It's Firefox and Chrome too :( I've given up with GNOME and switched to KDE.

– icc97
Dec 12 '18 at 8:29




1




1





I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

– B.Tanner
Dec 12 '18 at 10:41





I also use KDE with a second monitor on an XPS 13 and am loving it, got fed up of fighting gnome. There are still some problems and I have to avoid most snap apps which severely limits the choice of software, but with most you can find a PPA and "sudo apt install" from there if you have to eg. I needed a later version of LibreOffice due to a bug and found the snap version unusable - I could barely see the mouse pointer it was so small - but the PPA version is fine.

– B.Tanner
Dec 12 '18 at 10:41




1




1





I should add: I still had to use xrandr.

– B.Tanner
Dec 12 '18 at 10:57





I should add: I still had to use xrandr.

– B.Tanner
Dec 12 '18 at 10:57













@B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

– icc97
Dec 12 '18 at 12:05





@B.Tanner, thanks. Yeah, I haven't tried xrandr yet but I assume it will work for me too, at least the scaling works correctly and consistently in KDE, so once you configure it properly it should look correct, the problem on GNOME was the inconsistencies on one screen which I don't think you can fix with xrandr

– icc97
Dec 12 '18 at 12:05










2 Answers
2






active

oldest

votes


















1














I have a similar issue with Matebook X Pro (3000x2000) and external 1440p display. Weyland scaling factor not apply to all programs as above.



I also checked other distros and desktop environments, it works somehow on KDE Plasma - I mean scaling was proper on second display - but there was a lot of other issues, for example, some programs not scale in general.



On Ubuntu I also notice touchscreen issue, it works, but it is not the best user experience for me.



I type it with pain, but... for now - it is really hard to write - for now only Windows 10 works fine with this setup. It looks like we have to wait for better Linux support of HiDPI.



Update



After about one week i gave up... Windows 10 is so useless. I am very impressed that OS provided with hardware works so bad (minimum 1 crash/hang per day, about 10Gig RAM used by OS, Candy Crash in menu, preinstalled, in profesional OS!! and many many more bad experiences).



Then I switch back to only right OS - Linux. I'm really sorry that I doubted him.



In some way I workaround this issue. I disabled scaling on both screen (1x scale factor was seted). Then on my HiDPI screen I changed resolution to 1920x1280. I know that is strange resolution but it is because my screen aspect ratio is 3:2. This resolution is apropriate to properly see UI elements and do not casue strange graphical glitches. Everything looks perfect. All programs works like charm. I was afraid when I changed resolution to smaller one then everything will be looking odd. I am impressed how everything works so great and there is no need for scaling.



I setted this weird resolution using xrandr (google is your friend).



For every day use my setup is 3000x2000, 1920x1080, 1920x1080 screens and finaly I can use this potential with power of only right OS.



Currently I am using Ubuntu but this should work on any Linux based OS.






share|improve this answer


























  • I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

    – icc97
    Dec 12 '18 at 8:15











  • I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

    – icc97
    Jan 29 at 9:12






  • 1





    After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

    – Marcin Zawada
    Feb 13 at 8:31



















0














tl;dr: KDE plasma solved my issues but caused others, so I switched to vanilla GNOME 3 leaving the scaling at 200% for both laptop and monitor.



After a month of trying with Wayland and then also regular X I gave up and tried alternative options. I even was willing to accept that scaling would be twice as big on the monitor as long as the menu bars and text would be consistently displayed. However as you can see with the top half of the screenshots in my question the menu bars even on the same screen differ in size and beyond that the close icons don't scale and so the text becomes smaller but the buttons are still just as big.



I first tried Budgie. Where as this is nice, it is just a wrapper on Gnome and so suffers from the same problems - inconsistent menu bar heights and min/max/close icons that don't scale.



KDE Plasma



Then I tried KDE Plasma (recommended via reddit) and this for me works about perfectly - all windows are scaled consistently. The one issue is that by default just through the System Settings > Displays menu you can only scale both the monitor and the in-built screen to the same (same as Gnome X). This means that things are twice as big on the monitor as the desktop, but I can just put terminal windows on the monitor and scale the font down and that's fine.



The KDE Displays menu seems to be a fairly simple wrapper around xrandr - so hopefully they'll extend it to allow independent scaling through the menu. My objective when using Linux is that you can achieve things through menus so that others can use them too. However at least the scaling is consistent and so if I do use xrandr I should be able to get the perfect setup, where as on Gnome the windows were different sizes in the same screen.



Here is a comparison screenshot:



enter image description here



Update: switching to plain GNOME 3



After a couple of months with KDE a couple of annoyances popped up where it doesn't deal well with UHD screens and external monitors.




  1. KDE plasma has a very long loading screen ~10s which got more annoying with each day

  2. The screenshot tool would crash my system and I have to regularly take screenshots

  3. Moving windows between monitors became a problem

  4. There's no bold font in the terminal - silly annoyances but they build up

  5. Other constant niggles with windows


All of this was compared to the almost perfect experience that I have with Fedora + GNOME, plus I guess I'm just comfortable with using GNOME.



So as my current solution I have simply installed the base GNOME 3 (Wayland or not doesn't matter, but I do use Wayland) and I have accepted that the only scaling that handles all the things I care about is the default of scaling 200% on both the laptop and external monitor.



Even with plain GNOME scaling to 100% doesn't work - it just makes the text of the titles smaller rather than shrinking the size of the title bars.



I followed this It's FOSS guide for installing GNOME:



sudo apt install gnome-session


Then I needed a further tweak to switch the login screen back to gdm3:



sudo dpkg-reconfigure sddm 


Now it's the case that actual regular Ubuntu GNOME 3 would also work fine, so it sounds like potentially my best option in the beginning was just to do nothing and accept the large titles on the external monitor **sigh**. But at least my desktop experience is fairly consistent now between my home Fedora Thinkpad laptop and my work Dell Ubuntu laptop.



But I do now have:




  1. Consistent scaling of fonts in the titles

  2. Consistent title bar sizes

  3. Putting my laptop to sleep and then re-awakening it whilst it's connected to an external monitor doesn't move the windows around

  4. Super crisp fonts in the terminal on both the external monitor and laptop (scaling the external monitor to anything other than 200% caused problems)


Now my desktop looks like this:



enter image description here






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093107%2fhidpi-screen-monitor-application-scaling-issues-wayland-and-x-windows%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    I have a similar issue with Matebook X Pro (3000x2000) and external 1440p display. Weyland scaling factor not apply to all programs as above.



    I also checked other distros and desktop environments, it works somehow on KDE Plasma - I mean scaling was proper on second display - but there was a lot of other issues, for example, some programs not scale in general.



    On Ubuntu I also notice touchscreen issue, it works, but it is not the best user experience for me.



    I type it with pain, but... for now - it is really hard to write - for now only Windows 10 works fine with this setup. It looks like we have to wait for better Linux support of HiDPI.



    Update



    After about one week i gave up... Windows 10 is so useless. I am very impressed that OS provided with hardware works so bad (minimum 1 crash/hang per day, about 10Gig RAM used by OS, Candy Crash in menu, preinstalled, in profesional OS!! and many many more bad experiences).



    Then I switch back to only right OS - Linux. I'm really sorry that I doubted him.



    In some way I workaround this issue. I disabled scaling on both screen (1x scale factor was seted). Then on my HiDPI screen I changed resolution to 1920x1280. I know that is strange resolution but it is because my screen aspect ratio is 3:2. This resolution is apropriate to properly see UI elements and do not casue strange graphical glitches. Everything looks perfect. All programs works like charm. I was afraid when I changed resolution to smaller one then everything will be looking odd. I am impressed how everything works so great and there is no need for scaling.



    I setted this weird resolution using xrandr (google is your friend).



    For every day use my setup is 3000x2000, 1920x1080, 1920x1080 screens and finaly I can use this potential with power of only right OS.



    Currently I am using Ubuntu but this should work on any Linux based OS.






    share|improve this answer


























    • I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

      – icc97
      Dec 12 '18 at 8:15











    • I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

      – icc97
      Jan 29 at 9:12






    • 1





      After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

      – Marcin Zawada
      Feb 13 at 8:31
















    1














    I have a similar issue with Matebook X Pro (3000x2000) and external 1440p display. Weyland scaling factor not apply to all programs as above.



    I also checked other distros and desktop environments, it works somehow on KDE Plasma - I mean scaling was proper on second display - but there was a lot of other issues, for example, some programs not scale in general.



    On Ubuntu I also notice touchscreen issue, it works, but it is not the best user experience for me.



    I type it with pain, but... for now - it is really hard to write - for now only Windows 10 works fine with this setup. It looks like we have to wait for better Linux support of HiDPI.



    Update



    After about one week i gave up... Windows 10 is so useless. I am very impressed that OS provided with hardware works so bad (minimum 1 crash/hang per day, about 10Gig RAM used by OS, Candy Crash in menu, preinstalled, in profesional OS!! and many many more bad experiences).



    Then I switch back to only right OS - Linux. I'm really sorry that I doubted him.



    In some way I workaround this issue. I disabled scaling on both screen (1x scale factor was seted). Then on my HiDPI screen I changed resolution to 1920x1280. I know that is strange resolution but it is because my screen aspect ratio is 3:2. This resolution is apropriate to properly see UI elements and do not casue strange graphical glitches. Everything looks perfect. All programs works like charm. I was afraid when I changed resolution to smaller one then everything will be looking odd. I am impressed how everything works so great and there is no need for scaling.



    I setted this weird resolution using xrandr (google is your friend).



    For every day use my setup is 3000x2000, 1920x1080, 1920x1080 screens and finaly I can use this potential with power of only right OS.



    Currently I am using Ubuntu but this should work on any Linux based OS.






    share|improve this answer


























    • I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

      – icc97
      Dec 12 '18 at 8:15











    • I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

      – icc97
      Jan 29 at 9:12






    • 1





      After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

      – Marcin Zawada
      Feb 13 at 8:31














    1












    1








    1







    I have a similar issue with Matebook X Pro (3000x2000) and external 1440p display. Weyland scaling factor not apply to all programs as above.



    I also checked other distros and desktop environments, it works somehow on KDE Plasma - I mean scaling was proper on second display - but there was a lot of other issues, for example, some programs not scale in general.



    On Ubuntu I also notice touchscreen issue, it works, but it is not the best user experience for me.



    I type it with pain, but... for now - it is really hard to write - for now only Windows 10 works fine with this setup. It looks like we have to wait for better Linux support of HiDPI.



    Update



    After about one week i gave up... Windows 10 is so useless. I am very impressed that OS provided with hardware works so bad (minimum 1 crash/hang per day, about 10Gig RAM used by OS, Candy Crash in menu, preinstalled, in profesional OS!! and many many more bad experiences).



    Then I switch back to only right OS - Linux. I'm really sorry that I doubted him.



    In some way I workaround this issue. I disabled scaling on both screen (1x scale factor was seted). Then on my HiDPI screen I changed resolution to 1920x1280. I know that is strange resolution but it is because my screen aspect ratio is 3:2. This resolution is apropriate to properly see UI elements and do not casue strange graphical glitches. Everything looks perfect. All programs works like charm. I was afraid when I changed resolution to smaller one then everything will be looking odd. I am impressed how everything works so great and there is no need for scaling.



    I setted this weird resolution using xrandr (google is your friend).



    For every day use my setup is 3000x2000, 1920x1080, 1920x1080 screens and finaly I can use this potential with power of only right OS.



    Currently I am using Ubuntu but this should work on any Linux based OS.






    share|improve this answer















    I have a similar issue with Matebook X Pro (3000x2000) and external 1440p display. Weyland scaling factor not apply to all programs as above.



    I also checked other distros and desktop environments, it works somehow on KDE Plasma - I mean scaling was proper on second display - but there was a lot of other issues, for example, some programs not scale in general.



    On Ubuntu I also notice touchscreen issue, it works, but it is not the best user experience for me.



    I type it with pain, but... for now - it is really hard to write - for now only Windows 10 works fine with this setup. It looks like we have to wait for better Linux support of HiDPI.



    Update



    After about one week i gave up... Windows 10 is so useless. I am very impressed that OS provided with hardware works so bad (minimum 1 crash/hang per day, about 10Gig RAM used by OS, Candy Crash in menu, preinstalled, in profesional OS!! and many many more bad experiences).



    Then I switch back to only right OS - Linux. I'm really sorry that I doubted him.



    In some way I workaround this issue. I disabled scaling on both screen (1x scale factor was seted). Then on my HiDPI screen I changed resolution to 1920x1280. I know that is strange resolution but it is because my screen aspect ratio is 3:2. This resolution is apropriate to properly see UI elements and do not casue strange graphical glitches. Everything looks perfect. All programs works like charm. I was afraid when I changed resolution to smaller one then everything will be looking odd. I am impressed how everything works so great and there is no need for scaling.



    I setted this weird resolution using xrandr (google is your friend).



    For every day use my setup is 3000x2000, 1920x1080, 1920x1080 screens and finaly I can use this potential with power of only right OS.



    Currently I am using Ubuntu but this should work on any Linux based OS.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Dec 6 '18 at 21:49

























    answered Nov 28 '18 at 10:24









    Marcin ZawadaMarcin Zawada

    262




    262













    • I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

      – icc97
      Dec 12 '18 at 8:15











    • I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

      – icc97
      Jan 29 at 9:12






    • 1





      After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

      – Marcin Zawada
      Feb 13 at 8:31



















    • I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

      – icc97
      Dec 12 '18 at 8:15











    • I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

      – icc97
      Jan 29 at 9:12






    • 1





      After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

      – Marcin Zawada
      Feb 13 at 8:31

















    I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

    – icc97
    Dec 12 '18 at 8:15





    I hadn't properly read your answer, but now re-reading I see that we came to the same conclusion (I've added my answer with a screenshot) - KDE Plasma handles the scaling the best. I agree with you on the touch screen, but I practically never use the touch screen. The problem with Gnome that the scaling wasn't consistent within the same screen so even with xrandr you'll never get things perfect. I don't even mind too much that things are too big on the monitor - at least they're consistent.

    – icc97
    Dec 12 '18 at 8:15













    I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

    – icc97
    Jan 29 at 9:12





    I've updated my answer as I've got frustrated with KDE Plasma, so instead I've switched to vanilla GNOME 3 (Wayland works too) and left the scaling at 200% for laptop and monitor. With GNOME I find that the touchscreen is working correctly.

    – icc97
    Jan 29 at 9:12




    1




    1





    After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

    – Marcin Zawada
    Feb 13 at 8:31





    After a few weeks (with a few new kernel versions and many updates) with such settings as above, I did not reveal any problems neither with scaling (because it is turned off) nor a touch screen. ...apart from my own destructive activity, the system is fully functional and looks perfect. Maybe some day i will figure out how to get fingerprint to work.

    – Marcin Zawada
    Feb 13 at 8:31













    0














    tl;dr: KDE plasma solved my issues but caused others, so I switched to vanilla GNOME 3 leaving the scaling at 200% for both laptop and monitor.



    After a month of trying with Wayland and then also regular X I gave up and tried alternative options. I even was willing to accept that scaling would be twice as big on the monitor as long as the menu bars and text would be consistently displayed. However as you can see with the top half of the screenshots in my question the menu bars even on the same screen differ in size and beyond that the close icons don't scale and so the text becomes smaller but the buttons are still just as big.



    I first tried Budgie. Where as this is nice, it is just a wrapper on Gnome and so suffers from the same problems - inconsistent menu bar heights and min/max/close icons that don't scale.



    KDE Plasma



    Then I tried KDE Plasma (recommended via reddit) and this for me works about perfectly - all windows are scaled consistently. The one issue is that by default just through the System Settings > Displays menu you can only scale both the monitor and the in-built screen to the same (same as Gnome X). This means that things are twice as big on the monitor as the desktop, but I can just put terminal windows on the monitor and scale the font down and that's fine.



    The KDE Displays menu seems to be a fairly simple wrapper around xrandr - so hopefully they'll extend it to allow independent scaling through the menu. My objective when using Linux is that you can achieve things through menus so that others can use them too. However at least the scaling is consistent and so if I do use xrandr I should be able to get the perfect setup, where as on Gnome the windows were different sizes in the same screen.



    Here is a comparison screenshot:



    enter image description here



    Update: switching to plain GNOME 3



    After a couple of months with KDE a couple of annoyances popped up where it doesn't deal well with UHD screens and external monitors.




    1. KDE plasma has a very long loading screen ~10s which got more annoying with each day

    2. The screenshot tool would crash my system and I have to regularly take screenshots

    3. Moving windows between monitors became a problem

    4. There's no bold font in the terminal - silly annoyances but they build up

    5. Other constant niggles with windows


    All of this was compared to the almost perfect experience that I have with Fedora + GNOME, plus I guess I'm just comfortable with using GNOME.



    So as my current solution I have simply installed the base GNOME 3 (Wayland or not doesn't matter, but I do use Wayland) and I have accepted that the only scaling that handles all the things I care about is the default of scaling 200% on both the laptop and external monitor.



    Even with plain GNOME scaling to 100% doesn't work - it just makes the text of the titles smaller rather than shrinking the size of the title bars.



    I followed this It's FOSS guide for installing GNOME:



    sudo apt install gnome-session


    Then I needed a further tweak to switch the login screen back to gdm3:



    sudo dpkg-reconfigure sddm 


    Now it's the case that actual regular Ubuntu GNOME 3 would also work fine, so it sounds like potentially my best option in the beginning was just to do nothing and accept the large titles on the external monitor **sigh**. But at least my desktop experience is fairly consistent now between my home Fedora Thinkpad laptop and my work Dell Ubuntu laptop.



    But I do now have:




    1. Consistent scaling of fonts in the titles

    2. Consistent title bar sizes

    3. Putting my laptop to sleep and then re-awakening it whilst it's connected to an external monitor doesn't move the windows around

    4. Super crisp fonts in the terminal on both the external monitor and laptop (scaling the external monitor to anything other than 200% caused problems)


    Now my desktop looks like this:



    enter image description here






    share|improve this answer






























      0














      tl;dr: KDE plasma solved my issues but caused others, so I switched to vanilla GNOME 3 leaving the scaling at 200% for both laptop and monitor.



      After a month of trying with Wayland and then also regular X I gave up and tried alternative options. I even was willing to accept that scaling would be twice as big on the monitor as long as the menu bars and text would be consistently displayed. However as you can see with the top half of the screenshots in my question the menu bars even on the same screen differ in size and beyond that the close icons don't scale and so the text becomes smaller but the buttons are still just as big.



      I first tried Budgie. Where as this is nice, it is just a wrapper on Gnome and so suffers from the same problems - inconsistent menu bar heights and min/max/close icons that don't scale.



      KDE Plasma



      Then I tried KDE Plasma (recommended via reddit) and this for me works about perfectly - all windows are scaled consistently. The one issue is that by default just through the System Settings > Displays menu you can only scale both the monitor and the in-built screen to the same (same as Gnome X). This means that things are twice as big on the monitor as the desktop, but I can just put terminal windows on the monitor and scale the font down and that's fine.



      The KDE Displays menu seems to be a fairly simple wrapper around xrandr - so hopefully they'll extend it to allow independent scaling through the menu. My objective when using Linux is that you can achieve things through menus so that others can use them too. However at least the scaling is consistent and so if I do use xrandr I should be able to get the perfect setup, where as on Gnome the windows were different sizes in the same screen.



      Here is a comparison screenshot:



      enter image description here



      Update: switching to plain GNOME 3



      After a couple of months with KDE a couple of annoyances popped up where it doesn't deal well with UHD screens and external monitors.




      1. KDE plasma has a very long loading screen ~10s which got more annoying with each day

      2. The screenshot tool would crash my system and I have to regularly take screenshots

      3. Moving windows between monitors became a problem

      4. There's no bold font in the terminal - silly annoyances but they build up

      5. Other constant niggles with windows


      All of this was compared to the almost perfect experience that I have with Fedora + GNOME, plus I guess I'm just comfortable with using GNOME.



      So as my current solution I have simply installed the base GNOME 3 (Wayland or not doesn't matter, but I do use Wayland) and I have accepted that the only scaling that handles all the things I care about is the default of scaling 200% on both the laptop and external monitor.



      Even with plain GNOME scaling to 100% doesn't work - it just makes the text of the titles smaller rather than shrinking the size of the title bars.



      I followed this It's FOSS guide for installing GNOME:



      sudo apt install gnome-session


      Then I needed a further tweak to switch the login screen back to gdm3:



      sudo dpkg-reconfigure sddm 


      Now it's the case that actual regular Ubuntu GNOME 3 would also work fine, so it sounds like potentially my best option in the beginning was just to do nothing and accept the large titles on the external monitor **sigh**. But at least my desktop experience is fairly consistent now between my home Fedora Thinkpad laptop and my work Dell Ubuntu laptop.



      But I do now have:




      1. Consistent scaling of fonts in the titles

      2. Consistent title bar sizes

      3. Putting my laptop to sleep and then re-awakening it whilst it's connected to an external monitor doesn't move the windows around

      4. Super crisp fonts in the terminal on both the external monitor and laptop (scaling the external monitor to anything other than 200% caused problems)


      Now my desktop looks like this:



      enter image description here






      share|improve this answer




























        0












        0








        0







        tl;dr: KDE plasma solved my issues but caused others, so I switched to vanilla GNOME 3 leaving the scaling at 200% for both laptop and monitor.



        After a month of trying with Wayland and then also regular X I gave up and tried alternative options. I even was willing to accept that scaling would be twice as big on the monitor as long as the menu bars and text would be consistently displayed. However as you can see with the top half of the screenshots in my question the menu bars even on the same screen differ in size and beyond that the close icons don't scale and so the text becomes smaller but the buttons are still just as big.



        I first tried Budgie. Where as this is nice, it is just a wrapper on Gnome and so suffers from the same problems - inconsistent menu bar heights and min/max/close icons that don't scale.



        KDE Plasma



        Then I tried KDE Plasma (recommended via reddit) and this for me works about perfectly - all windows are scaled consistently. The one issue is that by default just through the System Settings > Displays menu you can only scale both the monitor and the in-built screen to the same (same as Gnome X). This means that things are twice as big on the monitor as the desktop, but I can just put terminal windows on the monitor and scale the font down and that's fine.



        The KDE Displays menu seems to be a fairly simple wrapper around xrandr - so hopefully they'll extend it to allow independent scaling through the menu. My objective when using Linux is that you can achieve things through menus so that others can use them too. However at least the scaling is consistent and so if I do use xrandr I should be able to get the perfect setup, where as on Gnome the windows were different sizes in the same screen.



        Here is a comparison screenshot:



        enter image description here



        Update: switching to plain GNOME 3



        After a couple of months with KDE a couple of annoyances popped up where it doesn't deal well with UHD screens and external monitors.




        1. KDE plasma has a very long loading screen ~10s which got more annoying with each day

        2. The screenshot tool would crash my system and I have to regularly take screenshots

        3. Moving windows between monitors became a problem

        4. There's no bold font in the terminal - silly annoyances but they build up

        5. Other constant niggles with windows


        All of this was compared to the almost perfect experience that I have with Fedora + GNOME, plus I guess I'm just comfortable with using GNOME.



        So as my current solution I have simply installed the base GNOME 3 (Wayland or not doesn't matter, but I do use Wayland) and I have accepted that the only scaling that handles all the things I care about is the default of scaling 200% on both the laptop and external monitor.



        Even with plain GNOME scaling to 100% doesn't work - it just makes the text of the titles smaller rather than shrinking the size of the title bars.



        I followed this It's FOSS guide for installing GNOME:



        sudo apt install gnome-session


        Then I needed a further tweak to switch the login screen back to gdm3:



        sudo dpkg-reconfigure sddm 


        Now it's the case that actual regular Ubuntu GNOME 3 would also work fine, so it sounds like potentially my best option in the beginning was just to do nothing and accept the large titles on the external monitor **sigh**. But at least my desktop experience is fairly consistent now between my home Fedora Thinkpad laptop and my work Dell Ubuntu laptop.



        But I do now have:




        1. Consistent scaling of fonts in the titles

        2. Consistent title bar sizes

        3. Putting my laptop to sleep and then re-awakening it whilst it's connected to an external monitor doesn't move the windows around

        4. Super crisp fonts in the terminal on both the external monitor and laptop (scaling the external monitor to anything other than 200% caused problems)


        Now my desktop looks like this:



        enter image description here






        share|improve this answer















        tl;dr: KDE plasma solved my issues but caused others, so I switched to vanilla GNOME 3 leaving the scaling at 200% for both laptop and monitor.



        After a month of trying with Wayland and then also regular X I gave up and tried alternative options. I even was willing to accept that scaling would be twice as big on the monitor as long as the menu bars and text would be consistently displayed. However as you can see with the top half of the screenshots in my question the menu bars even on the same screen differ in size and beyond that the close icons don't scale and so the text becomes smaller but the buttons are still just as big.



        I first tried Budgie. Where as this is nice, it is just a wrapper on Gnome and so suffers from the same problems - inconsistent menu bar heights and min/max/close icons that don't scale.



        KDE Plasma



        Then I tried KDE Plasma (recommended via reddit) and this for me works about perfectly - all windows are scaled consistently. The one issue is that by default just through the System Settings > Displays menu you can only scale both the monitor and the in-built screen to the same (same as Gnome X). This means that things are twice as big on the monitor as the desktop, but I can just put terminal windows on the monitor and scale the font down and that's fine.



        The KDE Displays menu seems to be a fairly simple wrapper around xrandr - so hopefully they'll extend it to allow independent scaling through the menu. My objective when using Linux is that you can achieve things through menus so that others can use them too. However at least the scaling is consistent and so if I do use xrandr I should be able to get the perfect setup, where as on Gnome the windows were different sizes in the same screen.



        Here is a comparison screenshot:



        enter image description here



        Update: switching to plain GNOME 3



        After a couple of months with KDE a couple of annoyances popped up where it doesn't deal well with UHD screens and external monitors.




        1. KDE plasma has a very long loading screen ~10s which got more annoying with each day

        2. The screenshot tool would crash my system and I have to regularly take screenshots

        3. Moving windows between monitors became a problem

        4. There's no bold font in the terminal - silly annoyances but they build up

        5. Other constant niggles with windows


        All of this was compared to the almost perfect experience that I have with Fedora + GNOME, plus I guess I'm just comfortable with using GNOME.



        So as my current solution I have simply installed the base GNOME 3 (Wayland or not doesn't matter, but I do use Wayland) and I have accepted that the only scaling that handles all the things I care about is the default of scaling 200% on both the laptop and external monitor.



        Even with plain GNOME scaling to 100% doesn't work - it just makes the text of the titles smaller rather than shrinking the size of the title bars.



        I followed this It's FOSS guide for installing GNOME:



        sudo apt install gnome-session


        Then I needed a further tweak to switch the login screen back to gdm3:



        sudo dpkg-reconfigure sddm 


        Now it's the case that actual regular Ubuntu GNOME 3 would also work fine, so it sounds like potentially my best option in the beginning was just to do nothing and accept the large titles on the external monitor **sigh**. But at least my desktop experience is fairly consistent now between my home Fedora Thinkpad laptop and my work Dell Ubuntu laptop.



        But I do now have:




        1. Consistent scaling of fonts in the titles

        2. Consistent title bar sizes

        3. Putting my laptop to sleep and then re-awakening it whilst it's connected to an external monitor doesn't move the windows around

        4. Super crisp fonts in the terminal on both the external monitor and laptop (scaling the external monitor to anything other than 200% caused problems)


        Now my desktop looks like this:



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 29 at 9:08

























        answered Dec 12 '18 at 8:01









        icc97icc97

        219310




        219310






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093107%2fhidpi-screen-monitor-application-scaling-issues-wayland-and-x-windows%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido