mcc,
@mcc@mastodon.social avatar

Just opened my ThinkPad and for the second time in three days the act of closing the laptop to sleep it, then opening it again had caused Ubuntu to hardlock. This time I got a very brief small printout about "amd ring 0 error", then it went back to a black screen and I had to hold down the power button again.

I thought getting a ThinkPad, getting AMD cpu/gpu and picking the Linux distro Lenovo lists as supported would mean I got a minimally functioning computer but I guess not.

mcc,
@mcc@mastodon.social avatar

I do complain about computers a lot but I feel like ultimately I don't ask a lot out of a computer. I just want, like… all the computer parts to work. The wifi seems to work but also sometimes it seems slower than it should be. The builtin microphone is like, I'd say a 60% chance on any given bootup it will turn out to be working. The computer itself, like. Does not know how to power down and power back up. This has been a problem from day one. It got better then it got worse

TomF,
@TomF@mastodon.gamedev.place avatar

@mcc I just fucking hate laptops. They ride the edge of HW all the time, and all their power saving gizmos work the instant they ship, and then not at all, because oh my gods the bullshit they pull to make it work...

oblomov,
@oblomov@sociale.network avatar

@TomF @mcc the trick is to use Linux so they don't work when they ship either because the kernel still needs a couple of iterations to get support for them.

mcc, (edited )
@mcc@mastodon.social avatar

Do people using Framework have these problems? Was that my mistake? Not getting a Framework? Is that just The Only Linux Laptop Company now?

EDIT: Within 10 minutes got 2 separate framework users reporting they also have sleep/wake issues.

Willy_Heineman,
@Willy_Heineman@mastodon.social avatar

@mcc I’ve got a framework 13 that I upgraded to the amd 7840 board, latest bios. I’ve been running fedora 39 and now fedora 40. After the amd and bios upgrade this is the best Linux laptop I’ve ever owned and I’ve had a lot of Lenovos and thinkpads. It might be the fedora dist but either way I’m satisfied. Also, it had a lot of those issues with the old intel board.

emaytch,
@emaytch@mastodon.social avatar

@mcc ok weird bc i have a framework and while it has minor problems, they're pretty similar to the same minor problems i had on windows desktop

mhoye,
@mhoye@mastodon.social avatar

@mcc Sleep/Wake/Hibernate and power management in general has never worked right on any Linux laptop since IBM sold Thinkpad to Lenovo.

mcc,
@mcc@mastodon.social avatar

We spent all these years making jokes about "Linux on the desktop" but Linux on desktops is actually pretty good now. The issue is when you try to use a laptop and suddenly it turns out Linux has phenomenally broken support for the things laptops have but desktops don't (trackpads, high-dpi screens, sleep/wake)

mcc,
@mcc@mastodon.social avatar

So yeah— I've heard this from a few sources, that part of the problem is Microsoft recently introduced something called "Modern standby" and it fucks up Linux hard on any laptops that have it: https://social.treehouse.systems/@megmac/112357580797659333

I've seen several sets of instructions on how to switch back to traditional sleep:

https://www.reddit.com/r/thinkpad/comments/lnyrt6/til_i_learn_newer_thinkpads_have_a_setting_for/

But I don't find this setting in my gen 3 UEFI menu.

Di4na,
@Di4na@hachyderm.io avatar

@mcc tbf. This is not a linux problem. Windows get fucked the same by Modern Standby!

mcc,
@mcc@mastodon.social avatar

@Di4na So my arc is

  • Use Macs
  • Apple ruins macs
  • Switch to Windows
  • Microsoft ruins Windows
  • Switch to Linux
  • Microsoft ruins Linux, somehow
Di4na,
@Di4na@hachyderm.io avatar

@mcc I mean, Linux is better than it used to be, so I would argue it was ruined from the start and is slowly unruining itself :D

mcc,
@mcc@mastodon.social avatar

@Di4na My three biggest issues with linux on a laptop are failures with sleep/wake, failures to properly handle the hidpi screen, and failures with handling multi-touch gestures. When I first started using Linux, none of these three features (to the extent SioX can be construed as a feature) existed

superusercode,
@superusercode@mastodon.social avatar

@mcc even on windows there are laptops out there that don't handle it right. it's so frustrating to get a new laptop today just to find it'll get stuck in sleep/hibernation or even crash and basically defeat using it at all.

root,
@root@sms.cybik.moe avatar

@mcc modern standby fucks up wifi cards when going into "modern standby" and then booting into Linux.

"Modern Standby" is LITERALLY "hibernate with extra steps" and it's some bullshit.

mcc,
@mcc@mastodon.social avatar

@root I don't think I use hibernate. I don't think that's supported on linux at all

root,
@root@sms.cybik.moe avatar

