#
✕ nick:Glanzmann
#asahi-alt · 2022-12-07 19:42
GlanzmannWhen I open a new x application there is visable lag, is that to be expected? When I run mpv with '-vo gpu' it is slower than with '-vo x11' is that to be expected?
#asahi-alt · 2022-12-07 19:40
Glanzmannan ldd on 'mpv' gave me the hint.
#asahi-alt · 2022-12-07 19:39
Glanzmannshame on me. I had an old mesa library in /usr/local which was preloaded.....
#asahi-alt · 2022-12-07 19:17
Glanzmannhttps://pbot.rmdir.de/lQGh1bINLlWXGO5T-GCqhg
#asahi-alt · 2022-12-07 19:16
Glanzmannjannau: Yes it is, I checked my local copy also as UABI 3. So maybe I need to build another package.
#asahi-alt · 2022-12-07 19:13
GlanzmannLets see how the tips performs.
#asahi-alt · 2022-12-07 19:13
Glanzmannsven: Yes, you're right.
#asahi-alt · 2022-12-07 19:12
Glanzmannsven: I keep trying and report back when I managed to get it working.
#asahi-alt · 2022-12-07 19:11
Glanzmannj`ey: That might be true. But I think that I'm hitting 'assert(0) in agc_open_device in src/asahi/lib/agx_device.c
#asahi-alt · 2022-12-07 19:11
Glanzmannsven: I used the version from the pkg builds and copied the 'debian/rules' (build script) from the original mesa package over. Than I modified tha parameters and build the whole thing. It was complaining about some additional APIs, so I added them, a include file is not there, so I remvoed it and than I installed the resulting packages.
#asahi-alt · 2022-12-07 19:07
Glanzmannjannau: I assume my problem is that '__APPLE__' is not defined while building mesa but I have not yet figured out what I need to do to set it.
#asahi-alt · 2022-12-07 18:58
Glanzmannjannau: Okay, I try the tip anyway since I'm halfway through compiling.
#asahi-alt · 2022-12-07 18:41
Glanzmannjannau: Thank you.
#asahi-alt · 2022-12-07 18:31
Glanzmanncy8aer: Yep, I should bump the versions.
#asahi-alt · 2022-12-07 18:27
GlanzmannBut maybe I forgot to build two packages: https://pbot.rmdir.de/aoadr6XoQtjrBi6l2Dpu5g
#asahi-alt · 2022-12-07 18:26
Glanzmannsven: Strange I used the one from the PKGBUILD repository.
#asahi-alt · 2022-12-07 18:23
GlanzmannI built and installed the kernel and mesa and tried to start Xorg.
#asahi-alt · 2022-12-07 18:22
GlanzmannAlso this seems to be an issue: UABI mismatch: Kernel 3, Mesa 2\n Xorg: ../src/asahi/lib/agx_device.c:482: agx_open_device: Assertion `0' failed.
#asahi-alt · 2022-12-07 18:21
GlanzmannAny idea what I'm doing wrong. When I use /dev/dri/card0 I get no screens found when I use /dev/dri/card1 I get 'no unwind info found'. Output: https://pbot.rmdir.de/vFvyOVjQBvdvgPnqScJZkg
#asahi-alt · 2022-12-07 18:12
Glanzmanndoesn't need a studio. ccache to the rescue.
#asahi-alt · 2022-12-07 17:30
GlanzmannOr I need to figure out how to use a crosscompiler to build mesa. :-)
#asahi-alt · 2022-12-07 17:29
Glanzmannneeds a studio ... mesa takes forever to compile.
#asahi-alt · 2022-12-07 17:11
GlanzmannBut for now I'm trying to build mesa for Debian.
#asahi-alt · 2022-12-07 17:11
Glanzmannjannau: Okay, I'll diff them and try to identify the issue.
#asahi-alt · 2022-12-07 16:58
GlanzmannJust double checked all of them to be sure.
#asahi-alt · 2022-12-07 16:58
Glanzmannm1n1 is v1.2.2 and u-boot is asahi-v2022.10-1 and stub is 12.3
#asahi-alt · 2022-12-07 16:56
GlanzmannSo just another config issue.
#asahi-alt · 2022-12-07 16:56
GlanzmannI see, but mps config boots. dmesg: https://pbot.rmdir.de/VmPhKOGVuwz5Qz-uqRZAEw
#asahi-alt · 2022-12-07 16:51
Glanzmannjannau: If mps config fails as well I try the macbook air.
#asahi-alt · 2022-12-07 16:50
GlanzmannI see.
#asahi-alt · 2022-12-07 16:47
Glanzmannjannau: This was on the mini. To my knowledge with the supported asahi stub version.
#asahi-alt · 2022-12-07 16:46
Glanzmannjannau: I see. I currently try to build with mps config which is a known good.
#asahi-alt · 2022-12-07 16:39
Glanzmannjannau: I assume that is still the issue with the module order and I have to build all the modules into the kernel?
#asahi-alt · 2022-12-07 16:39
Glanzmannjannau: I tried to build a gpu kernel with the asahi edge config and tree and try to boot it, the result is: https://tg.st/u/2022-12-07_17-35-58_yuv420p.mp4
#asahi-alt · 2022-12-07 13:58
Glanzmannopticron: However it will be easy to create your own kernel once the userland is working.
#asahi-alt · 2022-12-07 13:56
Glanzmannopticron: For the time being I'll use the same config as m a r c a n. If people complain about missing features, I'll add them.
#asahi-alt · 2022-12-07 13:49
Glanzmannc
#asahi-alt · 2022-12-07 10:05
GlanzmannRy_Darcy: Hopefully you can test it tonight. It should be pretty straight forward.
#asahi-alt · 2022-12-07 10:01
GlanzmannWhat I'm really excited is if xfreerdp will work without display artefacts with the new driver and if I can watch a video in mpv under xorg without tiering.
#asahi-alt · 2022-12-07 09:54
GlanzmannAnd I'll also cover how to use gparted to move the linux partitions.
#asahi-alt · 2022-12-07 09:51
GlanzmannAnyway, I'll make the video. And while I'm at it I'll also cover the topics how to recover from a broken stage2 and kernel.
#asahi-alt · 2022-12-07 09:51
GlanzmannAlso m a r c a n publically stated that he is not going to support system which were installed before the alpha installer.
#asahi-alt · 2022-12-07 09:45
Glanzmanncy8aer: Maybe m a r c a n implemented it and for me it was not doing it because I already had the right stub version, but I think that is not the case.
#asahi-alt · 2022-12-07 09:43
Glanzmanncy8aer: At least I tried the update and it did not update the stub for me.
#asahi-alt · 2022-12-07 09:42
Glanzmanncy8aer: Yes.
#asahi-alt · 2022-12-07 09:41
Glanzmannahdeb[m]: But maybe I'll ask Andreas Boll how to build the package if I don't figure it out by myself but most of the time it boils down to get the sources, update the tree and run debian/rules binary
#asahi-alt · 2022-12-07 09:40
Glanzmannor even testing.
#asahi-alt · 2022-12-07 09:40
Glanzmannahdeb[m]: The problem is that it is not only about enabling an option but to pull in new code which is not even upstream in mesa. So there is no way to get into debian stable ...
#asahi-alt · 2022-12-07 09:39
Glanzmanncy8aer: Keep in mind that the asahi updater only updates m1n1 stage1 but not the stub.
#asahi-alt · 2022-12-07 09:38
Glanzmanncy8aer: You'll be fine. It might be that stubs which were installed __before__ the alpha installer, have issues.

plus ›