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
Brainium has joined #asahi
Raito_Bezarius has quit [Ping timeout: 480 seconds]
Luj has quit [Ping timeout: 480 seconds]
Luj has joined #asahi
Raito_Bezarius has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
gabuscus has quit []
And1 has quit [Remote host closed the connection]
And1 has joined #asahi
i509vcb has quit [Quit: Connection closed for inactivity]
i509vcb has joined #asahi
crabbedhaloablut has joined #asahi
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
bluetail has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
gabuscus has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
tbodt has quit []
tbodt has joined #asahi
tbodt has quit []
tbodt has joined #asahi
hspak101539703712 has joined #asahi
tbodt has quit []
tbodt has joined #asahi
holiday has joined #asahi
holiday has quit [Ping timeout: 480 seconds]
i509vcb has quit [Quit: Connection closed for inactivity]
mkurz has quit [Ping timeout: 480 seconds]
c10l1 has joined #asahi
c10l has quit [Read error: Connection reset by peer]
c10l1 is now known as c10l
jb1277976 has joined #asahi
kdb424 has quit [Quit: Ping timeout (120 seconds)]
Whistler_ has quit [Read error: Network is unreachable]
Whistler_ has joined #asahi
tertu has quit [Quit: so long...]
skoobasteeve has quit [Remote host closed the connection]
kdb424 has joined #asahi
skoobasteeve has joined #asahi
tertu has joined #asahi
unixpoet has quit [Remote host closed the connection]
kdb424 has quit []
kdb424 has joined #asahi
unixpoet has joined #asahi
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi
rootbeerdan has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
slp has joined #asahi
capta1nt0ad has joined #asahi
bisko has joined #asahi
leitao has joined #asahi
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
ave36309 has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
ave36309 has joined #asahi
holiday has joined #asahi
holiday has left #asahi [WeeChat 4.1.0]
rvalue has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroc1990 has quit [Quit: Ping timeout (120 seconds)]
eroc1990 has joined #asahi
rvalue has joined #asahi
frekko has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
<ydalton> since fedora 39 is literally right around the corner, will can we fedora asahi users upgrade now? how would we do that?
<ydalton> thanks! i saw that post but i misread it being only for normal fedora users. it's that simple huh...
ydalton has left #asahi [#asahi]
mkurz has joined #asahi
frekko has quit [Quit: Leaving]
Moprius has joined #asahi
Moprius has quit []
capta1nt0ad has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
mkurz has quit [Quit: Konversation terminated!]
AnuthaDev has joined #asahi
ydalton has joined #asahi
<ydalton> my upgrade was (mostly) successful! no major breakages, except now i can't run my virtual machine with virt-manager. it throws and error saying "/usr/bin/qemu-system-aarch64 does not support virt type kvm"
ydalton has quit [Remote host closed the connection]
<tobhe_> i think dracut was added for fedora
tobhe_ is now known as tobhe
ydalton has joined #asahi
<ydalton> help, i kind of need this VM for a school project so i need to get this fixed asap
zerdox has joined #asahi
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
the_sea_peoples is now known as Guest4461
the_sea_peoples has joined #asahi
Guest4461 has quit [Ping timeout: 480 seconds]
AnuthaDev has quit []
AnuthaDev has joined #asahi
<j`ey> tobhe: ah yes, my bad
<j`ey> ydalton: would be good to get the full qemu command and version
<maz> j`ey: I vaguely remember someone mentioning that libvirt was acting up on their system, but lost track of it (it was a few months back).
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<j`ey> that's why the full qemu command will come in handy, so we can blame libvirt again :D
<j`ey> 08:38 <maz> yeah, that's a potential issue. burn libvirt.
<maz> ah! :D
ydalton has joined #asahi
<maz> ah, the "-machine none" syndrome.
<ydalton> dnf overwrote my custom version of emacs and now i have to recompile it again :(((
<ydalton> maz: why would it have changed through an upgrade? it worked fine in fedora 38
<maz> ydalton: I don't know. I don't use either fedora nor libvirt. I'm just pointing to a previous issue of libvirt being unreasonable.
<j`ey> ydalton: https://oftc.irclog.whitequark.org/asahi/2023-10-01#32530509; the issue last time was needing -cpu host
<j`ey> (but same as maz, I don't use libvirt)
<ydalton> j`ey: i remember that, but that was a different issue
<j`ey> ydalton: get the full qemu command and then we can try figure out the issue
<tobhe> ydalton: you could try running the vm manually with qemu and see if that works
<ydalton> i'll see what i can do, although i don't know how to extract the qemu command line from libvirt
<ydalton> i have never been successful in running qemu-system-aarch64 directly: i always get stuck with the qemu monitor
<tobhe> virsh domxml-to-native qemu-argv --domain $DOMAIN
<tobhe> i think
<tobhe> where $DOMAIN is your vm name
<ydalton> the fuck? it doesn't even want to do that? i get the same error
<ydalton> i'm doing `sudo virsh domxml-to-native qemu-argv --domain debian12`
<tobhe> weird, it should just print the command
<ydalton> what other domain types are there? the ones i know are qemu and kvm
<ydalton> i'm trying to set it to something else so that libvirt doesn't complain
<j`ey> you can run it with strace I guess
<j`ey> to try extract it
AnuthaDev has quit []
<ydalton> what am i supposed to look for? i straced and grepped for qemu but found nothing interesting
<j`ey> it should be executing qemu
<ydalton> nope, no execve or anything like that
<ydalton> actually i'll do it again
<j`ey> find where it prints the error and see if you can figure out where it comes from
Bogdan51 has quit [Read error: Connection reset by peer]
Bogdan51 has joined #asahi
<ydalton> there's literally nothing... just that write syscall and that's it
<ydalton> i'm supposed to be looking for an execvp or execve
<ydalton> right?
Bogdan51 has quit [Read error: Connection reset by peer]
Bogdan51 has joined #asahi
Bogdan51 has quit [Read error: Connection reset by peer]
<j`ey> ydalton: I would expect that yeah. but maybe libvirt uses a daemon which is actrually running the commands so that's why it doesnt show up
<ydalton> i guess i can strace attach to libvirtd
<ydalton> that didn't help, when i launch the virsh command it closes libvirtd immediately and i see a clone3 syscall which i think actually launches the qemu command
<ydalton> i give up, i remember i have systemd-nspawn available
john-cabaj has joined #asahi
<leio> and that qemu command fails immediately, so you don't have a moment to catch it from ps axf or simiar?
<j`ey> ydalton: strace -f should follow forks, that might help debugging further if you want to
<ydalton> i will do that
<ydalton> i might have an idea, i can force libvirt to pass -M virt
<ydalton> or i can't ...
<ydalton> fuck it, systemd-nspawn is a lot easier to deal with
<ydalton> j`ey: i tried that but it doesn't seem to show anything relevant
<j`ey> I've been playing with systemd-nspawn a bit too, but haven't got it working exactly how I want yet
<ydalton> how so? at least for my purposes it works fine: i can have bind mounts and such
<j`ey> I wanted to try have an overlayfs over my entire root, so I could have a container that looked the same as my actual machine but with an overlay over the whole thing
<ydalton> oh, so something like an immutable distro?
bisko has joined #asahi
<j`ey> yeah something like that
<ydalton> hm, i only know of using systemd-nspawn as a lightweight alternative to vms
maximbaz has joined #asahi
AnuthaDev has joined #asahi
jamtapot has joined #asahi
jamtapot has quit []
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi
<ydalton> fuck, docker doesn't work in systemd-nspawn
<j`ey> I haven't read that, but I was trying some commands from an earlier article https://0pointer.net/blog/running-an-container-off-the-host-usr.html (but there was a systemd bug that got fixed, so I may have to try compile systemd-nspawn)
<ydalton> but i'm kinda tired of this, i'm gonna get a real vm on my desktop
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi
ydalton has left #asahi [ERC 5.4 (IRC client for GNU Emacs 28.3)]
<eldondev> Whoops, ydalton left!
<j`ey> they will rejoin and read the scrollback
<eldondev> j`ey: I didn't know you could do that with IRC!
<eldondev> I know they have been adding that kind of stuff in ircv3,
<eldondev> Maybe they'll read the channel logs?
<j`ey> eldondev: presumably they read via the logs that are linked in the topic
<eldondev> Is there a bot in here that can do notifications on rejoin?
<eldondev> I was just going to suggest ydalton disable hardware virtualization on the vm,
<j`ey> that's not a good solution!
<eldondev> then start it with softemu
<eldondev> to get the qemu command line.
<eldondev> j`ey: not as a solution, as a debugging step.
<j`ey> hm, maybe
<eldondev> My solution would be just use qemu directly.
AnuthaDev has left #asahi [#asahi]
<eldondev> Probably just worth installing, maybe I will do that this afternoon.
<eldondev> Does asahi have any sort of CI in place right now? What would that look like?
<nicolas17> eldondev: work in progress
<nicolas17> mar​can has a bunch of Macs that will run tests by having another machine boot a kernel on them over USB
<j`ey> I think those will mostly be for mesa? or at least from what I understood
nicolas17 has quit [Quit: Konversation terminated!]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rvalue has joined #asahi
JayBeeFOSS has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
ydalton has joined #asahi
<ydalton> eldondev: yes, i do read chatlogs
<ydalton> and i basically gave up and removed the vm, but now i'm even in more problems...
<ydalton> it seems like the docker mysql images act differently depending on the architecture
<ydalton> but that's offtopic
slp has quit [Ping timeout: 480 seconds]
<ydalton> i finally fixed it now
<ydalton> not the kvm stuff
<maz> bah, nobody needs KVM... ;-)
<ydalton> kvm on this mac put kvm on my desktop to shame
JayBeeFOSS has joined #asahi
rootbeerdan has joined #asahi
<novafacing9926> Can s3idle be enabled on macbooks? /sys/power/mem_sleep says no (s2idle only) but I'm getting pretty lousy battery drain while the lid is closed (90% in one day)
JayBeeFOSS has quit [Ping timeout: 480 seconds]
ten15723774324 has quit [Remote host closed the connection]
ten15723774324 has joined #asahi
JayBeeFOSS has joined #asahi
ydalton has quit [Ping timeout: 480 seconds]
<novafacing9926> Darn `Oct 24 10:16:30 chaos systemd-sleep[6272]: Failed to set EFI variable HibernateLocation: Read-only file system`
<novafacing9926> Looks like hibernation just not going to work then?
<novafacing9926> Ah just found the thread on fedora forums, s2 only...
ten15723774324 has quit [Remote host closed the connection]
ten15723774324 has joined #asahi
merry_ is now known as merry
<opticron> novafacing9926, s3idle isn't a thing? it's s2idle, s2ram, s2disk, iirc
<opticron> s3idle is a mixing of different nomenclatures
<opticron> s2idle is the machine is still on for all intents and purposes, the vast majority of things have just suspended execution
<opticron> s2ram is traditional fast-on suspend and s2disk is hibernation so the machine goes fully off and has to boot before it restores previous execution state
<opticron> s2ram is equivalent to ACPI S3 state and is not yet supported. ACPI S1 is somewhere between s2idle and s2ram and is also not supported afaik
<j`ey> I think markan has said that we could do better with s2idle (but obviously it will take time to get there..)
<opticron> I'd expect that CPU clusers could be powered down during s2idle pushing things closer to an ACPI S1 state equivalent, but that's a naive assumption on my part
<j`ey> we can't power them down fully currently, just the lowest power state
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
jacksonchen666 has joined #asahi
<opticron> I should probably read up more about s2idle/s2ram and cpu hotplug stuff
ChaiTRex has quit [Remote host closed the connection]
Moprius has joined #asahi
ChaiTRex has joined #asahi
Chai-T-Rex has joined #asahi
ChaiTRex has quit [Remote host closed the connection]
zerdox has quit [Remote host closed the connection]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi
tube6 has joined #asahi
<tube6> hey! do you plan to release fedora before the m3 release on monday? :) if you release after, i guess everybody will expect m3 support :D
<j`ey> pretty sure people won't expect m3 support before theyve shipped
<j`ey> and it can come later anyway
<j`ey> it's going to be released after f39 is
delsol has joined #asahi
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ten15723774324 has quit [Remote host closed the connection]
ten15723774324 has joined #asahi
JayBeeFOSS has quit [Ping timeout: 480 seconds]
i509vcb has joined #asahi
Retr0id has quit [Read error: Connection reset by peer]
Retr0id has joined #asahi
JayBeeFOSS has joined #asahi
davemackintosh has joined #asahi
davemackintosh has quit [Remote host closed the connection]
Chai-T-Rex has quit [Quit: Chai-T-Rex]
ChaiTRex has joined #asahi
joshheyse has joined #asahi
SalimTer- has joined #asahi
SalimTerryLi has quit [Ping timeout: 480 seconds]
tube6 has quit [Quit: Page closed]
<Tramtrist> halloween it is !
delsol has quit [Remote host closed the connection]
jb1277976 has quit [Read error: Connection reset by peer]
nst has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
joshheyse has quit [Quit: WeeChat 4.0.5]
ten15723774324 has quit [Remote host closed the connection]
ten15723774324 has joined #asahi
mniak has joined #asahi
pq_ has joined #asahi
skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
timefractal has quit [Read error: Connection reset by peer]
john-cabaj1 has joined #asahi
skoobasteeve has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
john-cabaj1 is now known as john-cabaj
crabbedhaloablut has quit []
skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
skoobasteeve has joined #asahi
ten15723774324 has quit [Remote host closed the connection]
ten15723774324 has joined #asahi
JayBeeFOSS has quit [Ping timeout: 480 seconds]