@mcc shit i might have confused Windows's "modern standby" with their Fast Shutdown. My bad.

(my "it's bullshit" accusation stands nonetheless)

mcc,
@mcc@mastodon.social avatar

@root oh i think i've had to deal with the fast shutdown and it fuckin sucks

xgranade,
@xgranade@wandering.shop avatar

@mcc That also did manage to fuck up my Linux desktop quite hard, and no matter what I did, refucked it each time I booted Windows. The only workaround I could find was to never boot Windows, which as far as workarounds goes is um... severe.

glyph,
@glyph@mastodon.social avatar

@mcc the real killer here is that "modern standby" also fucks up Windows, which has similar fail-to-sleep-and-get-dangerously-hot-in-a-closed-bag failure mode. I think LTT did a video on this a while back and I've heard others complain about it too.

sometimes using a mac feels like giving up on general purpose computing but at this point I question whether a portable computer is "general purpose" if, when I take it out of my bag, it doesn't turn on because its battery is dead

flyingsaceur,
@flyingsaceur@ioc.exchange avatar

@glyph @mcc i think it was the brief window after ubiquitous wifi but before ubiquitous SSDs that made everyone drop hibernate for
suspend

on the other hand, the most reliable computers are attached to the power grid or a RTG (hence voyager I)

mcc,
@mcc@mastodon.social avatar

@flyingsaceur @glyph standby/modern standby are a different axis of difference than suspend/hibernate. and linux doesn't support hibernate

glyph,
@glyph@mastodon.social avatar

