<mlatus>
Hi everyone, asking for help: I got the following error trying to test hardware acceleration with glmark2: `MESA: error: CreateSwapchainKHR failed with VK_ERROR_INITIALIZATION_FAILED MESA: error: zink: could not create swapchain`. I'm running on an unusal environment: a lxc container on an Android device where /dev/kgsl-3d0 and /dev/dma_heap are bind-mounted from host. The display is provided by Termux-X11. Mesa is compiled with freedreno-kmds=msm,kgsl.
<mlatus>
The GPU is Adreno 740. mesa-zink installed from termux-repository works. Is this an already known issue? How do I get more detailed logs? I tried to set MESA_LOG_LEVEL=debug but the error message above is all I got so far. Thanks!
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
cmichael has joined #dri-devel
kts has quit [Quit: Leaving]
rgallaispou has quit [Read error: Connection reset by peer]
rgallaispou has joined #dri-devel
pochu has quit [Quit: reboot]
warpme has joined #dri-devel
servik has quit [Remote host closed the connection]
frieder has quit [Ping timeout: 480 seconds]
mlatus has quit [Remote host closed the connection]
frieder has joined #dri-devel
pcercuei has joined #dri-devel
pochu has joined #dri-devel
kts has joined #dri-devel
pcercuei has quit [Quit: brb]
dolphin has joined #dri-devel
kts has quit [Quit: Leaving]
guludo has joined #dri-devel
pcercuei has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
jkrzyszt has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
sukuna has joined #dri-devel
apinheiro has joined #dri-devel
heat has joined #dri-devel
himal has quit [Ping timeout: 480 seconds]
oneforall2 has quit [Read error: No route to host]
<Lynne>
this tiny piece of code is enough to take 60 seconds to compile, IF it compiles at all
kzd has joined #dri-devel
kts has joined #dri-devel
<Lynne>
I can't explain why, put_rac is 20 lines of code of barely a few dozen adds and mults
<Lynne>
if I add just one more put_symbol(), glslang errors out with an unknown error, just gives up
Haaninjo has joined #dri-devel
<MrCooper>
-EGONESHOPPING
<glehmann>
Lynne: do you use the glslang optimization options? I thought by default it barely does anything and the output spirv is really close to the source
<Lynne>
nope, everything's disabled
kzd has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
<Lynne>
even pre-baking all function parameters still makes it choke
yogesh_m1 has joined #dri-devel
yogesh_mohan has quit [Ping timeout: 480 seconds]
dsimic is now known as Guest7229
dsimic has joined #dri-devel
mdroper has quit [Ping timeout: 480 seconds]
Guest7229 has quit [Ping timeout: 480 seconds]
tarceri_ has joined #dri-devel
tarceri has quit [Ping timeout: 480 seconds]
jsa has quit []
iive has joined #dri-devel
jsa has joined #dri-devel
f11f12 has quit [Quit: Leaving]
bmodem has quit [Ping timeout: 480 seconds]
frieder has quit [Remote host closed the connection]
tzimmermann has quit [Quit: Leaving]
<cmarcelo>
alyssa: I can revive if there's any interest. i kind of liked it having the "overflow" extra data.
<cmarcelo>
alyssa: note the shuffle themselves were implemented. that extension has a bunch of other things.
<DemiMarie>
@_oftc_mlatus:matrix.org: does Mesa support the kernel driver you are using?
oneforall2 has joined #dri-devel
kzd has joined #dri-devel
<alyssa>
cmarcelo: yeah.. I realized this morning shuffle-and-fill should be equivalent to bcsel-and-rotate
<alyssa>
so even if we don't end up vk_ext'ing it, there might be an isel opportunity
<alyssa>
apple docs suggest that this operation forms the building block for efficient convolutions, and in fact m2+ has a single instruction (!) for "quad shuffle and fill, then fma with that result"
<alyssa>
but if amd/nvidia don't benefit I can understand it not getting standardized :P
<cmarcelo>
alyssa: is there a URL reference to the metal one?
<cmarcelo>
alyssa: tks. will take a look. for intel, we can also do a trick with two consecutive regs and regioning depending on the case. would it be useful to you if we made an NIR intrinsic for this? (right now we lower right at spirvtonir)
<alyssa>
ye
oneforall2 has quit [Ping timeout: 480 seconds]
<cmarcelo>
alyssa: ok, will ping you when I have something
<alyssa>
cool :}
<alyssa>
then the harder problem, getting devs to use it :P
<cmarcelo>
yeah, that's another step
<cmarcelo>
now will effectively move the lowering from spirv into the relevant nir pass.
<alyssa>
good news is that it can be lowered easily to bcsel&rotate so we can flip on the hypothetical ext for every vk driver in mesa all at once :P
rgallaispou has quit [Remote host closed the connection]
ybogdano has joined #dri-devel
cmichael has quit [Quit: Leaving]
lynxeye has quit [Quit: Leaving.]
<cmarcelo>
alyssa: re: video. unless I'm missing something, the _fill part helps a little bit + ergonomics but seems the winner there is the fact you can shuffle stuff no? (i.e. without the fill you'll still be able to do the algorithm, just using two inst instead of one)
<cmarcelo>
(the "win" being less samples being taken)
kts has quit [Quit: Leaving]
mbrost has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
androidui has quit [Ping timeout: 480 seconds]
ZLangJIT has joined #dri-devel
ZLangJIT is now known as androidui
LeviYun has quit [Ping timeout: 480 seconds]
<alyssa>
cmarcelo: yeah, for sure
<alyssa>
which is why it would make sense to expose in vk/cl even on hardware that needs it lowered
<alyssa>
I have no idea why Apple doesn't do so. Force people to buy new hardware, maybe :<
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
epoch101 has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
tobiasjakobi has joined #dri-devel
epoch101 has quit []
LeviYun has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
tobiasjakobi has quit []
epoch101 has joined #dri-devel
epoch101 has quit []
epoch101 has joined #dri-devel
epoch101 has quit []
epoch101 has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
epoch101 has quit []
epoch101 has joined #dri-devel
gouchi has joined #dri-devel
fahien has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
Calandracas has quit [Ping timeout: 480 seconds]
jsa has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
fahien has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
warpme has quit []
dstevenson has quit [Remote host closed the connection]
jsa has joined #dri-devel
vliaskov_ has quit [Ping timeout: 480 seconds]
<bluetail>
alyssa with the option to downgrade iOS you get back performance. Newer iOS is usually demanding more. Same for macOS.
fahien has joined #dri-devel
tarceri__ has joined #dri-devel
tarceri_ has quit [Read error: Connection reset by peer]
tarceri__ has quit [Read error: Connection reset by peer]
tarceri__ has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
epoch101 has quit []
warpme has quit []
fahien has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
mbrost has joined #dri-devel
warpme has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
fahien has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
fahien has quit [Ping timeout: 480 seconds]
fahien has joined #dri-devel
gouchi has quit [Remote host closed the connection]
fahien has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
sima has quit [Ping timeout: 480 seconds]
warpme has quit []
imre has quit [Ping timeout: 480 seconds]
fahien has joined #dri-devel
digetx has quit [Ping timeout: 480 seconds]
fahien has quit [Ping timeout: 480 seconds]
fahien has joined #dri-devel
vliaskov_ has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
vliaskov_ has quit [Ping timeout: 480 seconds]
Calandracas has joined #dri-devel
fahien has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
fahien has joined #dri-devel
guludo has quit [Quit: WeeChat 4.4.2]
fahien has quit [Ping timeout: 480 seconds]
digetx has joined #dri-devel
androidui has quit [Ping timeout: 480 seconds]
sukuna has quit [Ping timeout: 480 seconds]
androidui has joined #dri-devel
bolson has quit [Ping timeout: 480 seconds]
docmax__ has joined #dri-devel
docmax_ has quit [Ping timeout: 480 seconds]
docmax_ has joined #dri-devel
fahien has joined #dri-devel
docmax__ has quit [Ping timeout: 480 seconds]
docmax__ has joined #dri-devel
docmax has joined #dri-devel
bolson has joined #dri-devel
fahien has quit [Ping timeout: 480 seconds]
sukuna has joined #dri-devel
loki_val has joined #dri-devel
docmax_ has quit [Ping timeout: 480 seconds]
<Ermine>
I've got a feeling that dotclock can be computed using other parameters of a given mode. Am I wrong?
androidui has quit [Ping timeout: 480 seconds]
docmax__ has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit [Ping timeout: 480 seconds]