Gräßlin: Multi-screen woes in Plasma 5.7
Many users expect that new windows open on the primary screen. Unfortunately primary screen does not imply that, it’s only a hint for the desktop shell where to put it’s panels, but does not have any meaning for normal windows. Of course windows should be placed on a proper location. If a window opens on a turned off external TV something is broken. And KWin wouldn’t do so. KWin places new windows on the “active screen”. The active screen is the one having the active window or the mouse cursor (depending on configuration setting). Unless, unless the window adds a positioning hint. Unfortunately it looks like windows started to position themselves to incorrect values and I started to think about ignoring these hints in future. If applications are not able to place themselves correctly, we might need to do something about it. Of course KWin allows the user to override it. With windowing specific rules one can ignore the requested geometry."
Posted Jul 12, 2016 0:06 UTC (Tue)
by luto (guest, #39314)
[Link] (1 responses)
Posted Jul 12, 2016 5:47 UTC (Tue)
by mgraesslin (guest, #78959)
[Link]
Posted Jul 12, 2016 2:23 UTC (Tue)
by torquay (guest, #92428)
[Link] (26 responses)
Apparently nothing is the fault of Plasma. It's either upstream's fault (Qt, drivers, etc), or the application themselves are to blame (dodgy window hints). Except that Plasma is the desktop environment providing the user interface. One of its core functions is to provide window management, and yet it fails to do that reliably. This makes it unfit for purpose.
If Plasma is to serve as a provider of a user interface, then it must take into account the limitations of the software stack it's using. In other words, it must provide workarounds for the underlying problems in the stack, or create its own parts of the stack (no need to use Qt for everything). Anything less than that is evading responsibility to the end users.
Furthermore, a lot of the issues described in the blog post could have been detected with a modicum of testing, prior to releasing Plasma. Instead, users are yet again treated as guinea pigs (ie. file bugs, because KDE developers couldn't be bothered to do thorough testing themselves). How many times have we been here before?
Posted Jul 12, 2016 3:08 UTC (Tue)
by ReallyNiceGuy (guest, #60085)
[Link] (3 responses)
Posted Jul 12, 2016 6:31 UTC (Tue)
by phocean (guest, #108185)
[Link]
Posted Jul 12, 2016 19:52 UTC (Tue)
by pbonzini (subscriber, #60935)
[Link]
Posted Jul 12, 2016 21:30 UTC (Tue)
by mm7323 (subscriber, #87386)
[Link]
I filled some bugs with as much info as I could, and these collected lots of me-too responses, more info and suggestions. The bugs seemed to snowball, but there was never any progress or dev involvement so the energy was wasted.
I moved to LXDE, but then with HiDPI the whole thing got just too bad again. A new laptop later and I actually use Win10 with Linux in VirtualBox. It works well enough, and I can get Vbox to do screen scaling too if needed.
The sad thing is that I remember multi screen working really well in KDE on fedora 13 or something around then. I remember undocking, all the windows coming onto the panel, then docking again and them going back to their original multi-screen layout. Hopefully we will get back to that sort of thing one day again.
Posted Jul 12, 2016 5:50 UTC (Tue)
by mgraesslin (guest, #78959)
[Link] (21 responses)
Posted Jul 12, 2016 6:29 UTC (Tue)
by phocean (guest, #108185)
[Link] (2 responses)
1) Why was it released to users without testing? It always take me 20 sec on any KDE fresh install to make it crash very badly, with multi-screen.
2) Ok, the underlying stack is rotten. But why is it working with Gnome? If you haven't yet, you should test this environment and pick some idea. At least they respected their users in finding a workaround.
So, yes, pointing out the weaknesses is good, but coming with a solution is better.
Because, even though I like Plasma, it is useless to me as is, so I am using Gnome.
Posted Jul 12, 2016 7:08 UTC (Tue)
by warrax (subscriber, #103205)
[Link] (1 responses)
The fact that it fails in 20s on your setup has no bearing on whether it regularly fails for anyone else. Testing resources are limited.
(Btw, do you have any idea how unbelievably entitled you sound/read to others?)
> Ok, the underlying stack is rotten. But why is it working with Gnome? If you haven't yet, you should test this environment and pick some idea. At least they respected their users in finding a workaround.
Well, GNOME has a different set of workarounds that fail in other circumstances.
Posted Jul 12, 2016 7:26 UTC (Tue)
by phocean (guest, #108185)
[Link]
Nothing exotic, I do have a simple Thinkpad with Intel graphics, and I reported the bug a while ago.
> (Btw, do you have any idea how unbelievably entitled you sound/read to others?)
No, sorry if you feel so. Of course, I am not. But neither your, nor me, are native English speaker or have the same culture.
> Well, GNOME has a different set of workarounds that fail in other circumstances.
In my extensive experience, very, very much less. Bugs are minor and in more serious circumstances, Gnome manages to reload himself, preserving windows positions and everything else.
Posted Jul 12, 2016 7:04 UTC (Tue)
by h2 (guest, #27965)
[Link] (17 responses)
1. ignored comment, did not publish it, because it pointed out a series of core problems with your approach to software development and bug reporting, using specific examples of massive bugs and failures from the 5x release to highlight the points, I assume that's why anyway.
My conclusion was this: kde is broken internally as a project and is currently unable to ship quality software that can be trusted. I moved to xfce, which thank god still appears to be run by responsible competent adults. If you're confused about how to properly integrate a new toolkit, look how xfce is doing it with gtk3. Slowly, bit by bit, probably waiting for issues to be resolved in gtk3 (and believe me, I'm NOT a gtk fan), then rolling out support for the new toolkit, once it's stable. Not breaking it all then making excuses, which seems to be the too big and pointlessly bloated to succeed model that gnome and kde are both following.
I further concluded that the kde project itself is the problem at this point, not a specific issue or bug, certainly I couldn't trust kde to deliver a desktop I'd want to use, even when working, it was like you guys never even try to stress your desktops, so the stuff is incredibly slow, particularly when you load it with lots of programs and virtual desktops (something it appears you guys don't even use as developers anymore given how incredibly poorly these things ran in 5.x and 4.x to a lesser but still quite poor degree), I had accepted this slowness in kde 4.x, but when I went to xfce, I suddenly saw how bad kde had gotten, switching virtual desktops now works just the same as it used on kde 3.5, when it was fast, like a desktop should be.
It seems like you guys have gotten lost in all your glitzy details, and actually believe that a desktop is something more than what runs your applications in a smooth, fast, clean way. it's sad, because a theoretically good and working kde would still be the best out there, but kde hasn't been good and fast for years, and 5.x isn't even working, though there's lots of excuses given.
I don't blame you for being defensive, that's certainly the easier option, rather than actually looking at the kde project and trying to figure out how things can have gotten so distorted that basic functionality is left to rot and die while you do all kinds of exciting things like adding support for wayland, something that barely even exists out here in the real world yet.
My conclusion is that there was never enough developer mindshare to maintain two distinct full featured desktops, and there still isn't, and there certainly isn't enough to maintain massively bloated stuff like kde 4-5x have become, or gnome, or whatever. Incremental development would have been the key, with well planned gradual integration of new toolkits, but that would probably require a mindset your project no longer has access too, which is too bad.
And I speak as someone who spent years doing heavy duty active support for a kde based distro, and really wanted to like kde but in the end I had to wave the white flag and give up, it simply was not practical to deal with software from a group that simply seems unable to do anything remotely close to good programming. kids, lol, what can you say, you can only get what you get out of college.
I'd tentatively suggest that a few simple tests be used to check design concepts:
1. the virtual desktops are not an afterthought, which means, you can do simple things that all your users wanted, like putting a different image on each desktop, by design, not a crude tacked on hack added late in the release series, like happened with 4.x. Again, being unable to do this I believe is a design flaw, not a small thing that doesn't matter.
2. switching between heavily loaded virtual desktops happens almost instantly. 4x would take up to 15 seconds on a very heavily loaded desktop switch, it was really getting silly. xfce of course manages this, magically, as it should, instantly. So did kde 3.5.
3. multiple monitor support is a core feature, face up to it, only power users as a rule use gnu/linux, it will never crack the windows market, this is particularly true because the one thing regular users not only hate, but won't tolerate, is incomprehensible failures of their desktops. I was a significant kde distro guy, and I lost 1 week on the various failures of 4.x to 5x, and I am patient, and able to debug, and try to resolve issues, heck, I'll even file bug reports to devs who are competent enough to take them, but certainly not if they react with defensiveness (always the hallmark of the mediocre I find).
So there's little point in pretending that gnu/linux desktop marketshare is more than the roughly 1.8, and apparently falling, that it is now, which means, get real, stop doing stupid over the top graphics junk and focus on what matters to users, the desktop working, being fast, stable, and reliable. If you can't figure that out, then just stop pretending kde is more than a hobbiest project.
I loved the entire concept behind kde, but it's failing seriously now. I'd say xfce is only a few core features/weaknesses away from being almost everything kde 3.5 was, which is more than 4.x and 5x ever will be given how slow they are. xfce of course has to deal with the radical gtk 3x instability, so I guess they will wait for gtk 3.x stable to be released, then build on that, incrementally moving along, slowly, conservatively.
Posted Jul 12, 2016 7:49 UTC (Tue)
by mgraesslin (guest, #78959)
[Link] (8 responses)
Posted Jul 12, 2016 11:09 UTC (Tue)
by nix (subscriber, #2304)
[Link] (7 responses)
Look, I get that wm development is hard and drives people to insanity in record time, and I get that crucial parts of the stack are broken, but the fact remains that if your software depends on a broken stack of components you replace or repair the broken pieces until you get something that works (e.g. perhaps getting and using an ATI video card, on which multi-monitor support works perfectly; or finding out what LXDE-Qt are doing to make multi-monitor support work). You don't post blog posts containing a litany of excuses: that just makes you look like you're whining and does nothing but reassure your users that you are not actually trying to fix the problem in any meaningful sense: you're trying to fob the problem off on other people.
After all, all the pieces here are free software and with the exception of the Intel portion none requires specialized hardware knowledge. At no point did you say why you couldn't fix any of the Qt bugs: you just took it as read that of course you wouldn't because that was in a different silo!
Posted Jul 12, 2016 16:01 UTC (Tue)
by einar (guest, #98134)
[Link]
For the record, many of the glaring issues with QScreen were fixed by KDE developers.
Posted Jul 12, 2016 18:01 UTC (Tue)
by mgraesslin (guest, #78959)
[Link] (5 responses)
git shortlog -- src/plugins/platforms/xcb/qxcbscreen.*:
Martin Gräßlin (2):
with 3 more changes by KDE devs. Overall in the xcb plugin I just counted 53 commits by KDE devs. Many of them being screen related.
So I think we do our job there.
Posted Jul 13, 2016 14:57 UTC (Wed)
by nix (subscriber, #2304)
[Link] (4 responses)
Posted Jul 13, 2016 15:29 UTC (Wed)
by mgraesslin (guest, #78959)
[Link] (3 responses)
Posted Jul 13, 2016 17:10 UTC (Wed)
by tuna (guest, #44480)
[Link] (2 responses)
Posted Jul 13, 2016 19:05 UTC (Wed)
by mgraesslin (guest, #78959)
[Link] (1 responses)
Posted Jul 12, 2016 9:00 UTC (Tue)
by distances (guest, #103785)
[Link]
I'm not affiliated with KDE, but do you really expect to be taken seriously after commenting like this? I for sure didn't bother to read the rest of your comment, and I would just straight away delete posts like this from my own blog. This is simply not constructive, and you know it.
Sorry for derailing the discussion. Martin, thanks for insights and your hard work, it's really appreciated. I recently updated to 5.7 and things seem very stable this far.
Posted Jul 12, 2016 17:07 UTC (Tue)
by krake (guest, #55996)
[Link]
Isn't that exactly how this is being done?
Krita had its first Qt5 based release only recently, I think Okular has not released its Qt5 variant yet, etc.
Posted Jul 12, 2016 17:57 UTC (Tue)
by rsidd (subscriber, #2582)
[Link] (2 responses)
I'm a long-time, but not quite "power", user. My current, and likely long-term, desktop environment is a mix of i3 and xfce. But I only went this route because of frustrations with the "friendly", "Windows-like" alternatives. I installed KDE 1.0 on a bunch of linux machines at my grad school in the late 1990s, and many people were relieved at not having to battle with fvwm or whatever the previous desktop was. I used KDE, primarily, up until 4.0, and struggled with 4.x for a while after before quitting. I used Gnome 2 and Ubuntu Unity for a while. In a way I am thankful that all of these were so sub-optimal (or evolved in such sub-optimal directions) that I was forced to find a better setup for myself.
Now, my reading of the current situation is the "desktop" market for Linux, such as it is, is dominated by Ubuntu (Unity) and Fedora (Gnome 3). I'm not sure if there is a single widely-used distro that uses KDE by default any more. Doesn't mean KDE developers should just quit and do something else, but it does mean they should worry a little about what Linux desktop users (who are likely to be power users with multiple monitors etc) are experiencing, and how their offering compares to other desktops on Linux.
Posted Jul 12, 2016 18:19 UTC (Tue)
by einar (guest, #98134)
[Link]
openSUSE uses Plasma as the default desktop selection.
Posted Jul 15, 2016 19:31 UTC (Fri)
by thoeme (subscriber, #2871)
[Link]
Posted Jul 13, 2016 5:42 UTC (Wed)
by jackb (guest, #41909)
[Link] (2 responses)
I tried it intermittently in the late 90s, and then used it pretty much continuously since the 3.x days.
This means I've running KDE for about half my lifetime.
Half of the time I've been using KDE has been waiting for the 4.x and higher series to regain the stability of the 3.5 releases.
Have I really wasted a quarter of my life limping along with almost-but-not-quite functional desktop? I guess once you adapt to it the limitations and workarounds feel natural and you stop noticing them.
Posted Jul 16, 2016 15:30 UTC (Sat)
by jospoortvliet (guest, #33164)
[Link] (1 responses)
Posted Jul 19, 2016 19:43 UTC (Tue)
by Wol (subscriber, #4433)
[Link]
When I had my trouble with early KDE4, I ended up with Xfce and/or KDE. I can't remember whether I looked at Gnome, but when I do I almost always end up running away screaming - Gnome and I just don't get on ...
Cheers,
Posted Jul 12, 2016 5:10 UTC (Tue)
by aryonoco (guest, #55563)
[Link] (21 responses)
Consider this, I have three monitors, two of them are hidpi, one is normal 1080p monitor. I could not find any method, using any display server or window manager, to have different dpi scaling on different monitors. Stuff either looked tiny and unreadable on two of my monitors, or ginat and useless on the 1080p one.
OS X, for all it's faults, has these basic things worked out.
Traditional Linux on desktop is a lost cause. Can we all please move to Chromium OS and start developing apps in Android please?
Posted Jul 12, 2016 6:58 UTC (Tue)
by tuna (guest, #44480)
[Link]
Posted Jul 12, 2016 7:19 UTC (Tue)
by warrax (subscriber, #103205)
[Link] (3 responses)
Posted Jul 13, 2016 7:02 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (2 responses)
Off-topic, but having seen how much work is still being done on X.Org, I still have a suspicion that by the time Wayland is ready most of the unfixable problems with X11 will have been fixed (sometimes with creative but impressive solutions).
And I would also love it if HiDPI support were to join the list of fixed problems.
Posted Jul 13, 2016 15:30 UTC (Wed)
by mgraesslin (guest, #78959)
[Link] (1 responses)
Posted Jul 13, 2016 19:01 UTC (Wed)
by mjthayer (guest, #39183)
[Link]
Yes, I admit that that is a hard one if you want to stick to plain X11. It could probably be done somehow in an extension (intuitively the composite extension seems to me to be a candidate, though I haven't thought about it all that long) but running a second X server on a different VT is probably the easiest solution as things are now. And since everything seems to use DBus and PolicyKit (if it is still called that) these days, some DBus API to hide the dirty bits.
Out of interest, how does the number of Wayland extensions compare to X11 these days? I haven't really followed, but I have an unfounded feeling that it is sprouting them like mushrooms.
Posted Jul 12, 2016 8:49 UTC (Tue)
by distances (guest, #103785)
[Link] (11 responses)
How about keeping the discussion constructive? I'm coming to LWN to find proper discussion, not this kind of unnecessary flaming.
HiDPI is a fundamental change in desktop software. The big players of course can develop their stuff in co-operation with hardware vendors until everything works, and then release both when things are ready. FOSS can just play catch-up here, as you should very well know.
These efforts should be applauded, but half of the comments here are just ranting or direct attacks. I just don't get it.
Posted Jul 12, 2016 12:30 UTC (Tue)
by aryonoco (guest, #55563)
[Link] (1 responses)
Posted Jul 12, 2016 13:03 UTC (Tue)
by distances (guest, #103785)
[Link]
I do understand these woes myself: I should get a new work laptop just about now, and I'm not sure if 4K screen is still a good idea -- anecdotes of current state of Plasma 5 HiDPI are welcome! Using Linux is still a bit restrictive on the desktop, especially if you can't really risk missing a workday due to problems with your exotic setup. Most of my colleagues are using Macs, which then again really aren't completely without problems either.
Overall things do work very well though, and with a bit preliminary work I have always found myself with a pleasant hardware and latest KDE goods.
Posted Jul 12, 2016 17:11 UTC (Tue)
by krake (guest, #55996)
[Link] (1 responses)
Lots of commenters have very little understanding of software development, or the different between corporate and voluneer work. Or both.
Posted Jul 12, 2016 17:29 UTC (Tue)
by halla (subscriber, #14185)
[Link]
Posted Jul 15, 2016 13:54 UTC (Fri)
by ewan (guest, #5533)
[Link] (6 responses)
I've been using Linux as a desktop since the late '90s, and for most of that time I've been happy that, while it has some oddities, overall it's been better than the alternatives, and I've enjoyed how much it made easy things that were difficult or even impossible on the other major platforms. Unfortunately, that's just not the case any more. I recently got stuck with a Windows 10 laptop for work, but actually it been a total revelation - previous versions of Windows used to be able to annoy me in a matter of minutes with their weird inconsistencies and random breakages, but 10 is actually good, it's actually easy to get stuff done, and this area in particular works really smoothly. I can hotplug a normal DPI monitor into my HiDPI laptop, drag a window onto it, and have it rescaled appropriately as I do. The first time I did it I was amazed it worked, then it struck me that it really shouldn't be a shock that you can have two screens and draw things the right size on both of them. The current state of the Linux desktop is bad, it's worse than it was, and it's a lot worse than the alternatives. That's sad, and for the vast majority of us who aren't in a position to do a lot about fixing it beyond submitting bug reports, the options seem to be to suffer though it, or give up and move elsewhere. I'm not surprised people get upset about that, it's upsetting.
Posted Jul 15, 2016 16:53 UTC (Fri)
by andresfreund (subscriber, #69562)
[Link] (4 responses)
True. But flaming the people actually spending their energy to work in the relevant area to death, is a good way to not get it ever fixed.
Posted Jul 15, 2016 17:32 UTC (Fri)
by halla (subscriber, #14185)
[Link] (3 responses)
That said, I use Windows, Gnome, Plasma 5, Plasma 4 and OSX on a daily basis, and honestly, they all suck in different ways. Windows 10 regularly forgets that its got a touch screen -- which is unpleasantly limiting on a Surface Pro device. Gnome regularly forgets its extensions, and why the heck is the logout button hidden under a fold-out? Plasma 5 sometimes messes up my taskbar, but fair is fair, so does Windows 10. OSX has the most pathetic excuse for a Window manager ever, and instead of improving that is pushing all users to a full-screen workflow, because tablets. Connecting a drawing tablet is easiest on Linux, but both Gnome's and Plasma's tablet config applet is broken. OSX works fine with my Intuos 3 but not with my Cintiq, while the Intuos 3 doesn't work on Windows 10. On Windows, switching different tablets is hell anyway because they all need a different wintab dll, that cannot coexist. And what the heck has moved microsoft to ship a wintab driver for the Surface tablets that doesn't include the MSVC 2010 runtime?
Software is buggy, software sucks, software is hard, and if you're arguing that one OS is better than the other, or one desktop is better than the other, you're kidding yourself. The only real differentiator is freedom.
Posted Jul 16, 2016 11:15 UTC (Sat)
by tao (subscriber, #17563)
[Link] (2 responses)
Because logging out it something that you don't do that often? Locking my screen -- sure, every time I leave my workstation. penguin + l.
Posted Jul 16, 2016 15:35 UTC (Sat)
by halla (subscriber, #14185)
[Link] (1 responses)
I also suspend my desktop a lot, for which I actually have to _install an extension_, which also doesn't make any sense to me.
Posted Jul 19, 2016 19:45 UTC (Tue)
by Wol (subscriber, #4433)
[Link]
Cheers,
Posted Jul 15, 2016 18:19 UTC (Fri)
by pizza (subscriber, #46)
[Link]
I disagree on all three points, especially on the second one -- The other two are a lot more subjective.
I suspect there's a certain amount of rose-colored memory involved when it comes to comparing things as they are to as they used to be. Despite the modern desktop being an order of magnitude more complex (and capable) than the old desktop environments of yesteryear, things largely JustWork(tm) without having to hand-fiddle with anything.
Sure, things are *different* but that in of itself doesn't make them worse (or better).
This things-have-never-been-better situation goes for the entire software stack.
(BTW, I am writing this as someone who currently uses Gnome3 at home, Gnome2 at work, and has been using Linux as his primary desktop/compute environment for nearly twenty years..)
Posted Jul 12, 2016 13:51 UTC (Tue)
by excors (subscriber, #95769)
[Link] (3 responses)
I was reasonably happy in a similar situation using xrandr scaling on the low-DPI monitor, like:
xrandr --fb 6080x1800 --output DP1 --scale 1.5x1.5 --pos 0x0 --output eDP1 --pos 2880x0
which resulted in a 2880x1620 framebuffer area downscaled onto the 1920x1080 physical monitor, and no scaling on the high-DPI second monitor. I set all the font sizes and UI DPI scaling etc to be readable on the high-DPI monitor, and they were downscaled to a reasonable size with only mild fuzziness on the low-DPI monitor. (If I remember correctly I also had to disable sub-pixel hinting (unnecessary on high-DPI and ugly on scaled-low-DPI). I think I also had some trouble with high-DPI support on the ancient version of KDE that was available, but it worked okay with Xfce.)
Posted Jul 13, 2016 5:23 UTC (Wed)
by aryonoco (guest, #55563)
[Link]
Would be great if you wrote up a blog post or something to document this. Last time I checked (which was admittedly a few months ago) there was still nothing properly written that I could find online.
Posted Jul 14, 2016 1:51 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
Posted Jul 22, 2016 8:23 UTC (Fri)
by daenzer (subscriber, #7050)
[Link]
Posted Jul 12, 2016 7:05 UTC (Tue)
by tuna (guest, #44480)
[Link] (22 responses)
Posted Jul 12, 2016 7:15 UTC (Tue)
by micka (subscriber, #38720)
[Link]
Posted Jul 12, 2016 7:16 UTC (Tue)
by h2 (guest, #27965)
[Link]
When devs make excuses like this, I see it as a red warning flag to run away from the project, at least until they figure out how to actually do debugging and programming at a level they can sustain and have work.
Posted Jul 12, 2016 7:36 UTC (Tue)
by niner (subscriber, #26151)
[Link] (18 responses)
Really, the free radeon drivers on my desktop just work perfectly compared to that.
Posted Jul 12, 2016 11:10 UTC (Tue)
by tuna (guest, #44480)
[Link]
Posted Jul 12, 2016 12:11 UTC (Tue)
by tao (subscriber, #17563)
[Link] (7 responses)
We don't have every combination of hardware to test on (especially not if you factor in docking stations, dongles, displays, etc.)
The only thing I can personally testify is that for *me* having a Skylake-based ThinkPad 13 connected to a 4k display via a OneDock+ survives suspend/resume without issues. Undocking/docking works.
If you've been running this since before kernel 2.6 I'm assuming this is really old hardware. Is it using APM or ACPI for suspend/resume? Do you use any workarounds for suspend/resume (most of these workarounds are, these days, counterproductive and will most likely break things rather than fix things).
Some older docking stations require quite a lot of magic and mess with the hardware on a deep layer; it might be that it's X that is broken rather than the i915 driver (then there's of course the intel X-driver, etc. etc. There are a lot of parts involved).
Posted Jul 12, 2016 14:57 UTC (Tue)
by niner (subscriber, #26151)
[Link] (6 responses)
The kernel 2.6 was a typo. I meant 4.6. So it's a regression somewhere between 4.5 and 4.6. Would it help you if I bisect the issue?
Posted Jul 12, 2016 19:13 UTC (Tue)
by tao (subscriber, #17563)
[Link] (5 responses)
Feel free to CC me in the bug report; david.weinehall@intel.com
Posted Jul 13, 2016 14:09 UTC (Wed)
by niner (subscriber, #26151)
[Link] (4 responses)
Posted Jul 13, 2016 16:06 UTC (Wed)
by nye (subscriber, #51576)
[Link]
http://www.anandtech.com/show/7208/understanding-panel-se...
Posted Jul 13, 2016 23:57 UTC (Wed)
by tao (subscriber, #17563)
[Link] (2 responses)
Posted Sep 24, 2016 10:40 UTC (Sat)
by niner (subscriber, #26151)
[Link] (1 responses)
Anyway, the issue is the same with an external display connected directly. And it is still present in 4.8rc6.
So far not even a response to my bug report :/
Posted Sep 24, 2016 18:45 UTC (Sat)
by tao (subscriber, #17563)
[Link]
PS: sorry about our rather bad track record when it comes to Bugzilla. We do read the bug reports, and try to fix the bugs, but we're rather bad at commenting/updating the status.
Posted Jul 12, 2016 16:15 UTC (Tue)
by flussence (guest, #85566)
[Link] (8 responses)
(The radeon drivers haven't been perfect either, mind. I see uninitialized VRAM contents an awful lot more than I should...)
Posted Jul 12, 2016 19:04 UTC (Tue)
by tuna (guest, #44480)
[Link] (1 responses)
Posted Jul 13, 2016 15:04 UTC (Wed)
by flussence (guest, #85566)
[Link]
Posted Jul 12, 2016 19:18 UTC (Tue)
by tao (subscriber, #17563)
[Link] (3 responses)
Of course there's a possibility that the i915-driver reads the EDID information incorrectly, but don't rule out the display having invalid data. It's rather common.
Posted Jul 13, 2016 15:28 UTC (Wed)
by flussence (guest, #85566)
[Link] (2 responses)
</rant>
There's always a finger pointing somewhere else... maybe Intel should follow Microsoft's lead here: “stop shipping broken crap that manifests itself as a defect in our stuff, or else you can't use our name on the box to sell it”.
Posted Jul 13, 2016 23:46 UTC (Wed)
by tao (subscriber, #17563)
[Link] (1 responses)
I realise that it might annoy you (I'm experiencing EDID warnings too, when connecting my computer to the TV), but unless you can figure out a way to tell harmless cases of invalid EDID from invalid EDID that actually causes problems, I think it'll be a hard sell to convince Dave Airlie (the maintainer of the DRM subsystem) to change the severity of that message. Give it a try if you like though.
If you know that the EDID warning is harmless, you could try passing drm.edid_fixup=0 -- I believe that should silence the warning for you. It's not a fix though, it's a workaround, since you'll disable the EDID sanity checks[1].
[1] Not speaking for Intel, bla bla bla. You know the drill.
Posted Jul 14, 2016 19:40 UTC (Thu)
by flussence (guest, #85566)
[Link]
I'm probably a rare case in that I *can* accept it's someone else's anonymous component at fault. In fact almost all the times I've had hardware problems on Intel-based PCs I've owned, it's turned out to be a buggy BIOS or firmware. Serves me right for not buying coreboot-supported computers I guess.
In this case, a laptop, it's a single black box and I've no idea what the LVDS panel inside it is (other than nasty). The average end user's more likely to see problems and blame whatever they can immediately associate them with, be it the laptop maker, those pervasive “Intel inside” stickers, or the OS they're running.
Dragging this back on topic, I can sort of see why the KDE developers get easily frustrated. It's the same story of them relying on another part of the system to do its job right, but it keeps screwing up because the negative feedback processes that do exist fall far short of the root cause. Sadly this seems like such a common problem nobody's found a working solution yet.
Posted Jul 12, 2016 21:26 UTC (Tue)
by barryascott (subscriber, #80640)
[Link] (1 responses)
We used Intel drivers in our produces and had great support from the Intel graphics team.
Posted Jul 12, 2016 22:25 UTC (Tue)
by farnz (subscriber, #17727)
[Link]
Worth noting that that issue was with DisplayPort only (where you can read between 1 and 16 bytes over DP AUX, and rely on the far end converting that into appropriate I2C transactions, as opposed to HDMI, DVI or VGA where you have direct I2C access and Linux has always done the largest transfers that work), and was only an issue because buggy displays "work with Windows"; Windows always uses 16 byte reads from EDID in preference to smaller values.
Posted Jul 12, 2016 7:56 UTC (Tue)
by mgraesslin (guest, #78959)
[Link]
I don't have the references. For the issues on my own system it always was that the next update of the driver fixed the last regression. I never spent the time to investigate. I am quite aware of the fact that the distribution is doing rolling release of the master branch. So I know that it will be fixed soonish.
For a few issues I had bug reports where I investigated it. It's quite some time back, so I don't remember the bug ids. I remember one issue with sddm no longer starting on Arch - when we investigated it there was already a fix in master.
Posted Jul 12, 2016 11:14 UTC (Tue)
by lgeorget (guest, #99972)
[Link] (8 responses)
I have a question, which may sound naive to you, about a point in the article:
> KWin places new windows on the “active screen”. The active screen is the one having the active window or the mouse cursor (depending on configuration setting). Unless, unless the window adds a positioning hint. Unfortunately it looks like windows started to position themselves to incorrect values and I started to think about ignoring these hints in future.
Isn't it possible to validate the positioning hints from any new window, check whether they belong to the valid display area (i.e. inside the virtual display, not on a switched-off monitor, etc.) and ignore them if they are invalid? Wouldn't that solve at least the matlab splash screen and skype notifications issues?
Posted Jul 12, 2016 11:47 UTC (Tue)
by mgraesslin (guest, #78959)
[Link] (7 responses)
matlab case yes, skype case no as it's an override redirect window.
The question is whether it's the right thing to do? Maybe there are valid cases to put windows off-screen? The general assumption here is that applications know what they do.
Posted Jul 12, 2016 11:57 UTC (Tue)
by micka (subscriber, #38720)
[Link] (2 responses)
Well, it seems the assumption might be not entirely exact them :)
I'd really like if firefox stopped trying to place itself. While not really broken, it sometimes does unrational things.
Posted Jul 12, 2016 12:37 UTC (Tue)
by mgraesslin (guest, #78959)
[Link] (1 responses)
On the other hand when clicking session restore in Firefox it places the window to the exact position. So there it does the right thing.
I guess it's like always: if there are two possible ways to handle that, no matter which one we choose we have users unhappy with the situation.
Nevertheless I think we need to evaluate this condition again. We can do better by doing safety tests and we do them in other areas.
Posted Jul 12, 2016 19:44 UTC (Tue)
by oever (guest, #987)
[Link]
I guess ideally, the WM would remember the last position of each application for each monitor setup. So then it would know that I like Firefox on the big monitor when that monitor is attached.
On a side-note, Plasma 5.7 just landed on NixPgks master and it is mostly running fine. I've submitted bug reports for the most annoying remaining issues. I'm happy with Project Neon, because it gives packagers a baseline to compare their packages with. Packagers can now see if something is a bug in packaging or in the software by running the corresponding Project Neon ISO.
Posted Jul 13, 2016 1:31 UTC (Wed)
by xtifr (guest, #143)
[Link] (3 responses)
Scary! :D
Fvwm, for all of its arcane configuration, allowed you to specify on a case-by-case basis whether an app's position requests and other hints should be followed or ignored. This really might be the only viable solution for now: blacklists of programs which can't be trusted.
Of course, adding any sort of user-friendly UI to something like this would be quite difficult. And I suspect there's too many poorly-behaved programs out there to reliably create a predefined list. (Although I suspect it's mainly a problem with older programs.)
Posted Jul 13, 2016 8:00 UTC (Wed)
by oldtomas (guest, #72579)
[Link]
And this is, among others, the reason why I returned to Fvwm, after a longish excursion through Gnome and then XFCE: the window manager is on *my* side, while apps not always are. Since software started having "opinions" (and being proud of it) I feel I need one or two sizeable cluesticks to beat it into submission.
Posted Jul 13, 2016 11:31 UTC (Wed)
by ovitters (guest, #27950)
[Link] (1 responses)
Posted Jul 13, 2016 15:00 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Posted Jul 12, 2016 12:08 UTC (Tue)
by jfebrer (guest, #82539)
[Link] (2 responses)
Posted Jul 12, 2016 19:47 UTC (Tue)
by gfranken (guest, #22822)
[Link]
In fact, I briefly turned this desktop machine I'm typing on into a "Hackintosh", and while the machine worked well, I just hated Mac OS X. I switched it back to Linux/KDE a couple of months later. My switch to Apple also was due to wanting to edit videos, so I purchased Final Cut Pro--meanwhile, Kdenlive made some improvements, and is good enough for my needs (and of course, it's getting better).
Posted Jul 21, 2016 11:12 UTC (Thu)
by callegar (guest, #16148)
[Link]
Posted Jul 12, 2016 21:25 UTC (Tue)
by boog (subscriber, #30882)
[Link] (1 responses)
Posted Nov 23, 2017 9:42 UTC (Thu)
by callegar (guest, #16148)
[Link]
If you have a laptop, and you attach it to an external screen, then close the lid and suspend the laptop, then detach the connectors, when you eventually attach an external screen again, kscreen ends up thinking that you re-attached the former monitor. This is quite evident as the UI with the Display and Monitor Settings *name* the monitor and you get the former name. For instance if you were initially attached to a Samsung monitor, you suspend the laptop, detach the connector, work with your laptop, then one day attach a Dell monitor, kscreen identifies it as Samsung and applies the settings for the Samsung monitor.
This is very bad. On some occasions with the external monitor you have the laptop screen disabled. Then, one day you need to give a presentation, you attach the projector, kscreen thinks it is the external monitor, switches off your laptop display and provides to the projector some resolution that it can't support. Et voilà, you are with no working screen at all in front of your audience.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Martin's entire blog post is a litany of excuses. Take this gem for example:
It’s affecting all Qt applications on X11 and has nothing to do with Plasma. Just because Plasma is also using Qt does not mean that Plasma developers have to fix it.
Gräßlin: Multi-screen woes in Plasma 5.7
The straw for me was the window manager crashing every time my secondary monitor was turned on. I found a bug filled for this exact issue, added my report to it, but, more than a year after that, I still receive "me too" updates on that bug.
I have no problems using XFCE at all. It is simple enough, does the job, it is quick and lightweight.
I wonder if all the bells and whistles are really worth the trouble.
I agree with your view about testing, but I feel that the problem is deeper than that. It seems to me that much that is changed is just done for the sake of the change itself.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Anyway, I could reproduce it on any hardware : login, place the external monitor on the top of the main, apply and... it is over: main screen get black, panel is on the secondary, and plasma gets unresponsive.
Believe me, I am honest, as I do prefer Plasma as a DE. I have tried using it for months and tried all possible workarounds, but for my work I need stability.
don't make me laugh
2. locked thread for further comments
3. ignored another comment I put on another posting, same story.
don't make me laugh
don't make me laugh
don't make me laugh
don't make me laugh
Enable XSync extension also for KWin
Do not overwrite existing event mask of root window
don't make me laugh
don't make me laugh
don't make me laugh
don't make me laugh
don't make me laugh
> xfce [..] still appears to be run by responsible competent adults
don't make me laugh
don't make me laugh
don't make me laugh
don't make me laugh
Seens YMMV all over...
don't make me laugh
don't make me laugh
don't make me laugh
Wol
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
> no, some things are unfixable on X11. How do you get lockscreens to work if a device can grab input?
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
These efforts should be applauded, but half of the comments here are just ranting or direct attacks. I just don't get it.
I think it's mostly born of frustration. It's not a helpful response, but it's an understandable emotion.Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
suspending my laptop when I move it? Sure, close lid. But logging out? I don't think I've ever done that since university times, with shared lab computers...
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Wol
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Hardware is a Lenovo Thinkpad T440p with an i7-4700MQ.
Gräßlin: Multi-screen woes in Plasma 5.7
If you have the time to also test with the drm-intel-nightly kernel that would help avoid doing double work in case
this is already fixed, but that's by no means necessary if you can provide a bisect.
Gräßlin: Multi-screen woes in Plasma 5.7
Turns out, it's an issue with PSR (whatever that is). Judging from the duplicates, I may have wasted a couple of hours bisecting it. There hasn't been any reaction whatsoever to the other bug reports :/
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
screws things up somehow. Do you get similar behaviour if you connect an external display directly to the laptop? If I'm not all wrong the T440p has a mini-DP connector -- what happens if you connect the display directly to that instead?
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
[drm:<function> [drm]], not [drm:<function> [i915]], the latter being how it would look like if it was a bug in the i915 driver.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
About a year ago there was an issue, not unique to Intel, that EDID reads could be done 1 byte at a time or in bigger
blocks, The kernal code that read EDID was not covering alll the cases for the reads and my colleague contributed
code to fix this problem.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Of course, if *most* applications do, being defiant towards applications might break more things than it fixes.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
On the other hand when clicking session restore in Firefox it places the window to the exact position. So there it does the right thing.
Only if that position is still visible. The user might have had Firefox on an auxiliary monitor when in dual screen mode and started it again in single screen mode. In that situation, I think KWin already places Firefox in the visible area and ignores the position provided by the application.
Gräßlin: Multi-screen woes in Plasma 5.7
FVWM
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Which proves that you never forget to unplug your external monitor /before/ you suspend and that you never forget to plug in your external monito only /after/ your system has completed resuming. Otherwise you need to manually kill the kscreen backend.
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7
Gräßlin: Multi-screen woes in Plasma 5.7