marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
babble has joined #asahi
mikelee has joined #asahi
V--I--P has joined #asahi
babble has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
AndrewYu has joined #asahi
mikelee has joined #asahi
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Ping timeout: 480 seconds]
<jtolio> oh interesting!
V--I--P has quit [Remote host closed the connection]
ourdumbfuture has joined #asahi
mikelee has joined #asahi
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
gabuscus has quit []
mikelee has joined #asahi
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nafod has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi
ourdumbfuture has joined #asahi
mikelee has joined #asahi
gabuscus has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
chir4gm82 has joined #asahi
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
chir4gm82 has quit []
chir4gm82 has joined #asahi
mikelee has joined #asahi
dmatora has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
marvin24 has joined #asahi
PyroPeter_ has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
PyroPeter has quit [Ping timeout: 480 seconds]
marvin24_ has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
ten1572377432 has quit [Ping timeout: 480 seconds]
cylm_ has joined #asahi
rootbeerdan has quit [Quit: rootbeerdan]
ten1572377432 has joined #asahi
dmatora has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
babble has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
cylm has joined #asahi
cylm_ has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
mikelee has joined #asahi
Axenntio has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
babble has quit [Quit: Byeeeee...]
Axenntio has quit [Quit: Axenntio]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
Axenntio has joined #asahi
ptudor has quit [Ping timeout: 480 seconds]
ptudor has joined #asahi
Axenntio has quit [Quit: Axenntio]
mikelee has joined #asahi
Axenntio has joined #asahi
<j`ey> jtolio: report it here? https://github.com/AsahiLinux/linux/issues/72
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
<marcan> that sounds like running out of RAM, but I wonder if it shouldn't be
<marcan> jtolio: the renderer pegging a CPU core sounds like it's trying to read out directly from the scanout framebuffer, which would be in writeback mode so stupidly slow to read out from
mikelee has quit [Ping timeout: 480 seconds]
<marcan> we can't make it not writeback because that is actually a correctness requirement for the display controller (it actually raises memory controller errors we don't currently handle but macOS does, I ran into this with m1n1)
<marcan> and this will break completely when we enable compression anyway
<marcan> I guess lina needs to look into whether kwin is doing something dumb specifically or whether there is a logical way out from that problem
leitao has joined #asahi
babble has joined #asahi
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
babble has quit [Quit: Byeeeee...]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
leitao has quit []
jjido has joined #asahi
Axenntio has quit [Quit: Axenntio]
leitao has joined #asahi
Axenntio has joined #asahi
leitao has quit []
mikelee has joined #asahi
leitao has joined #asahi
leitao has quit []
leitao has joined #asahi
leitao has quit []
dmatora has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
leitao has quit []
leitao has joined #asahi
leitao has quit []
mikelee has quit [Remote host closed the connection]
leitao has joined #asahi
mikelee has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
dmatora has joined #asahi
vx^ is now known as vx
nsklaus has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Agua has joined #asahi
mikelee has quit [Remote host closed the connection]
dmatora_ has joined #asahi
dmatora has quit [Read error: Connection reset by peer]
ourdumbfuture has joined #asahi
mikelee has joined #asahi
dmatora has joined #asahi
dmatora_ has quit [Read error: Connection reset by peer]
mikelee_ has joined #asahi
dmatora has quit [Read error: Connection reset by peer]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee_ has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
commandoline_ has quit [Quit: Bye!]
gilvbp has joined #asahi
commandoline has joined #asahi
commandoline has quit []
commandoline has joined #asahi
mikelee has joined #asahi
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi
dmatora has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
mikelee has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest5859
ourdumbfuture has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi
leitao has joined #asahi
leitao has quit []
leitao has joined #asahi
leitao has quit []
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
mikelee has joined #asahi
leitao has joined #asahi
leitao has quit []
dmatora has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
leitao has joined #asahi
<ydalton> hey, what's with not being able to insert out-of-tree compiled modules on linux-asahi-edge? i built and tried to insmod linux-apfs-rw on the edge kernel, but it complained about invalid format. when i booted into linux-asahi and rebuilt and tried to reinsert, it worked without error
mikelee has quit [Ping timeout: 480 seconds]
leitao has quit []
<ydalton> i think it's because the linux-asahi-headers only works for the linux-asahi kernel, but shouldn't there be a corresponding package for asahi-edge?
<j`ey> sounds like the first time it wasn't built correctly?
<j`ey> did you build on another machine the first time?
<ydalton> no, on my macbook
<ydalton> i just ran make -j8
<j`ey> on mac? or linux?
<ydalton> linux
<maz> invalid format smells of another architecture.
leitao has joined #asahi
<j`ey> oh, I see, misunderstood, so you were trying between linux-asahi and linux-asahi-edge
<ydalton> no, i checked linux-asahi to see if the error would happen again, and it didn't
<ChaosPrincess> ydalton: iirc dmesg shows more detailed info on what exactly it disliked about your module
leitao has quit []
<ydalton> ah, it confirms what i thought
<ydalton> [ 1206.842292] apfs: version magic '6.3.0-asahi-10-1-ARCH SMP preempt mod_unload aarch64' should be '6.3.0-asahi-10-1-edge-ARCH SMP preempt mod_unload aarch64'
<ChaosPrincess> well, thats your problem :P
<ydalton> what so, i can't build and insert oot modules in asahi-edge?
leitao has joined #asahi
<ChaosPrincess> you can, just use the edge kernel checkout to build it
leitao has quit []
<ydalton> the only headers package i was able to find was asahi/linux-asahi-headers 6.3.asahi10-1
<ydalton> which should only work on the linux-asahi kernel
<ChaosPrincess> maybe just checkout the kernel from git then and use that?
<ydalton> uh, so the linux kernel on Asahi Linux github?
<ChaosPrincess> yes
mikelee has joined #asahi
maria has quit [Remote host closed the connection]
<j`ey> ydalton: who knows how well that module works btw
maria has joined #asahi
<ydalton> i mounted readonly
<ydalton> interestingly many of the directories were empty, like /Applications, /Users, /private
<ydalton> what's up with that?
<j`ey> maybe theyre encrypted?
<ydalton> i guess so
<ChaosPrincess> so, application does not actually exist
<ydalton> linux mint had the same thing with the home folder
<ChaosPrincess> it is mounted from /System/something/Applications
<ChaosPrincess> macos uses 2 partitions, one for the base os, other for your changes and then overlay mounts them
leitao has joined #asahi
<j`ey> fancy
dmatora has joined #asahi
<ChaosPrincess> right, so /Applications is overlay mount of /System/Volumes/Data/Applications (rw) and /System/Applications (ro)
<ChaosPrincess> /Users also lives in /System/Volumes/Data/Users
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ydalton> ThinkDifferent™
<ChaosPrincess> well, it makes sense, nix does something similar iirc
<ydalton> it feels similar to what immutable distros do
mikelee has quit [Ping timeout: 480 seconds]
<ChaosPrincess> macos is an immutable distro that pretends to be mutable for backwards compat
<ChaosPrincess> the updates are using snapshots, the base system uses the equivalent of fs-verity and all that
jjido has joined #asahi
ourdumbfuture has joined #asahi
nela has joined #asahi
<bdju> hey all, hoping someone can jog my memory. what are the things holding back M2 Max support? I vaguely recall something different from the earlier models
<j`ey> wifi had some issues
<ChaosPrincess> wifi, and on mini/studio dcp initialization changed
<j`ey> and DCP too I think
<ydalton> well i mean, this macbook's wifi card is just about the worst one i've ever used
<ydalton> both on linux and macOS
<bdju> DCP is probably what I was thinking of
mikelee has joined #asahi
<chadmed> some of apple's filesystem decisions are explained here
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
<ydalton> chadmed: thanks
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
<ydalton> ah, just realized if you want to build oot modules, you can just run make modules_prepare on the kernel tree...
dmatora has quit [Ping timeout: 480 seconds]
dimilar has joined #asahi
ydalton has quit [Remote host closed the connection]
Guest5859 has quit []
vx has joined #asahi
vx is now known as Guest5869
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
dmatora has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
jjido has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nehsou^ has quit [Remote host closed the connection]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
leitao has joined #asahi
leitao has quit []
leitao has joined #asahi
bisko has joined #asahi
pjakobsson_ has joined #asahi
pjakobsson has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
dmatora has quit [Ping timeout: 480 seconds]
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stipa has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
gilvbp has quit [Quit: Connection closed for inactivity]
overholts has joined #asahi
martinr has quit [Quit: ZNC 1.8.2 - https://znc.in]
martinr has joined #asahi
i509vcb has quit [Quit: Connection closed for inactivity]
mikelee has joined #asahi
babble has joined #asahi
mlq_ has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
dmatora has quit [Remote host closed the connection]
dmatora has joined #asahi
dimilar has quit [Remote host closed the connection]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
dmatora has quit [Ping timeout: 480 seconds]
nela has quit [Read error: Connection reset by peer]
nela has joined #asahi
dmatora has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
nela6 has joined #asahi
nela has quit [Read error: Connection reset by peer]
nela6 is now known as nela
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
dmatora has quit []
mikelee has joined #asahi
Guest5869 has quit []
vx has joined #asahi
vx is now known as Guest5881
Guest5881 is now known as vx
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
leitao has joined #asahi
frederik has joined #asahi
Leo3418 has quit [Quit: Applying updates]
Leo3418 has joined #asahi
Leo3418 has quit []
mikelee has joined #asahi
Leo3418 has joined #asahi
<frederik> Hello, I hope that I'm right here, I was told to mention my issue that I have with my Asahi Linux on a Macbook Air 2020 M1 and misbehaving (not loading/crashing) apps after some kind of problems with PGPME and the PGP keys and now with several errors also concerning the GPU.
<frederik> Here are some examples:
<frederik> It crashes right away at startup, fades to grey and the error messages state:
<frederik> Thunderbird
<frederik> "DRM device has no render node " and "No GPUs detected via PCI"
<frederik> thunderbird
<frederik> (thunderbird:3564): Gtk-WARNING **: 22:04:23.019: Locale not supported by C library.
<frederik> Using the fallback 'C' locale.
<frederik> [ImapModuleLoader] Using nsImapService.cpp
<frederik> [NntpModuleLoader] Using NntpService.jsm
<frederik> [Pop3ModuleLoader] Using Pop3Service.jsm
<frederik> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM device has no render node (t=0.282469) [GFX1-]: glxtest: DRM device has no render node
<frederik> Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM device has no render node (t=0.282469) |[1][GFX1-]: No GPUs detected via PCI (t=0.282494) [GFX1-]: No GPUs detected via PCI
<frederik> [calBackendLoader] Using Thunderbird's ical.js backend
<frederik> (/usr/lib/thunderbird/thunderbird:3640): Gtk-WARNING **: 22:04:23.886: Locale not supported by C library.
<frederik> Using the fallback 'C' locale.
<frederik> console.debug: "Found 0 public keys and 0 secret keys (0 protected, 0 unprotected)"
<frederik> console.warn: services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource.
<frederik> (/usr/lib/thunderbird/thunderbird:3712): Gtk-WARNING **: 22:04:24.724: Locale not supported by C library.
<frederik> Using the fallback 'C' locale.
<frederik> RStudio
<frederik> It loads but appears to be blurry.
<frederik> rstudio
<frederik> [5407:0712/222327.603731:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=desktop-gl,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
<frederik> [5407:0712/222327.604698:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
<frederik> [5450:0712/222327.759292:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=desktop-gl,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
<frederik> [5450:0712/222327.763655:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
<frederik> [5465:0712/222327.811941:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812079:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812114:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812144:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812170:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812220:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812252:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812297:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812628:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812650:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812723:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
<frederik> [5465:0712/222327.812749:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
frederik was kicked from #asahi by j`ey [frederik]
<ChaosPrincess> lol
<ar> mmm, paste
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has quit [Ping timeout: 480 seconds]
babble has quit [Remote host closed the connection]
babble has joined #asahi
leitao has joined #asahi
<dottedmag> "DRM device has no render mode" sounds like a bug in Thunderbird.
<dottedmag> I would guess it would fail in the same manner on RPi or any other device with separate display controller and GPU.
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
Guest5585 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
<jannau> that's not fatal though, I see the "glxtest: DRM device has no render node" error here as well but thunderbird starts
Jamie has joined #asahi
rhysmdnz has joined #asahi
Jamie is now known as Guest5884
mlq_ has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
WindowPa- has joined #asahi
mikelee has joined #asahi
WindowPain has quit [Ping timeout: 480 seconds]
Axenntio has quit [Quit: Axenntio]
nela has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
darkapex has quit [Remote host closed the connection]
babble has quit [Quit: Byeeeee...]
gladiac has joined #asahi
mikelee has joined #asahi
gladiac has quit [Quit: k thx bye]
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
yuka has quit [Remote host closed the connection]
yuka has joined #asahi
vLily has joined #asahi
Moprius has quit [Quit: bye]
mikelee has joined #asahi
vx has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest5894
mikelee has quit [Ping timeout: 480 seconds]
Demostrike has quit [Quit: The Lounge - https://thelounge.chat]
mikelee has joined #asahi
frederik has joined #asahi
Brainium has joined #asahi
babble has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
frederik has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
kujeger has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
Brainium has quit [Ping timeout: 480 seconds]
rootbeerdan has joined #asahi
mikelee has joined #asahi
roxfan has joined #asahi
MichaelLong has quit [Ping timeout: 480 seconds]
MichaelLong has joined #asahi
ciara has quit [Quit: Leaving]
ciara has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
mikelee has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
mikelee has quit [Ping timeout: 480 seconds]
MichaelLong has quit [Ping timeout: 480 seconds]
kristibek has joined #asahi
<kristibek> Hello
kristibek has left #asahi [#asahi]
frederik has joined #asahi
<frederik> hello, I have some issues with my Asahi Linux which I am not able to solve by myself.
<frederik> I was told to join this channel to ask for assistance.
<opticron> please explain the problem
mikelee has joined #asahi
frederik has quit [Ping timeout: 480 seconds]
mikelee has quit [Ping timeout: 480 seconds]
jjanzic has quit [Ping timeout: 480 seconds]
jjanzic has joined #asahi
darkapex has joined #asahi
jjido has joined #asahi
mikelee has joined #asahi
roxfan has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
mikelee has joined #asahi
Agua has quit [Remote host closed the connection]
mikelee has quit [Ping timeout: 480 seconds]
TheDcoder has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
<TheDcoder> Hi, I tried the halt command in grub and it just froze... is that supposed to happen?
<dottedmag> yes, that what it does
<TheDcoder> what would be the command for shutting down?
nsklaus has quit [Ping timeout: 480 seconds]
<TheDcoder> I think poweroff didn't work
<dottedmag> Fortunately there is no HCF in grub: https://en.wikipedia.org/wiki/Halt_and_Catch_Fire_(computing)
<ChaosPrincess> in grub? just hold the power button until it shuts down
<dottedmag> poweroff might not be implemented for M1 in grub. don't quote me on this though.
mikelee has joined #asahi
<j`ey> boot linux and then shutdown :p
<TheDcoder> ChaosPrincess: That's what I did, but that's forced power off
<TheDcoder> j`ey: No :P
<ChaosPrincess> its grub, so who cares
<TheDcoder> doesn't it perform I/O?
babble has quit [Ping timeout: 480 seconds]
<TheDcoder> don't want to force it at the wrong time
<ChaosPrincess> it shouldnt write to the disk
<TheDcoder> I see
<dottedmag> Yeah, it reads, it does not write
<j`ey> hm, I would think that grub would do shutdown via efi.. but I guess that's not implemented in u-boot
<TheDcoder> well home come Linux can shutdown then
<dottedmag> Actually at $dailyjob I implemented the following trick: to know that Linux has booted I watch KVM's I/O stats for any writes. Bootloaders and kernel don't write anything to disk.
<dottedmag> Works pretty well. grub does not write anything.
<dottedmag> s/KVM/QEMU/
<ChaosPrincess> TheDcoder: linux has a power management driver, u-boot doesnt
<ChaosPrincess> dottedmag: that may change if you are using systemd-boot, since it can write to disk for the purpose of counting boot failures
<TheDcoder> ChaosPrincess: I see... so it does not "end" like returning from `main`?
<dottedmag> ChaosPrincess: thanks, I'll keep my eye on it.
<ChaosPrincess> no, you need to do special register writes to turn the system off
<ChaosPrincess> like, its a bootloader, there is no main to return from
<cy8aer> There again: MagicSysKey: What is the combination on the Mac (C-A-Prnt and S(top) U(mount) B(oot)? https://en.wikipedia.org/wiki/Magic_SysRq_key
<ChaosPrincess> and even in case of c, main is a lie, and _start usually has a call to _exit()
<cy8aer> (when in linux)
<ChaosPrincess> cy8aer: you cant do that on internal, use a usb kb for that
<cy8aer> Because of the missing Prnt?
<ChaosPrincess> yes
<TheDcoder> ChaosPrincess: that's just implementation detail :P
<cy8aer> I hoped that there would be some substitute
erso has joined #asahi
<cy8aer> ok
<ChaosPrincess> you are now working at the level where there is no such thing as an implementation detail :P
<cy8aer> 😛
<cy8aer> I see
mikelee has quit [Ping timeout: 480 seconds]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
jjido has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
mikelee has joined #asahi
mikelee has quit [Ping timeout: 480 seconds]
Guest5894 has quit []
vx has joined #asahi
vx is now known as Guest5909
mikelee has joined #asahi
Guest5909 has quit []
vx has joined #asahi
vx is now known as Guest5912