ChanServ 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
jacobm[mds] has joined #asahi
jacobm[mds] has left #asahi [#asahi]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
Brainium has quit []
Brainium has joined #asahi
opoku has quit [Remote host closed the connection]
opoku has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
opoku has quit [Remote host closed the connection]
<JamesB192> "muvm -- FEXLoader -- application arg1 arg2" j/k
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
cylm has quit [Quit: WeeChat 4.6.3]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
Brainium has quit []
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
dualecton has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
nightstrike has quit [Quit: Connection closed for inactivity]
gabuscus has quit []
chrisl has joined #asahi
tobhe has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
tobhe_ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
opoku has joined #asahi
opoku has quit [Remote host closed the connection]
gabuscus has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
cyb0rg745635992070169688181863 has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
refi64 has quit [Quit: The Lounge - https://thelounge.chat]
refi64 has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
dza has quit [Quit: Ping timeout (120 seconds)]
dza has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
ctdsl^ has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
alarumbe has quit []
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
bjoto` has joined #asahi
bjoto has quit [Ping timeout: 480 seconds]
hdbngr_ has joined #asahi
chrisl has joined #asahi
Szadek094409193384066796850 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
Szadek09440919338406679685 has quit [Ping timeout: 480 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
chrisl has joined #asahi
hdbngr_ has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
ravikant_ has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
cylm has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
ghost64 has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
ghost64 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
opoku has joined #asahi
opoku has quit [Remote host closed the connection]
hdbngr has joined #asahi
chrisl has joined #asahi
opoku has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
Moprius has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
hdbngr has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chadmed has quit []
chadmed has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
JamesB192 has left #asahi [https://quassel-irc.org - Chat comfortably. Anywhere.]
hdbngr has quit [Ping timeout: 480 seconds]
alarumbe has joined #asahi
jkangas2 has quit [Quit: WeeChat 4.6.3]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
Szadek0944091933840667968502 has joined #asahi
aruiz has joined #asahi
<aruiz> how can I edit the cmdline? I want to boot striaght to root console as I changed my users' password and want to edit it
<aruiz> so want to change the init argument
<aruiz> I am on the uboot prompt
hdbngr has joined #asahi
<chaos_princess> you need the grub prompt, spam esc after uboot starts booting the next stage
Szadek094409193384066796850 has quit [Ping timeout: 480 seconds]
<aruiz> we have way too many bootloaders :D
<chaos_princess> eh, not _that_ many for a non-x86 system
<chadmed> i mean even then x86 these days is real mode bootstrap -> AGESA/whatever intel's version is -> UEFI PI -> UEFI bootloader -> kernel
Szadek0944091933840667968502 has quit [Ping timeout: 480 seconds]
<chadmed> we are bootstrap -> iBoot 1 -> iBoot 2 -> m1n1 -> U-Boot -> UEFI bootloader -> kernel its not that different
<chaos_princess> (the "real mode bootstrap" is also hiding several stages, and probably an arm or other embedded core that is needed to bring at least one big core into "can run code from cache" state)
<aruiz> yeah, my point being that uboot has a lot of overlap with grub in functionality
<chadmed> they think they can fix this with x86-s lmfao
<aruiz> in practice we don't really need grub in asahi, systemd-boot would suffice
<chaos_princess> not quite? u-boot is our equivalent of efi firmware
<aruiz> and grub is equivalent of an actual useful firmware for legacy boot systems
<chaos_princess> sure, but that is how fedora works (sd-boot here, but i am not on fedora)
<aruiz> it's not a mere UEFI boot manager, it's an entire OS
<j`ey> there was some rfc type thing for having systemd-boot in fedore
<chadmed> then again x86 is like the counter-strike of ISAs. every so often a challenger comes along and claims to be the giant killer (itanium, valorant) and then they end up eating shit and barely making a dent
<aruiz> I have been advocating for a switch to systemd-boot in Fedora Workstation within the Fedora community
<aruiz> grub is useful for legacy boot and POWERVM and network boot but a regular workstation boot should not depend on grub
<chadmed> i used sd-boot for a while. works fine. just replace \EFI\BOOT\BOOTAA64.EFI if you want
<chaos_princess> isn't powervm petitboot now? which is even more of an os :P
<chadmed> there is something kind of funny about wrapping the linux kernel in a windows PE
<linkmauve> “01:49:01 chadmed> […] pull together a driver for the H.264 decoder via either drm or v4l2. drm is preferred.” is there any infrastructure for doing decoding via DRM? V4L2 has everything needed to do it in the kernel, but I know of only various userland bits reusing DRM on desktop, mostly because the cards are usually a single blob doing 3D, display and video all together, whereas on most SoCs they
<linkmauve> are different parts and thus much better served by V4L2.
<linkmauve> druze, ↑ too.
<chadmed> you could go one further and be the raptorcs talos. their entire fw stack is just a bunch of kernels kexec-ing each other
<chaos_princess> thats petitboot
<chaos_princess> linkmauve: drm is a generic "here are buffers and a command stream, do the needful" api, so you expose vaapi or vulkan video to consumers
<chadmed> linkmauve: v4l2 is not really a suitable model for this SIP block, and we do not want to adopt maintenance of the abandoned v4l2 vaapi backend just to make this block work with desktop video players
<aruiz> chaos_princess, petitboot is for OPAL systems, not POWERVM
<aruiz> the guests use grub
<chaos_princess> and by vaapi or vulkan video i mean just vaapi, as this is what everything supports
<linkmauve> chaos_princess, chadmed, I happen to be working on a Vulkan video driver which delegates to V4L2 stateless atm. :)
<chaos_princess> neat.
<chaos_princess> and our hw is not very stateless
<linkmauve> I’m currently developing against Rockchip (actually Hantro) and AllWinner SoCs which both already expose some of their decoders to V4L2.
<linkmauve> chaos_princess, oh hmm, would the stateful API work better for you?
<aruiz> chadmed, a windows PE is just a struct, I am not too bothered by that, UKI is rather useful, at Red Hat we are building a Chromebook like A/B boot schema using UKI, similar to the Android A/B boot protocol too
<linkmauve> It would map very badly to Vulkan video from my understanding though.
<aruiz> and uboot's UEFI implementation is actually lean and neglectable unlike EDKII
<chadmed> aruiz: i know its not anything of consequence lmfao, i literally mean its kind of funny in the sense that i get a laugh out of thinking about it
<chaos_princess> linkmauve: eh, maybe? the issue with v4l is pretty simple, firefox only supports vaapi
<aruiz> chadmed, it is ironic and funny, yes
<aruiz> chadmed, and the toolchain is annoying
hdbngr has quit [Ping timeout: 480 seconds]
<linkmauve> chaos_princess, and no one added support for Vulkan video or V4L2 in all these years?
<aruiz> chadmed, the easiest way to compile an EFI binary on linux using GCC is with mingw
<chaos_princess> nope
<chadmed> no one did it because no one cares. like, we really are the first movers for 99% of this stuff
<chadmed> i had to teach kfsolid how to deal with devices that dont have dmi because it never occurred to anyone that some devices with plasma simply may not implement smbios
<linkmauve> chaos_princess, according to https://bugzilla.mozilla.org/show_bug.cgi?id=1833354 it seems to also support the stateful V4L2 API.
<chadmed> which is funny because motherboard vendors are increasingly pushing out utterly useless and abysmally dogshit smbios implementations that are themselves effectively useless
<chaos_princess> 2 years ago - yea, that is relatively recently :P
<linkmauve> Do you know anyone still using a Firefox version older than two years?
<chaos_princess> i've stopped wasting my time with arm sbcs by that point, so didn't watch that space
<linkmauve> chaos_princess, well, you’re in a channel dedicated to Apple’s ARM sbcs. :p
<chaos_princess> ok, but there is a difference between a m1 and a raspi or a rk3588
<linkmauve> There are probably many, but which one do you want to point?
<chaos_princess> the fact that the performance does not suck for starters
<linkmauve> I happen to only have AllWinner, Rockchip, Qualcomm and Nintendo SoCs available here.
<chadmed> these machines arent shit, and can do more than run a digital photo frame for starters
<linkmauve> If Apple sbcs were a bit cheaper I’d probably get one, but even second hand they still cost at least 400€ here.
<chadmed> compiling firefox on this m2 macbook air takes less time than doing so on my 5600x machine
<chaos_princess> and idk what is worse, the apple approach of "here is macos, you are on your own", or the sbc vendors' "here is some linux frankenkernel, go and suffer"
<chaos_princess> macos gets updates at least i guess
<chadmed> ive not encountered a single BSP that isnt worse than simply having nothing so far
<linkmauve> I’m partial to at least having example code available, even if the quality is terrible. Also fewer firmware required (if possible none) is nicer usually.
<chaos_princess> lol
<jannau> the frankenkernel is at least some HW documentation although certainly partly misleading/wrong
hdbngr has joined #asahi
<linkmauve> Yeah, following the TRM in addition to the existing kernel or userland driver is usually useful.
<chaos_princess> i wish the frankenkernel was useful as more than hw reference, on my rk3588 board it can't do nvme, and upstream kernel was missing a bunch of stuff the last time i tried it
<linkmauve> Mainline is still missing encoding video using V4L2 stateless, and the JPEG decoder, but aside from that it provides everything I need for my rk3588 board.
<linkmauve> They recently upstreamed support for the NPU in both the kernel and Mesa.
<linkmauve> Well, targeting 6.18 rather than 6.17 for this one.
hdbngr has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi
hdbngr has joined #asahi
chrisl has joined #asahi
xdbob has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
xdbob has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
sonne has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
Elvo has quit [Quit: Connection closed for inactivity]
breakgimme has quit [Remote host closed the connection]
breakgimme has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
Moprius has quit []
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
sonne has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
ravikant_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
okb has joined #asahi
chrisl has joined #asahi
ravikant_ has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
cylm has joined #asahi
rivendell has joined #asahi
ravikant_ has quit []
EtherNet6424953675441 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
rivendell has quit [Ping timeout: 480 seconds]
rivendell has joined #asahi
chrisl has joined #asahi
hdbngr has joined #asahi
rivendell has quit [Ping timeout: 480 seconds]
rivendell has joined #asahi
Juest is now known as Guest23482
Juest has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
KxCORP5894000345588131824 has joined #asahi
beto_ has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Guest23482 has quit [Ping timeout: 480 seconds]
KxCORP589400034558813182 has quit [Ping timeout: 480 seconds]
KxCORP5894000345588131824 is now known as KxCORP589400034558813182
betoissues has quit [Ping timeout: 480 seconds]
beto_ is now known as betoissues
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
___nick___ has quit [Remote host closed the connection]
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
hdbngr has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
mohit81582263530690 has quit [Read error: Connection reset by peer]
mohit81582263530690 has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
<tpw_rules> linkmauve: what is the api for the NPU? do you have docs?
<linkmauve> tpw_rules, the userland API? It’s Teflon, part of Mesa, which implements the tflite API AFAIK.
<linkmauve> The kernel API is just a bunch of ioctl()s for submitting work.
<tpw_rules> oh interesting, that must be a new thing
<tpw_rules> i thought it was still all shitty blobs, interesting that it has been upstreamed
chrisl has joined #asahi
<tpw_rules> did rockchip contribute at all?
<linkmauve> I don’t know if they did for this particular feature, but they do contribute some upstream kernel review AFAIK.
chrisl has quit [Ping timeout: 480 seconds]
EtherNet6424953675441 has joined #asahi
chrisl has joined #asahi
Brainium has quit []
Brainium has joined #asahi
Brainium has quit []
Brainium has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
okb has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
rivendell has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Brainium has quit [Ping timeout: 480 seconds]
ipatch has quit [Quit: WeeChat 4.6.3]
ipatch has joined #asahi
lxdr04 has quit [Remote host closed the connection]
lxdr04 has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
cylm has quit [Quit: WeeChat 4.6.3]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
pb17 has joined #asahi
parabirb has joined #asahi