ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
possiblemeatball has joined #asahi-alt
RoundDuckKira has joined #asahi-alt
matteo has quit [Quit: Leaving...]
kidplayer666 has quit [Quit: Connection closed for inactivity]
john-cabaj has joined #asahi-alt
john-cabaj has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi-alt
enick_78 has quit [Ping timeout: 480 seconds]
rhysmdnz has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
rhysmdnz has joined #asahi-alt
enick_78 has joined #asahi-alt
<cy8aer>
I expected the E core stuff would be "just in" the kernel. So I run without them because of CONFIG_UCLAMP_TASKS. I will build it in with the 6.6-15 and the actually in a merge request hanging new mesa.
<j`ey>
cy8aer: UCLAMP allows userspace to give hints to the kernel
<cy8aer>
But I habe a question for that too: "so pipewire can run on the E cores" - is that a global thing then because pipewire does/will do the video streaming stuff in future too. Ok with hardware acceleration that would work but without...
<cy8aer>
j`ey: ah I see.
<j`ey>
chadmed: is the uclamp stuff for the whole of pipewire?
<j`ey>
or just the dsp stuff
<j`ey>
btw the E cores can decode 1080p happily
<chadmed>
j`ey: it will affect all of pipewire and wireplumber if set
<chadmed>
which is fine because again the ecores are more than happy doing up to 24/192
<leio>
I guess the question is - will it be fine doing 4K screen sharing and libcamera integration
<cy8aer>
As I understand is videopiping ok with pipewire. The problems are with the sinks. And if they use hardware acceleration (@eiln is working on it) the whole video stuff will be low power too and would work fine with higher resolutions IMHO.
<eiln>
ye avd can do up to 4K (I think M2 had 8K?). though I feel the bigger gains with avd are power savings
<eiln>
avd can't do everything though. we still have to do some things ourselves e.g. vp9 probability adaptation/merging (apple didn't add silicon for that). all that can stick to an e-core. I don't think apple does fancy scheduling for video
<eiln>
I've also talked to m arcan about zero-copy frame dma out (which would be natural if this does end up on the mesa side)
<j`ey>
yay for even less CPU usage
u154ss has joined #asahi-alt
<u154ss>
#j'ey/cy8aer who will build the newest mesa to match linux 6.6-15? I tried Glanzmann's script bumping the release using tag asahi-20231213. It is still producing version 22.x.x .debs however. The Fedora fc39 is already using mesa version 24.x.x as far as I can see.
<u154ss>
Backgroung being I want to run Debian/XFCE on my M2 Mini. Fedora FC39 works on the M2 Mini, but I do not want this setup, prefer Debian...
<u154ss>
Backgroung = background.
<cy8aer>
I would build it if it "is out" - as I see the merge request is still open. And my mesa version will be 24 - as my 20231213 too. But my naming is not really right I guess.
<cy8aer>
So actually I am "on hold" and waiting for the mesa patch
<cy8aer>
The used patches are out of the official version numbering so it is a bit nifty to give a plausible version number
<cy8aer>
Mesa version itself is 24.0.0-devel
<u154ss>
@cy8aer the script https://git.g3la.de/repos/m1-debian/src/branch/baer/mesa.sh is more or less the same as Glanzmann's script. There is no guarantee should I build kernel 6.6-15 and the latest mesa stuff that XFCE/X11 will run on the M2 Mini. My thoughts..
<cy8aer>
I am working with a fork of the Glanzmann scripts. And the 20231213 is a bit backported to the Glanzmann repo because there were some documentation files missing which I just kicked out of the packaging.
hightower2 has quit [Ping timeout: 480 seconds]
<u154ss>
@j'ey - to recap - on the M2 Mini using Fedora fc39, KDE(Plasma) and XFCE/X11 work, Debian/XFCE does not (libunwind -10 segfault etc.). I am wondering whether Debian/XFCE will ever run on the M2 Mini. Again, Fedora/KDE is too bloated/top-heavy for me.
<u154ss>
@cy8aer I see that. Gut.
<j`ey>
u154ss: No idea, but it won't run unless a) it's solved by accident b) someone figures it out
<j`ey>
depends what's more important for now, Debian/???? or Fedora/XFCE
<u154ss>
@j'ey my thoughts/worst fears exactly.
<j`ey>
we know that it's possible since Fedora/XFCE works, so it's hard to tell where the exact issue would be, lots of different packaging differences
<u154ss>
@j'ey not that I am resistant to change, but I prefer to run lean-and-mean anyway. My mainframe mentality.
<j`ey>
that's fine :)
<u154ss>
This is my memory usage/allocation, just after startup on the M1 Mini - Memory: 243568K/16287488K available (6976K kernel code, 770K rwdata, 1520K rodata, 704K init, 418K bss, 230912K reserved, 0K cma-reserved)
qyliss has quit [Quit: bye]
<u154ss>
@j'ey, I would prefer to keep thing that way on the M2 Mini also. I have 24GB on the M2 Mini.
<mps>
I've made mesa-asahi 24.0.0_pre20231213 version for alpine
qyliss has joined #asahi-alt
<j`ey>
u154ss: Im not really sure what to say, you pretty much just have 2 options
<u154ss>
@j'ey - or no options.. :)
<u154ss>
@j'ey - at the moment.
<u154ss>
@mps have you tested your setup (24.0.0_pre20231213) on a M2 Mini?
<mps>
u154ss: no, I don't have M2
<u154ss>
@mps OK.
<mps>
but on M1 and M1pro it works fine
<u154ss>
@mps the M2 Mini is a different (hardware) beast methinks.
<mps>
yes
<mps>
but if fedora works I don't see reason why debian will not
hightower2 has joined #asahi-alt
<u154ss>
@mps different distribution/mesa version/kernel/hardware - a lot of variables there.
maxg_ has joined #asahi-alt
maxg_ has quit []
maxg_ has joined #asahi-alt
<mps>
IDK if anyone run alpine on M2 to ask
<j`ey>
Im not sure what that will give you anyway, if it works on alpine.. then what? :)
<mps>
and alpine uses different libc than others but anyway everything works, no one posted bug report at least
qyliss has quit [Quit: bye]
qyliss has joined #asahi-alt
maxg_ has quit [Quit: maxg_]
u154ss has quit [Remote host closed the connection]
possiblemeatball has joined #asahi-alt
mkurz has quit [Ping timeout: 480 seconds]
<RoundDuckKira>
does asahi use rust code as part of the development of the Asahi drivers
<RoundDuckKira>
I have a feeling void linux doesn't use rust by default
<j`ey>
yes for the GPU
<j`ey>
most distro's wont enable rust in the kernel yet
<j`ey>
I would just run without the GPU to start with
Leo3418 has quit [Quit: Applying updates]
<RoundDuckKira>
oh shit
<RoundDuckKira>
I may need to ask the void devs if it's possible to change the template to allow rust compile
<RoundDuckKira>
the GPU is a big one
<j`ey>
well youre going to need a 'fork' of the kernel anyway for some time, so you dont really need to modify upstream void for that yet
Leo3418 has joined #asahi-alt
<RoundDuckKira>
well idk how the fedora kernel is made that's for sure\
<RoundDuckKira>
btw patching the void kernel was where it failed it
<RoundDuckKira>
it failed to patch
<RoundDuckKira>
oof
<RoundDuckKira>
what's asahi-6.6-15 supposed to be
<RoundDuckKira>
v6.6 is the pure 6.6.0 kernel right?
<RoundDuckKira>
and asahi-6.6-15 is the modified one with the latest asahi patches right?
<j`ey>
yes
<j`ey>
-15 needs some mesa changes for GPU, but I think you can ignore that if you just go for software rendering to start off
<RoundDuckKira>
yeah I just am focusing on booting into a tty merely at first
<RoundDuckKira>
tho I do want kernel side gpu support working
<RoundDuckKira>
just get that mess out of the way
<RoundDuckKira>
hey btw j`ey, you know lactose here right? The thing is we both started projects to get weird Linux distros working on Asahi, she's a friend of mine from discord. The reason I am asking is I'm asking that did she ever say about how she got the Asahi kernel working with slackware, I wonder if there's some info I can glean to help me with this task
<j`ey>
RoundDuckKira: I cant remember what they did in the end
<j`ey>
tbh most of the kernel build is pretty easy, and you can probably boot to a tty without many special options
<j`ey>
and then you can slowly add more as you go
<j`ey>
I think starting by just building the tree directly, rather than trying to get the diff and patch a tree is also good to start with
<RoundDuckKira>
j`ey: https://termbin.com/j8tb here's the output of my patch attempt and fialure
<RoundDuckKira>
this is me patching the 6.6.13 kernel with the asahi 6.6-15 stuff
<j`ey>
yeah, I think this is a good example of why it's better to focus on building the asahi tree directly first
<j`ey>
that's the important bit
<RoundDuckKira>
well I can build that fine with dependenciesz
<RoundDuckKira>
I just want it to work on a newer kernel base
<j`ey>
it sounded like you hadn't gotten a kernel working at all yet?
<j`ey>
but yeah, 6.6.13 changed that file, and so has asahi, that's why it conflicts
<j`ey>
RoundDuckKira: fedora is based on 6.6.3 it seems, that change conflicted since 6.6.7
<j`ey>
you could try base it on v6.6.6
lynndotpy has quit [Quit: bye bye]
lynndotpy has joined #asahi-alt
<RoundDuckKira>
yeah I don't have a working kernel
<RoundDuckKira>
and v6.6.6 lol
<RoundDuckKira>
666
<RoundDuckKira>
the satanic linux lol
<j`ey>
:-)
psykose has quit [Remote host closed the connection]
maxg_ has joined #asahi-alt
maxg_ has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-alt
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi-alt
jacksonchen666 has quit [Quit: WeeChat 4.1.2]
jacksonchen666 has joined #asahi-alt
mike2578 has joined #asahi-alt
mike2578 has quit [Quit: WeeChat 4.0.4]
<RoundDuckKira>
j`ey: I tried 6.6.6 and still a conflict there oof
<RoundDuckKira>
gonna try 6.6.3
<j`ey>
6.6.6 didnt look it should, but .3 def shouldnt
<RoundDuckKira>
ye since asahi uses it
ah- has quit [Read error: Connection reset by peer]