#
…

2022-11-20

00:00aab32 has quit []
02:00Dcow has joined #asahi-alt
03:39jamespmorgan has joined #asahi-alt
03:45jamespmo_ has quit [Ping timeout: 480 seconds]
11:01chadmed has quit [Ping timeout: 480 seconds]
11:50Dcow has quit []
14:26ah- has joined #asahi-alt
14:33fallenchromium has joined #asahi-alt
15:34simon_ has joined #asahi-alt
15:46simon_ is now known as NewNickname
15:46NewNickname is now known as siontx
17:01siontx has quit [Remote host closed the connection]
17:12siontx has joined #asahi-alt
17:20siontx has quit [Ping timeout: 480 seconds]
18:05siontx has joined #asahi-alt
18:13siontx has quit [Ping timeout: 480 seconds]
18:16fallenchromium has quit [Ping timeout: 480 seconds]
19:01siontx has joined #asahi-alt
19:14Glanzmannmps: 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.
19:16jannauGlanzmann: that would be expected with dcp
19:16Glanzmannjannau: Is it because of the two buffers which are filled up and than swapped?
19:17Glanzmannjannau: Because when I run the same video under X11 with 'mpv -vo x11' I can see the tiering.
19:17GlanzmannAlso under DCP.
19:18GlanzmannAnd I see much more CPU burned (600%).
19:25jannauyes, dcp waits for vblank before it switches buffers
19:26jannauX11 uses just a single framebuffer even when running under dcp
19:27Glanzmannjannau: Thank you for the explanation.
19:29mpsGlanzmann: I tested 'mpv -vo drm' with appledrm and it is fine, though forgot with simpledrm. next time I boot with simpledrm I will check
19:31Glanzmannmps: I see. Thank you.
19:31Glanzmannmps: Have you already tried a gpu enabled kernel?
19:32GlanzmannI 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).
19:33mpsno, not yet. I would have to setup rust on alpine and I don't know how to to do that
19:33Glanzmannmps: It is pretty easy.
19:33Glanzmanncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
19:33GlanzmannThan you follow the rust quickstart of the kernel. You can pick the specific version that you need.
19:33Glanzmannmps: Does alpine have clang?
19:34mpsGlanzmann: yes, it have clang and rust
19:34mpsbut iirc one package for rust is missing
19:34mpsbindgen iirc
19:34Glanzmannmps: I see, but you can compile rust in your home for your user.
19:34GlanzmannAnd use that.
19:35GlanzmannThan you can install any missing dependency.
19:35mpsGlanzmann: yes, I know I can but I'm lazy to do that
19:35Glanzmannmps: 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.
19:35mpsI was first person who ported rust to alpine at the end :)
19:36mpsbut after some time I lost interest in rust
19:38Glanzmannmps: 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.
19:38mpsand for now gpu is not important for me personaly. when it become stable enough I will look, and maybe ask you for the help
19:38GlanzmannWill try tomorrow with dcp and report back.
19:38Glanzmannmps: Sure, or I'll ask you. :-)
19:40Glanzmannmps: 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).
19:40GlanzmannI 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.
19:40mpsGlanzmann: does it need mesa gallium-asahi driver?
19:41mpsdid you built it
19:41Glanzmannmps: Might, be never heard of that before.
19:41mpsI think it is needed for gpu
19:42Glanzmannmps: 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.
19:43mpshm, I thought that the gpu is already in asahi-wip kernel branch
19:45mpsah, looks like bindgen could be easily added with cargo
19:45Glanzmannmps: Might be, I used gpu/rust-wip because there was something changed in the last 24 hours (see email).
19:45Glanzmannmps: Yep, that is what I meant.
19:46mpsthanks, then it could be easy I hope
19:47Glanzmannmps: So I see gallium, but I have not build the asahi part of it.
19:47Glanzmannmps: I think it only takes you a minute or two with the kernel quickstart rust guide.
19:50mpsso, looks like it would be easier at beginning to use rustup than distro packages
19:58fallenchromium has joined #asahi-alt
20:09jamespmo_ has joined #asahi-alt
20:15jamespmorgan has quit [Ping timeout: 480 seconds]
20:29Glanzmann has quit [Quit: n8]
20:48fallenchromium1 has joined #asahi-alt
20:48fallenchromium has quit [Read error: Connection reset by peer]
20:52fallenchromium2 has joined #asahi-alt
20:58erik3424 has quit [Quit: erik3424]
20:59fallenchromium1 has quit [Ping timeout: 480 seconds]
21:34siontx has quit []
21:44Dcow has joined #asahi-alt
22:04fallenchromium2 has quit [Quit: WeeChat 3.7.1]
22:51Dcow__ has joined #asahi-alt
22:53Dcow has quit [Quit: dcow]
…