#asahi-gpu · 2024-01-17 12:19
alyssaand then decode.c and the iokit stuff are one folder that depends only on that, I guess? IDK#asahi-gpu · 2024-01-17 12:19
alyssawhat should actually happen is that the .xml + gen_pack.py + header-only packing helpers are split out into one folder, I guess#asahi-gpu · 2024-01-17 12:17
eric_engestromack#asahi-gpu · 2024-01-17 12:15
alyssamostly I need to untangle the mess of src/asahi/lib, but... priorities#asahi-gpu · 2024-01-17 12:15
alyssathe former#asahi-gpu · 2024-01-17 12:13
eric_engestromI can do the former, but the latter I don't have any dev stuff on my macos partition#asahi-gpu · 2024-01-17 12:13
eric_engestromso do you want to be able to build the wrap lib without building the gl driver, or do you want to build the gl driver on macos?#asahi-gpu · 2024-01-17 12:12
eric_engestromah, I see#asahi-gpu · 2024-01-17 11:59
alyssaproper patch welcome#asahi-gpu · 2024-01-17 11:59
alyssasrc/asahi/meson.build is just broken ever since clc merged, I just never fixed it properly#asahi-gpu · 2024-01-17 11:59
alyssaeric_engestrom: you can't build the gl driver on macos anymore is the problem#asahi-gpu · 2024-01-17 11:38
eric_engestromsorry, I just noticed that I misread: `-D tools=asahi` does do something: it builds the lib by default (ie. `ninja` without having to specify `ninja src/asahi/lib/libwrap.dylib`)#asahi-gpu · 2024-01-17 11:22
eric_engestromalyssa: if you want another behaviour I'm happy to write the patch :)#asahi-gpu · 2024-01-17 11:22
eric_engestromazsxdcz: it's built automatically when `IOKit` is present; `-D tools=asahi` doesn't enable it, but `-D gallium-drivers=asahi` is required to build any of the asahi libs#asahi-gpu · 2024-01-16 14:48
alyssai think the meson.build rules in src/asahi/ got broken at some point#asahi-gpu · 2024-01-16 13:38
azsxdczAnyone can help?#asahi-gpu · 2024-01-16 13:38
azsxdczmeson compile -C build#asahi-gpu · 2024-01-16 13:38
azsxdczthis too: meson setup build --native-file custom-llvm.ini -Dtools=asahi -Dprefix='/Users/igorg/git/mesa/installdir' -Dgallium-drivers=swrast -Dlibunwind=disabled -Dosmesa=true -Degl=disabled -Dgles1=disabled -Dgles2=disabled -Dglx=disabled -Dvalgrind=disabled -Dc_std=c11 -Dshared-llvm=false -Dshared-glapi=enabled#asahi-gpu · 2024-01-16 13:37
azsxdczmeson setup build -Dtools=asahi not generating libwrap#asahi-gpu · 2024-01-16 13:37
azsxdczHey I trying to build asahi's wrap lib from mesa on my m2 and no mater what I did i wasn't able to generate it#asahi-gpu · 2024-01-09 13:53
alyssaso only layer 0 is ever touched#asahi-gpu · 2024-01-09 13:53
alyssai509vcb: in those copies, you have layers = 1 in the UAPI, and the end-of-tile ("Store pipeline") writes to a non-arrayed 2D PBE descriptor with a non-layered 2D image write#asahi-gpu · 2024-01-09 13:51
alyssawe should probably make agxdecode smarter here but, effort#asahi-gpu · 2024-01-09 13:50
alyssathe hardware decodes the layout (Linear) first#asahi-gpu · 2024-01-09 13:50
alyssai509vcb: what you're seeing is that the Depth field overlaps the stride field#asahi-gpu · 2024-01-09 03:26
i509vcbarray copies start at .0032, up to ..0047 https://usercontent.irccloud-cdn.com/file/W8l9QzTm/dEQP-VK.api.copy_and_blit.core.image_to_image.3d_images.2d_to_3d_whole.zip#asahi-gpu · 2024-01-09 03:18
i509vcbthis shouldn't be possible?#asahi-gpu · 2024-01-09 03:17
i509vcb ...#asahi-gpu · 2024-01-09 03:17
i509vcb Depth: 256#asahi-gpu · 2024-01-09 03:17
i509vcbTexture#asahi-gpu · 2024-01-09 03:17
i509vcb Dimension: 2D#asahi-gpu · 2024-01-09 03:17
alyssatrace?#asahi-gpu · 2024-01-09 03:12
i509vcbUsing the dstSubresource just like the src image view in vk-meta didn't seem to change anything either: https://gitlab.freedesktop.org/i509VCB/mesa/-/commit/85f680952dc24685d39c049cf5ba968643a5a0ee#ccd82ce6d5431b9371915af7969698022e62444e_312_308#asahi-gpu · 2024-01-09 03:10
i509vcbOn possible issues, the PBE and TEXTURE descriptors look just like gallium's#asahi-gpu · 2024-01-09 03:10
i509vcbdEQP-VK.api.copy_and_blit.core.image_to_image.3d_images.2d_to_3d_whole does a per layer copy (only copying one layer at a time) but seems to just only ever write on the first layer?#asahi-gpu · 2024-01-09 00:22
alyssa^^#asahi-gpu · 2024-01-08 23:59
qvyj`ey: well it sounds like I'll just do as I said. Sit tight and wait. On a last note, I tried an external monitor that does 144hz 1440p, with asahi linux it's pretty darn smooth. Everything is snappy. Really looking forward to seeing this on the laptop display#asahi-gpu · 2024-01-08 23:55
j`eyqvy: it requires reverse engineering#asahi-gpu · 2024-01-08 23:53
qvyj`ey: I do not have much skills but a decent chunk of time ahead. How likely am I to be useful to actually finding a solution for it ? #asahi-gpu · 2024-01-08 23:52
qvyGot you. Thank you for the reply about the refreshrate though! I assume that there's no workaround for now, i'll just sit tight and not pressure anyone.#asahi-gpu · 2024-01-08 23:51
j`eyqvy: I dont believe anyone is actively working on that currently#asahi-gpu · 2024-01-08 23:51
i509vcbthe gpu channel is generally pretty quiet until I stumble around the vulkan driver#asahi-gpu · 2024-01-08 23:50
i509vcbit's probably not going to be here (the display and gpu hardware are seperate units), better luck probably in #asahi or #asahi-dev, but I imagine those questions appear every day, so probably just need to wait#asahi-gpu · 2024-01-08 23:50
qvyI joined the IRC server, expecting it to be as active as a discord server would be. Though idk if I'm doing things right, I use irssi. Eitherway, I was wondering how the work on the refresh-rate of the display was going. Kind of a shot in the dark since i'm not sure that this is a question for the gpu dev#asahi-gpu · 2024-01-08 23:47
i509vcbqvy: depends what you mean by active#asahi-gpu · 2024-01-08 23:46
i509vcbs/khronos/lunarg#asahi-gpu · 2024-01-08 23:45
i509vcbsadly the khronos debug layers aren't packaged on fedora (api trace), so debugging is a little more painful#asahi-gpu · 2024-01-08 23:45
qvyI assume that nobody is active ? #asahi-gpu · 2024-01-08 23:44
i509vcbthis is certainly odd#asahi-gpu · 2024-01-08 23:43
i509vcbalthough some of the 3d blits started working when I did turn on layered rendering