Live data from Hacker News

OpenGL 3.1 on Asahi Linux

asahilinux.org

161–170 of 377 posts

Re: OpenGL 3.1 on Asahi Linux

#161
post #13

Related: does anyone do development on a Mac in a Linux VM? If my dockers are already running in a VM, why not go to the next logical step?

My work issued laptop is a Macbook Pro M1.

I typically work on my work issued linux workstation (pretty old now and less powerful than my Macbook Pro), but often need to do development from my laptop too. I run a Fedora arm VM in UTM full screen. It generally works well, although I'd much prefer to have native linux on my laptop. It would be nice of mac os didn't interrupt full screen mode randomly and allowed UTM to capture all keys and touchpad gestures.

I personally am incredibly unproductive on a mac, and have no idea how anyone does anything with how terrible the window management and virtual desktops are. Plus, I find all my linux based tools that I am accustomed to just work so much better under linux. So for me, even a VM is still a huge leap in productivity.

Re: OpenGL 3.1 on Asahi Linux

#162
post #90
post #70

Earlier quoted context omitted.

> This is interesting, am I correct in thinking this a feature implemented by Apple Yes, battery charge control is a hardware(/firmware) feature supported on other modern laptops as well, such as the Lenovo ThinkPads, but it's not a standard so it requires explicit driver and OS support. OpenBSD recently added support for this as well for both of these implementations (Apple silicon and ThinkPads). https://marc.info/…

I am on macos 13.3.1 and have noticed this feature for at least a couple of months, maybe longer. It says Charging On Hold (Rarely Used On Battery)

I can never get that to activate, even though I use my MBP 14" 100% at home...

Re: OpenGL 3.1 on Asahi Linux

#163
post #57

Earlier quoted context omitted.

> Hardware being hard to repair, access, upgrade, etc. I think at one point they were making it virtually impossible to replace components because they were serial locked You can only have so many flexibility in design with modern hardware — they are not fitting things into 5 cm “thin” chassics anymore. How exactly are such a thin device be repairable? Similarly to how old car motors could be tweaked with, you need s…

"But even this way, apple devices have by far the longest lifetimes, macs, iphones will have 2-3 owners easily - so is it really fair to call them out, or is it just baseless emotional reaction?" Why reply that criticism of Apple must be purely an emotional one? Kind of diminishes your argument here. Immediate search result for repairable phones: https://www.androidcentral.com/best-sustainable-repairable-p... https:/…

Going with the first link. The "best" phone is not globally available. The second "best" comes with three years of OS updates. I stopped reading there; three years is a much, much shorter lifespan than you get with iOS or MacOS.

Also, say you have one of these phones, and are in a major city, then break it. How will you get the parts you need to repair it? How many hours will you be without a phone?

With Apple phones, it's typically same day service to get it repaired. Worst case, you can get a new phone with your data mostly transferred, again, same day.

The Ars article you link is pointing out that Apple is dropping software support for laptops that are 6 years old. That's better than pretty much any other vendor.

As far as laptop repairs go, frame.work is probably the best non-apple option, but they don't have a fixed policy for how long replacement parts will be available. The story is similar for Apple:

https://support.apple.com/en-us/HT201624

says they provide parts for up to 7 years, and battery swaps for up to 10 (subject to part availability). I hope frame.work will be able to do better, but I challenge you to find any laptop company significantly better than this.

(Other than soldered ram and disk, I honestly don't care about third party parts. It's not like Apple replacement part markups are insane or there are significantly better parts available. I've definitely never used third party parts for other brands of laptops, even when they were available. However, I've been repeatedly screwed over getting other brands of laptops repaired, especially under warranty.)

Anyway, I get why Apple has a bad reputation for support and repairability. There objectively bad. However, that doesn't mean they're not simultaneously also the best option (or close to being the best).

Re: OpenGL 3.1 on Asahi Linux

#164

From a follow up post on Mastadon https://social.treehouse.systems/@AsahiLinux/110497512340479... : "Also in this update: We now have a cpuidle driver, which significantly lowers idle power consumption by enabling deep CPU sleep. You should also get better battery runtime both idle and during sleep, especially on M1 Pro/Max machines. Thanks to the cpuidle driver, s2idle now works properly, which should fix timekeepin…

I also appreciate the detail in which the Asahi team presents the progress they have made.

I do not follow Apple's release notes so I cannot compare.

Re: OpenGL 3.1 on Asahi Linux

#165
post #107

Earlier quoted context omitted.

