ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
ity has quit [Remote host closed the connection]
bolson has joined #dri-devel
ity has joined #dri-devel
florida has joined #dri-devel
florida has quit []
<DemiMarie> Does virglrenderer have a security policy?
OftenTimeConsuming is now known as Guest1764
OftenTimeConsuming has joined #dri-devel
Guest1764 has quit [Ping timeout: 480 seconds]
iive has quit [Quit: They came for me...]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #dri-devel
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
anujp has joined #dri-devel
mceier has quit [Ping timeout: 480 seconds]
heat is now known as Guest1772
heat has joined #dri-devel
Guest1772 has quit [Read error: Connection reset by peer]
ity has quit [Remote host closed the connection]
ity has joined #dri-devel
zxrom has quit []
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #dri-devel
Calandracas has quit [Remote host closed the connection]
Calandracas has joined #dri-devel
cascardo_ has joined #dri-devel
rppt has quit [Read error: Connection reset by peer]
rppt has joined #dri-devel
cascardo has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
balrog has quit [Remote host closed the connection]
balrog has joined #dri-devel
kaiwenjon has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
mattst88_ has joined #dri-devel
mattst88 has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 4.2.2]
lemonzest has joined #dri-devel
sukuna1 has quit [Remote host closed the connection]
sukuna has joined #dri-devel
kts_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
sukuna has quit [Ping timeout: 480 seconds]
mceier has joined #dri-devel
kts_ has quit []
coldfeet has joined #dri-devel
kts has joined #dri-devel
checkfoc_us has quit []
checkfoc_us has joined #dri-devel
Duke`` has joined #dri-devel
kts_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
kts_ has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
pcercuei has joined #dri-devel
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
zhanghe has joined #dri-devel
kts has quit [Quit: Leaving]
zhanghe has quit []
kts_ has joined #dri-devel
glennk has joined #dri-devel
kts_ has quit [Ping timeout: 480 seconds]
enunes has quit [Ping timeout: 480 seconds]
enunes has joined #dri-devel
kts_ has joined #dri-devel
kts_ has quit []
kts has joined #dri-devel
yyds has joined #dri-devel
zxrom has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
coldfeet_ has joined #dri-devel
coldfeet has quit [Ping timeout: 480 seconds]
zxrom has quit []
coldfeet_ has quit []
coldfeet has joined #dri-devel
sukuna has joined #dri-devel
<ishitatsuyuki> surely it does, it's probably the part with the largest attack surface inside an otherwise secure VM
simon-perretta-img has quit [Ping timeout: 480 seconds]
sukuna1 has joined #dri-devel
sukuna has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
zxrom has joined #dri-devel
rasterman has joined #dri-devel
sukuna1 has quit [Ping timeout: 480 seconds]
ccr_ has left #dri-devel [#dri-devel]
ccr has joined #dri-devel
Stary has quit [Quit: ZNC - http://znc.in]
Stary has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
chloekek has joined #dri-devel
yyds has quit [Remote host closed the connection]
kts has joined #dri-devel
kts_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts_ has quit []
yyds has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
heat has joined #dri-devel
kts has joined #dri-devel
cphealy__ has quit []
iive has joined #dri-devel
epoch101 has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
heat is now known as Guest1833
heat has joined #dri-devel
Guest1833 has quit [Read error: No route to host]
epoch101 has quit []
epoch101 has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
BeutifullScience has joined #dri-devel
kts_ has joined #dri-devel
kts_ has quit []
kts has joined #dri-devel
kzd has joined #dri-devel
BeutifullScience has quit []
warpme has joined #dri-devel
ghishadow has joined #dri-devel
ungeskriptet is now known as Guest1840
ungeskriptet has joined #dri-devel
ungeskriptet is now known as Guest1841
ungeskriptet has joined #dri-devel
Company has joined #dri-devel
Guest1840 has quit [Ping timeout: 480 seconds]
Guest1841 has quit [Ping timeout: 480 seconds]
epoch101 has quit [Ping timeout: 480 seconds]
ghishadow has quit []
yyds has quit [Remote host closed the connection]
ghishadow has joined #dri-devel
ghishadow has quit [Remote host closed the connection]
ghishadow has joined #dri-devel
mljoke has joined #dri-devel
bolson has quit [Remote host closed the connection]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
mljoke has quit [Ping timeout: 480 seconds]
zxrom has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
mal has quit [Remote host closed the connection]
konstantin_ has joined #dri-devel
konstantin is now known as Guest1850
konstantin_ is now known as konstantin
Guest1850 has quit [Ping timeout: 480 seconds]
mal has joined #dri-devel
zxrom has joined #dri-devel
<Plagman> karolherbst: trying to run https://github.com/opencv/opencv_zoo/tree/main/models/face_detection_yunet against rusticl radeonsi, i get really low performance/occupancy and an error about a cl program build failure - do you know if it's expected to work?
<Plagman> it's running part of it on the gpu, but then runs on a single cpu thread for a long while and gives me ~10fps
<Plagman> compared to 40 on CPU
Haaninjo has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Read error: Connection reset by peer]
konstantin_ has joined #dri-devel
konstantin is now known as Guest1852
konstantin_ is now known as konstantin
simon-perretta-img has joined #dri-devel
Guest1852 has quit [Ping timeout: 480 seconds]
pepp has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
fab has quit [Quit: fab]
moony has quit []
moony has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
sskras has quit []
<mareko> Company: we provide a driver installer that installs Mesa on older distros of RHEL, SLES, and Ubuntu
<Company> does that installer build its own llvm and Rust?
Duke`` has quit [Ping timeout: 480 seconds]
mljoke has joined #dri-devel
chloekek has quit [Remote host closed the connection]
sukuna has joined #dri-devel
sukuna1 has joined #dri-devel
sukuna has quit [Ping timeout: 480 seconds]
<karolherbst> Plagman: is it any better with ROCm? Could also be just bad code, which is often the case with those AI/ML libs
<Plagman> rocm instantly hangs my system so not really - i didn't get it working with it so far
<karolherbst> :') sounds like rusticl is already better then
<Plagman> bad code is likely, looking at a trace i see the actual gpu compute time is maybe 11ms total
<Plagman> and all the other time might be spent in a slow readback
<karolherbst> yeah.. the libs I've looked into often busy waited on the CPU or other crazy things
<Plagman> seems like the opencl stuff was written for intel gpus primarily
<karolherbst> ahh..
<karolherbst> yeah, intel has kinda the best CL stack atm
<Plagman> is there a way to force caching for allocations in rusticl somehow?
<karolherbst> you mean like keeping a copy of the data in RAM?
<Plagman> i'm still trying to trace the slow memmove()s
<Plagman> more like the cache coherent flag on the mapping
<karolherbst> ahh
riteo has quit [Remote host closed the connection]
<karolherbst> if there is a special gallium flag I should set, that could help, but usually those things are kinda up to the driver otherwise
<karolherbst> have you tried using zink?
<Plagman> i tried, yeah - it runs one frame and then times out the gpu
<karolherbst> mhh
<karolherbst> are you using main or some release?
<Plagman> it doesn't run directly on my host display because i'm using the amdgpu ddx so i had to point it to a gamescope display
<Plagman> mesa is 24.0.5
<karolherbst> do you have any more info on that program build failure btw? Not sure if "RUSTICL_DEBUG=program" already works on 24.0 or when I've added it, but often it's also helpful to run a build with asserts enabled to see why zink or other drivers are unhappy about things
<Plagman> it seems non-fatal, so i'm guessing it's a test build to see if -cl-no-subgroup-ifp is supported
<karolherbst> ahh
sima has quit [Ping timeout: 480 seconds]
<karolherbst> maybe I should handle this flag then, if clang doesn't like it
riteo has joined #dri-devel
<airlied> do we know what is ifp there?
<karolherbst> independent forward progress
<karolherbst> it's related to "CL_DEVICE_SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS"
<Plagman> fwiw trying to run that sample is real easy
<karolherbst> yeah.. I could take a look tomorrow and see if it runs any better on iris or so
<Plagman> from the face_detection_yunet of the repo above it's just `RUSTICL_ENABLE=radeonsi python demo.py`
<Plagman> or building the cpp version works too
<Plagman> the rest seems to just be working from arch packages of opencv/etc
<airlied> ah CL_intel_subgroups related
<karolherbst> yeah..
<karolherbst> it's optional in CL 3.0 and I have no idea if I'm in the mood of wiring it up in gallium if nothing really needs it
<karolherbst> so I'd just do nothing with that flag and prevent a compilation error
<airlied> I wonder why intel added it, they must have some hw that can't do ifp
<karolherbst> might be...
<karolherbst> maybe I should ask Ben
<karolherbst> uhh.. Ben Ashbaugh
<karolherbst> Ben usually knows those things
<Plagman> uhhh
<Plagman> i'm guessing that finding that i'm clCreateKernel() after breaking into the program once it's been running for a while is like.. bad
<Plagman> right?
<Plagman> like that's a pipeline build equivalent or whatever?
<karolherbst> shouldn't matter
<karolherbst> nah... clCreateKernel is ran after all the shaders have been built
<Plagman> ah ok
<karolherbst> CL is a bit weird
<Plagman> i know next to nothing about it so i thought it was a shader build
<karolherbst> clCreateKernel is like.. creating an execution environment for a compiled entry pointer
<karolherbst> *point
<karolherbst> clBuildProgram and clLinkProgram will generate the binaries in rusticl. a "cl_kernel" is more like a thing holding the kernel input parameters (like function parameters) and is the interface to launch code
<Plagman> yeah ok
<Plagman> i forgot to mention i had to edit the sample to use CL, a one-liner edit: [cv.dnn.DNN_BACKEND_OPENCV, cv.dnn.DNN_TARGET_OPENCL],
<karolherbst> mhh.. might be untested
<Plagman> it's cool that it works!
<karolherbst> yeah.. that's the whole idea
<Plagman> clvk looks very similar as well, so app-side being dumb seems likely
<karolherbst> annoying that zink doesn't work then. I should take a look tomorrow then why zink breaks down
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
<karolherbst> Plagman: what is it using by default? CPU?
<Plagman> yeah, seems like
<Plagman> if the current compute runtime is any indication, maybe it's be ~90fps on my 6900XT
<Plagman> vs. the 40FPS it gets on my monster CPU going wide on all cores
<karolherbst> mhh..
<karolherbst> I'd hope for a bigger difference tbh
<karolherbst> Plagman: how much is the GPU idle when running that stuff?
<Plagman> it is a big cpu to be fair
<Plagman> it's like 10ms of compute on the gpu then idle, usage doesn't go above 10% in umr
<Plagman> that's how i'm theorizing 90fps if it wasn't idling
<karolherbst> oof
<karolherbst> I wonder if the main CPU thread is just busy all the time?
<karolherbst> but anyway... could also be just terrible offloading
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
<karolherbst> but I do wonder how much CPU time is spend in rusticl vs on whatever the lib is doing
<karolherbst> and if I could optimize it a bit
<Plagman> it doesn't seem like it, seems like either waiting or very slow memcpys
<karolherbst> mmhhh...
<karolherbst> what would be the fastest way to copy VRAM to host memory?
<karolherbst> maybe I should just optimize that part
<karolherbst> maybe there is some magic gallium flag I have to set
<Plagman> i know that in vulkan if you map vram without the cache coherent flags you can spend a looong time in memcpy on discrete
<karolherbst> mhhh, I see
<airlied> should be easily spottable in perf top
<Plagman> we were wondering if maybe that's what's happening here - but maybe it's the app deciding the flags and not the driver, not sure
yrlf has joined #dri-devel
ungeskriptet has quit [Read error: No route to host]
<karolherbst> CL doesn't really have any flags like that
ungeskriptet has joined #dri-devel
<karolherbst> but the way CL memory maps work is well... super annoying
simon-perretta-img has quit [Ping timeout: 480 seconds]
<karolherbst> I have some very suboptimal paths in that area
<karolherbst> but it's mostly a limitation of how the CL API works and what gallium provides
<Plagman> perf has a memove in rusticl queue t near the top
<karolherbst> what's the callchain?
simon-perretta-img has joined #dri-devel
<karolherbst> but it kinda feels something very suboptimal is happening
<mareko> Company: it doesn't build any userspace components, but it includes LLVM binaries, I don't think it contains any binaries built from rust
<Plagman> i can't tell if it's the same one as perf shows or not
Haaninjo has quit [Quit: Ex-Chat]
<Company> makes sense
<karolherbst> Plagman: probably not
<karolherbst> memmove is kinda very generic, would have to check which of the callers have high CPU usage
<karolherbst> that one just points to a constructor basically
<Plagman> perf isn't picking up debuginfod symbols so i'm not sure
<karolherbst> okay... maybe I'll figure something out then, not sure when I'll find some time for it to dig deeper
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
OftenTimeConsuming is now known as Guest1869
OftenTimeConsuming has joined #dri-devel
Guest1869 has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
zxrom has quit []
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
pcercuei has quit [Quit: dodo]
heat has quit [Remote host closed the connection]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
smaeul has quit [Remote host closed the connection]
smaeul has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
<DemiMarie> ishitatsuyuki: I hope so too.