#
#asahi-alt · 2022-12-07 20:00
jannaulet me test
#asahi-alt · 2022-12-07 20:00
jannaucould be the X11 vsync issue
#asahi-alt · 2022-12-07 19:56
Glanzmannjannau: https://pbot.rmdir.de/J2UQA2wwTBmk2FkIXNrVCw
#asahi-alt · 2022-12-07 19:55
jannauthat sounds broken, not using Xorg. what does `eglinfo| grep 'driver name'` report?
#asahi-alt · 2022-12-07 19:49
GlanzmannHere is a video of the issues: Everything was faster with simpledrm: https://tg.st/u/VID_20221207_204614508.mp4
#asahi-alt · 2022-12-07 19:43
Glanzmannxfreerdp is very slow.
#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:15
j`eyGlanzmann: open that file, maybe you actually have an old checkout somehow?
#asahi-alt · 2022-12-07 19:14
jannauhttps://gitlab.freedesktop.org/asahi/mesa/-/blob/af7db4903008b012bca13558261d552ed0828b7d/include/drm-uapi/asahi_drm.h#L19
#asahi-alt · 2022-12-07 19:14
jannaubut the uapi in the commit from the PKGBUILD is clearly 3
#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
sven*assert
#asahi-alt · 2022-12-07 19:12
svenit’s pretty explicit about that
#asahi-alt · 2022-12-07 19:12
svenbut that asset you see happens because mesa’s uabi level is too low
#asahi-alt · 2022-12-07 19:12
jannauyes, __APPLE__ is for macos
#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
svenI haven’t built this myself and I dunno what you did
#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:10
j`eyI *think* __APPLE__ is for the macOS build of mesa, might be wrong
#asahi-alt · 2022-12-07 19:08
svenyour problem is that you somehow got an old mesa build with uapi 2 instead of 3
#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 19:00
yukajannau: this is nixos-based
#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:54
jannauI see no issues on asahi, haven't updated my gentoo system yet
#asahi-alt · 2022-12-07 18:53
yukamight have to check if it occurs there as well
#asahi-alt · 2022-12-07 18:53
yukathough I am not using the asahi distro
#asahi-alt · 2022-12-07 18:53
yukaI am still seeing those with the released branches/commits
#asahi-alt · 2022-12-07 18:52
yukaIs anyone else seeing issues with the gpu driver, where a lot of things crash when the dcp is also loaded?
#asahi-alt · 2022-12-07 18:46
jannauerr, no I'm mistaken, the commit should be fine. no idea how you ended up with uapi version 2 in mesa
#asahi-alt · 2022-12-07 18:41
Glanzmannjannau: Thank you.
#asahi-alt · 2022-12-07 18:36
jannauGlanzmann: looks like the pkgbuild isn't true anymore, use the tip of https://gitlab.freedesktop.org/asahi/mesa/-/tree/main
#asahi-alt · 2022-12-07 18:31
Glanzmanncy8aer: Yep, I should bump the versions.
#asahi-alt · 2022-12-07 18:30
cy8aer(because you use the same package versions)
#asahi-alt · 2022-12-07 18:30
cy8aerGlanzmann: did you eventually mix up with testing packages?
#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
svensounds like your mesa built is too old
#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.

plus ›