"But even this way, apple devices have by far the longest lifetimes, macs, iphones will have 2-3 owners easily - so is it really fair to call them out, or is it just baseless emotional reaction?" Why reply that criticism of Apple must be purely an emotional one? Kind of diminishes your argument here. Immediate search result for repairable phones: https://www.androidcentral.com/best-sustainable-repairable-p... https:/…

So the only option has 1/10th the hardware of an older iphone with shittier camera than that.. for me that’s not a good deal. Framework laptops are insanely expensive for again, worse hardware. Isn’t the point of linux to run on anything? Also, every device needs battery replacements, like this is just the physics/chemistry of batteries and it has an absolutely doable price for any apple device. What breaks easily on…

If you like the hardware or software that you use then I am happy for you.

"This is not a rasppi, different design goals/constraints."

That we can agree on.

Apple is a business with specific goals and so far as a business in terms of profits they have been successful.

All I wanted to point out was that Apple is not hacker friendly in my opinion, and I have listed good reasons that you don't want to accept. There's no amount of going in circles here that will change either point of view I fear.

Have a blessed day!

Re: OpenGL 3.1 on Asahi Linux

#166

Earlier quoted context omitted.

First, personally I don't care what hardware or software people use, if they are happy with the tools that they using then that's good. That said, Apple has been very hostile to hackers over the years imo. Hardware being hard to repair, access, upgrade, etc. I think at one point they were making it virtually impossible to replace components because they were serial locked. As far as I am aware, progress Apple as made…

“I think at one point they were making it virtually impossible to replace components because they were serial locked.” They are very much still doing that

In fairness, most instances of them doing that actually significantly increase the cost of evil maid hardware tampering attacks.

If I could, I'd configure grub or whatever to serial-lock my Linux install to my desktop hardware (and keep a recovery key that would unlock it at another location).

Re: OpenGL 3.1 on Asahi Linux

#167
post #163

Earlier quoted context omitted.

"But even this way, apple devices have by far the longest lifetimes, macs, iphones will have 2-3 owners easily - so is it really fair to call them out, or is it just baseless emotional reaction?" Why reply that criticism of Apple must be purely an emotional one? Kind of diminishes your argument here. Immediate search result for repairable phones: https://www.androidcentral.com/best-sustainable-repairable-p... https:/…

Going with the first link. The "best" phone is not globally available. The second "best" comes with three years of OS updates. I stopped reading there; three years is a much, much shorter lifespan than you get with iOS or MacOS. Also, say you have one of these phones, and are in a major city, then break it. How will you get the parts you need to repair it? How many hours will you be without a phone? With Apple phones…

I am sorry but you're missing the point here.

I'm not arguing over better hardware (performance) or price. I am arguing over hack-ability; that's it. I hope you can understand that.

Re: OpenGL 3.1 on Asahi Linux

#169

Earlier quoted context omitted.

You don't create a new bootloader that allows users the freedom to run an unsigned third party OS without having it degrade the system's security if and when they boot the native OS because you are "hostile to developers and hackers".

My laptop can use TPM and a hardware key with my keys and free software. Where is the degraded security?

I could trick you into adding a hardware key, then install a tampered version of Windows with it.

(Also, the last time I looked, TPM keys could be grabbed with ~ $100 of hardware, but I think that's fixed by some newer standard.)

But, yeah, it's not a big tradeoff in practice. I think their point was that Apple had to expend effort to enable the use case, which isn't "hostile" toward the use case.

Re: OpenGL 3.1 on Asahi Linux

#170
post #70

Earlier quoted context omitted.

> This is interesting, am I correct in thinking this a feature implemented by Apple Yes, battery charge control is a hardware(/firmware) feature supported on other modern laptops as well, such as the Lenovo ThinkPads, but it's not a standard so it requires explicit driver and OS support. OpenBSD recently added support for this as well for both of these implementations (Apple silicon and ThinkPads). https://marc.info/…

If your laptop firmware doesn't support it, here is one trick if you have a removable battery: Put a piece of paper over one of the batteries middle contacts. That will make the firmware think the battery is overheating. It will then refuse to charge, but will still happily discharge. You can do that to keep your battery at 80% while still on AC power. Handy if you operate from AC power 99% of the time, yet don't wan…

> Put a piece of paper over one of the batteries middle contacts.

Bad, very bad idea if you don't know what you are doing - depending on where the "smarts" in the BMS are, you may damage your battery or make your BMS think the pack is broken or prevent your BMS from recognizing a charge state mismatch (and in the worst case, a cell going undervoltage or reverse polarity) as you have a good chance that you cut off one of the cell balancer contacts. This trick only works with removable phone batteries.

Post reply on HN