alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
dogukan has quit [Remote host closed the connection]
<jenatali>
Ugh. dEQP-VK.graphicsfuzz.cov-matching-if-always-true-inside-loop hits an infinite optimization loop with nir_opt_dead_cf
columbarius has joined #dri-devel
<jenatali>
I assume there's some other pass that can get rid of the problematic pattern but I have no idea what it is
co1umbarius has quit [Ping timeout: 480 seconds]
<jenatali>
Loop { phi; if (a) break; else break; phi }. Opt_loop doesn't make progress because the block after the if isn't empty. Opt_dead_cf tries to delete the phi but it gets reinserted
flto has quit [Ping timeout: 480 seconds]
<jenatali>
Hm. Probably opt_remove_phis
sarthakbhatt has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
stern has joined #dri-devel
stern has quit []
<airlied>
zmike: so if I wanted to fallback to zink by failing to load nouveau, how would we do that?
* airlied
tried to hack dri2.c but that wasn't the right answer :-P
<airlied>
uggh going to be a bit horrible to have drivers control the fallback paths
Leopold has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
<zmike>
🤕
<zmike>
I guess you'd probably have to do it from pipe-loader?
<airlied>
yeah think I have to go even higher
<airlied>
like createNewScreen fails, try again, just not sure how to communicate GIMME ZINK over I failed
<zmike>
oh
<zmike>
yeah that's why I said pipe-loader
<zmike>
there's no way to propagate an error up that many levels
<zmike>
well, there is, but you gotta really want it
Danct12 is now known as brrrrrrrrrrrrrrrrrrrrrrrrrrrrr
brrrrrrrrrrrrrrrrrrrrrrrrrrrrr has quit []
Danct12 has joined #dri-devel
bmodem has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
Leopold_ has quit [Remote host closed the connection]
<airlied>
zmike: well I tried in pipe loader but we get the wrong driver extensions
<airlied>
since we need the kopper extensions not the dri2 ones
<zmike>
that's because by then you're in dri...yeah
<zmike>
ugh
<zmike>
so I guess yeah you do have to add error reporting all the way up the stack
<airlied>
at least the dri interface is private now :-P
aravind has joined #dri-devel
<mareko>
mostly
Leopold_ has joined #dri-devel
<airlied>
zmike: considering some sort of callback to set a magic flag :-P
<zmike>
🤕🤕🤕
<airlied>
no idea how that would fit either
<jenatali>
airlied: curious why you'd fail to load nouveau? Is this an NVK-only system where nouveau could work but just wasn't built?
<airlied>
jenatali: no I want to explicitly use zink over nouveau
<airlied>
for certain ranges of GPUs
<airlied>
nouveau could still work, but I don't want to use it
<jenatali>
Oh I see, you want nouveau to opt out, essentially?
<airlied>
yes
<airlied>
ideally we could have it all wrapped into one interface and make the decision really late, but that isn't where we have appeared to end up
<jenatali>
Makes sense. I... don't know that code so I don't have any ideas, just curious since I've done a lot of similar things in other various layering situations
Leopold_ has quit [Remote host closed the connection]
aravind has quit [Ping timeout: 480 seconds]
<airlied>
hmm even where to add the callback is fun, I suppose imageLoaderExtension makes most sense
<mareko>
it looks like I'm stuck with "bisecting a commit failing CI by creating and merging a MR for every bisect step"
kts has joined #dri-devel
kts_ has joined #dri-devel
kts_ has quit []
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
<airlied>
mareko: why don't use use the ci run script?
<airlied>
at least avoids marging it and you can specify just the failing job
<airlied>
geez the whole how to we load a driver dri2/dri3/drisw/zink interactions is all kindas fucked
kts has quit [Ping timeout: 480 seconds]
<mareko>
airlied: what's that?
sarthakbhatt has quit []
glennk has joined #dri-devel
<airlied>
./bin/ci/ci_run_n_monitor.sh
<airlied>
you push the MR, then run that --target the job that is failing
<airlied>
you need a gitlab access token
anujp has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
macromorgan has quit [Ping timeout: 480 seconds]
benjaminl has joined #dri-devel
Leopold has joined #dri-devel
fab has joined #dri-devel
mkazantsev has joined #dri-devel
sima has joined #dri-devel
Leopold has quit [Remote host closed the connection]
tomba_ has joined #dri-devel
Leopold has joined #dri-devel
<mareko>
this is how far I was able to get with it: File "/home/marek/dev/mesa/bin/ci/ci_run_n_monitor.py", line 411 ... TypeError: Gitlab.__init__() got an unexpected keyword argument 'retry_transient_errors'
<airlied>
did you run the .sh and it setup all the pythony stuff?
<airlied>
DavidHeidelberg: ^ maybe?
mkazantsev is now known as Guest2595
mkazantsev has joined #dri-devel
<mareko>
airlied: only .py, the .sh one prints: python: command not found
<mareko>
it's only python3 here
<airlied>
ah maybe hack that to use python3 and rerun it, the sh sets up the venv
<airlied>
or rather hack the bin/python-venv.sh
fab has quit [Quit: fab]
Guest2595 has quit [Ping timeout: 480 seconds]
raambm has joined #dri-devel
raambm[m] has joined #dri-devel
zhiwang has joined #dri-devel
mkazantsev is now known as Guest2598
mkazantsev has joined #dri-devel
zhiwang1 has joined #dri-devel
raambm has quit []
<mareko>
it's stuck here now: ⏲ for the pipeline to appear in ['mesa/mesa', 'mareko/mesa']...... (keeps adding dots)
raambm has joined #dri-devel
raambm has quit [Remote host closed the connection]
rgallaispou has joined #dri-devel
raambm has joined #dri-devel
frieder has joined #dri-devel
zhiwang2 has joined #dri-devel
Haaninjo has joined #dri-devel
zhiwang has quit [Ping timeout: 480 seconds]
Guest2598 has quit [Ping timeout: 480 seconds]
zhiwang1 has quit [Ping timeout: 480 seconds]
mkazantsev is now known as Guest2599
mkazantsev has joined #dri-devel
fab has joined #dri-devel
mkazantsev has quit [Remote host closed the connection]
jsa has joined #dri-devel
Guest2599 has quit [Ping timeout: 480 seconds]
tzimmermann has joined #dri-devel
zhiwang has joined #dri-devel
raambm has quit []
zhiwang1 has joined #dri-devel
bolson has quit [Remote host closed the connection]
zhiwang2 has quit [Ping timeout: 480 seconds]
zhiwang has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
sghuge_ has joined #dri-devel
sghuge has quit [Remote host closed the connection]
<pepp>
airlied: fwiw I have a similar need for virtio native context (try native ctx/radeonsi, fallback to virgl)
<pepp>
airlied: see the first commit of !21658
kts has quit [Ping timeout: 480 seconds]
zhiwang1 has left #dri-devel [#dri-devel]
<MrCooper>
mareko: there should be no need to create an MR for running the CI pipeline, let alone merge it
ndufresne has quit [Quit: Ping timeout (120 seconds)]
ndufresne has joined #dri-devel
heat has joined #dri-devel
<airlied>
pepp: at least there I think both paths should be possible using dri2 loader fallback
cmichael has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
RSpliet has quit [Quit: Bye bye man, bye bye]
RSpliet has joined #dri-devel
<swick[m]>
pq: just had a look, the HDMI/CTA-861 InfoFrame implies either RGB or YCC. YCC implies a conversion matrix. There is a table mapping each InfoFrame value to some transfer characteristics...
<swick[m]>
so, uh, yeah, I'm starting to agree with vsyrjala
kts has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
heat has quit [Remote host closed the connection]
<pq>
swick[m], TF, really? Yeah, we need a table then, including making the difference which part if done by KMS manipulating pixel values itself and what userspace needs to set up on its own.
heat has joined #dri-devel
pcercuei has joined #dri-devel
KetilJohnsen has joined #dri-devel
hansg has quit [Quit: Leaving]
kts has joined #dri-devel
zhiwang has joined #dri-devel
KetilJohnsen has quit [Remote host closed the connection]
<mairacanal>
KungFuJesus, I'm not sure how you compiled DXC
<sima>
robclark, push to drm-misc-next? I'm confused what I'm needed for
<robclark>
we need it in -fixes
<robclark>
and also.. please start using gitlab-ci on -misc ;-)
<sima>
well then push to drm-misc-fixes?
<sima>
robclark, also I guess first we'd need to have gitlab ci in drm.git ...
<sima>
or wherever
<robclark>
it would be nice to get an a-b or r-b on that patch from someone outside of drm/msm .. I think lumag or dianders could push to drm-misc-fixes
<robclark>
not sure how to do gitlab ci w/ dim tooling, but it would be a worthwhile thing to figure out, I think.. maybe dim stuff pushes to a staging MR and then merge via gitlab? idk
<lumag>
robclark, sima, I can push it after going through CI, if that's overall consensus.
<sima>
robclark, lumag r-b stamped
<sima>
I also replied that maybe with linux/cleanup.h we can now do better, but not sure
macromorgan has joined #dri-devel
zackr has quit [Ping timeout: 480 seconds]
<robclark>
we'd have to more clearly make the body of the retry part it's own scope.. but IMO that would be worthwhile.. I'd have to think on it
mvlad has joined #dri-devel
advait has joined #dri-devel
fab has quit [Quit: fab]
<dianders>
robclark: happy to push it to drm-misc-fixes if it's useful, but sounds as if lumag is already on it.
hansg has joined #dri-devel
anujp has joined #dri-devel
bolson has joined #dri-devel
anujp has quit []
anujp has joined #dri-devel
junaid has joined #dri-devel
kzd has joined #dri-devel
alyssa has joined #dri-devel
Duke`` has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
pa has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
pa has joined #dri-devel
Duke`` has joined #dri-devel
dorcaslitunyaVM has quit [Ping timeout: 480 seconds]
dorcaslitunyaVM has joined #dri-devel
davispuh has joined #dri-devel
dorcaslitunyaVM has quit [Ping timeout: 480 seconds]
frieder has quit [Remote host closed the connection]
riteo has joined #dri-devel
dorcaslitunyaVM has quit [Ping timeout: 480 seconds]
dorcaslitunyaVM has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
vliaskov has quit [Remote host closed the connection]
<alyssa>
mareko: fwiw I'm reviewing opt_varyings now
dorcaslitunyaVM has quit [Ping timeout: 480 seconds]
<zmike>
mareko: is there some reason you're unable to file cts tickets?
<zmike>
I guess I'll file now
dorcaslitunyaVM has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
<zmike>
mareko: you'll need to follow along and test CLs to verify that they actually fix your issues
dorcaslitunyaVM has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
rasterman has quit [Quit: Gettin' stinky!]
<cmarcelo>
process question: couldn't reach the mesa/vkrunner maintainer (Neil) in a while (about 3 months, also tried email & reaching to other people that might be connected to him), is it OK to merge a few changes there? the repo is in the fdo gitlab.
<cmarcelo>
mattst88: at this point I'm happy with anyone's ack :-) but will try to communicate through mastodon.
<cmarcelo>
tks
<alyssa>
normal
simon-perretta-img has quit [Ping timeout: 480 seconds]
Leopold_ has joined #dri-devel
fab has quit [Quit: fab]
simon-perretta-img has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
mr_q has joined #dri-devel
tomba_ has quit [Ping timeout: 480 seconds]
hansg has quit [Quit: Leaving]
pcercuei has quit [Ping timeout: 480 seconds]
Leopold_ has joined #dri-devel
konstantin_ has joined #dri-devel
konstantin is now known as Guest2666
konstantin_ is now known as konstantin
pcercuei has joined #dri-devel
Guest2666 has quit [Ping timeout: 480 seconds]
glennk has quit [Remote host closed the connection]
jsa has quit []
mr_q has quit [Remote host closed the connection]
tursulin has quit [Ping timeout: 480 seconds]
<llyyr>
it's not possible to build anv without llvm now because of opencl stuff, is it going to stay like this?
<mattst88>
yes, I believe so
<karolherbst>
oh wow.. why didn't I see !26797 before 🙃
Jeremy_Rand_Talos has joined #dri-devel
danylo has quit [Quit: Ping timeout (120 seconds)]
danylo has joined #dri-devel
<alyssa>
karolherbst: :-D
* alyssa
so proud
<karolherbst>
I stopped reading at "An additional benefit is that we get to write Genxml style code in opencl shaders"
<karolherbst>
how cursed can GL drivers ever get
<alyssa>
karolherbst: that was my idea ;D
<karolherbst>
though I still have to write my clc meta code to accelerate some buffer operations
<karolherbst>
like strided buffer copies
<alyssa>
mattst88: dj-death: dcbaker: I don't think I understand the issue with cross-builds with intel_clc
<karolherbst>
does GL have silly APIs like that?
<alyssa>
Isn't meson supposed to sort that out with native:true?
<karolherbst>
If I'd known 6 years ago where this "would be a fun idea to support CL through nir" would get us....
Duke`` has quit [Ping timeout: 480 seconds]
<mattst88>
alyssa: I'll explain in a sec
<dcbaker>
alyssa: we need it for both machines
<dcbaker>
which means building a lot of helper libs for both machines
<dcbaker>
which is annoying
<alyssa>
mmh, right
<alyssa>
I guess I misunderstood native:true as telling meson to do that double-building
<dcbaker>
yeah, that option is badly named it really should be machine : 'build' | 'host'
<dcbaker>
I think I finally finished writing all of the stuff I need to rewrite to fix my patches to allow subprojects for both machines, which is the first step to fixing that problem
<dcbaker>
cross compiling is a pain
<alyssa>
wheeeeeeeee
<alyssa>
good luck
* alyssa
is a chaos agent
<mattst88>
yeah, tl;dr is that intel_clc needs to be built for the build machine, which will be different from the machine a cross-compiled mesa runs on
<alyssa>
~~qemu user~~delet
<mattst88>
and since intel_clc and the mesa drivers need nir compiled, meson identifies that intel_clc is including files compiled for the host machine, not the build machine
* dcbaker
is agent of order
<dcbaker>
hopefully I will put everything in it's proper place soon