@mcc @flyingsaceur I would not put money on it actually working but linux does support S4/suspend to disk (c.f. relatively recent instructions for Arch https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation and Fedora https://fedoramagazine.org/hibernation-in-fedora-36-workstation/ )

mcc,
@mcc@mastodon.social avatar

@glyph @flyingsaceur You have to disable secure boot

glyph,
@glyph@mastodon.social avatar

@mcc @flyingsaceur oh, I thought that matthew garrett was working on this like 3 years ago? I had assumed it must have been landed but yeah I don't see any progress since he was posting about it in 2021

rotopenguin,
@rotopenguin@mastodon.social avatar

@mcc it's fucking great when it works. When it doesn't..

mcc,
@mcc@mastodon.social avatar

@rotopenguin I don't understand what it is siox offers that I would want on a laptop computer. I would like wake on ethernet. But I don't need this on a laptop computer.

rotopenguin,
@rotopenguin@mastodon.social avatar

@mcc I think it was supposed to offer "waking up as fast as your phone does. Fast enough to even have Cortana catch what you're asking without missing a word!"

What it really offers is "this is the only interface that MS is using, so we OEMs will make sure it works exactly according to how MS uses it and not one step farther".

mcc,
@mcc@mastodon.social avatar

@rotopenguin Yeah, this doesn't match how I use computers. My computer takes several seconds to wake up because I need to enter a password and such and anyway the screen seems to take a few seconds to realize it's supposed to turn on even with the siox thingy

rotopenguin,
@rotopenguin@mastodon.social avatar

@mcc my laptop really does get going in a second with S0ix, the Steam Deck takes a good 3 seconds with S3.

If I keep this laptop for 43,000 years, I will break even with all the time I wasted in getting it to work.

ieure,
@ieure@retro.social avatar

@mcc I believe the option was removed in Gen 3. My X13 Gen 2 AMD has (had?) it, but it was implemented very poorly and caused more problems than

I've been using the modern standby stuff ("S0ix" is the tech name vs. the branding name) and it works better. I think I had to add iommu=pt to the kernel args for it to work right, but this was ~2 years ago.

I very, very, very seldomly have WiFi dead when I wake it; like once every 2-3 months. Turning WiFi off and on again fixes it. It's not great, but it somehow still feels better than the work MacBook Pro, which has WiFi break when I'm actively using it, having done nothing special and changed not a thing.

mcc,
@mcc@mastodon.social avatar

@ieure You have to understand I've spent the last ten years using ancient macbooks manufactured in eras when apple made quality products so "wifi is hardly ever dead on wake" is not very impressive to me

mcc,
@mcc@mastodon.social avatar

So the correct thing to do is not upgrade to Ubuntu 24.04 now, instead I am told I want to wait until 24.04.1 and then upgrade. Except the thing is, about the exact same time 24.04 got released my 23.10 install started having perpetual, obnoxious problems with crashing when I close the laptop lid. Like this wasn't a problem a month ago, now out of nowhere it's really obnoxious. And 24.04.1 isn't coming out until like, August. That's nearly the 24.10 release.

Would 24.04 crash less than 23.10?

vitriolix,
@vitriolix@mastodon.social avatar

@mcc maybe Ubuntu has gotten into the planned obsolescence game

rrwo,
@rrwo@floss.social avatar

@mcc

If the upgrade destroys the data on your disk, then it could be worse.

mcc,
@mcc@mastodon.social avatar

@rrwo That's true… but also almost all the content on the disk is either cloud data in web apps or git repos…

snosrapkungfu,
@snosrapkungfu@mastodon.social avatar

@mcc cw: unsolicited and utterly unhelpful advice: can u configure to "do nothing" when u close the lid? (yes, i kill all my laptop batteries by treating like desktops and plugging them into the wall 24x7 :( )
Ok ok maybe on a more serious note: is the crash from handling what i assume is an interrupt from closing the lid regardless of configured action or does it stop happening if closing the lid is a no-op? Might narrow it down (i appreciate ur probably not looking to debug this)

mcc,
@mcc@mastodon.social avatar

@snosrapkungfu I don't know. I don't feel like I'm interested in debugging this unless I'm talking to an actual Ubuntu engineer who I know will do something with the information. My attempts to file bugs with Ubuntu haven't gotten good responses so far

snosrapkungfu,
@snosrapkungfu@mastodon.social avatar

@mcc ugh, sorry to hear that. I'm a little out of the loop myself, from the aforementioned hw abuse and from using xubuntu for any box running canonical sw bc i find both gnome and kde horribly bloated (yeah, i'm old)

confluency,
@confluency@hachyderm.io avatar

@mcc I have now completely given up on the intermediate releases, and only use LTS, and this is what I recommend to everyone. The support period for the intermediate releases was shortened drastically at the same time as LTS support was extended, so now you barely have the chance to use them before they're EOL and you have to upgrade.

(The LTS releases are also more likely to be supported officially by vendors outside the traditional Linux ecosystem.)

mcc,
@mcc@mastodon.social avatar

@confluency I had a sense I probably should have done this, but 23.04 ran well on my desktop so I figured 23.10 would run well too. But 23.10 has been no end of problems!

I knew I should have done the LTS when I installed this one but I wanted to use the newest version so I could use Wayland. But Wayland doesn't really work.

confluency,
@confluency@hachyderm.io avatar

@mcc Yeah, I keep trying Wayland (usually by accident, because it was turned on by default), finding something that doesn't work, and then going back to X. One day I'm sure it will officially arrive, but I think X will be with us for a lonnnnng time.

mcc,
@mcc@mastodon.social avatar

@confluency The thing that killed it for me is if you have a fractional dpi monitor (like, 1.5x) you can't render X apps normal in Wayland mode. X apps render normal in 1.5x in X, Wayland apps render normal in 1.5X in Wayland, X apps render wrong (blurry) in 1.5X in Wayland. The Qt Wayland server doesn't have this problem because it's more flexible, but Mutter does have this problem. And the X apps in question turn out to be things like "every Electron app".

rotopenguin,
@rotopenguin@mastodon.social avatar

@mcc if you happen to be on btrfs (or zfs, I guess), why choose? You could take a Minotaur snapshot, leap right in to Numbat, and hop back if it's worse.

(Ideally, you would have /home on a subvolume (or, sigh, its own partition, i guess), and have that mounted in no matter which OS is running)

mcc,
@mcc@mastodon.social avatar

@rotopenguin I don't think I'm on that.

On my last linux machine I had /home on its own partition but I didn't do that here because I wasn't sure how much space / would need.

mcc,
@mcc@mastodon.social avatar

My use pattern has been different from normal this week and I'm now up to the ThinkPad failing to wake up after closed-lid sleep 3-4 times a day. I am dying

I have committed no sin here except the hubris of believing I could run Linux on a laptop

ChateauErin,
@ChateauErin@mastodon.social avatar

@mcc St Peter: I think you know how much work the word "except" is doing there

mcc,
@mcc@mastodon.social avatar

@ChateauErin If Apple and Microsoft are going to stop making "computers" then I've got to run something!

ChateauErin,
@ChateauErin@mastodon.social avatar

@mcc if Linus had meant Linux to work on laptops then it wouldn't work on desktops

confluency,
@confluency@hachyderm.io avatar

@mcc Bummer. I hate "modern standby" (it's a terrible idea; IIRC it was introduced because sleep is hard and manufacturers don't want to support it), and was able to restore normal sleep. But I have a much older Thinkpad.

mcc,
@mcc@mastodon.social avatar

@confluency Apparently I should have bought an older laptop, so S3 is available :(

confluency,
@confluency@hachyderm.io avatar

@mcc I'll have to research this the next time I need to pick a new work laptop. It's going on the "hardware enshittification to watch out for" list under "soldered RAM".

I have a bad feeling it's going to be unavoidable. I guess at least an SSD makes it more feasible to power your laptop off whenever you don't want it to run down the battery and set your bag on fire. :blobfoxdisapprove:

mcc,
@mcc@mastodon.social avatar

@confluency apparently intel and amd just stopped making chipsets that support s3. I think someone said there's a Framework blog post where they complain that they want to support s3 but it's not actually possible to make a laptop anymore that does

confluency,
@confluency@hachyderm.io avatar

@mcc It looks like even recent-ish Lenovo laptops still support S3 in the BIOS, but only for Intel chips (not AMD). But if Intel has also dropped support, that can't last forever.

mcc,
@mcc@mastodon.social avatar

@confluency Oh no

b0rk,
@b0rk@jvns.ca avatar

@mcc oh man i used linux on thinkpads for like 15 years but sleep/wake issues on my last thinkpad really broke me and I stopped using Linux

shanecelis,
@shanecelis@mastodon.gamedev.place avatar

@b0rk @mcc Is sleep/wake still bad?

mcc,
@mcc@mastodon.social avatar

@shanecelis @b0rk it is for me and i bought this laptop last year

FeralRobots,
@FeralRobots@mastodon.social avatar

@mcc @shanecelis @b0rk is it still a problem on the Framework laptops?

b0rk,
@b0rk@jvns.ca avatar

@shanecelis I don't know, I feel like it got worse somehow, or you just can't predict what you're going to get

castironflower,
@castironflower@hachyderm.io avatar

@mcc mips cameras

mcc,
@mcc@mastodon.social avatar

@castironflower I don't think I know what those are. Is Linux bad at them?

castironflower,
@castironflower@hachyderm.io avatar

@mcc extremely and its most new laptop cameras

mcc,
@mcc@mastodon.social avatar

@castironflower oh… suck

castironflower,
@castironflower@hachyderm.io avatar
mcc,
@mcc@mastodon.social avatar

@castironflower I am happy to report the camera in my thinkpad works great.

The MICROPHONE, on the other hand. The microphone has given me no end of problems.

debajit,

@mcc I've had a Framework Laptop 12th Gen (Intel) for more than a year now, with Arch Linux and the latest kernel (6.8.7) and the latest Gnome (46) on Wayland. No sleep/wake issues in general. I also set the power button to suspend, and it puts the laptop to sleep consistently as well. I haven't tried hibernate.

In the past I'd seen maybe two instances when closing the lid didn't put the laptop to sleep, but not anytime recently. Maybe the latest kernel and/or drivers have fixed something?

mausmalone,
@mausmalone@mastodon.social avatar

@mcc I don't, but by the same token I don't allow my laptop to suspend on lid closure. I only suspend my laptop explicitly.

I've had issues with suspend on lid closure on every laptop I've ever used so I eventually just defaulted to disabling it preemptively.

prioret,
@prioret@twit.social avatar

@mcc not sure if this is the issue but a bunch of intel chipsets have a bug where if you close the laptop while plugged into power, it wouldn't sleep correctly, and would lock up and kill the battery.

This would happen on piles of intel laptops, even macs.

mcc,
@mcc@mastodon.social avatar

@prioret hmm, it's AMD tho

koen_hufkens,
@koen_hufkens@mastodon.social avatar

@mcc New one or old one? My experience is that you need to wait a year for Linux to catch up. I reluctantly bought first gen "fresh" Lenovo P16 for the lab I worked at. Took 6 months for the standard sleep/wake issues to be resolved. It has been like that forever IMO. Also, it being listed as "supported" doesn't mean much. Unless linux comes pre-installed you can bet it is broken at some level.

fabiosantoscode,
@fabiosantoscode@mastodon.social avatar

@mcc I just accepted that closing the lid doesn't equal locking the computer. If you open my laptop, you see what I was doing it before I closed it and have a few seconds to interact with it. If there's a terminal window, you have time to type "rm -rf /"

jonyua,
@jonyua@mastodon.social avatar

@mcc I've used Fedora since version 18 with ThinkPad 410 and now it's version 40. No issues on my AMD desktop or laptop. Maybe give it a try?

FaizalR,
FaizalR avatar

Should try another distro, the hibernate/ sleep handling is tricky In #Linux. I'm using #Manjaro & #Endeavour and it handles it well.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • Durango
  • cisconetworking
  • Youngstown
  • rosin
  • khanakhh
  • slotface
  • ethstaker
  • mdbf
  • thenastyranch
  • kavyap
  • InstantRegret
  • osvaldo12
  • JUstTest
  • everett
  • normalnudes
  • tacticalgear
  • anitta
  • GTA5RPClips
  • cubers
  • ngwrru68w68
  • modclub
  • Leos
  • provamag3
  • tester
  • megavids
  • lostlight
  • All magazines