Slashdot Mirror


Ubuntu Works With GNOME To Improve HiDPI Support On Linux Desktop (omgubuntu.co.uk)

An anonymous reader shares an article: Canonical is playing host to a 'fractional scaling hackfest' in its Taipei offices this week. Both GNOME developers and Ubuntu developers are in attendance, ready to wrestle with the aim: improve GNOME HiDPI support. Ubuntu's Unity desktop (I'm told, anyhow) plays fairly nice with high DPI monitors because the shell supports fractional scaling (though most apps, I believe, do not). Furthermore, users can tweak some high DPI settings to better suit their display(s). GNOME Shell also supports HiDPI monitors, but has, until now, been a little less flexible about it. "Currently, we only allow to scale windows by integral factors (typically 2). This proves somewhat limiting as there are many systems that are just in between the dpi ranges that are good for scale factor 2, or unscaled," the hackfest page explains.

85 comments

  1. Good! by exomondo · · Score: 1

    It's good news that they are moving to address things like this that are standard in other operating systems and to hopefully standardize on a way of doing it so we don't end up with everybody coming up with their own incompatible way of doing it. The issue will really come down to application support though, with so many different application frameworks on Linux they all need to support it, do so in the same way as GNOME and also then make sure that applications are written to support it. Application support for it in Windows is still mixed and that doesn't have the range of GUI frameworks and toolkits that Linux does, on macOS it's better but still not perfect.

    It will be a long time for it to become commonly available and just an expected thing rather than a special feature but you have to start somewhere. I really just hope we don't end up with 10 different ways to do it though.

    1. Re:Good! by Parker+Lewis · · Score: 1

      Unity already works fine with HiDPI, but Gnome 3 not so much. As the later will be the default DE, Canonical is working together with them. Apps are mixed, depending on the framework and version.

    2. Re:Good! by Anonymous Coward · · Score: 0
    3. Re:Good! by lucm · · Score: 1

      I use Fedora and it works perfectly well with HiDPI. Had for a long time. The only thing that doesn't work well with it is LibreOffice, but of course a lot of things don't work well when it comes to LibreOffice.

      --
      lucm, indeed.
    4. Re:Good! by Anonymous Coward · · Score: 0

      No, actually it's shit for HiDPI when compared to OSX and Win10. The whole scaling by integers and mucking around with font scaled is just crap. Been a *nix workstation user for 10+ years, went back to Win10 after trying to get Fedora working on a modern laptop.

    5. Re:Good! by dbIII · · Score: 1

      It will be a long time for it to become commonly available

      It is commonly available - it just wasn't in Gnome3.
      Enlightenment had it many years ago and pretty well everything else did it not long after.

    6. Re:Good! by exomondo · · Score: 1

      How does Enlightenment handle HiDPI UI scaling with GTK applications for example?

    7. Re:Good! by dbIII · · Score: 1

      It has it's own toolkit for it's own applications instead of using broken Gnome3 applications.
      For other stuff there's qt, gtk2 and many other things.

      Seriously guys, I remember reading about this stuff on a mailing list around 2000 FFS! A lot of people were paying attention to it before the Gnome3 people even started programming!

    8. Re:Good! by lucm · · Score: 1

      I dual boot Windows 10 on that same machine for work. There is no difference in font scaling or otherwise.

      Fedora is one of the easiest distros to run on modern hardware, probably because they ship with a bleeding-edge kernel. If you can't get it to work, the problem is not the laptop nor Fedora.

      --
      lucm, indeed.
    9. Re:Good! by exomondo · · Score: 1

      Yes this is what I mean, there's no standard way. Everybody comes up with their own way, so if you look at Fedora you can only do integer scaling even though libraries like EFL support floating point scaling for example. Is there a specification for a standard way that all these different windowing kits and libraries handle dpi unaware, dpi system aware and multi-screen dpi aware? Otherwise everybody just goes off and does their own thing and you end up with systems that people expect to work together that result in a poor user experience.

    10. Re:Good! by dbIII · · Score: 1

      Here is a bit of a summary:
      https://wiki.archlinux.org/ind...

    11. Re:Good! by dbIII · · Score: 1

      Yes this is what I mean, there's no standard way

      Oh yes there is.
      Applications such as chrome get the value for X instead of having hard coded sizes like gnome3 does. (https://wiki.archlinux.org/index.php/HiDPI#X_Server)

    12. Re:Good! by Anonymous Coward · · Score: 0

      Yes this is what I mean, there's no standard way

      Oh yes there is.
      Applications such as chrome get the value for X instead of having hard coded sizes like gnome3 does. (https://wiki.archlinux.org/index.php/HiDPI#X_Server)

      Or maybe some one remembers displayghostscript the free variant of displaypostscript the precursor to displaypdf.

    13. Re:Good! by Anonymous Coward · · Score: 0

      Unsurprisingly this lists the different ways and different things you to on different toolkits and window managers and talks about X Server but not Wayland. If you want to scale GDK applications you can export a variable to set their scale and you can then export another one to change the text scaling, if you want to scale Enlightenment applications you can export a variable to do them too but they dont have a separate text scaling option and that page also lists all the different ways you set scaling in a bunch of applications.

      That page shows what an absolute mess all of it is.

    14. Re: Good! by Anonymous Coward · · Score: 0

      Gtk2 had pretty good support for high DPI. It read the X server's DPI parameters derived from your monitor's EDID and scaled fonts appropriately. Gtk3, on the other hand, has screwed the pooch. It assumes a fixed 96 DPI and applies a user-configured integer scaling factor to UI elements. If that isn't a careless regression then I don't know what is.

    15. Re:Good! by Ed+Avis · · Score: 1

      I've found Fedora a bit unstable on a 4k display. It looks good enough if you set the 2x scaling (although Libreoffice requires some additional mucking around with X server dpi settings, and I think Firefox needs its own config tweak too). However, with Noveau drivers and an NVS 510 card, the machine would hang after a while, particularly when using Firefox. In the end I had to go back to 1920x1080 resolution to make the system stable. That's just one anecdote, but it shows there is some work to be done.

      --
      -- Ed Avis ed@membled.com
  2. Re:Give up, Linux losers by postmortem · · Score: 4, Informative

    Except Windows has its own set of problems with DPI scaling. They were resolved mostly with windows 10, but still old apps that are not "DPI aware" look terrible.

  3. Re:Give up, Linux losers by Anonymous Coward · · Score: 0

    Sounds like a problem with the apps, not the OS.

  4. Re:Loonix = fags by Anonymous Coward · · Score: 0

    And Linux has ZERO presence on tablets. All those distros that purport to be for regular users should just close up shop.

  5. "Little less flexible" my ass by Lisandro · · Score: 4, Informative

    GTK is still unable to properly scale bitmap icons, which means that some UI elements stay tiny while windows and fonts scale properly.

    1. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      kind of sad since this should be trivial to add.

      lol, captcha is 'nineties'. sounds about right

    2. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      Muh dik scales into your anus.

    3. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      If your dick has scales you should get that checked out

    4. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      Says the dickless cuck.

    5. Re: "Little less flexible" my ass by Anonymous Coward · · Score: 0

      Mr Oscar Wilde, a pleasure to make your acquaintance.

    6. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      'sok kid. Once you get laid you'll stop making idiotic dick jokes.

    7. Re:"Little less flexible" my ass by Anonymous Coward · · Score: 0

      'sok cuck. I've already fucked your mom plenty of times.

    8. Re:"Little less flexible" my ass by SMOKEING · · Score: 1

      Standard GTK themes had SVG icons since, like, 2005.

    9. Re:"Little less flexible" my ass by tepples · · Score: 1

      To which projects still not using SVG icons have you donated money earmarked toward redrawing icons in SVG since, like, 2005?

  6. Re:Give up, Linux losers by Anonymous Coward · · Score: 0

    Only if they're skinned.. Otherwise, the OS should scale them properly.

  7. great, but... by Anonymous Coward · · Score: 0

    how about they work with KDE instead since it doesn't suck

    1. Re:great, but... by Anonymous Coward · · Score: 0

      Because KDE is for cucks.

  8. Re: Give up, Linux losers by thebullshitpatrol · · Score: 1

    I don't know, last time i tried running 4k on windows (9mo ago?) EVERYTHING looked like ass. Especially control panel, for some odd reason. It was super blurry.

    OSX is about 20x better.

  9. Re: Give up, Linux losers by drinkypoo · · Score: 1

    OSX is about 20x better.

    it really goddamned ought to be, considering that NeXTStep was resolution-independent.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  10. GTK3 is still broken, beware. by Anonymous Coward · · Score: 0

    This thing is really an issue, I'm glad that they are trying to sort things out. If you are looking to buy a notebook to run Linux, check if your monitor is proportional to its resolution because you will be disappointed to see that half of the applications don't have/poorly support HiDPI.

    First of all, the 2 biggest widgets engines, GTK and QT are really unpair. QT is 50 years ahead of GTK in terms of support, but unfortunately this doesn't help much because 70% of the big applications are written using GTK. Sure, you can keep using the defaults from KDE and never download anything else, but just remember that you won't be able to use GIMP, LibreOffice, Eclipse, Audacity, just to name a few.

    GTK3, the current version of gtk, has some support out of the box, but you can't customize much and multi-monitor setups are still fucked up [Unless you have some weird fetish to keep using xrandr scripts] ( See: https://wiki.archlinux.org/index.php/HiDPI#GNOME )

    GTK2 doesn't support HiDPI and it is not compatible with GTK3. There are a bunch of apps that rely on it and still haven't been ported. These applications do run on HiDPI monitors, the problem is that their icons/menus get very small, fucking up the application layout and even crashing. Again, you can use them, but you'll have to keep squinting to see the icons/use the menus.

    GIMP, Eclipse, Deluge, Audacity are just some of those GTK2 apps. Eclipse has a 2013 on this issue, and someday it will be solved, who knows.

    The second most anoying thing is the uneven desktop layout, you'll have applications that run with your current resolution, applications that will be super small and applications that need to be tweaked to even open up and applications that are completely broken. If you are trying to use multi-monitor setup on top of that, just don't even consider Linux for it.

    1. Re:GTK3 is still broken, beware. by Anonymous Coward · · Score: 0

      just don't ... consider Linux

      FTFY.

  11. Dual monitor, 4K and 1080p by MeNeXT · · Score: 3, Informative

    Nice to hear that they are working on simplifying this.

    After setting 2:1 scaling in Gnome I found that my 1080p monitor was almost useless and while my 4K looked great everything was too large. So I used xrandr to set things to a more comfortable level by scaling the 1080p monitor by 2x2 and the 4K by 1.6x1.6 with the following xrandr commands which run at start up.

    xrandr --output DP-0 --pos 0x0 --scale 1.6x1.6
    xrandr --output HDMI-0 --mode 1920x1080 --pos 6144x0 --scale 2x2

    I'm using Fedora 25 but this should work for other Linux versions too. The tricky part is finding the right setting for your comfort level. So far I haven't found any issues with it. You can customize the resolution for each user if you cared.

    --
    DRM? No thanks, I'll just get it somewhere else...
    1. Re:Dual monitor, 4K and 1080p by Anonymous Coward · · Score: 0

      sounds like a comment from a windows jerk

    2. Re:Dual monitor, 4K and 1080p by Trogre · · Score: 1

      Yeah, maybe /. isn't for you.

      Reddit is ---> that way.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    3. Re: Dual monitor, 4K and 1080p by Anonymous Coward · · Score: 0

      Eclipse breaks if you use xrandr with it. I got sick of messing with xrandr just to get X or Y app to work. Moved to osx and never been happier. Sure, NSA OS and blablabla, but at least I don't have to set up scripts to fix the screen resolution when I open/close my lid.

    4. Re:Dual monitor, 4K and 1080p by nullchar · · Score: 1

      Was not aware we could set custom scaling ratios with xrandr, and keep playing with them based on varying hardware.

      Only helpful post in this thread, thanks!

    5. Re:Dual monitor, 4K and 1080p by MeNeXT · · Score: 1

      The issue is that you first need to set
      $ gsettings set org.gnome.desktop.interface scaling-factor 2

      then check xrandr for your card/monitor support..

      Here is what it looks like when set;
      $ xrandr
      Screen 0: minimum 8 x 8, current 9984 x 3456, maximum 32767 x 32767
      DVI-D-0 disconnected (normal left inverted right x axis y axis)
      DP-0 connected primary 6144x3456+0+0 (normal left inverted right x axis y axis) 607mm x 345mm
            3840x2160 60.00*+ 30.00
            2560x1440 59.95
            1920x1080 60.00 59.94
            1680x1050 59.95
            1600x900 60.00
            1440x900 59.89
            1280x1024 75.02 60.02
            1280x800 59.81
            1280x720 60.00
            1152x864 75.00
            1024x768 75.03 70.07 60.00
            800x600 75.00 72.19 60.32 56.25
            640x480 75.00 72.81 59.94
      DP-1 disconnected (normal left inverted right x axis y axis)
      HDMI-0 connected 3840x2160+6144+0 (normal left inverted right x axis y axis) 531mm x 299mm
            1920x1080 60.00*+ 59.99 59.94 50.00 60.05 60.00 50.04
            1680x1050 59.95
            1600x1200 60.00
            1440x900 59.89
            1366x768 59.79
            1280x1024 75.02 60.02
            1280x960 60.00
            1280x720 60.00 59.94 50.00
            1152x864 75.00
            1024x768 75.03 70.07 60.00
            800x600 75.00 72.19 60.32 56.25
            720x576 50.00
            720x480 59.94
            640x480 75.00 72.81 59.94 59.93
      DP-2 disconnected (normal left inverted right x axis y axis)
      DP-3 disconnected (normal left inverted right x axis y axis)
      DP-4 disconnected (normal left inverted right x axis y axis)
      DP-5 disconnected (normal left inverted right x axis y axis)

      This is on an Nvidia GTX 1060. Nvidia drivers. As you can see the second monitor is limited to 1080p. The windows scale correctly and the cursor stays within. I have a iMac (Sierra) 5K retina with a 1080p setup next to it and I don't know which I like better.

      --
      DRM? No thanks, I'll just get it somewhere else...
    6. Re:Dual monitor, 4K and 1080p by Anonymous Coward · · Score: 0

      No thanks, limp dick. You can go suck off the Loonix users on Reddit yourself.

    7. Re:Dual monitor, 4K and 1080p by AmiMoJo · · Score: 1

      The best solution is to get a monitor with a physical size and resolution that is suited to 2x scaling.

      The old standard for computer displays was 96 DPI. A 24" monitor at 1080p is around that, so to get perfect 2x scaling you really want a 24" 4k monitor. All these larger 27" and 32" 4k monitors are just awkward for scaling, unless you plan is to sit really far back from them.

      If you want an actual 27" monitor, you need 5k. Those monitors are really expensive but starting to come down.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    8. Re:Dual monitor, 4K and 1080p by MeNeXT · · Score: 1

      All these larger 27" and 32" 4k monitors are just awkward for scaling, unless you plan is to sit really far back from them.

      If you want an actual 27" monitor, you need 5k. Those monitors are really expensive but starting to come down.

      My 28" 4K monitor with a gnome scaling factor of 2 and xrandr scale factor of 1.5x1.5 or 1.6x1.6 gives identical results as my iMac 5K setup. Since Gnome factors all screens the same you need to scale regular displays at 2x2 in xrandr for dual monitor support. Again my dual monitor Fedora setup looks identical to my iMac dual monitor setup.

      It is very workable as a desktop. Some applications may need fine tuning. On Fedora 25 I've had a very satisfying experience so far. I've been running it for at least 2 weeks at these settings.

      --
      DRM? No thanks, I'll just get it somewhere else...
  12. Re: Give up, Linux losers by Trogre · · Score: 1

    This is a joke, right?

    Fonts on Mac OS look like crap even at high DPI, the icons are usually inflated way beyond what they should be and don't get me started on any legacy applications you might want to run on that HDPI display.

    I'll keep using XFCE thanks.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  13. Is resolution independance a distant dream? by caseih · · Score: 2

    Is a display system that is resolution independent still a distant dream? Seems like this HiDPI stuff is just a hack, though I'll agree it's not the worst hack I've ever seen.

    Years ago we thought eventually we'd have desktop where everything was displayed in actual units like centimetres or points, and since everything was to be scalable, you could zoom it anyway you want and it would remain nice and sharp. Although we have scalable fonts that HiDPI relies on, seems like we gave up on vector graphics for drawing with (too slow?), and now we just bitmap scale the whole GUI (except the fonts). Is there no better way?

  14. Re: Give up, Linux losers by Anonymous Coward · · Score: 0

    Says someone who clearly doesn't use macOS.

  15. GNOME had this by Zan+Lynx · · Score: 4, Informative

    They had this in 2005. It was called DPI. It scaled really well. Then some IDIOTS decided it should be force set to 92.

    1. Re:GNOME had this by jbernardo · · Score: 3, Informative

      This was broken on purpose on gtk+ by a gnome developer called Matthias Clasen.

      You can see a description of this in this reddit discussion, and the bug and the amazing answers by Mr. Clasen are here.

      It did not only break gnome support of HiDPI, but also broke any app using gtk+, like Firefox or libreoffice..

    2. Re:GNOME had this by jbernardo · · Score: 4, Informative

      Doh, it seems that the URLs didn't survive the submit, so here they are again:

      - reddit comments on gtk+ breaking HiDPI - https://www.reddit.com/r/linux/comments/6cf1dq/what_was_the_most_baffling_problem_in_linux_youve/dhuhuk4/

      -bugzilla report - https://bugzilla.gnome.org/show_bug.cgi?id=757142

    3. Re: GNOME had this by Lisandro · · Score: 2

      That entire discussion is just baffling. Did anyone ever explain the rationale behind the decision to hardcode a DPI setting instead of getting it from X?

    4. Re: GNOME had this by jbernardo · · Score: 3, Interesting

      The only explanation is in the commit - https://git.gnome.org/browse/gtk+/commit/?id=bdf0820c501437a2150d8ff0d5340246e713f73f

      Instead of testing to see if the DPI values were non-zero, the developer just decided to force 96 DPI fully ignoring the detected values.

      I won't comment on the developer's abilities, I think that commit speaks for itself

      .

    5. Re: GNOME had this by Anonymous Coward · · Score: 1

      dpi_double = 96.0;

      Anyone doing that in place of code that already asks x for the correct valves is a bad actor. Magic numbers are bad. m'kay.

      To "won't fix" when it's pointed out as a regression.... maybe breaking x support ahead of a shift to wayland?

    6. Re: GNOME had this by bill_mcgonigle · · Score: 1

      To "won't fix" when it's pointed out as a regression.... maybe breaking x support ahead of a shift to wayland?

      Oh, well that's a much better accusation of nefarious motivation than being paid off by Microsoft.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    7. Re: GNOME had this by AmiMoJo · · Score: 1

      Did anyone ever explain the rationale behind the decision to hardcode a DPI setting instead of getting it from X?

      Or why the submitted patch to undo the regression wasn't accepted.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    8. Re:GNOME had this by amorsen · · Score: 1

      The "force 96" code looks like it only activates if X doesn't know the DPI. This seems like a quite sensible proposal: If X doesn't know the DPI, then fix X.

      --
      Finally! A year of moderation! Ready for 2019?
    9. Re:GNOME had this by tepples · · Score: 1

      This seems like a quite sensible proposal: If X doesn't know the DPI, then fix X.

      With the implication being that if the chipset makers obstruct X from knowing the DPI, fix the chipset makers. Good luck with that.

    10. Re:GNOME had this by amorsen · · Score: 1

      If the Gnome code can calculate the DPI from the screen dimensions and the resolution, then so can X. Put the workaround where it belongs, in the X code where it only needs to be maintained once, rather than in each toolkit.

      --
      Finally! A year of moderation! Ready for 2019?
  16. Re:Give up, Linux losers by Anonymous Coward · · Score: 0

    You should see what Java's default GUI elements do in high DPI. I had to break out the Magnifier.

  17. Typo: Value from X not "for X" by dbIII · · Score: 1

    Applications can get the DPI settings directly from X.
    It's what that value is for FFS.

    1. Re:Typo: Value from X not "for X" by exomondo · · Score: 1

      Applications can get the DPI settings directly from X. It's what that value is for FFS.

      DPI is only one part of it, the important other part is scaling. Do all display servers, WMs and frameworks have a common way in which DPI and scaling should be interpreted for dpi-unaware and dpi-aware applications as well as how this is dealt with in multi-monitor setups?

      IMO the way Windows handles DPI and scaling in multi-monitor setups is pretty crappy.

    2. Re:Typo: Value from X not "for X" by dbIII · · Score: 1

      dpi-unaware and dpi-aware applications

      With the greatest possible respect, what excuse is there for a graphical application designed to be used by anyone other than the original programmer to be dpi-unaware on any platform that can have more than one screen size or resolution?

    3. Re:Typo: Value from X not "for X" by Anonymous Coward · · Score: 0

      IMO the way Windows handles DPI

      It doesn't. I have my Windows machine set up with the actual DPI, and several windows, including ones in Visual Studio and Control Panel cut off the text.

      Some of them are not even resizable, but for those that are, resizing moves the text along with the window size, ensuring that it's still cut off in the same place.

    4. Re:Typo: Value from X not "for X" by mrchaotica · · Score: 1

      That would be great, except for all the broken shit like GTK 3 that throws out the EDID-reported value and just blindly uses 96 DPI instead!

      (I just installed Debian Stretch on a PC with a 27" 4k monitor, and I'm a kinda pissed off about this issue right now.)

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    5. Re:Typo: Value from X not "for X" by exomondo · · Score: 1

      I don't know and I don't really care, the reality is many of them exist and are in use widely.

    6. Re:Typo: Value from X not "for X" by tepples · · Score: 1

      The excuse is the failure of "anyone other than the original programmer" to have donated money to "the original programmer" earmarked toward improving support for oddball pixel densities.

  18. Re:Give up, Linux losers by Anonymous Coward · · Score: 0

    Including some of the software Microsoft itself packages with Windows, like the disk management tool.

  19. Re:Loonix = fags by Anonymous Coward · · Score: 0

    Who cares? Loonix on the desktop is deader than an old geezer's limp dick.

    Sorry I wanted to mod you but I could not find "Idiot" from the drop down list.

  20. Re:Give up, Linux losers by Ed+Avis · · Score: 1

    Yes, Windows 10 (and this has changed a little bit with the latest version of Windows 10) tends to let older programs think they are running on a low-res screen and then scale up the resulting bitmap. This works OK, if a bit blocky, for a 2x scaling factor, but will probably be terrible for non-integer scaling. Sometimes the older program actually works fine with scaled text, if only Windows would let it. (Different font sizes and scalings have been there since Windows 3.0 at least, so all programs *ought* to support it, but of course many of them never tested it and are buggy.) You can right-click on the executable and set the scaling mode to 'application does the scaling' and that often fixes it.

    --
    -- Ed Avis ed@membled.com
  21. What is the problem? by Anonymous Coward · · Score: 0

    What is the problem? Higher resolution is countered with a bigger font. For the command line, the menus, the web pages - and so on. I don't use Gnome though - they have stuppid icons or something sized to a fixed number of pixels?

    Resolution has gone up steadily ever since the first displays. Devs are no longer allowed to pretend surprise when a new higher resolution appear on the market. 4K will give way to 8K. 8K will be the low-end budget option someday too. There may not be a reason to go beyond retina resolution, but we can still get bigger panels. Floor to ceiling anyone - programmable wallpaper?

  22. Its why their moving away from Unity by Anonymous Coward · · Score: 0

    I think Ubuntu is moving away from Unity and to Gnome is because its the future of innovation for Ubuntu and Linux. They certainly need to get some focus on getting ahead or at least keeping up with Mac OS and Windows in the DPI game and others. Nobody will want to install Linux on a high resolution notebook or device and deal with bad scaling. My own limited experience does show Ubuntu to be better already then Mint with scaling. But applications are way behind in scaling and HiDPI. Its why I stick with Windows because at least most stuff looks good and only legacy apps struggle, but even they are getting help from Win 10 development.

  23. Re: Give up, Linux losers by Trogre · · Score: 1

    Nice try. I have to support it on a regular basis.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  24. Re:Loonix = fags by Anonymous Coward · · Score: 0

    Cool story, snowflake.

  25. The acid test by Anonymous Coward · · Score: 0

    The real test of HiDPI support on an OS is to use two screens, one regular (e.g. 1080p) and one higher DPI screen. Then try dragging windows between screens and see what happens.

    MacOS handles this fine.

    On Windows 10 it's shockingly bad - you can see the dirty hacks taking effect as the window partially appears on each screen.

  26. Re:Give up, Linux losers by AmiMoJo · · Score: 1

    Give Windows some credit here. If you set scaling to 200% even non-DPI aware apps look at least as good as they do on low DPI monitors because they get perfect pixel doubling. That's actually better than most scalers manage to do - both AMD and Nvidia's, and the scalers built in to most displays, use blurry bi-linear scaling that looks crap.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  27. Re:Give up, Linux losers by Anonymous Coward · · Score: 0

    Apps don't need to be DPI aware. As long as they don't declare "I will handle the scaling myself", Windows handles it and everything is fine. But more and more apps are saying they will handle it themselves, but then they don't actually handle it, or handle it well. Like Chrome.

  28. Re:Loonix = fags by thsths · · Score: 1

    That is mostly because it just does not work on tablets. Neither the hardware drivers nor the GUI is suitable for tablets.

    I tried a number of Ubuntu flavours, and none of them handle HiDPI in a reasonable way. Some are worse than others, of course, so there is hope.

  29. Re:Give up, Linux losers by thsths · · Score: 1

    I agree that Windows had too many unsuccessful attempts at HiDPI. The problem goes back to high resolution (VGA+) monitors under Windows 3.1.

    However, Windows 10 has finally delivered a reasonable solution. Yes, some legacy apps look blurry, but that is a problem with the app, not with Windows.

    Linux on the other hand used to be excellent for HiDPI, certainly back in the days of Windows 3.1. But it has since lost that ability under many toolkits.

  30. Banging one's head repeatedly should be painful. by sombragris · · Score: 1

    Banging one's head repeatedly against the wall should be painful. And yet Canonical insists on doing it. When the decision was made to abandon Unity, they chose the inferior solution among the GNU/Linux desktops. Plasma 5 (KDE) is HiDPI-ready. But no, they stubbornly chose GNOME and now they have to throw resources and manpower to hack at the GNOME codebase to fix something that was already fixed in Plasma.

    They should have gone with Plasma which is IMHO much better.

    OK, I get that it's their project and their choices, all right... but they certainly like to bang their heads against the wall, time after time...

    --
    -- Look to the Rose that blows about us--"Lo, Laughing," she says, "into the World I blow..."
  31. What is the DPI of a projector? by tepples · · Score: 1

    True, the actual density depends on the screen dimensions and pixel count. But an uncooperative chipset maker can hide the screen dimensions from X.

    In addition, effective density depends on the viewing distance. If the monitor is twice as far away, it takes twice as many pixels in each direction to make the same size image on the viewer's retina, giving it twice the effective density. This is why CSS defines the px unit as 1/2688 of the viewing distance, which represents a 96 dpi display at 28 inches, rounded to the nearest hardware-friendly unit. Because a laptop or tablet is viewed closer than a desktop monitor, the effective density of a physically 120 DPI display might actually be 96 DPI. Television monitors, on the other hand, have a larger effective density than their physical density because they are viewed from farther away than a desktop PC monitor.

    If you doubt that effective density matters, consider this: What is the DPI of a projector?

    1. Re:What is the DPI of a projector? by amorsen · · Score: 1

      Yes, plain-old-DPI is a fairly useless metric. But the whole premise is that Gnome should do magic when DPI isn't set in the X-server, invoking incantations until the right DPI suddenly appears in the wisps of smoke. Consensus on Slashdot is that the Gnome team are a bunch of ridiculous bastards for not being willing to do that.

      Whereas that seems like the entirely correct solution to me -- if there has to be magic spells involved, put them in the X server, not in each toolkit. And if the magic incantations break, the way they usually do, there is only one place to put the override.

      --
      Finally! A year of moderation! Ready for 2019?