ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
mbrost has joined #dri-devel
srslypascal has quit [Quit: Leaving]
<anholt> anyone know the gl cts code? Looking to add logging of an image, kind of lost how to do that when I've just got some readpixels data plus a format and type.
srslypascal has joined #dri-devel
jewins has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
<airlied> anholt: tcu::TestLog::Image("Result", "Rendered result image", textureLevel.getAccess())
<airlied> is the sort of thing I see
jewins has joined #dri-devel
<airlied> just have to use tcu::TextureLevel
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #dri-devel
pcercuei has quit [Quit: dodo]
djbw has quit [Read error: Connection reset by peer]
<anholt> airlied: oof. that's not going to play well with the test reading into a std::vector<GLtype> of components.
djbw has joined #dri-devel
<airlied> yeah probably need something like glu::readPixels(m_context.getRenderContext(), 0, 0, textureLevel.getAccess());
<anholt> I think I might be able to just log by whipping up a ConstPixelBufferAccess() around the existing readpixels data.
<airlied> Lynne: that ffmpeg transcode seems to produce an Rext h265 file that I can't play with vaapi
<airlied> oh maybe 10-bit
ybogdano has quit [Ping timeout: 480 seconds]
* airlied tries -profile main to no avail
mbrost has quit [Read error: Connection reset by peer]
<anholt> airlied: thanks, that pointer got me on track at least
shashanks_ has joined #dri-devel
shashanks has quit [Ping timeout: 480 seconds]
bbrezillon has quit [Ping timeout: 480 seconds]
<karolherbst> uhh... somehow fp16 is a bigger issue with radeonsi than I initially though it is. The translation of shifts to llvm can't really deal with vec2 fp16 things as it seems
<karolherbst> airlied: do you spot the soution for this line of code? https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/amd/llvm/ac_nir_to_llvm.c#L726
m_ has joined #dri-devel
<karolherbst> apparently the type check doesn't work inside LLVMGetIntTypeWidth
<karolherbst> (checks against int or something)
<airlied> oh is type a vector?
<karolherbst> yeah, vec2
<karolherbst> radeonsi vectorizes int16 types to vec2
<karolherbst> well.. fp16
m_ has quit []
<karolherbst> but also opts to general vec2 16 loads
mhenning has joined #dri-devel
<karolherbst> "vec2 16 div ssa_29 = ishr ssa_27, ssa_28.xx"
<airlied> it's likely you coud work out from the nir side \
<airlied> instead of using llvm
<karolherbst> yeah... I think the question is rather if AMD hw can do vec2 shifts or if I have to scalarize that (or prevent vectorization of int16)
<airlied> ac_get_elem_bits should do it
<karolherbst> ahh... okay
<airlied> should at least allow you to make the hw die
<karolherbst> should be src[1] in the typeof anyway...
mhenning_ has joined #dri-devel
<karolherbst> now LLVMConstInt asserts
jfalempe_ has joined #dri-devel
mhenning has quit []
mhenning has joined #dri-devel
mhenning_ has quit []
<Lynne> airlied: oh, you're right, it does
<Lynne> how odd for x265
<Lynne> rext is meant to be backwards compatible, so it shouldn't really result in problems, but still, changing the profile in ways users don't expect is eh
<Lynne> use vaapi then
<airlied> Lynne: vaapi reports rext not supportde
<Lynne> ffmpeg -init_hw_device "vaapi=vp:/dev/dri/renderD128" -i <INPUT> -vf format=nv12,hwupload -c:v hevc_vaapi -keyint_min 1 -g 1 -vframes 240 -b:v 100M -an -y TEST_HEVC_INTRA.mkv
bbrezillon has joined #dri-devel
<Lynne> this will give you a regular Main profile
<karolherbst> airlied: I guess I'll figure out first if it's worth caring and if not try to split up those ops...
jfalempe has quit [Remote host closed the connection]
<karolherbst> though I guess the hw can do it, because it doesn't die on doing the same stuff with iadd
<karolherbst> airlied: do we have a helper to do scalar and vector consts for llvm?
<airlied> Lynne: I don't have a hevc encode profile for vaapi, I wonder why
<airlied> karolherbst: don't think so, we normally just build them using LLVMConstInt etc
<karolherbst> ehh...
<airlied> karolherbst: you could make an ac version of lp_build_const_int_vec
<airlied> don't think you can use the lp one directly
mhenning has quit [Quit: mhenning]
<Lynne> airlied: no other cards to use just to encode an hevc clip? even intel works
<airlied> Lynne: oh that's probbaly my own fault
<karolherbst> now to figure out if I have a vector or scalar with the C api...
mhenning has joined #dri-devel
<airlied> karolherbst: you sohuld be able to work that out from nir though
<karolherbst> uhh.. right
<airlied> Lynne: okay I think I have video file I can test with
<Lynne> if it says "Decoder capabilities for hevc profile "Main":' before the capabilities are printed you're good to go
<airlied> I'm in the h265 msg constructor on both sides now
<Lynne> msg constructor?
<airlied> the driver get_h265_msg function
yuq825 has joined #dri-devel
<airlied> Lynne: seeing pps differences around uniform_spacing_flag and loop_filter_across_tiles_enabled_flag
psykose has quit [Remote host closed the connection]
<karolherbst> "PASSED sub-test." :3
psykose has joined #dri-devel
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
<karolherbst> airlied: do you think you can wire up aco or make radeonsi not consume image derefs while I'm on vacation? πŸ™ƒ
<airlied> karolherbst: lols, probably not, but who knows, :-P
<karolherbst> heh
<karolherbst> anyway.. got my rusticl/si branch to pass an embedded CTS run now.. at least hte subtests (- the out of order one)
<karolherbst> and I even think about enabling radeonsi after that MR lands, because it's working fine for most things with that
<karolherbst> but the io lowering or rather samplers/textures being uniforms really makes it a huge pita issue :/
<Lynne> (on the topic of rusticl, hashcat makes nasty GPU crashes for me, even taking down the display controller)
<karolherbst> which GPU?
<karolherbst> but yeah.. I can imagine there being some annoying bugs still, but at least the CL CTS is more or less happy
<Lynne> 6900xt
<karolherbst> heh
<karolherbst> how are you running it?
<Lynne> with the case open
<karolherbst> what case?
<Lynne> computer case, cooling it down is nigh impossible
<karolherbst> okay sure, but I was actually wondering how you run hashcat
<Lynne> ah, mode 22000
<karolherbst> ehh.. assume I have no idea how to use hashcat, what do I need to do to trigger the crash you are experiencing
<Lynne> performance-wise, when it runs fine, I get around 2.2 1080TIs, which is a bit on the low side
<Lynne> oh, err, let me boot up my other machine to give you a command line
<karolherbst> if it doesn't run for several seconds the perf numbers might not be reliable
<karolherbst> also.. radeonsi compiles really really lazily, and I have some WIP patches to prevent that from messing up benchmarks as well
YuGiOhJCJ has joined #dri-devel
<Lynne> ./hashcat -m 22000 --self-test-disable -a 3 hash_test.hc22000 should trigger it
camus has joined #dri-devel
<karolherbst> "Hash 'hash_test.hc22000': Separator unmatched"
<karolherbst> anyway, it's not doing anything for me
<Lynne> yeah, you need a file
<Lynne> well, you can either capture one yourself, or you can just use some random sample I found, https://github.com/pavanjuluru143/pavanWPA2PSK/blob/main/handshake3.hc22000
<karolherbst> let's see what happens
<karolherbst> ahh yeah, my GPU starts to ramp up
<karolherbst> Speed.#1.........: 615.1 kH/s (0.00ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
<Lynne> it's somewhat temperamental, if it doesn't cause crashes during startup, it won't in the future
<Lynne> keep in mind this was about 4 weeks ago when I tested it
flto has quit [Remote host closed the connection]
<Lynne> not sure if there were changes made to the branch, I got tired of rebasing it along with all other patches I have
<karolherbst> yeah... I fixed some annoying issues since then
<karolherbst> let's see how ROCm performs
<karolherbst> ah yes
<karolherbst> slowerπŸ™ƒ
<karolherbst> ROCm: 550.7 kH/s (8.19ms) @ Accel:32 Loops:128 Thr:256 Vec:1
<karolherbst> Rusticl: 615.4 kH/s (0.00ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
<karolherbst> don't mind the ms πŸ™ƒ I didn't properly implement profiling
Company has quit [Quit: Leaving]
flto has joined #dri-devel
off^ has joined #dri-devel
flto has quit [Quit: Leaving]
pjakobsson has joined #dri-devel
pjakobsson_ has quit [Ping timeout: 480 seconds]
flto has joined #dri-devel
jewins has quit [Ping timeout: 480 seconds]
<ishitatsuyuki> won? impressive
<ishitatsuyuki> that said, it's the same LLVM compiler under the hood
<ishitatsuyuki> (probably)
<karolherbst> yeah.. both are using llvm-15
<karolherbst> I'd be curious how ACO would perform, but for that we'd have to wire up aco for radeonsi first
<karolherbst> but from my earlier testing with zink I've got like 10% lower performance, but that could also be the overhead of zink+vulkan
<ishitatsuyuki> ACO's main problem is that it isn't ready for crypto related instructions I think
<ishitatsuyuki> just need a few more NIR algebraic plus custom instructions
<karolherbst> rusticl doesn't use them either
<ishitatsuyuki> LLVM can detect those patterns
<karolherbst> ahh yeah.. maybe
<ishitatsuyuki> circular shift is one
<karolherbst> depends a little on how much nir messed up the shader
<karolherbst> _but_
<karolherbst> the reason rusticl is faster is probably nir anyway
<ishitatsuyuki> :frog:
<karolherbst> yeah...
<karolherbst> I mean, I compile CL C to LLVM IR to SPIR-V to NIR and radeonsi turns that into LLVM IR πŸ™ƒ
<karolherbst> and both rusticl and radeonsi run some opt passes on the nir shader
<karolherbst> but the most interesting part here is, that the nir shader almost looks like a normal GL compute shader
<ishitatsuyuki> the structurizer is doing a good job, perhaps
<karolherbst> yeah... or LLVM just isn't that great πŸ™ƒ
<karolherbst> but I hope that ROCm structurizes as well? dunno... maybe they do all opts on unstructured code?
<karolherbst> I think the LLVM structurizer was especially added for GPUs back then? dunno...
<karolherbst> yeah.. it was initially a r600 private pass
<karolherbst> but yeah, I am actually impressed by the structurizer we've gotten. Whoever wrote the initial code: big thanks to you
yuq825 has quit []
<airlied> Lynne: ah those pps flags are not decoded by vaapi driver anyways
<Lynne> I did check them, and they did look fine to me
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
<Lynne> I think I got the ref frame structs to look fine, but still, the slot number is the major point of confusion
<Lynne> no one else refers to slotindex like this, not the specs, not other decoding APIs, none
<Lynne> in h264ese it was fine, there were frame_num and pic_id which directly corresponded to the concept of DPB IDs
<Lynne> but hevc simplified and yet made more complex the way DPBs are assigned
* airlied has even less knowledge of hevc than h264, I've at least stared at two hw h264 decode paths
<Lynne> me neither, both of them are too low brow and mainstream for my tastes
<airlied> guess we should start speccing AV1 vulkan then :-P
<airlied> which is actually one of motiviations for getting it off the ground
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
<Lynne> what I'd really like to see is exposing theh film grain functionality as a separate command
<Lynne> but more likely than not, it'll just be a requirement where decoding av1 would require DISTINCT decoding mode
<Lynne> by the way, how are encoders exposing their vendor-specific options with vulkan encode?
nchery has joined #dri-devel
* airlied hasn't dug into encoders at all yet
<airlied> Lynne: there are a bunch of usage flags and tuning flags
<airlied> and capability flags, maybe they try to standardise the vendor specific bis
<Lynne> still seems kinda limited to what nvdec has as an options list
<Lynne> btw do you think there would be an issue if the slices data buffer was sparse?
<airlied> I think that should be fine
slattann has joined #dri-devel
<Lynne> updated my repo, if you do get keyframes to decode properly, check out line 659 in vulkan_hevc.c
<Lynne> ref_slot is the questionable number
<Lynne> that's it for me tonight, an hour early than yesterday, it's progress, but mornings are for sleeping through anyway
aravind has joined #dri-devel
<airlied> Lynne: cool, not sure I'll be making much headway today, somehow caught another illness,
columbarius has quit [Ping timeout: 480 seconds]
columbarius has joined #dri-devel
<airlied> Lynne: I think I got it seems related to pcm_sample_bit_depth_luma_minus1 and pcm_sample_bit_depth_chroma_minus1;
<airlied> hardcoding those to 0
slattann has quit [Read error: Connection reset by peer]
<airlied> Lynne: pushed a hacky fix to my branch, but I think it needs fixing on ffmpeg side
<airlied> looks like pcm.bit_depth might be 0
slattann has joined #dri-devel
<airlied> or maybe I should key it off pcm_enabled_flags
<airlied> let me try that
kts has joined #dri-devel
Nyaa has joined #dri-devel
<airlied> Lynne: okay pushed that fix to the branch, I frames seem good now
heat has quit [Ping timeout: 480 seconds]
<airlied> Lynne: it look like the current picture slotIndex isn't set properly
<airlied> I hacked the first call to vk_hevc_fill_pict and I'm seeing some better decoding (still broken)
aravind has quit [Ping timeout: 480 seconds]
slattann has quit [Read error: Connection reset by peer]
nchery has quit [Remote host closed the connection]
slattann has joined #dri-devel
nchery has joined #dri-devel
maxzor has quit [Ping timeout: 480 seconds]
mhenning has quit [Quit: mhenning]
bgs has joined #dri-devel
Akari has joined #dri-devel
junaid has joined #dri-devel
ngcortes has quit [Read error: Connection reset by peer]
rmckeever has quit [Quit: Leaving]
pekkari has joined #dri-devel
danvet has joined #dri-devel
slattann1 has joined #dri-devel
Duke`` has joined #dri-devel
fab has joined #dri-devel
slattann has quit [Ping timeout: 480 seconds]
pekkari has quit [Quit: Konversation terminated!]
pekkari has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
<tjaalton> dcbaker: hey, will there be a final 22.2.x release soon?
bgs has quit [Remote host closed the connection]
Nyaa has quit [Remote host closed the connection]
Nyaaori has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
camus has joined #dri-devel
dcz_ has joined #dri-devel
fab has quit [Quit: fab]
yuq825 has joined #dri-devel
junaid has quit [Remote host closed the connection]
off^ has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
junaid has joined #dri-devel
rasterman has joined #dri-devel
ppascher has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
tzimmermann has joined #dri-devel
junaid has quit [Ping timeout: 480 seconds]
tursulin has joined #dri-devel
fab has quit [Quit: fab]
jlawryno has joined #dri-devel
vliaskov has joined #dri-devel
slattann1 has left #dri-devel [#dri-devel]
<Siddh[m]> siqueira: Hi, I have a query regarding xorgevoc and amdgpu tests. I had emailed you (and melissawen) regarding it, could you please take a look at it?
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
lynxeye has joined #dri-devel
<MrCooper> DemiMarie: they need to use compute APIs with corresponding guarantees, and workstation-grade GPUs with error correction/detection
sarahwalker has joined #dri-devel
swalker_ has joined #dri-devel
swalker_ is now known as Guest1334
sarahwalker has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
fab has joined #dri-devel
fab has quit [Read error: Connection reset by peer]
fab has joined #dri-devel
MajorBiscuit has joined #dri-devel
<DemiMarie> MrCooper: which APIs provide such a guarantee? CUDA? OpenCL? HIP?
fab has quit [Quit: fab]
fab has joined #dri-devel
fab has quit [Quit: fab]
fab has joined #dri-devel
Akari has quit [Quit: segmentation fault (core dumped)]
shashanks__ has joined #dri-devel
shashanks_ has quit [Read error: Connection reset by peer]
fab has quit [Read error: No route to host]
fab has joined #dri-devel
shashanks__ has quit [Ping timeout: 480 seconds]
<ishitatsuyuki> DemiMarie: It's the libraries (sometimes standard library functions too), really. GPUs inherently have non-deterministic execution order between threads, so you need to avoid any techniques that doesn't fully commute (e.g. atomicAdd)
<Lynne> airlied: you're right, that is hacky
<Lynne> shouldn't the device itself ignore pcm if not enabled?
fab has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
jkrzyszt has joined #dri-devel
fab has quit [Quit: fab]
Guest1340 has joined #dri-devel
Guest1340 has quit []
shashanks has joined #dri-devel
shashanks has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
Company has joined #dri-devel
<melissawen> Hi Siddh[m], I don't plan new mentorships in the next rounds. But I can say the KUnit test coverage for amd display is still small, so there's a lot of room to work on unit tests there.
shashanks has joined #dri-devel
<melissawen> due to the nature of unit testing, I see you won't need many subsystem concepts to start to contribute
<melissawen> and that's what happened to our mentees this year
junaid has quit [Quit: leaving]
junaid has joined #dri-devel
<melissawen> I don't know siqueira's plans for the next year, but you can also check mairacanal and tonyk plans on DRM/KUnit mentorship
junaid has quit []
junaid has joined #dri-devel
junaid has quit []
junaid has joined #dri-devel
shashanks_ has joined #dri-devel
shashanks has quit [Read error: Connection reset by peer]
kts has quit [Quit: Leaving]
<mairacanal> Siddh[m]: sorry for the late reply! "what is the implicitly expected level of familiarity with GPU code, kernel, and/or testing in general for someone to consider applying in the first place?" -> As melissawen pointed out, I don't believe that you need huge familiarity with GPU code, but I would say that familiarity with the kernel contribution
<mairacanal> workflow and C knowledge is essential. Moreover, it is also good to have some familiarity with the KUnit API, which has some great documentation. I believe that before applying it, it is nice to have some small contributions to the DRM, in order to learn the mailing-list workflow and learn how to build the kernel.
junaid has quit [Remote host closed the connection]
shashanks_ has quit [Ping timeout: 480 seconds]
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
jlawryno has quit [Remote host closed the connection]
jlawryno has joined #dri-devel
nils__ has joined #dri-devel
jlawryno_ has joined #dri-devel
nils__ has quit []
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
jlawryno has quit [Ping timeout: 480 seconds]
ishitatsuyuki has quit [Quit: No Ping reply in 180 seconds.]
ishitatsuyuki has joined #dri-devel
kts has quit [Quit: Leaving]
jlawryno_ has quit [Remote host closed the connection]
jlawryno_ has joined #dri-devel
Didgy has joined #dri-devel
<Didgy> Hey guys, I'm new. I'm hoping to get started with learning GPU driver development the coming year
ishitatsuyuki has quit [Quit: No Ping reply in 180 seconds.]
ishitatsuyuki has joined #dri-devel
<mupuf> Didgy: I see you have chosen the path of the dark side! Put aside your sanity, you will not be needing it where you are going ;)
<Didgy> Yeah, that's my other acquintances are saying as well, but I'm eager to learn
<Didgy> Currently just getting familiar with building Mesa
<mupuf> More seriously, find a GPU you care about, deploy the latest versions of every compnent of the driver, find an app that doesn't work because of a missing feature, learn about the feature, learn about the driver, and get cracking
<Didgy> I'm not familiar with drivers at all, but I'm fairly familiar with writing Vulkan applications
<Didgy> Any resources you guys have to recommend would be appreciated
<Didgy> My goal is to contribute to the PanVk driver, but I'm starting with just learning about the Intel driver first
<mupuf> well, if you have used Vulkan, you are already in a good place
<mupuf> Not sure there is much value in learning a driver first to better learn about another one later
jlawryno_ has quit [Ping timeout: 480 seconds]
<Didgy> I have a Rock 3A SBC at home, I'll be able to use that for learning after New Years
<Didgy> I'm just not very familiar with the Mesa project at all, so I figured I'll just start somewhere while I'm waiting to use that
<mupuf> I see! Well, you can definitely learn about deploying mesa in the mean time
<Didgy> I'm also not used to communicating over IRC and mailing-lists, so that's going to be new
ishitatsuyuki has quit [Quit: No Ping reply in 180 seconds.]
ishitatsuyuki has joined #dri-devel
<mupuf> Well, enjoy your time of discovery!
jlawryno_ has joined #dri-devel
jlawryno_ has quit [Remote host closed the connection]
jlawryno_ has joined #dri-devel
Guest1350 has joined #dri-devel
srslypascal is now known as Guest1351
srslypascal has joined #dri-devel
Guest1351 has quit [Ping timeout: 480 seconds]
flibit has joined #dri-devel
Didgy has quit [Quit: Konversation terminated!]
flibitijibibo has quit [Ping timeout: 480 seconds]
jlawryno_ has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
ppascher has joined #dri-devel
pcercuei has joined #dri-devel
rsalvaterra has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
kts has quit [Quit: Leaving]
dliviu has quit [Read error: No route to host]
dliviu has joined #dri-devel
zarast has quit []
zaratustra has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
maxzor has joined #dri-devel
jkrzyszt has joined #dri-devel
OftenTimeConsuming has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
agd5f has quit [Read error: Connection reset by peer]
maxzor has quit [Remote host closed the connection]
maxzor has joined #dri-devel
Leopold_ has joined #dri-devel
sgruszka has joined #dri-devel
<Siddh[m]> <melissawen> "and that's what happened to..." <- Thanks for the clarification!
<Siddh[m]> <melissawen> "I don't know siqueira's plans..." <- Sure, I'll check out.
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<Siddh[m]> <mairacanal> "Siddh: sorry for the late reply!..." <- Thanks. I do have some familiarity with kernel's workflow, I have a few bug fixing patches in mainline and stable already. I'll try to see if I can get in some contributions to DRM.
maxzor has quit [Remote host closed the connection]
maxzor has joined #dri-devel
agd5f has joined #dri-devel
minecrell8 has quit []
maxzor has quit [Remote host closed the connection]
minecrell has joined #dri-devel
maxzor has joined #dri-devel
jlawryno has joined #dri-devel
yuq825 has quit []
Leopold_ has quit []
gawin has joined #dri-devel
kts has joined #dri-devel
<gawin> seems debian enabled i915g, so it should be end of problems with amber
jlawryno has quit [Ping timeout: 480 seconds]
gawin has quit [Ping timeout: 480 seconds]
maxzor has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
jkrzyszt has joined #dri-devel
maxzor has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
fab has quit [Quit: fab]
gawin has joined #dri-devel
Akari has joined #dri-devel
jewins has joined #dri-devel
Haaninjo has joined #dri-devel
sgruszka has quit [Remote host closed the connection]
jkrzyszt has joined #dri-devel
maxzor has quit [Remote host closed the connection]
maxzor has joined #dri-devel
pekkari has quit [Quit: Konversation terminated!]
fab has joined #dri-devel
pekkari has joined #dri-devel
maxzor has quit [Remote host closed the connection]
maxzor has joined #dri-devel
camus1 has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Remote host closed the connection]
<karolherbst> jekstrand: I think I'm getting more and more convinced that we should lower sampler/texture load_derefs not within nir_lower_io, but make frontends deal with that however they want. I just don't know how that's dealt with in vulkan though
<jenatali> At least for our Vulkan backend, we leave texture/sampler derefs in place
<karolherbst> jenatali: right.. but if you'd run lower_explicit_io with uniforms those would be lowered
<jenatali> Sure. But we don't
<karolherbst> yeah, but I do, just that radeonsi doesn't want that to happen :(
<jenatali> I don't remember why we leave them in place though. I feel like there was a good reason for that...
<jenatali> We lower them for GL and CL
<karolherbst> the thing is.. the current way of dealing witht his is to add another parameter to lower_explicit_io and it's quite annoying to do that :/
Duke`` has joined #dri-devel
<jenatali> Oh right we leave the derefs in place so we can chase to the variable to get the descriptor set index, which isn't a thing in GL/CL
<karolherbst> right... I'm mostly only annoyed by the fact that we don't have a var_sampler mode like we have for images, because that would make things easier
junaid has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
djbw has quit [Read error: Connection reset by peer]
djbw has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
gawin has quit [Quit: Konversation terminated!]
MrCooper has quit [Quit: Leaving]
MrCooper has joined #dri-devel
eukara has quit []
<oneforall2> hmm mesa-22.3.0 -,32 isn't finding rust but mesa-22.2.4 is
<oneforall2> -,32/-m32
<kisak> mesa 22.2 finding rust? there are no rust dependencies in 22.2
Leopold_ has joined #dri-devel
MajorBiscuit has quit [Ping timeout: 480 seconds]
Guest1334 has quit [Remote host closed the connection]
<karolherbst> oneforall2: the meson cross file might have to be updated to reflect a 32 bit rust toolchain, not sure tho
<kisak> karolherbst: fwiw, it's very likely that 32 bit rusticl isn't going to happen in my PPA due to a lack of dependency package builds and Ubuntu's 32 bit restrictions.
lemonzest has quit [Quit: WeeChat 3.6]
ybogdano has joined #dri-devel
kts has quit [Quit: Leaving]
<mareko> Marge is chilling
<kisak> not a Marge problem? Marge is waiting on the results of https://gitlab.freedesktop.org/mesa/mesa/-/pipelines/757970 -> window-vs2019 runner
<anholt> and swrast. couple of bad MRs taking 1.5 hours.
<jenatali> I suspect gstreamer is stealing the time from the Windows runners again. daniels ^^
<anholt> yeah, clogged with hour-long gstreamer jobs
<karolherbst> kisak: heh.. yeah well.. I don't see the use case for 32 bit CL anyway, so that's more or less fine. But what restrictions do you mean?
<anholt> as always, if you think marge is not doing things, check https://gitlab.freedesktop.org/users/marge-bot/activity and look at the pipeline in the MR linked from the last commit she pushed
<kisak> karolherbst: Ubuntu has a per-distro release i386 whitelist since Focal. There is no i386 bindgen or llvm-spirv-* related i386 builds allowed in their buildfarm.
<karolherbst> kisak: well, that sounds like something which could be changed, no?
<eric_engestrom> anholt: in 60a64f028d75ad6ca134 ("v3d: Use driconf to expose non-MSAA texture limits for Xorg.") you added the driconf to both v3d and vc4, but the code that this change applies to is only in v3d; did you mean to write the same 2048/7680 code in vc4, or was the driconf added to vc4 by mistake?
<kisak> karolherbst: for primary packages with a good reason, maybe. PPAs have no valid say on the topic.
<anholt> eric_engestrom: don't remember for sure, you'd want to bring it up in Xorg and make sure that you still get the right driconf loaded if you drop the line
<karolherbst> well.. it's part of mesa 22.3, soo...
<eric_engestrom> anholt: there isn't a driconf file for vc4, or do you mean that v3d uses `pipe_vc4_create_screen()`?
<eric_engestrom> I stumbled upon this in my quest to understand what parts of vc4 are tangled in with v3d
<airlied> Lynne: doesnt appear the hw is that smart
<airlied> ffmpeg could just fill in zeros there if no pcm
<dcbaker> tjaalton: yes, I waas trying to get that out yesterday and then got sidetracked on other stuff
<Lynne> airlied: sounds like buggy hardware, so better let the driver take care of it
pekkari has quit [Quit: Konversation terminated!]
<tjaalton> dcbaker: ack, thanks
maxzor has quit [Remote host closed the connection]
maxzor has joined #dri-devel
<airlied> Lynne: i should check where vaapi covers it up
maxzor_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
maxzor has quit [Ping timeout: 480 seconds]
Akari has quit [Quit: segmentation fault (core dumped)]
<anholt> eric_engestrom: no, I mostly mean that loader and driconf stuff is all tremendously confusing and I'm not confident changing that without paging in a lot of context I don't have.
<eric_engestrom> haha that's fair
<anholt> it feels risky because X is going to be loading a vc4_dri.so since it's on the vc4 kms node
<anholt> that falls back to kmsro
<anholt> but the glue involved is just so many layers
<eric_engestrom> even if the driconf is useless, it's basically harmless, so no worries :)
<eric_engestrom> and yeah, I've been going through all these layers all day trying to understand how it fits
Leopold_ has quit [Remote host closed the connection]
lynxeye has quit [Quit: Leaving.]
Leopold_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
maxzor_ has quit [Ping timeout: 480 seconds]
ybogdano has quit [Quit: Ping timeout (120 seconds)]
ybogdano has joined #dri-devel
<Lynne> airlied: some help with figuring out the ref_slot is appreciated
<Lynne> to ease it somewhat, you should test with a file with no B-frames
<Lynne> on my system using -keyint_min 5 -g 5 with hevc_vaapi with amd generates a file like that
<airlied> Lynne: so you definitely got the slot index for the current image wrong
<airlied> i have a hacky ffmpeg patch
<Lynne> hmm, doesn't really fix it here
<Lynne> so the main frame is supposed to go last in the ref slots?
<airlied> nope it was just hacks
<airlied> im not sure
<airlied> just that i progrsma current index
<airlied> and in vaapi its the index after refs from what i can see
junaid has quit [Quit: leaving]
junaid has joined #dri-devel
iive has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
mhenning has joined #dri-devel
junaid has quit [Quit: leaving]
junaid has joined #dri-devel
Venemo_ is now known as Venemo
mbrost has joined #dri-devel
junaid has quit [Quit: leaving]
mbrost has quit [Ping timeout: 480 seconds]
<rodrigovivi> airlied: anything wrong with the drm-intel-next-fixes from last week? or that's queued to be pulled? I have 3 more fixes on top, but that could be an extra pr or even wait for next week... just checking...
mbrost has joined #dri-devel
junaid has joined #dri-devel
<DavidHeidelberg[m]> anholt: I squashed Nine tests in piglit and deqp-runner behind a PIGLIT_GALLIUM_NINE variable, is it way to go (before the integration into piglit happen, for which I'll have to find some time)
<DavidHeidelberg[m]> ? :) question mark
<Nyaaori> oh hi pepp
<Nyaaori> you're in here too
<anholt> DavidHeidelberg[m]: not clear what you mean
junaid has quit [Ping timeout: 480 seconds]
<anholt> I will not be acking that. Just go get the tests into piglit.
<DavidHeidelberg[m]> anholt: ok, how to test Nine, when I currently cannot spend time on integration then? Standalone jobs?
<DavidHeidelberg[m]> or not to test it at all?
<anholt> if you're spending time on nine, spend time on getting the tests into piglit.
<anholt> I am so tired of deleting bad test scripts, that I will not be reviewing code for merge that introduces ad-hoc test scripts.
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
<DavidHeidelberg[m]> also the tests are synced with winehq code, so not sure how the integration will go with keeping upstream (wine) fixes
Jeremy_Rand_Talos_ has joined #dri-devel
<anholt> git shortlog --since="1 year ago" in the repo shows 5 commits from you, and maybe 1 is copying winehq code? So, it seems like you could have just copied equivalent code into the piglit tree?
<DavidHeidelberg[m]> anholt: when forking from Axel I just rebased the commit (since I was only user back then)
<DavidHeidelberg[m]> anholt: I'm not saying it's impossible, just it's working (not beatiful I agree), just having holiday today and never written piglit tests before, so I assume I would spend lot of time to polish it into usable piglit state
Daanct12 has joined #dri-devel
<Lynne> airlied: is the reference for the current frame meant to be in both the list of references and the ref_slot field?
<Lynne> I tried removing the current frame's ref, but things break badly(-er)
Danct12 has quit [Ping timeout: 480 seconds]
nchery has quit [Ping timeout: 480 seconds]
rahul_janga has joined #dri-devel
rahul_janga has quit []
<airlied> rodrigovivi: sorry just had a slow week, been on/off sick, should get to them soon
warpme____ has joined #dri-devel
fab has quit [Quit: fab]
rasterman has quit [Quit: Gettin' stinky!]
mbrost has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
nchery has joined #dri-devel
gawin has joined #dri-devel
<gawin> DavidHeidelberg[m]: wouldn't be easiest to fetch newest version from wine repo? or wine (itself as a runner) is too large for containers?
gouchi has joined #dri-devel
<DavidHeidelberg[m]> gawin: it has to be "adjusted" to fit into
<DavidHeidelberg[m]> gawin: and few jobs didn't compiled, so disabled. I opened piglit repo, found mine MR for -Werror, noticed that CI broke with recent tox... and.. at some point I'll look how to convert it
vyivel has quit [Remote host closed the connection]
bl4ckb0ne has quit [Remote host closed the connection]
emersion has quit [Remote host closed the connection]
bl4ckb0ne has joined #dri-devel
vyivel has joined #dri-devel
emersion has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
maxzor has joined #dri-devel
zf_ has quit []
zf has joined #dri-devel
jkrzyszt has joined #dri-devel
<airlied> Lynne: I think I need to track where the vaapi values come from, there are some hw bits I'm not sure how to determine from the vk api
<DavidHeidelberg[m]> gawin: btw. there could be possibility that these tests will be not tied directly to wine anymore, but that's "maybe" in future
Duke`` has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
alanc has joined #dri-devel
apinheiro has joined #dri-devel
rmckeever has joined #dri-devel
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
jkrzyszt has joined #dri-devel
digetx is now known as Guest1401
digetx has joined #dri-devel
Guest1401 has quit [Ping timeout: 480 seconds]
vliaskov has quit []
apinheiro has quit [Quit: Leaving]
jkrzyszt has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
sarnex has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: dodo]
sarnex has joined #dri-devel
iive has quit [Quit: They came for me...]