SteamOS Has Dropped Support For Suspend 378
jones_supa writes: As pointed out by a Redditor, it seems that suspending the machine is not officially supported by SteamOS anymore. A SteamOS user opened a bug report due to his controllers being unresponsive after a suspend cycle. To this, a Valve engineer bluntly reported that "suspend is no longer supported". He further explained the issue by saying that given the state of hardware and software support throughout the graphics stack on Linux, the team didn't think that they could make the feature work reliably.
As a Linux supporter, I agree (Score:5, Interesting)
Re: (Score:2)
I have used suspend for at least 6 months on my debian box. Its on a KVM switch so I switch to it and wake it up and its going in no time at all, then I leave it to drift off in its own time. My TV can also wake it up for media files. Haven't had any problems yet.
Re: (Score:2)
Okay, but it works reliably on my Fedora desktop and has for the past three years. My Mint desktop has been reliably suspending for the past year.
Re: (Score:2)
The problem is usually video (Score:2, Insightful)
Think of how we use video devices. Not just in Linux, in pretty much all current systems. In the name of "efficiency" we memory-map them, and we let the user process directly mess around with the internals of a hardware device.
This is the way a set-top video game box works, not a secure and reliable operating system.
Until the video is firewalled off from the user the way other components of the operating system are, it's not going to be safe, secure, or reliable. Obviously we'll need new hardware designs to
Re: (Score:2)
I've never bothered with suspend for a few reasons:
1) It requires a swap disk/space - I don't have one on any of my personal machines
2) SSDs make boot up fast from a clean slate every time
3) I hear it can be iffy, and can be tough to make work anyway
I just leave my desktop running all the time, and turn my laptop off if I know I'm not going to need it. If for whatever reason I am going back and forth to my laptop with reasonably short intervals between use (1-2 hours), I just close the lid and plug it in.
To
Re: (Score:2)
Re: (Score:2)
Suspend is such a complicated feature that touches every part of the stack. I've found it works about 50/50. Every now and then I try it and it works for a while until a kernel update breaks it, eventually I try again in a few months and it's working again. I wouldn't support it if I wanted to remain sane.
Suspend? No, suspend is easy. Hibernate is complicated, but I have never had issues with suspend. It is so simple, just freeze the machine in its current state and then resume later without changing any state. The only applications that gets surprised by suspend and ones that rely on real clock and get surprised by large time differences.
Re:As a Linux supporter, I agree (Score:4, Interesting)
As I'm sure you're aware, the resume process has to do everything in a precise order because some subsystems rely on others to be awake before they can proceed. Every driver has to interact with less traversed paths of code and they have to work on sometimes obscure hardware where the documentation doesn't exist or is wrong (think reverse engineered drivers), and every piece has to work more or less flawlessly or the rest of the chain can't load.
As I understand it, the state of the machine is written out to page file and has to be loaded back from there and then run as if nothing had happened. Consider just the case of software that doesn't behave correctly when the system time jumps ahead a couple of hours mid computation. I've had issues with KDE not being able to wake up from screen saver (maybe USB didn't reinitialize correctly and it can't see my mouse/keyboard inputs?) or the screen not coming back without power cycling my monitor after thawing out the state.
There's a lot that can go wrong, and it seems it usually does. I know even Windows sometimes has issues when I close my laptop and head into the office - sometimes it remains running the entire time (I think VirtualBox is the cause - but I can't reliably reproduce, so I'm not sure).
Re: (Score:2)
Yeah, I understand that problem. I guess it never seemed that difficult. Fun even, probably because we built the whole system. The interesting parts I thought were suspending and bringing back integrators. We had 3 states coming up from a cold boot to operating (from the application).
Reminded me of how much I dislike working on general systems. Thanks!
I think the problem that Linux has is the multiple devices that it needs to support. I haven't had suspend issues for a while, but when I did it was with the network card. On resume the network would error, which could be fixed by suspending then resuming the network. Other PCs with different make network cards worked fine.
Re:As a Linux supporter, I agree (Score:5, Informative)
I am a supporter and committer; my name is on a couple of files in the Linux source. If you're saying that doesn't make me a True Scotsman, then so be it. Why would Linux be a good choice if suspending is a coin flip? Because I don't suspend servers or a handful of other devices Linux supports. I'll stop supporting Linux when < 95% of what I want to do just works perfectly fine and Java is a first class citizen on Windows or BSD; I'll also need Python, Ruby and Perl to be painless to install and run. I'll switch my file server to BSD, like my router/firewall, when it offers me something over Slackware. Also, there's the issue of a few hundred Linux servers, VMs and appliances we have all over the world in my work life.
I accept the suspend thing on my Fedora/Linux Mint dual boot because it's my secondary desktop that I have Steam installed in Linux Mint for gaming and my backup development environment/testing/VM setup on. I boot between the two of those enough that I don't hibernate often. I'll suspend to RAM if I'm going back to what I'm doing within the day, otherwise I just shutdown.
For me, bottom line, the things Linux gets wrong are mostly annoyances and on the whole the OS makes my life better. YMMV of course, but for my use cases the good vastly outweighs the bad. I'll agree though that some of the bad is pretty darn ugly; I'm in complete agreement that SystemD is crap. I want to kill that part of the stack with fire.
Unacceptable (Score:4, Insightful)
Suspend is a key feature, and energy costs more than ever. It's not acceptable not to suspend. Many people won't shut down, and if they can't suspend, they'll just leave the system on and turn off the display.
I hope they're at least using the lowest power states when at idle, and with a governor more intelligent than ondemand.
Re: (Score:2)
" It's not acceptable not to suspend"
Every time I do suspend this GTX 260 Core 216 horks itself on resume and fucks everything up.
Sleep/Suspend/Hibernate. It dies.
So the system stays on.
Re: (Score:3)
I have to suspend my Windows 7 system twice before it will suspend. This is a regressive bug introduced in the last couple of weeks. Thanks, Microsoft!
Windows is shit at this even designing the tools to shit on Linux.
It's still not acceptable to give up on suspend. Give users the option to try.
Drivers (Score:3)
Most of the time problems with suspend/hibernation are related to drivers which aren't properly initializing after the memory is restored. the thing with hardware is that the state of the hardware has to be restored after suspend/hibernation to the point that the driver expects as the state. So if a driver isn't capable of restoring that state, it will likely cause some sort of trouble.
Re: (Score:2)
I had a 7600GT work flawlessly, but resuming from suspend means the fan is stuck at 100% speed. :).
I even had some chat with driver devs, who couldn't believe the card had fan control without PWM (fan has two wires). Closed nvidia driver isn't that much better as it does not offer fan control either, leaving it all to the graphics card's BIOS. But under Windows you CAN control the fan speed
Re: (Score:2)
pwm doesn't need more than two wires.
you only need the third wire if you want to know how fast the fan is turning, which is not necessary for pwm control.
Re: (Score:2)
Unless you're trying to control a 12V fan with logic level PWM signal.
Or you want more that just a half-assed attempt at being able to accurately control the fan across all usages and speeds.
I'm guessing the engineers at Intel would have loved to hear your insight before they came up a spec [formfactors.org] for 4-wire fans.
Re: (Score:2)
Just curious. I use "ondemand" governor and it appears to meet my needs. If it has some terrible downside, I'm one of the lucky ones not experiencing it. What is your specific criticism or bad experience with it?
It ramps up p-states when it doesn't have to. A little hysteresis goes a long way.
Ubuntu does not support hibernate (Score:3, Interesting)
Considering the push for the "Year of the Linux Desktop" it's strange Ubuntu does not support hibernate and hasn't for years now. Hibernate is important, because unlike suspend it does not require power.
It's annoying to have the computer shutdown when it runs out of power instead of simply hibernating.
Re: (Score:2)
You should check this: http://ubuntuhandbook.org/inde... [ubuntuhandbook.org]
(Do note these instructions are a bit different for Xubuntu, your flavor may need specific treatment).
In short run sudo pm-hibernate in a console and see if you can go back to your desktop when turning it back on, if so enable it following instructions.
It is disabled by default due to many chipsets acting erratically so its unsupported as well, unless your's has the ubuntu hardware certificate.
The same can be done with pm-suspend. It works with some ha
Re: (Score:2)
Works perfectly on windows on my machine for over a decade.
I reboot like once a month on my laptop.
Rule 1 when I'm building a UI is don't lose their shit.
Rule 2 is no one cares about your fucking excuses.
I have a unique technique.
Re:Ubuntu does not support hibernate (Score:5, Insightful)
All that effort is better-spent making the OS start up and shut down quickly
No, it really isn't...
People who just want their computers to work also want their stuff to stay where it was when they closed their laptop. I know I do. I often have 5 to 10 programs open, sometimes 5 to 10 tabs open in a web browser.
When I turn off my notebook and turn it on a few hours later, I expect it all to be sitting there as I left it.
Re: (Score:3)
Re: (Score:2)
I hate to tell you, but you can turn off automatic install of Windows Updates...
They download on my machines, but don't install until I click that button...
Re: (Score:2)
Windows 10 Pro allows you to wait to install updates until you want to. My production machines all run Windows 10 Pro now, except 1 still on Windows 7 for various reasons (it will go to 10 later this year).
No one doing real work on Windows should be running the home edition anyway, it lacks domain support, something that is quite commonly used in a business environment anyway.
Re: (Score:3, Interesting)
the problem is that people see the notification that updates are ready and then they keep clicking postpone because reasons. I am as guilty of this as anyone, my work PC never gets shutdown because I hate waiting for it to start up again. I've had updates pending for up to three weeks before. If there were any 0-day exploits that had fixes pending i'd be vulnerable the whole time.
Basically forcing updates to reboot is addressing that. And while I may swear when i go to home (Windows 10) pc and find it's reb
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I had to have a chuckle at that one...
Linux will have a user base of some small size for a long time, but when Mac OS X which costs an arm and a leg (or two) for the hardware has three times the marketshare of Linux (which is free and runs on anything), you know Linux has a problem.
Heck, I'll bet that Windows on Mac has a larger marketshare than Linux Desktop does. How sad is that?
Re: (Score:2)
I tend to agree, although I would put the time point later when Microsoft screwed up with Windows Vista and the UI of Windows 7. Just before that time, we had polished and stable Linux distributions which were almost perfect. But then Ubuntu/Gnome/... all screwed up too by giving up all the stability and polishment for rewriting everything related to user interfaces. Since then, I never had a stable and feature-complete Linux desktop which worked well for me. It is just sad.
Re: (Score:2)
stable and feature-complete Linux desktop which worked well for me
For what it is worth, I think you could have that tomorrow and it wouldn't matter.
The real issue isn't if Linux works and does the job, the real issue is, "why should I switch from Windows to Linux?"
Linux can't have as its primary benefit, "It's not Windows". That reason is not going to move the needle on desktop acceptance of Linux. All the posts in the world here from people saying, "but I've put my wife/girlfriend/parents/etc. on Linux and it is fine" doesn't mean squat. This site is not representativ
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Technically, suspend is not the problem. (Score:5, Interesting)
Technically, suspend is not the problem. The problem is resume. It doesn't probe and reattach the controllers to the same point in the device tree that they were in when the system was suspended. Since those are the device nodes that SteamOS has open at the time of the suspend, and they route to The Noplace(tm), the controllers become unresponsive.
This is a general problem in the Linux device model, and you can see problem in the device model poke their heads up in various places.
For example, if you plug in two USB keyboards, what you are going to see when you hit the caps lock key on one of them is that the caps get locked for both of them, but the LED indicating that the caps lock is on is only lit on the original keyboard. This is great fun, when you see the LED state on both keyboards relative to the caps lock state, when you bounce the caps lock key on the second keyboard.
Presumably, this was implemented this way in order to allow multihead operation, with the keyboards separately (and explicitly -- which they are not by default -- to separately running console instances. But it's indicative of deeper problems in the model.
The reattach operation should (in theory) be handled by the udev mechanism, which I'm told is subsumed in systemd; however, they've faithfully reproduced the problems in the original implementation in the replacement as well (so it actually doesn't matter which one SteamOS is using, so please don't argue about that crap).
There are two implementations that do work; however, they in fact work differently.
The first implementation is in Windows; it works by directly assigning the device descriptor based on the USB vendor and device ID. What this effectively means is that when you resume, everything gets the same descriptor (or a replacement) that it had going own. The keyboard "problem" is handled in Windows by making them "the same device" -- in other words, you caps lock on one keyboard, it does it on both, and you undo it, and it does it on both.
The second implementation is Mac OS X; it's handled by explicit enumeration order of USB bus devices, and the using the USB vendor and device ID *and* the enumeration position ("bus ID) to uniquely identify the device.
You'll also notice, if you look, that Linux has problems with keyboard internationalization and locale. This is most easily seen by using a locale specific keyboard, and having it not be recognized. Further, you'll notice that the character set differences are handled by tables in X and Weyland, and these are not the same as the console tables (i.e. the USB ID of the keys is not propagated through the full input stack, and there's a difference in operation between sending the events up through the console, vs. sending events up through the X Server). To fix this would require moving the HID key value translations into the kernel keyboard driver, rather than having it (mostly) in user space in all three instances (X, Weyland, console).
Finally, Apple is one of the few vendors that actually correctly fills out the USB device serial number field correctly, so it's hard to use that as a unique identifier (specifically, it makes it really hard to mask program all your controller chips, without adding a "burn the fusable links" step).
Further, they are also one of the few vendors that sets the locale field in their USB devices (most laptop vendors will get this right during manufacturing, by placing the value into the BIOS, since the laptop keyboard is actually matrix decoded by the EC via a grid hooked up to GPIO pins, and then the EC pretends it's an 8051 with a PS/2 interface for the keyboard to mux a PS/2 trackpad -- e.g. like a Synaptics -- to look like a standard PS/2 keyboard and mouse).
Apple handles for unrecognized keyboards by having you press "the key right of the left shift key" and "the key to the left of the right shift key", and then uses the key IDs. Not ure if they have a patent on it, but it's a lot more clever than what Linux or the BSDs do to
Re: (Score:2)
To fix this would require moving the HID key value translations into the kernel keyboard driver, rather than having it (mostly) in user space in all three instances (X, Weyland, console).
Or just remove in-kernel VT consoles completely, and replace them with a user-space implementation [phoronix.com].
Re: (Score:2)
Not quite. kmscon uses the same key binding format as X because it re-uses the same code.
I tried using it once, I replaced one of my consoles with kmscon and the only difference I saw was a subtle change in text colours. The fonts and other terminal behaviour seemed identical.
But it only seemed to work for me with the open source driver for nvidia cards. And that has other limitations.
Re: (Score:2)
When we are looking at USB devices is it possible this could be handled later in the boot process by having all devices re-polled and connected as new devices? So on resume previously connected devices are simply treated as new devices. It would add a delay to the resume process and I'm guessing there may be device confusion if you have 2 controllers attached, ie player 1s controller becomes players 2s after a suspend resume. But would this not be a simple, but manky, solution to the problem?
Re:Technically, suspend is not the problem. (Score:4, Interesting)
When we are looking at USB devices is it possible this could be handled later in the boot process by having all devices re-polled and connected as new devices? So on resume previously connected devices are simply treated as new devices. It would add a delay to the resume process and I'm guessing there may be device confusion if you have 2 controllers attached, ie player 1s controller becomes players 2s after a suspend resume. But would this not be a simple, but manky, solution to the problem?
If you are talking about the application programs closing and reopening the devices, then yes, the controllers could be handled that way. You would have to do it in every single application, however, for every single device which was capable of moving around that way, so it would include audio devices, cameras, game controllers, and so on.
Further, you'd have to have a mechanism for notification of the applications that they need to close and reopen (and reinitialize) their devices.
This really can't be done at a system level, because on resume the devices look like arriving new devices, and the nodes are in use by existing opens. So it is, for example, easy to "lose" a built-in camera or keyboard or audio device, because those end points are in use, and the "new" device gets assigned a new end point.
One of the things I fixed in the Chrome OS testing environment was that the cameras got "lost" during factory testing on a number of devices where they were interfaces via USB (but were built into the clam shell). This meant that the test harness, which set up devices up front, would lose the devices because there were "there and open" in the Python code, but "not used yet before the suspend/resume cycle".
The fix was to move the camera open/close code, ant to modify the code to search for specific attributes which meant "camera attached to this node", rather than "node for a camera".
Re: (Score:2)
Thanks Tlambert,
I hadn't realised the applications would be speaking to the USB devices directly but that seems obvious now in hindsight. From your description it seems like an almost impossible problem to solve without having all hardware comply with a standard, which it is obviously not doing. It is that or have some extremely complex interface layer between the application and the devices which would have huge issues of its own.
Re: (Score:2)
Thanks, insightful comment. I'd like to add little more about how Windows handles USB devices though, as it is somewhat relevant here.
Windows uses the vendor and product IDs and one other bit of information to uniquely identify a device. The other bit of information is the USB serial number, if it is available. If the serial number isn't provided then it uses the ID of the USB port that the device is connected to.
This has some interesting effects. Devices with serial numbers work as you would expect. Driver
Re: (Score:3)
That describes power management support in general. ACPI implementations are especially infamous. Server hardware aside, often manufacturers design for and test on Windows alone, because that is what they ship with the hardware and that is what they expect every user to run. They don't meet the ACPI standard properly, just the parts that Windows implements. Then someone tries to run another OS, and the whole thing crashes at some point - if it'll boot at all.
Suspend is Hard (Score:2)
For those who think a simple suspend is easy, go read one of Matthew Garrett's old posts about the mess. Here's an example:
http://www.advogato.org/articl... [advogato.org]
Apparently it's much nicer now.
Re: (Score:2)
Man, I'm happy I work on ARM after dealing with so many ACPI related bugs on PCs.
Not just on Linux (Score:3)
I've had hardware act screwy on Windows, too. Sometimes Windows will just refuse to sleep because a process prohibiting suspend did not exit like it should. Suspend works rather well on my present install of Ubuntu on my laptop, but I've had issues with it waking up.
Re: (Score:2)
Re: (Score:2)
it's not crashing..
usual problems: sound not working after hibernate, some usb devices not working after hibernate.. some usb ports not working after hibernate.
yeah, pretty much of all of the problems are usb related.
Re: (Score:2)
I have the opposite experience: it's years since I last encountered a laptop that had problems with suspend on Windows.
So what? I have an Acer Aspire One here running XP, and sometimes it just doesn't suspend. I've got it set to suspend on close. Sometimes it does, sometimes it doesn't. The machine came with XP, so there's no excuse for this not working. It worked before. It still doesn't work after reimaging, so this is a regression.
Re: (Score:2)
I'm all for getting years of use out of a computer, but 8 years of XP?
It might be time for a fresh install... :)
Re: (Score:2)
Um, I'm not sure what laptops/desktops you are using, but all my laptops (from various makers as well as custom desktops) work just fine with hardware sleep modes. I've had my Dell sleep and wake up more than a thousand time with no problems. Sure, I do have to shut down and restart for updates, but I'd have multiple sleep and wake up cycles in a day, no problem. It can be done.
Re: (Score:2)
Re: (Score:2)
No one has managed to make it work reliably on Windows either. I don't think I've ever encountered a laptop on which Suspend wasn't either a game of Russian Roulette, or a guaranteed way to require a restart.
It works very well on Mac. It works OK on some Windows laptops as well, but many have some sort of problem - and I would guess this comes of poor vendor drivers on the laptop.
Re: (Score:2)
It's gotten way better with 'connected-standby' on 8/10. Microsoft IMO though solved the suspend/resume problem by just making boot ridiculously fast in 8.1 and even faster in 10. The surface tablets I've had have never glitched out a single time and it does a really good job of going into hibernate, writing to disk and shutting down completely after a specified duration. Almost every time I resume a Surface it has already gone into full hibernation/shutdown. In fact I don't think after 8 you could ac
Re: (Score:2)
No one has managed to make it work reliably on Windows either. I don't think I've ever encountered a laptop on which Suspend wasn't either a game of Russian Roulette, or a guaranteed way to require a restart.
Then you haven't used very many laptops or you use really crappy ones.
On everything from a cheap Dell notebook to a really expensive Acer machine, they all suspend perfectly on Windows 7, 8.1, and 10.
Re: (Score:2, Troll)
Suspend and hibernate work great for me on Windows... Linux on the other hand requires all sorts of kernel and bootloader changes, plus god forbid you use a lot of memory to start with, and find out half your apps got forcefully terminated because they couldn't fit in swap space.
You're talking out of your ass. I have never seen an application terminated on Linux due to a suspend cycle. Suspend does not require bootloader changes. I strongly suspect that you pulled the "all sorts of kernel" thing out of your ass, and that you have zero experience with suspend on Linux, and quite possibly zero experience with Linux at all (except perhaps on the half dozen embedded devices in your home that run it and you don't even know). Obvious scumsucking troll regurgitating a bag of buzzwords.
Re: (Score:3)
Re:Windows only says "Sleep" (Score:5, Insightful)
For all the nitpickers, what he said is true. Suspend saves the system state in RAM, which means NOT in CPU registers, GPU registers, nor a myriad other hardware controller registers on devices and hubs all over the system bus. The RAM is left in a low-power, self-refresh mode. Resuming from suspend means powering up all those devices, reinitializing their control registers, and getting everything back in sync with the state that the OS *thought* it was in according to the state stored in RAM.
This process involves coordinated effort of many different layers of hardware drivers to reinitialize each part and restore it to a working state. Some annoying hardware also lacks a simple "load state from bit sequence" function, and instead needs its own convoluted state-machine to be run through multiple steps in the right order to reestablish the state it had before suspending. This is where things usually go comically wrong.
Hibernate suffers all of this plus a bit more. It also has to reinitialize the disk controllers, read the saved system state from disk into RAM, and then perform all this same state-recovery that resume-from-suspend does.
Re:Windows only says "Sleep" (Score:4, Funny)
Swapfile, of course. Do you not know the basics of modern OS architecture?
Re: (Score:2, Informative)
The swap file is only virtual memory. Both Linux and Windows have a separate file for hibernation. In Windows it's hibernate.sys. If the swap file was in use and then the OS used it again to hold the dumped contents of RAM when hibernating, the existing swap data would be lost. Don't think of swap as a replaceable cache, think of it as slow RAM. It holds real data. Also, Windows has a hybrid Suspend To Disk feature which does a normal Sleep/Suspend then hibernates after some specified time (I've never
Re: (Score:2, Interesting)
In Linux, suspend to disk really does write the contents of RAM to the swap partition.
From here: [kernel.org]
Suspend part
~~~~~~~~~~~~
running system, user asks for suspend-to-disk
user processes are stopped
suspend(PMSG_FREEZE): devices are frozen so that they don't interfere
Re: (Score:2)
No, modern OSes use a pagefile. Swapfiles went out with the PDP-11.
Except, you know, Windows. Or, if you configure it that way, Linux. Oh, wait, you're attempting to redefine terminology to satisfy yourself. Guess what? We call both of those things swap files now. And we swap pages out to the paging file.
Re:Doesn't surprise me (Score:4, Informative)
Re: (Score:3)
Re: (Score:2, Flamebait)
To solve this problem, you would need to migrate it all to systemd, and make sure everything involved with the graphics and controllers is using compiled systemd startup modules instead of crufty old scripts.
There are too many parts, and not enough of the upstream has ported yet, so systemd can not (yet) solve this problem. But it will.
Re: Is systemd involved at all? (Score:4, Insightful)
So I guess I should make a comment about how superior Windows is because this is an article about Linux OS issues. Then I can be like all the Linux fan boys who just have to comment in Windows articles on how they never have such such issues because they are running a Linux based OS.
I've never have suspend or hibernation issues while running Windows based OS. In fact, it's crazy how fast resume works on my Lenovo Z50-75 running Windows 10. I don't even worry about privacy issues because I turned that stuff off. It's was easy to get the help I needed right from Windows forums on the correct settings.
Instead of all the thousand different yet same Distros. How about all the Linux geeks get together, focus on a handful of Distros and prove to us why it's superior to Windows? Because issues like suspend and the various graphic driver bugs will continue to keep it from wide spread usage. Like it or not, Linux based Distros make up 1.6% of the desktop OS and it's because of problems not because it's better. Microsoft has continued to up their game on the desktop and Linux Distros will have to match them if they every want a chance at taking over.
Re: (Score:3)
I don't even worry about privacy issues because I turned that stuff off.
You mean you think you turned that stuff off. I guess you haven't been reading Win10 forums (and /. and other places) in the last few days...
Re: (Score:3)
Actually, Windows isn't perfect either. My home desktop will hang on attempts to suspend, shutdown, or reboot. No idea why.
My other windows systems are fine, and all my linux systems also suspend/resume without issue.
So anecdotes can be found everywhere. It has more to do with the firmware/hardware than anything else.
Re: (Score:2)
Instead of all the thousand different yet same Distros. How about all the Linux geeks get together, focus on a handful of Distros and prove to us why it's superior to Windows?
The reason it doesn't work that way is that many of those people are working for free. You don't get to tell them what to work on. They work on what they like. In this way, Linux tries many different approaches while Windows tries one. If Windows gets the right approach on the first try, that's great. When it doesn't, which is often, it just spins. Both approaches are valid.
Remember, Microsoft designed the tools that people use for creating the machines... the ACPI table in particular. And they were designe
Re: (Score:2)
I'm glad you have total success with windows sleep, but unfortunately I'm not so lucky. About 10% of the time when I wake from sleep, the monitor never turns on...the power light just keeps blinking like it has no video signal. Most of the time, I can just push the power button on the front of the computer to put it back into sleep, then wake it up again a second time and all is fine. But every now and then, it seems to be hard locked after the wake, as I cant force it back to sleep, shut it down with keybo
Re: (Score:2)
I have: By closing the lid on my XP laptop after clicking shutdown but before it shut down, the hard drive got corrupted. I'm guessing it tried to suspend after the shutdown process had started and therefore saved to an inconsistent state. I must have had perfect bad timing, because doing that hadn't been a problem before. After some frustrating hours downloading SystemRescueCD on my work computer and using it to save the impo
Re: (Score:2, Insightful)
Comment removed (Score:5, Interesting)
Re: (Score:2, Informative)
I've been running Linux on my desktop for 10+ years and the only driver issues I've ever had were solved by ditching Nouveau and using Nvidia's own drivers.
And yes, I have to reinstall them following a kernel update:
~> uptime
12:09pm up 98 days 23:53, 8 users, load average: 1.14, 1.13, 1.14
*That* is how long it has been since the last time I had to do this.
And it takes about 30 seconds to run the installer script and restart the desktop. I could automate it, but given that I only need to do thi
Re: (Score:2)
Re: (Score:2)
It quit working with VirtualBox sometime back (at which time VBox was the only thing that didn't get taken care by YaST), and I quit bothering with it, and sort of managed to forget all about it. Now that I look, I see I've never even installed DKMS on this machine since I first set it up a little over a year ago.
Thanks for the reminder!
Re: (Score:2)
Re: (Score:3)
Re: (Score:3, Funny)
I can tell you're lying, systemd-shill.
Re: (Score:3, Interesting)
Hibernation never works for me and I am unwilling to debug it. Suspend works like a champ, though.
Re: (Score:2, Insightful)
Re:WONTFIX (Score:5, Insightful)
This is a great example of how not to close a bug report. [github.com]
Merely stating that the feature "is no longer supported" and closing the bug report without giving any further explanation is the wrong way of handling the situation.
If a user went to the trouble of submitting the ticket, then somebody associated with the project should at least put forth the small amount of effort it takes to explain why the bug is being closed without being properly resolved.
Providing some concrete information is just the sensible, courteous thing to do.
Uselessly vague "$FEATURE is no longer supported"-type replies do no good.
Re: (Score:2)
This is a great example of how not to close a bug report. [github.com]
Merely stating that the feature "is no longer supported" and closing the bug report without giving any further explanation is the wrong way of handling the situation.
True it totally lacked any tact for a customer facing interaction. Though you could also argue it's the end result of actually having a public bug reporting system where engineers interact directly with customers. at some point people have to choose: to you want a direct interface to the engineers or do you want to want to be handheld? Because face it, you aren't getting both.
https://www.youtube.com/watch?... [youtube.com]
Re:WONTFIX (Score:5, Insightful)
Giving a proper explanation for why a bug is being closed is not "handholding".
It's professionalism, plain and simple.
Being a programmer doesn't mean that one's incapable of providing a technical justification for closing a bug ticket.
It doesn't even matter if the person who logged the bug is a customer or not.
If the bug ticket is closed, then a complete, technical explanation of why is the minimum that should be expected.
The person who opened the ticket, and anyone else reading it, regardless of whether they are or aren't affiliated with the project in question, should be provided with a full explanation as to why the bug was closed.
This will typically be well over one sentence in length.
So if someone is closing a bug ticket and their justification is only one or two sentences long, then they should realize right away that what they're providing is completely insufficient.
Re:WONTFIX (Score:4, Insightful)
I don't disagree that a reasonable, well adjusted person should do exactly what you said. But that's not the description of many software engineers, and reality is this sort of report is exactly the same thing that would happen internally in a lot of projects - and in fact it effects the project exactly ZERO to be this succinct; the only real issue is customer perception.
If you want politeness, make all public bug reports go through company representatives. That's in fact what nearly ALL large software companies already do. Stream has tried to model their development/bug reporting more along the lines of Mozilla, or, in the ultimate example the Linux kernel - have you ever read LKML? If this post made you butt-hurt the LKML will rip you a new hole...
Re: (Score:2, Insightful)
If you want politeness, make all public bug reports go through company representatives.
I reject your implied proposition that engineers are incapable of being polite.
Re: (Score:3)
No, the bug simply shouldn't have been closed at all. "We know that it doesn't work right, here's a bunch of reasons why" simply means that this bug should have a bunch of other blocking bugs. Yes, it may not be fixed for a while, but that doesn't mean that it isn't a bug.
Re: (Score:2)
Nope, it's not enough. An explanation helps the people who find the bug via search engine later. Not providing a reason aside from "this isn't supported anymore" is simply lazy; an additional sentence or two of why would go a long way towards keeping everyone on the same page.
Re: (Score:3)
Yes. If you don't want the topic coming back over and over again, you need provide an explanation for why you're closing the ticket. WONTFIX without an explanation is the equivalent to saying, "because I said so."
It's also lazy. Removing an expected feature because you didn't plan your product development well enough isn't acceptable. Set an appropriate milestone and fix the problem. Did you really not plan well enough to anticipate this being a problem?
Re: (Score:2, Redundant)
Not really. Suspend just completely sucks everywhere.
Re: (Score:2)
Re:Fragmentation... (Score:4, Interesting)
Am I the only one who hasn't had a suspend problem in years on any platform? The last time I can recall having suspend not work reliably was on a late '90s Pentium 2 running Windows 98.
Re: (Score:2)
Which is odd, Win98 was the last time I had a machine where Suspend worked properly.
Re:Fragmentation... (Score:4, Funny)
The last time Windows suspend didn't work reliably for me I was using Windows ME.
The last time Linux suspend didn't work reliably for me I was using Ubuntu 15.04.
Don't go touch wood, go throw your entire body on it and praise whoever you worship for you lucky and successful life. Suspend and hibernation support is a messy clusterfuck of standards which were never implemented correctly supported by device models that never considered going to sleep as a design consideration.
Re: (Score:2)
Sleep and suspend, outside the white-box laptops, pretty much never worked for me on Windows (2000, XP, 7). That's at least 4 home-built PCs. First one I thought I have messed up with the parts. But for the later ones I have specifically looked for the the parts officially supported by Windows. And still no dice.
On Linux, it is historically hit and miss. On earliest systems, the sleep and suspend were not supported at all. Later, when Linux started warming up to the laptop support, it still generally didn
Re: (Score:2)
I have bad luck (or I'm too cheap). I think the Lenovo BIOS is the problem and I believe my SATA III controller is the problem on my desktop.
Re: (Score:2)
I don't see why this has been modded down. Suspend/resume has worked fine on OSX since 10.1 for me at least. My experience with suspend/resume on Windows has been hit and miss, and I haven't tried in on Linux (I run Linux in VMs and on servers, not on desktops/notebooks). I've heard people complain about suspend/resume on Linux, but the other day I saw a friend of mine having no trouble with suspend/resume with Ubuntu on a Toshiba notebook.
Re: (Score:2)
Happens with Diablo UEE as well, basically the game thinks network has gone down so when it resumes it's in LAN mode. all you have to do in UEE is just to put it back to whatever mode you want.
Re: (Score:2)
That's asking why a Toyota Corolla works so well compared to making your own car out of lego, glue, and leftover motors from broken dishwashers.
When you code for a stable known platform bugs become very shallow and testing becomes easier. The Linux on PC examples are more like coding for a complicated standard that no one has implemented correctly in the hardware.
Re: (Score:2)
I take the ARM SoC in the Android product I work on into LP0. RAM is in self-refresh, no rails are activate on the SoC, including the CPU and GPU. In this state the PMU/PMIC is on and will catch one of the wake pins to wake the CPU.
We also opportunistically power-gate the CPU cores and GPU. But that's not the same as suspend, as other SoC peripherals can continue to operate. Like USB and Display.
It is true your typical Android/ARM tablet or phone handles suspend differently than an x86 system using Intel AC