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
aab32 has quit []
Dcow has joined #asahi-alt
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
Dcow has quit []
ah- has joined #asahi-alt
fallenchromium has joined #asahi-alt
simon_ has joined #asahi-alt
simon_ is now known as NewNickname
NewNickname is now known as siontx
siontx has quit [Remote host closed the connection]
siontx has joined #asahi-alt
siontx has quit [Ping timeout: 480 seconds]
siontx has joined #asahi-alt
siontx has quit [Ping timeout: 480 seconds]
fallenchromium has quit [Ping timeout: 480 seconds]
siontx has joined #asahi-alt
<Glanzmann> mps: When you play videos on the console are you using mpv -vo drm ? Because I tried it with a 4k video, while it burns a lot of cpu (200%) I don't see any tiering any more.
<jannau> Glanzmann: that would be expected with dcp
<Glanzmann> I see.
<Glanzmann> jannau: Is it because of the two buffers which are filled up and than swapped?
<Glanzmann> jannau: Because when I run the same video under X11 with 'mpv -vo x11' I can see the tiering.
<Glanzmann> Also under DCP.
<Glanzmann> And I see much more CPU burned (600%).
<jannau> yes, dcp waits for vblank before it switches buffers
<jannau> X11 uses just a single framebuffer even when running under dcp
<Glanzmann> I see.
<Glanzmann> jannau: Thank you for the explanation.
<mps> Glanzmann: I tested 'mpv -vo drm' with appledrm and it is fine, though forgot with simpledrm. next time I boot with simpledrm I will check
<Glanzmann> mps: I see. Thank you.
<Glanzmann> mps: Have you already tried a gpu enabled kernel?
<Glanzmann> I just was able to boot one which manages to initialize gpu (previously they did not boot or did not enable gpu, but I'm unable to start x).
<mps> no, not yet. I would have to setup rust on alpine and I don't know how to to do that
<Glanzmann> mps: It is pretty easy.
<Glanzmann> curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
<Glanzmann> Than you follow the rust quickstart of the kernel. You can pick the specific version that you need.
<Glanzmann> mps: Does alpine have clang?
<mps> Glanzmann: yes, it have clang and rust
<mps> but iirc one package for rust is missing
<mps> bindgen iirc
<Glanzmann> mps: I see, but you can compile rust in your home for your user.
<Glanzmann> And use that.
<Glanzmann> Than you can install any missing dependency.
<mps> Glanzmann: yes, I know I can but I'm lazy to do that
<Glanzmann> mps: Only thing I had to do was to downgrade it so that the linux kernel does not complain but apparantly you can also tell the linux kernel to use the version that is there also when it is a different version that the linux kernel expects.
<mps> I was first person who ported rust to alpine at the end :)
<mps> but after some time I lost interest in rust
<Glanzmann> mps: I see. I hope for asahi christmas present release with gpu. Not sure if it solves my issue, but I sure hope so. With simpledrm I had sometimes 'xfreerdp' not draw updates to the screen.
<mps> and for now gpu is not important for me personaly. when it become stable enough I will look, and maybe ask you for the help
<Glanzmann> Will try tomorrow with dcp and report back.
<Glanzmann> mps: Sure, or I'll ask you. :-)
<mps> :)
<Glanzmann> mps: This is what I managed so far: https://tg.st/u/gpu.sh (kernel config is from alyssa. on my mini it boots and initializes gpu and dcp but fails to start x).
<Glanzmann> I also managed to compile the mesa user land installed it but I don't know how I'm supposed to use that. Anyway at some point I'll figure it out or someone else will document the process.
<mps> Glanzmann: does it need mesa gallium-asahi driver?
<mps> did you built it
<Glanzmann> mps: Might, be never heard of that before.
<mps> I think it is needed for gpu
<Glanzmann> mps: So I used alyasss tree, searched for 'asahi' and used the branch which was most recent. Linas tree seems to be only accessable when logged in, so I signed up but did not receive the email yet.
<mps> hm, I thought that the gpu is already in asahi-wip kernel branch
<mps> ah, looks like bindgen could be easily added with cargo
<Glanzmann> mps: Might be, I used gpu/rust-wip because there was something changed in the last 24 hours (see email).
<Glanzmann> mps: Yep, that is what I meant.
<mps> thanks, then it could be easy I hope
<Glanzmann> mps: So I see gallium, but I have not build the asahi part of it.
<Glanzmann> mps: I think it only takes you a minute or two with the kernel quickstart rust guide.
<mps> so, looks like it would be easier at beginning to use rustup than distro packages
<Glanzmann> mps: Yep.
fallenchromium has joined #asahi-alt
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
Glanzmann has quit [Quit: n8]
fallenchromium1 has joined #asahi-alt
fallenchromium has quit [Read error: Connection reset by peer]
fallenchromium2 has joined #asahi-alt
erik3424 has quit [Quit: erik3424]
fallenchromium1 has quit [Ping timeout: 480 seconds]
siontx has quit []
Dcow has joined #asahi-alt
fallenchromium2 has quit [Quit: WeeChat 3.7.1]
Dcow__ has joined #asahi-alt
Dcow has quit [Quit: dcow]