ChanServ changed the topic of #asahi-gpu to: Asahi Linux GPU development (no user support, NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
nullspace has joined #asahi-gpu
<nullspace> hi
<nullspace> > The M1 lacks hardware instructions for image atomics, even though it has non-image atomics and non-atomic images
<nullspace> i believe this isn't true for m2 and m3? hardware atomics are supported, right?
nullspace has quit [Quit: Page closed]
<alyssa> read a bit more carefully
zawad has quit [Remote host closed the connection]
zawad has joined #asahi-gpu
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi-gpu
kidplayer666 has quit [Quit: Connection closed for inactivity]
jeisom has joined #asahi-gpu
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #asahi-gpu
VeeBop has quit [Ping timeout: 480 seconds]
capta1nt0ad has joined #asahi-gpu
VeeBop has joined #asahi-gpu
zawad has quit [Remote host closed the connection]
jeisom has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi-gpu
zawad has joined #asahi-gpu
marvin24 has quit [Ping timeout: 480 seconds]
capta1nt0ad has quit [Ping timeout: 480 seconds]
capta1nt0ad has joined #asahi-gpu
crabbedhaloablut has joined #asahi-gpu
capta1nt0ad has quit [Ping timeout: 480 seconds]
zawad has quit []
loki_val has joined #asahi-gpu
crabbedhaloablut has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-gpu
Catyre has quit [Remote host closed the connection]
crabbedhaloablut has joined #asahi-gpu
loki_val has quit [Ping timeout: 480 seconds]
capta1nt0ad has joined #asahi-gpu
capta1nt0ad has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
Carvajal has joined #asahi-gpu
kidplayer666 has joined #asahi-gpu
jeisom has joined #asahi-gpu
jeisom has quit [Quit: Leaving]
knedlik has joined #asahi-gpu
<knedlik> So I have successfully run the tests, and made a deduped text file of the non-passing ones: https://gist.github.com/KnedlikMCPE/4c4fffa220a668d0bb48851c77bb2062
<knedlik> Which of these would be a good thing to get started with?
<knedlik> Oh wait... forgot to include failed tests, one sec
<knedlik> Okay, now it should be complete
knedlik has quit [Quit: knedlik]
john-cabaj has joined #asahi-gpu
knedlik has joined #asahi-gpu
knedlik has quit [Quit: knedlik]
knedlik has joined #asahi-gpu
john-cabaj has quit [Quit: john-cabaj]
kidplayer666 has quit [Quit: Connection closed for inactivity]
xcpy0 has quit [Quit: The Lounge - https://thelounge.chat]
kidplayer666 has joined #asahi-gpu
jeisom has joined #asahi-gpu
zzywysm has joined #asahi-gpu
zzywysm_ has quit [Ping timeout: 480 seconds]
ameliabadelia has joined #asahi-gpu
possiblemeatball has joined #asahi-gpu
<i509vcb> knedlik: VK_EXT_global_priority(_query) the promoted KHR extension for that is implemented. If you did want to implement the older EXT extension I think you just need to enable those two extensions and test if anything changed during promotion?
<i509vcb> You can run individual tests with the -n argument on dEQP-vk to avoid running the entire suite every time
AnuthaDev has joined #asahi-gpu
<i509vcb> https://gist.github.com/KnedlikMCPE/4c4fffa220a668d0bb48851c77bb2062#file-deduped-txt-L48 ignore this, that's something to fix when we are 90% done
<i509vcb> And the tests below testing for required format feature bits
<i509vcb> I guess the problem you have there is that you know how many failed but not what specific test did
<i509vcb> deqp-runner gives you a results and failures.csv with every test name and whether it failed, crashed, flakes or passed
<i509vcb> (That "Fail (Fail)" dedup is doing some heavy lifting)
<knedlik> Alright, I was using the binary directly without deqp-runner, so I guess that was my issue
<knedlik> I'll try taking a look at the 'vkGetPhysicalDeviceFormatProperties' from line 49 as you said
<knedlik> Hmm, I may be blind, but is the function not implemented yet at all? I'd assume "returning non-zero properties" doesn't happen in an unimplemented function
<i509vcb> That function is delegated to the FormatProperties2 function by mesa for us
<i509vcb> Vulkan has a few of these vkWhatever2 functions since 1.0 didn't consider adding pointer chains to some types or expected all data to be specified via a single fixed signature
<i509vcb> Search for vk_common_GetPhysicalDeviceFormatProperties to see where that forwarding is done
<knedlik> So I'm supposed to patch some function outside the asahi-specific tree and point it to some file in the asahi tree?
<i509vcb> It's all linked for you
<i509vcb> You just need to do stuff inside the agxv_ prefixed functions
<i509vcb> Pretty much look at agxv_GetPhysicalDeviceFormatProperties2
<knedlik> That makes sense now
<knedlik> There it is, I found it, thanks for the help
<i509vcb> TLDR: Mesa makes a big function pointer lookup table for us
<knedlik> It makes sense for a project like this to be honest
<i509vcb> Mesa is also used for several other vulkan implementations so people do want to yeet some boilerplate
<knedlik> I'd assume it should be as easy as adding a guard clause to check for the undefined format?
<i509vcb> Uhh I'd wonder what other drivers do here actually
<i509vcb> I guess take a peek at nvk
<knedlik> Alright
amelia has joined #asahi-gpu
amelia is now known as Guest13092
ameliabadelia has quit [Ping timeout: 480 seconds]
AnuthaDev has quit []
AnuthaDev has joined #asahi-gpu
Guest13092 has quit [Ping timeout: 480 seconds]
AnuthaDev has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi-gpu
amelia_ has joined #asahi-gpu
<knedlik> I have a suspicion NVK does it in the image functions, which means we could just do a guard clause assuming it won't be needed elsewhere
<knedlik> I need clarification here - the error is about returning non-zero properties, but the function is declared as void, where exactly is it returning the properties?
<knedlik> Nevermind, it's a pointer... :facepalm:
<i509vcb> I guess we could just do the quick guard clause
<i509vcb> The properties are returned via one of the pointers
<knedlik> I'm starting to get tired, but tommorow I'll do a quick test if the guard clause clears the test
<knedlik> Should I make a pull request with the change to agxv/main once finished?
maximbaz has quit [Quit: bye]
john-cabaj has joined #asahi-gpu
<alyssa> NVK is the reference drivr
john-cabaj has quit [Ping timeout: 480 seconds]
knedlik has quit [Quit: knedlik]
AnuthaDev has quit []
v9c6or has joined #asahi-gpu
Stary has quit [Ping timeout: 480 seconds]
amelia_ has quit [Ping timeout: 480 seconds]
Stary has joined #asahi-gpu
v9c6or has quit []
xcpy0 has joined #asahi-gpu
crabbedhaloablut has quit []
seb91nihel has joined #asahi-gpu
seb4nihel has quit [Ping timeout: 480 seconds]
WindowPa- has quit [Ping timeout: 480 seconds]
lawrence has joined #asahi-gpu