<Lynne>
zmike: I get a segfault in load_buffer_descriptor on line 159 running glxgears over zink here
<Lynne>
and ACO errors+crash after disabling descriptor buffers while running firefox
<Lynne>
disabling both shader object and descriptor buffers does make it run, yay!
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
<Lynne>
with terrible sync issues, and if I look at it the wrong way or dare to pry my eyes away it crashes
<Lynne>
vaapi over vulkan does run pretty flawlessly in mpv at least, though I can't get firefox to start using vaapi even after modifying about:config when it does run at all
cheako has joined #dri-devel
fab has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
Kayden has joined #dri-devel
kts has joined #dri-devel
LeviYun has joined #dri-devel
<llyyr>
the vaapi over vulkan PR segfaults in vlVaQueryImageFormats for me
<llyyr>
with mpv*
LeviYun has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Leaving]
heat has quit [Read error: Connection reset by peer]
<airlied>
I think a radv error code changed at some point
<airlied>
and I'm not covering both
<airlied>
nope seems to cover the old and new ones
jsa has joined #dri-devel
<Lynne>
*doesn't seem to work now, or maybe it never did
<llyyr>
LIBVA_DRIVER_NAME=zink MESA_LOADER_DRIVER_OVERRIDE=zink doesn't work, it claims to support no surface formats while just LIBVA_DRIVER_NAME=zink does work and offers all the usual surface formats
<airlied>
the problem with driver override is it overides your GL as well
<llyyr>
hmm I thought vaapi over zink was supposed to work together with the zink gl driver, if it's not then that makes sense I guess
<airlied>
it should work, just one more thing to take notice off :-)
* airlied
goes to check a late fix didn't break it
<llyyr>
also "LIBVA_DRIVER_NAME=zink vainfo" claims to support hevc, vp9 and av1 as well so I'm not sure its right
<llyyr>
the vainfo output looks suspiciously similar to what I get with radeonsi, even though it's definitely probing zink "libva info: Trying to open /opt/mesa/lib64/dri/zink_drv_video.so"
mbrost has joined #dri-devel
<airlied>
yeah that is picking up radeonsi
<airlied>
there was a ret ignored fix I shoved in I think broke it
bmodem has joined #dri-devel
fab has joined #dri-devel
LeviYun has joined #dri-devel
* airlied
will track it down
LeviYun has quit [Ping timeout: 480 seconds]
<airlied>
okay it seems quite broken, and zmike changes from last couple of days look to not have been tested
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
amarsh04 has quit []
<airlied>
zmike: all the clear stuff is broken on radv, and some of the other changes
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
u-amarsh04 has joined #dri-devel
frankbinns has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
tzimmermann has joined #dri-devel
* airlied
hides blogpost until I have some more time :-)
vliaskov has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
croissant has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
<MrCooper>
Mis012[m]: it also needs the CPU for presentation
LeviYun has quit [Ping timeout: 480 seconds]
frankbinns has joined #dri-devel
<Company>
do you guys have some kind of file format for dmabufs in any of your testsuites?
<Company>
I want to be able to test certain combinations of values passed to eglCreateImage() and vkCreateImage(), but I'm not sure how to best store that
landofgeeks has quit [Remote host closed the connection]
landofgeeks has joined #dri-devel
jsa has joined #dri-devel
lynxeye has joined #dri-devel
apinheiro has joined #dri-devel
LeviYun has joined #dri-devel
smpl has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
coldfeet has joined #dri-devel
LeviYun has joined #dri-devel
warpme has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
jsa has quit [Ping timeout: 480 seconds]
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
jsa has joined #dri-devel
jkrzyszt_ has joined #dri-devel
jkrzyszt has joined #dri-devel
jkrzyszt_ has quit [Ping timeout: 480 seconds]
MrCooper has quit [Remote host closed the connection]
cmichael has joined #dri-devel
landofgeeks has quit [Remote host closed the connection]
landofgeeks has joined #dri-devel
MrCooper has joined #dri-devel
psykose has joined #dri-devel
wanted has joined #dri-devel
<emersion>
i just store raw bytes
<emersion>
and metadata in the filename
coldfeet has quit [Ping timeout: 480 seconds]
<Company>
i wondered about that, but there's a bit much metadata for multiplane dmabufs
<Company>
the closest thing I came up with would be a HTTP dump - headers for the metadata and then followed by the data
<Company>
but all of this need me to write tools to en/decode them
<Company>
that's why I was hoping for an existing solution
Haaninjo has joined #dri-devel
coldfeet has joined #dri-devel
kts has joined #dri-devel
guludo has joined #dri-devel
kts has quit [Quit: Leaving]
jsa1 has joined #dri-devel
kxkamil2 has joined #dri-devel
dt9_ has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
kxkamil has quit [Ping timeout: 480 seconds]
dt9 has quit [Ping timeout: 480 seconds]
pcercuei has joined #dri-devel
rgallaispou has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
f11f12 has joined #dri-devel
warpme has quit []
warpme has joined #dri-devel
jsa has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
rgallaispou has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
Schrostfutz has joined #dri-devel
warpme has quit []
warpme has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
nerdopolis has joined #dri-devel
Schrostfutz has quit [Ping timeout: 480 seconds]
sassefa has joined #dri-devel
warpme has quit []
warpme has joined #dri-devel
Calandracas has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
<DemiMarie>
Company: Some way to fuzz multiplane dmabufs would be awesome.
Calandracas has joined #dri-devel
<DemiMarie>
That part of Mesa is a security boundary, so any incorrect acceptance of a dmabuf is a security vulnerability.
sassefa has left #dri-devel [#dri-devel]
sassefa has joined #dri-devel
Schrostfutz has joined #dri-devel
sassefa has quit []
rasterman has quit [Quit: Gettin' stinky!]
LeviYun has joined #dri-devel
fab has quit [Quit: fab]
epoch101 has quit []
epoch101 has joined #dri-devel
frankbinns1 has joined #dri-devel
sarnex has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
frankbinns has quit [Ping timeout: 480 seconds]
<Company>
DemiMarie: I'd be more worried about security of non-linear modifiers, but yes, multiplane dmabufs is also a special interest of mine
landofgeeks has quit [Remote host closed the connection]
<Company>
though I care about it because the EGL API doesn't allow any colorspace, so getting that part right is important
landofgeeks has joined #dri-devel
<DemiMarie>
Company: What are your security concerns with nonlinear modifiers?
<DemiMarie>
I'd considered forcing linear modifiers, but was told there would be a 4x performance hit to both producer and consumer.
vliaskov has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
landofgeeks has quit [Remote host closed the connection]
landofgeeks has joined #dri-devel
<Company>
DemiMarie: it's internal to the drivers, so producer == consumer, and nobody is gonna check those things for security concerns
<DemiMarie>
Company: is there an efficient way to do a copy to linear and back?
f11f12 has quit [Quit: Leaving]
<Company>
no
fab has joined #dri-devel
<DemiMarie>
I thought there was some trick with compute shaders
<MrCooper>
if gbm_bo_map isn't as efficient as possible, it's a Mesa driver issue
dsimic is now known as Guest5403
dsimic has joined #dri-devel
<DemiMarie>
MrCooper: That function has to copy to CPU-accessible memory. I want to stay on the GPU.
Guest5403 has quit [Ping timeout: 480 seconds]
<MrCooper>
I don't get the point of that, given the GPU performance hit with linear
rgallaispou has joined #dri-devel
<DemiMarie>
MrCooper: reducing PCIe bus roundtrips
<MrCooper>
I mean I don't get why you want linear buffers on the GPU
coldfeet has quit [Remote host closed the connection]
Schrostfutz has quit [Ping timeout: 480 seconds]
<DemiMarie>
MrCooper: because I can validate their parameters when a security boundary is crossed.
mbrost has joined #dri-devel
jsa has joined #dri-devel
frankbinns1 has quit [Remote host closed the connection]
frankbinns has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
frankbinns1 has joined #dri-devel
Duke`` has joined #dri-devel
frankbinns has quit [Ping timeout: 480 seconds]
<DemiMarie>
The other option is to do an image to image blit and hope that the impact of a problem is limited to a proxy crash or out of bounds read in a process that doesn't have any secrets worth extracting.
<Company>
DemiMarie: you can always do a copy into a regular buffer and copy back into an image later
<Company>
but it's all gonna be copies
cmichael has quit [Quit: Leaving]
<MrCooper>
which would read the same out-of-bounds contents anyway, wouldn't they?
<Company>
you can send the buffer to the host
<MrCooper>
not sure what you mean; my point is that if the tiled buffer is too small, the copy to a linear buffer may read contents outside of the tiled buffer and store them in the linear buffer, so they're still leaked
<MrCooper>
so it's not clear what's gained from the copy / linear buffer
<Company>
I was assuming that that operation happens in the client, so the client can't leak anything - of course that assumes that the gpu does proper process isolation
<MrCooper>
the premise is that something receives a tiled buffer which is too small for all reads within the claimed dimensions to land inside the buffer
<MrCooper>
or maybe the idea is to only accept linear there, in which case sorry for the noise
<Company>
my question is who guarantees that accesses to such a buffer are secure
<Company>
and it's easier to avoid issues if the buffer is simple and the format is common
frankbinns1 has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
jkrzyszt has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
kasper93_ has quit [Remote host closed the connection]
<ngcortes>
NB: intel mesa CI will be down until tuesday afternoon (10/8/2024) for a poweroff at Jones Farm. We will notify everyone once it's back online.
glennk has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
Calandracas has quit [Ping timeout: 480 seconds]
<DavidHeidelberg>
karolherbst: could we discuss the texture size bump to 4096 or what is it now to 65535x65535 to match proprietary drivers on XDC, what do you think?
<karolherbst>
probably
<karolherbst>
I think it's 32k atm though
<karolherbst>
though there isn't really much to discuss, it just requires changing gallium interfaces, because a lot of things are signed 16 bit values
<karolherbst>
and that needs to be fixed before
<karolherbst>
the same problem exists for buffers bigger than 2GiB
<karolherbst>
like everything taking a pipe_box
<karolherbst>
like vaxryy
<karolherbst>
...
<karolherbst>
copy&paste fail 🙃
<karolherbst>
resource_copy_region
Calandracas has joined #dri-devel
<karolherbst>
DavidHeidelberg: alternativly everything could be emulated with shaders...
heat has quit [Remote host closed the connection]
<benjaminl>
I'm a bit confused about the nir_lower_multiview pass. It's currently disabled if the shader contains memory writes, but doesn't care about control barriers. I'm not sure why memory writes are a problem, but it seems like it could deadlock with barriers?
heat has joined #dri-devel
gouchi has joined #dri-devel
zdobersek has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
pzanoni has quit [Quit: Coyote finally caught me]
LeviYun has joined #dri-devel
<DavidHeidelberg>
karolherbst: but marek already bumped the pipebox ints :)
<DemiMarie>
Company MrCooper: my thought is that doing the copy in a proxy will ensure that bad buffers either crash the proxy or leak data from the proxy, but can't leak data from other guests. The proxy doesn't have any sensitive information of its own that can be leaked.
<karolherbst>
DavidHeidelberg: also for depth?
<karolherbst>
though...
<karolherbst>
mhh
<karolherbst>
that might not matter actually...
<karolherbst>
mhhhh
<DavidHeidelberg>
Yup
<karolherbst>
yeah 32 bit numbers should be fine...
<DavidHeidelberg>
I was thinking we just agree on how and push it when we're there
<karolherbst>
I don't think there is anything preventing that then, except dealing with sampled/mipmapped stuff potentially?
cyrinux has quit []
<karolherbst>
the higher sizes are for plain images, or can they be mipmapped?
cyrinux has joined #dri-devel
<karolherbst>
sampled one don't matter, because CL can't create them no matter what, only import them
pundir has joined #dri-devel
heat is now known as Guest5417
heat has joined #dri-devel
Guest5417 has quit [Remote host closed the connection]
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
Haaninjo has joined #dri-devel
dolphin has quit [Remote host closed the connection]
<alyssa>
16k is hw limit on agx
<dj-death>
was angle updated on CI in the last week?
asrivats has joined #dri-devel
sassefa has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
sassefa has quit []
Company has quit [Quit: Leaving]
tobiasjakobi has joined #dri-devel
LeviYun has joined #dri-devel
tobiasjakobi has quit []
heat is now known as Guest5425
heat has joined #dri-devel
Guest5425 has quit [Remote host closed the connection]
landofgeeks has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
<zmike>
glcts update
<dj-death>
hmm okay
<dj-death>
a bunch of 3d tests started fail on the EXT_host_image_copy MR
<dj-death>
but only on angle
Mangix has quit [Read error: Connection reset by peer]