News for hackers. Stuff that matters.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by planteen on Friday March 31, 2017 @09:10AM (#14003300)
Widows 10 handles different scaling (zoom) between monitors far better than any Linux distro I have used. A window keeps the zoom of where it came from until it is entirely on the new monitor. Works pretty well.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by skrowl on Friday March 31, 2017 @09:23AM (#14003436)
While I get that it's uncool to like Windows on HN, I really like Windows 10. With WSL, all of the CLI tools I need for development are here along with better hardware support (including suspend / resume, high DPI monitor support, latest GPU drivers / etc).

Plugging two 4K monitors into my laptop (which has a native 1080p display) is an awful experience when booted into Ubuntu. You either have to set the DPI to make the laptop display unusable or set it to make the 4K monitors look like $hit.

Plus... you know... games.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by problems on Friday March 31, 2017 @09:29AM (#14003512)
Windows isn't the best at multi-DPI in general though either. Only recently did Firefox on Windows get multi-DPI support - not sure if Chrome does yet because I gave up on it and went to dual 4K because the scaling was easier. If you want to see really good multi-DPI support, OSX is really good at it with most apps supporting it out of the box.

Multi-DPI is kind of a hack in general though and is likely to cause issues unless applications have been tested for it very thoroughly, it causes serious issues on major frameworks like Electron and Qt - though both of their support for it is improving slowly. If you want things to work smoothly for now, try to stick to 1 DPI setting.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by calferreira on Friday March 31, 2017 @11:07AM (#14004540)
I think you're confusing Windows DPI scaling availability vs lack of support from the apps you use.

It's not windows fault the apps don't take advantage of DPI. You can also disable dpi scaling for individual apps.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by problems on Friday March 31, 2017 @11:38AM (#14004883)
You're right, but even many builtin Microsoft apps - while they supported DPI scaling - did not support multi-DPI switching and rather than scaling properly just scaled pixels and looked blurry.

It's "not Windows fault", sure but it certainly makes it a worse experience than other platforms like OSX where multi-DPI is much more commonly supported.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by hackmiester on Friday March 31, 2017 @12:08PM (#14005184)
I would much prefer the Windows behavior to what I see on Linux. Right now, if I open an app that doesn't support high DPI, it is just unusable because it is so tiny.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by marvy on Friday March 31, 2017 @05:08PM (#14008226)
Couldn't you just manually reduce your screen resolution? Or is that too drastic to be worth it?
Re:Ask HN: What do you want to see in Ubuntu 17.10? by rayiner on Friday March 31, 2017 @12:15PM (#14005249)
It's worth considering whether there is some flaw with windows multi dpi scaling such that apps don't use it. Firefox and Chrome have scaled properly on Mac for years now, while even Windows 10 ships with first party apps that don't scale right. (E.g. device manager.)
Re:Ask HN: What do you want to see in Ubuntu 17.10? by AndrewGaspar on Friday March 31, 2017 @12:30PM (#14005415)
For sure that this has been an issue in the past with Windows. UWP helps make muli-DPI work by default in new applications.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by Latty on Friday March 31, 2017 @01:15PM (#14005878)
Sure, but 99% of my Windows software isn't UWP. It's all good and well to say it's there, but that doesn't make the experience good for the user. Contrast to KDE and OS X where it just works for 99% of software.

I mean, I get it, same issue as Vista for Microsoft - people expect 100% backwards compatibility, but it turns out that terrible design decisions made many years ago tend to mean you need to break compatibility. Just like UAC, resolution scaling will be an issue that becomes less painful in Windows over time. Right now it's not great, however.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by Latty on Friday March 31, 2017 @01:13PM (#14005859)
I mean, you say that, but on KDE, for example, every application except one on my system works with DPI scaling (the odd one out is Unity3D) - that's because at the QT level DPI scaling is built-in, so the toolkit supports it and the applications get it for free. Clearly this wasn't the case for the older Windows UI stuff, where they are literally just scaling the image of the window up (which means horrible looking text).
Re:Ask HN: What do you want to see in Ubuntu 17.10? by vetinari on Friday March 31, 2017 @04:54PM (#14008081)
Actually, the really old windows stuff did support scaling - the 'Large fonts (120%)' option was there almost forever. I remember that original Delphi, circa 1995, supported it.

Just most apps chose to ignore it, the developers took the 'anyone uses 96 dpi anyway' attitude and at the end of 90's most applications started to suck at 120 dpi.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by pjmlp on Saturday April 01, 2017 @10:04AM (#14012154)
Yep, Windows API already had support for logical pixels in the 16 bit days and all good books always preached to convert between logical pixels and physical ones.

I guess people got lazy, as you say.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by kpil on Sunday April 02, 2017 @11:13AM (#14017431)
I think that the monitors stayed more or less the same later pixel density for a very long time. Is only been gradually increasing very slowly for 20 years, until a few years ago.

No point in spending time on logical pixels if it makes almost no relevant difference...

It's

Re:Ask HN: What do you want to see in Ubuntu 17.10? by freeone3000 on Friday March 31, 2017 @03:01PM (#14007016)
Anything running its own renderer doesn't get to benefit from component scaling since they don't use components.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by Latty on Tuesday April 04, 2017 @09:38AM (#14032426)
That was my point - running KDE, this is extremely uncommon, running Windows, it's practically every application.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by lighthazard on Friday March 31, 2017 @11:33AM (#14004816)
The problem isn't just scaling between two different resolutions, it's the inconsistencies (yes, apps don't take advantage but that's not the only issue). For example, if I want 200% 4k (my monitor) and 100% 1080p (my 2 side monitors), I have to choose between ultra-tiny text on my 4k with regular text or blurry text on my 1080ps.

http://i.imgur.com/o1S8ZUt.png

Re:Ask HN: What do you want to see in Ubuntu 17.10? by tbyehl on Friday March 31, 2017 @06:41PM (#14009031)
Is that Windows 10? On my Windows 10 Ent desktop I'm able to set the scale factor of each display independently.

http://imgur.com/a/5378F

Re:Ask HN: What do you want to see in Ubuntu 17.10? by lighthazard on Saturday April 01, 2017 @12:14AM (#14010375)
This is Windows 10. How do I enable that option?
Re:Ask HN: What do you want to see in Ubuntu 17.10? by dahauns on Thursday April 06, 2017 @09:59PM (#14056465)
Erm...click on the display you want to change (1,2,3) and simply drag the slider?
Re:Ask HN: What do you want to see in Ubuntu 17.10? by nailer on Saturday April 01, 2017 @06:25AM (#14011460)
This month's Windows update fixes DPI scaling for old toolkits.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by planteen on Friday March 31, 2017 @01:03PM (#14005757)
Yes, it's true that there are issues. It seems like most Microsoft apps handle multi-DPI well. By comparison, on Fedora 25 (the latest release), the only program I have found that handles multi-DPI is Terminal. Firefox doesn't do it.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by problems on Friday March 31, 2017 @01:14PM (#14005872)
Yeah, Windows support is better than Linux for it, but it's still pretty iffy. While IE and a few other things do, even stuff like Windows Explorer and OneNote doesn't handle multi-DPI well or even just runtime DPI changes in general, I'll RDP my box from a 100 DPI system and have my session screwed up when I come back to my system.

If you're making a decision about whether to make a purchase, don't make it unless you're prepared to do it all at once. Stick to ~100 DPI until you can make a commitment to go all at once.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by Zeklandia on Friday March 31, 2017 @11:29AM (#14004777)
Chrome hast had DPI scaling since 2015 on Windows. I remember having to report lots of initial bugs. Now it works fine.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by problems on Friday March 31, 2017 @11:36AM (#14004860)
DPI scaling yes, but not multi-DPI, when dragging from a 100 DPI monitor to a 300 DPI one text should remain sharp and not blurred by scaling pixels. Or even vice versa.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by 8xde0wcNwpslOw on Friday March 31, 2017 @10:36AM (#14004190)
>While I get that it's uncool to like Windows on HN

That has not been my experience here at all. There is a rather active, and sometimes vocal, Windows fan base around here. Misconceptions about the current state of desktop Linux are commonly seen as it seems most people around here only use either Mac or Windows.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by tracker1 on Friday March 31, 2017 @02:43PM (#14006791)
Agreed, while I see some MS/Windows hate... some of it technical, some political, and a mix of founded/fud... There's been a fair amount of counter to that.

I mostly use mac at work, mostly windows at home, and a bit of linux for servers, and my htpc (most of my casual browsing at home)... Each experience is fairly different. And they all have pluses and minuses. That said, more often than not, I prefer the Windows UI desktop/menu, but osx & unity app integration and linux/bash shell environment. I wish that Ubuntu/unity would integrate more of the menu/taskbar features found in windows. (And bring back natural scrolling checkbox)

Re:Ask HN: What do you want to see in Ubuntu 17.10? by freeone3000 on Friday March 31, 2017 @03:03PM (#14007036)
Microsoft integrated Ubuntu instead.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by Latty on Friday March 31, 2017 @01:08PM (#14005816)
My experience (currently running two 27" panels at 3840x2160 and one 27" panel at 2560x1440 in KDE for most stuff, Windows for gaming, and previously had one of the first edition retina MBPs with external non-retina displays):

OS X, years ago when the first retina MBP was released, did everything right. It was seamless from monitor to monitor, scaling done well.

Windows 10, now: OK, ish. Most applications scale badly with blurry text because it's just literally scaling the image afterwards. Newer applications are fine. The actual scaling isn't great - having a window half on one monitor and half on the other leads it to 'picking one' and looking weird on the other.

KDE, now: Pretty good. Correct scaling once you set it up. The autodetection can be dodgy, and the DPI scaling for text isn't linked to the rendering scaling for windows, for some reason. The GUI still only gives you a single scaling option for all monitors, but the autodetection can do different for each monitor, and environment variables can be set to solve it manually. The actual scaling is perfect for the vast majority of things. Things scale correctly and no blurriness. The only application that doesn't handle scaling is Unity3D, so everything is tiny (no fallback to raw image scaling).

In general, it's what you'd expect for interace stuff across the platforms - Linux does it right, but the interfaces around it are bad, Windows does it fine for new stuff, old stuff (which is most stuff) sucks, but the interfaces are OK for doing it, and OS X gets it all right.

Edit: Just to be clear, it's only the Unity3D editor that doesn't do scaling, the actual games work fine, as you'd expect they just get the full space and the game chooses how to render to it. To be fair to Unity about the editor, they support scaling on OS X, and the Linux build is still a beta. It is annoying though.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by cookiecaper on Friday March 31, 2017 @01:32PM (#14006046)
I use this on Windows 10: http://windows10_dpi_blurry_fix.xpexplorer.com/ and it works fine. If you have blurry text, disable DPI scaling in that app (right-click -> Properties -> Compatibility -> Disable DPI scaling) and this will take over and make it usable. There are a couple of applications that act wrong no matter what (Battle.net for example), but most of the time this fixes it well enough.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by Latty on Tuesday April 04, 2017 @09:39AM (#14032446)
I only use Windows 10 for gaming, so fortunately I don't really need to worry. Useful for those who use Windows all the time, though.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by j_s on Friday March 31, 2017 @09:37AM (#14003585)
Windows also gets my vote when it comes to the per-app volume mixer controls which have been awesome since Windows Vista.

https://blogs.msdn.microsoft.com/larryosterman/2005/12/15/vo...

Re:Ask HN: What do you want to see in Ubuntu 17.10? by riskable on Friday March 31, 2017 @10:15AM (#14003988)
PulseAudio provides this feature and actually provides more features and functionality than Windows. Ubuntu's default mixer isn't the greatest so I recommend this instead:

    sudo apt install pavucontrol
You can then find it in the application menu labeled, "PulseAudio Volume Control". It lets you set the volume for individual applications (and with Chrome, individual tabs!) and also pick which output/input device will be used.

It lets you configure some neat tricks. For example, you can setup an audio device that forwards to another computer running PulseAudio, an RTP receiver, and a few other similar protocols then set say, Spotify to output to that device. So if you have some network-enabled audio receiver somewhere in your house/office/whatever you can send audio from your Linux workstation to it.

You can of course also pass that audio through various filters/plugins to mess with the sound before it goes out to the remote receiver. For example, equalize it, noise removal, etc. PulseAudio supports LADSPA plugins so if you wanted to you could setup a little Raspberry Pi audio receiver at your front door and yell at solicitors in a robotic voice from your desktop. All with a bit of PulseAudio configuration fiddling =)

Re:Ask HN: What do you want to see in Ubuntu 17.10? by drostie on Friday March 31, 2017 @10:56AM (#14004414)
I still remember the first time I was in a computer lab and I leaned too far away from my computer and my headphones that were blaring music popped out... and the whole room WASN'T subjected to the same loud music. And I opened up the Kubuntu audio controls and plugged in my headphones and the volume slider suddenly jumped up, then I unplugged again and it muted again. "Woah."

I remember trying it on whatever Windows computers were in the lab just to make sure I wasn't crazy and that this wasn't there all along, and sure enough, they kept the same volume no matter whether the headphones were plugged in or not.

One of the first PulseAudio victories I remember, at a time when I vaguely recall that it was a newcomer and people were really pissed at PulseAudio's bugs and recommending just straight ALSA instead.

Re:Ask HN: What do you want to see in Ubuntu 17.10? by icebraining on Friday March 31, 2017 @11:08AM (#14004548)
+1, PA + pavucontrol are very flexible. You don't even need weird protocols to send your audio to another computer, I just used its tunnel module (enable it in the receiver, then configure its IP on the sender) to send my browser's audio output to my home server, which has a decent stereo attached. The latency is quite good too, the delay even over wifi is barely noticeable.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by JetSpiegel on Friday March 31, 2017 @12:27PM (#14005379)
There's also pulseaudio-dlna[0]. It works as advertised.

[0] https://github.com/masmu/pulseaudio-dlna

Re:Ask HN: What do you want to see in Ubuntu 17.10? by j_s on Friday March 31, 2017 @12:47PM (#14005600)
Thanks for the heads-up! This is one thing I miss mightily on my Mac.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by randkyp on Friday March 31, 2017 @09:52AM (#14003751)
This feature comes by default with PulseAudio, maybe Ubuntu doesn't expose it well enough in their audio settings. I think Gnome Settings has it, KDE definitely does.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by vetinari on Friday March 31, 2017 @09:50AM (#14003729)
Pulse Audio solves the same thing for Linux.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by zerocrates on Friday March 31, 2017 @04:36PM (#14007944)
I get correct auto scaling-switching like this on Gnome 3 with Wayland, but only for a subset of programs (basically those that are fairly vanilla GTK+3), and at the cost of weird bugs with Wayland and program support thereof that still crop up fairly regularly.
Re:Ask HN: What do you want to see in Ubuntu 17.10? by godelski on Friday March 31, 2017 @10:57AM (#14004419)
I've always resorted to xrander and can get the screen looking pretty good. Though I really think something like this should just work.