#asahi-alt · 2022-11-20 19:43
mpshm, I thought that the gpu is already in asahi-wip kernel branch#asahi-alt · 2022-11-20 19:42
Glanzmannmps: 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.#asahi-alt · 2022-11-20 19:41
mpsI think it is needed for gpu#asahi-alt · 2022-11-20 19:41
Glanzmannmps: Might, be never heard of that before.#asahi-alt · 2022-11-20 19:41
mpsdid you built it#asahi-alt · 2022-11-20 19:40
mpsGlanzmann: does it need mesa gallium-asahi driver?#asahi-alt · 2022-11-20 19:40
GlanzmannI 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.#asahi-alt · 2022-11-20 19:40
Glanzmannmps: 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).#asahi-alt · 2022-11-20 19:38
Glanzmannmps: Sure, or I'll ask you. :-)#asahi-alt · 2022-11-20 19:38
GlanzmannWill try tomorrow with dcp and report back.#asahi-alt · 2022-11-20 19:38
mpsand for now gpu is not important for me personaly. when it become stable enough I will look, and maybe ask you for the help#asahi-alt · 2022-11-20 19:38
Glanzmannmps: 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.#asahi-alt · 2022-11-20 19:36
mpsbut after some time I lost interest in rust#asahi-alt · 2022-11-20 19:35
mpsI was first person who ported rust to alpine at the end :)#asahi-alt · 2022-11-20 19:35
Glanzmannmps: 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.#asahi-alt · 2022-11-20 19:35
mpsGlanzmann: yes, I know I can but I'm lazy to do that#asahi-alt · 2022-11-20 19:35
GlanzmannThan you can install any missing dependency.#asahi-alt · 2022-11-20 19:34
GlanzmannAnd use that.#asahi-alt · 2022-11-20 19:34
Glanzmannmps: I see, but you can compile rust in your home for your user.#asahi-alt · 2022-11-20 19:34
mpsbindgen iirc#asahi-alt · 2022-11-20 19:34
mpsbut iirc one package for rust is missing#asahi-alt · 2022-11-20 19:34
mpsGlanzmann: yes, it have clang and rust#asahi-alt · 2022-11-20 19:34
Glanzmannmps: https://docs.kernel.org/next/rust/quick-start.html#asahi-alt · 2022-11-20 19:33
Glanzmannmps: Does alpine have clang?#asahi-alt · 2022-11-20 19:33
GlanzmannThan you follow the rust quickstart of the kernel. You can pick the specific version that you need.#asahi-alt · 2022-11-20 19:33
Glanzmanncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh#asahi-alt · 2022-11-20 19:33
Glanzmannmps: It is pretty easy.#asahi-alt · 2022-11-20 19:33
mpsno, not yet. I would have to setup rust on alpine and I don't know how to to do that#asahi-alt · 2022-11-20 19:32
GlanzmannI 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).#asahi-alt · 2022-11-20 19:31
Glanzmannmps: Have you already tried a gpu enabled kernel?#asahi-alt · 2022-11-20 19:31
Glanzmannmps: I see. Thank you.#asahi-alt · 2022-11-20 19:29
mpsGlanzmann: I tested 'mpv -vo drm' with appledrm and it is fine, though forgot with simpledrm. next time I boot with simpledrm I will check#asahi-alt · 2022-11-20 19:27
Glanzmannjannau: Thank you for the explanation.#asahi-alt · 2022-11-20 19:26
GlanzmannI see.#asahi-alt · 2022-11-20 19:26
jannauX11 uses just a single framebuffer even when running under dcp#asahi-alt · 2022-11-20 19:25
jannauyes, dcp waits for vblank before it switches buffers#asahi-alt · 2022-11-20 19:18
GlanzmannAnd I see much more CPU burned (600%).#asahi-alt · 2022-11-20 19:17
GlanzmannAlso under DCP.#asahi-alt · 2022-11-20 19:17
Glanzmannjannau: Because when I run the same video under X11 with 'mpv -vo x11' I can see the tiering.#asahi-alt · 2022-11-20 19:16
Glanzmannjannau: Is it because of the two buffers which are filled up and than swapped?#asahi-alt · 2022-11-20 19:16
GlanzmannI see.#asahi-alt · 2022-11-20 19:16
jannauGlanzmann: that would be expected with dcp#asahi-alt · 2022-11-20 19:14
Glanzmannmps: 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.#asahi-alt · 2022-11-18 07:39
Glanzmannsven: This is with the edge config but with every 'edge' option as =y and dart=y because otherwise the kernel does not find usb-a, usb-c, pcie, network. Jannau was unable to reproduce my boot issue, but if someone is interested in the dmesg I can disable x boot the broken kernel and use the serial console or make a photo.#asahi-alt · 2022-11-17 20:28
GlanzmannI used the following script to build: https://pbot.rmdir.de/3Hg7kFfhY78s_vOCVC9XRg#asahi-alt · 2022-11-17 20:27
GlanzmannThis was on the mini with Debian testing.#asahi-alt · 2022-11-17 20:27
GlanzmannWow, strange for me it is reproducable on every boot, I tried.#asahi-alt · 2022-11-17 20:05
jannauworks for me :(#asahi-alt · 2022-11-17 19:56
jannauthanks