Programs that were launched with impossible command line options
devblogs.microsoft.com
devblogs.microsoft.com
And one of the programs that this utility decide was not worthy of keeping around was the Start menu, so it terminated it when your game started. And then when the game was over, it relaunched it.
...and then all became clear shortly after:
But the Start menu is a UWP program, so it is supposed to be launched a special way, with specific command line arguments, and it is supposed to be run in a low integrity app container.
Raymond is obviously going to be pro-MS, but I can't decide whether the ultimate blame here is the third-party utility, or MS for the design decision that somehow the start menu needs to be its own process, require commandline arguments and whatever starts it to do something special (unlike explorer.exe, which establishes its own environment appropriately) or indeed the whole shitshow that is UWP.
Related: https://news.ycombinator.com/item?id=28449607
It seems people have tried replacing the shell with one from an older version of Windows, but it's not a direct drop-in (e.g. https://www.youtube.com/watch?v=RUsbU73Idx4 , warning: audio is useless); with some additional work, I suppose it might be possible.
I'm pretty sure the older versions of Windows actually had that in the (much more detailed) documentation they came with.
Go ahead and do it, then try to open a link in the UWP mail app by clicking on it. It doesn’t work for me ever after until I reboot my PC.
On the other hand, explorer.exe seemingly wants to crash or hang semi-regularly, especially when accessing network drives, and needs to be killed and restarted to regain control.
I feel like this is a basic thing that should have come up in testing.
so what are you supposed to do if explorer hangs or freezes?
I went to Task Manager, details tab; found explorer.exe (there was exactly 1) and killed it
Hit File -> Run New Task; Entered "explorer"; hit Enter
Switched to Mail and clicked a link in one of the emails - it worked.
https://askubuntu.com/a/1018733
So there I was, working on an illustration in Inkscape, zoomed in a bunch, selected a path, and after a brief lockup, no mouse cursor movement even available, boom. Inkscape was auto-killed and the script sent a notifier that it had intervened in this way for the greater good. Mouse cursor moveable again. And OK, so I was running up against the limit for sure, tons of memory use.
There is supposedly built-in system tooling that handles this in Linux, but it doesn't. In the meantime I'm happy for my little script I found online, because the whole point is to break just one or two things and hand some control back to me, instead of breaking _everything_.
https://askubuntu.com/questions/1258371/oom-killer-never-run...
By too late, I meant that manually invoking (sysrq) the OOM before it starts thrashing prevents it from totally locking up.
Invoking the OOM killer with sysrq has always worked for me, strange.
I’ve never had this specific problem back when I was daily driving desktop Linux, but I did run into 1000 other ones that needed bandaid solutions just like this. It’s death of a thousand cuts: https://news.ycombinator.com/item?id=28490753
I see that nothing’s changed in the last couple of years.
Some of the problems I listed used to be an issue on other OSs. For example Android used to have ridiculous audio latency on the order of 400ms, but a few years ago Google got their shit together and fixed that: https://source.android.com/devices/audio/latency/measurement...
The same can't be said for desktop linux. I don't think any of the distros even have a device farm for end-to-end latency measurements. The other 4 OSs have extensive testing and the devs care about user metrics.
I soon discovered that outside one or two “bad” programs, I was killing a lot of little programs for no noticeable benefit.
> More generally, instead of terminating UWP apps, just minimize them, which causes them to save their state and suspend. If the system is placed under memory pressure, the system will terminate suspended UWP apps automatically.
So... Can you minimize the start menu? Will the system automatically terminate it? And how many holes did they have to poke in the sandbox to make that even work?
So, does this guy not realize that 'home gaming' makes them a hell of a lot more money than 'home productivity'?
Specific arguments aren’t the same as no arguments. The distinction is important here.
Nowadays on any reasonably performant system, it would just possibly pop the start menu up for a second, and then you'd click on the game -- everything should be fine outside of super competitive situations. Hitting start was always a rare event anyway, but now it's been degraded from a rare catastrophe to a rare minuscule inconvenience.
I would guess the opposite? 4k monitors are fairly cheap while GFX cards which can run games at that resolution with a decent FPS are expensive. Maybe hardware has gotten cheaper or way more performant in the last years though.
But if you remember back in the VGA days, it wasn't uncommon to have a game set an 800x600 resolution even though you had a 1024x768 display, so switching in and out of the game came with some delay to manage that.
Famous last words of many a unemployed junior developer...just sayin'.