vliaskov_ has quit [Remote host closed the connection]
vliaskov_ has joined #dri-devel
jsa1 has joined #dri-devel
mehdi-djait3397165695212282475 has quit [Ping timeout: 480 seconds]
apinheiro has joined #dri-devel
<outofkilomers>
now you see why I had mathematics as grade 3 all the time, because there is something wrong with my life if not thinking. There are family of possibilities of the depchain to roll a solution filtering out other elements, but i can come up with only few (probably not the best ones), because i get very confused due to variety of solutions possible, confused such as anxiousness or rather
<outofkilomers>
excitedness or something, and every freaking senses blow up along with solutions. But let's go back to the lines. 178-242=-64 where as 388-420=-32 now 210+210+89+89-64=534 aka 6*89 where as 89+89=178-32+210=356=4*89 removing 4*89 from each yields 178. Dudes i am sorry, i am mistaken too much at times, though it seems to work again here. I see you removed my ramblings from one of the
<outofkilomers>
logsets.
sguddati has joined #dri-devel
Company has joined #dri-devel
guludo has joined #dri-devel
jkrzyszt_ has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Ping timeout: 480 seconds]
mvlad has joined #dri-devel
<stsquad>
I'm having trouble following the vulkan device properties logic. Do I create a chain of VkPhysicalDeviceProperties2 and set pNext to point at an empty memory region to be filled by whatever sType says?
azerov has quit [Quit: Gateway shutdown]
azerov has joined #dri-devel
nerdopolis has joined #dri-devel
chewitt has quit [Quit: Zzz..]
heat has joined #dri-devel
fab has quit [Quit: fab]
outofkilomers has quit [Remote host closed the connection]
fab has joined #dri-devel
guludo has quit [Quit: WeeChat 4.5.1]
nannybusiness has joined #dri-devel
guludo has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
haaninjo has joined #dri-devel
mehdi-djait3397165695212282475 has joined #dri-devel
<Company>
stsquad: yes, you preallocate all the structs, set up their pNext and sType members - including the .pNext = NULL for the last one and potential array members, like for example VkDrmFormatModifierPropertiesListEXT.pDrmFormatModifierProperties and then the call fills in the rest
<Company>
stsquad: pretty much all the GetProperties calls inside Vulkan operate like that, device properties, image properties, format properties, whatever
<nannybusiness>
so let's try one more time as even the last one blew up again. -32+178+-32+178=292 now from single instanced 598+292=890 where as 890+712 where 292+210+210=712 and the sum of 890+712=1602/89=18 .... this is the first stable when i came back from town. i would not surprise if that is some type of wavelet transform. I try to shrink it to something smaller.
yrlf has joined #dri-devel
jsa1 has joined #dri-devel
kzd has joined #dri-devel
<bl4ckb0ne>
is there a way to track leaks from pools object in VK? like memory allocated through vkAllocateDescriptorSets
<bl4ckb0ne>
they dont ring with asan/valgrind
jsa2 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
kxkamil has quit []
kxkamil has joined #dri-devel
epoch101 has joined #dri-devel
Duke`` has joined #dri-devel
fossdd has quit [Remote host closed the connection]
fossdd has joined #dri-devel
epoch101_ has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
<lumag>
Lyude, imre: what is the preferred way for picking up the LTTPR changes: is it okay to merge nouveau and i915 changes through drm-misc or you'd prefer it to be handled in a different way?
fab has joined #dri-devel
davispuh has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
frankbinns has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
epoch101_ has quit [Ping timeout: 480 seconds]
nannybusiness has quit [Remote host closed the connection]
alih has joined #dri-devel
<imre>
lumag: ok by me to merge through drm-misc, but jani needs to ack it
frankbinns has joined #dri-devel
epoch101_ has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
nchery has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
<lumag>
jani, ^^
MrCooper has joined #dri-devel
epoch101 has joined #dri-devel
epoch101_ has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
denismitchell has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
iive has joined #dri-devel
<denismitchell>
And i took it to the bare minimum of size, it turned out that my math was not perfect again. so 141-17=124 72-17=55 the element we were after was 62low and 79high, so 55-124=-69 and adding 69 to those (remember how 69 came hopefully) so then add 72 to subtract upper operand to another hypothetical duplicate and 17 is got. 256-57-57-57-26=59 128-59=69, 256-115=141 256-115-115=26, however
<denismitchell>
last one worked with all sets too, but arguably this is the correct way to do it. now though it can be yet optimized as answer is gotten with 17-3=14/2 72+7=79 72-7-3=62 if you do not want to divide, you take a number and double it yourself. both those last versions got tested on all my sets however. Earlier ones i hallucinated, those were little too heavy too.
epoch101_ has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
denismitchell has quit [Remote host closed the connection]
jsa2 has quit [Ping timeout: 480 seconds]
vliaskov_ has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
nchery has quit [Ping timeout: 480 seconds]
<DemiMarie>
Is there any working, open userspace for the restricted buffer patches?
Surkow|laptop has quit [Quit: 418 I'm a teapot - NOP NOP NOP]
edolnx_ has quit []
tanglingtenor has joined #dri-devel
yrlf has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
<daniels>
WIP
dsimic is now known as Guest9699
dsimic has joined #dri-devel
yrlf has joined #dri-devel
Guest9699 has quit [Ping timeout: 480 seconds]
tanglingtenor has quit [Ping timeout: 480 seconds]
tanglingtenor has joined #dri-devel
tanglingtenor has quit [Remote host closed the connection]
tanglingtenor has joined #dri-devel
tanglingtenor has quit [Remote host closed the connection]
nchery has joined #dri-devel
<DemiMarie>
daniels: Is the open userspace useful or is it just a toy example? I'm genuinely curious here, as my understanding was that the only major use was digital restrictions management and that that required closed source userspace.
nchery has quit [Remote host closed the connection]
nchery has joined #dri-devel
yshui_ has left #dri-devel [#dri-devel]
<daniels>
the TEE implementation, coupled to a better uAPI, will be fine with open userspace, but it’ll require closed (either non-OSS or non-modifiable or both) TEE to give you useful content
yshui has joined #dri-devel
edolnx has joined #dri-devel
nchery is now known as Guest9704
nchery has joined #dri-devel
Guest9704 has quit [Ping timeout: 480 seconds]
lplc_ has joined #dri-devel
lplc has quit [Ping timeout: 480 seconds]
scrambledangel has joined #dri-devel
<scrambledangel>
I start to do the same things what you tried , but instead of connecting idiots from your countries to eliminate you, I connect to foreign authorities to help me to eliminate you, reason also included here, very stupid lazy and yet abusive people who's code is pretty much liquid crap. Code what you have authored and still do author,well you see there isn't much to do with any of this
<scrambledangel>
indeed. But that is not something new it was always so, the abuse from such people counts the hardest , all you say I feel being compliments to me, if stupidest trash on earth claims i am the stupidest, than I am satisfied. And by the way your ally wank spammers will be slaughtered one after another here as they were courageous indeed, but are all known long time ago, filthiest trash
<scrambledangel>
ever known walking on earth.
jewins has joined #dri-devel
<pac85>
Are there uses of secure buffers outside of DRM? I mean by design the idea is that only "trusted" sw can put stuff into the secure world so I have an hard time imagining other uses.
jewins has quit [Quit: jewins]
<pinchartl>
pac85: there are users on the codec side, as someone has to put the data in those buffers
<pinchartl>
and use cases on the camera side though, even though I'm not entirely sure why
<pinchartl>
I was told that people want to capture face images in buffers not accessible to the CPU, when using cameras and face recognition to unlock phones or laptops for instance
<pinchartl>
but nobody was able to tell me why, they just claimed it was a security requirement
mbrost has quit [Ping timeout: 480 seconds]
u-amarsh04 has quit []
vliaskov_ has quit [Ping timeout: 480 seconds]
epoch101_ has quit [Ping timeout: 480 seconds]
Surkow|laptop has joined #dri-devel
marcf has quit [Ping timeout: 480 seconds]
marcf has joined #dri-devel
<sima>
DemiMarie, specifically you can use it to write the entirely open-source compositor support for protected content buffers
<sima>
but the video player needs to be blobby most likely
<alyssa>
pinchartl: well if you compromise the user's cpu you can access their photo collection, but at least you won't be able to know what their face looks like ;)
<pinchartl>
alyssa: given that the camera also have to be able to operate in non-secure mode (good luck doing video conferencing otherwise), I really don't see the point, someone taking control of the machine would be able to capture frames anyway
<alyssa>
that too =D
nchery has quit [Quit: Leaving]
<DemiMarie>
pinchartl: It might be more about integrity (preventing spoofing) than about confidentiality.
yuq825_ has joined #dri-devel
<DemiMarie>
sima: is that enough to meet the DRM userspace requirements?
lynxeye has quit [Quit: Leaving.]
lynxeye has joined #dri-devel
yuq825 has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
lynxeye has quit [Quit: Leaving.]
<pac85>
pinchartl: uhm regarding codec, I'd imagine it's like GPUs so they can process stuff inside the secure world but not get things in or out, so not really a different usecase? Regarding the camera perhaps the point is to avoid spoofing? Sounds somewhat interesting
igtr has quit [Remote host closed the connection]
<alyssa>
query alyssa
<alyssa>
oops
<pac85>
wonder in which textbox that was meant to go :p
apinheiro has quit [Quit: Leaving]
Net147 has quit [Quit: Quit]
Net147 has joined #dri-devel
yrlf has quit [Quit: Ping timeout (120 seconds)]
yrlf has joined #dri-devel
<sima>
DemiMarie, there's vk/gl extensions, as long as mesa implements, it's all fine for drm drivers and display
<sima>
if video decode needs more, tough luck
mvlad has quit [Remote host closed the connection]
jkrzyszt_ has quit []
yshui has quit [Remote host closed the connection]
yshui has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
fab has quit [Ping timeout: 480 seconds]
<alyssa>
pac85: this one but with a / at the start
<pac85>
alyssa: ah, I don't know much irc let's see what it does
<pac85>
Ah you can open a chat to yourself
<alyssa>
pac85: no you can open a chat with me, that's what /query alyssa does ;)
<pac85>
til
nerdopolis has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
<Lynne>
so if you want to use e.g. bgra images as storage images, you *have* to use an imageview with a format of rgba and swizzle, rather than being able to use bgra and swizzling inside the shader manually?
<Lynne>
I've been using the latter all this time and only *now* the validation layer spits out Undefined-Value-StorageImage-FormatMismatch with a warning that this is undefined behaviour
haaninjo has quit [Quit: Ex-Chat]
<Lynne>
"If descriptorType is VK_DESCRIPTOR_TYPE_STORAGE_IMAGE or VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT, the imageView member of each element of pImageInfo must have been created with the identity swizzle"
<Lynne>
so *you cannot use any bgr images as storage images in a portable or predictable way*?
scrambledangel has quit [Remote host closed the connection]
<Lynne>
if it really is impossible to portably use BGRA images as storage images, I'm done
<gfxstrand>
Well, you can if the implementation advertises VK_FORMAT_FEATURE_STORAGE_READ/WRITE_WITHOUT_FORMAT on BGRA
<gfxstrand>
On an actual BGRA format, that is.
<gfxstrand>
This is a really annoying thorn in the spec, especially on Linux where BGRA is your window system image
<gfxstrand>
We added the per-format READ/WRITE_WITHOUT_FORMAT features expressly for BGRA
<Lynne>
no one looked at this and said "well, all the letters are there, they're just in the wrong order, on you to fix it"?
<gfxstrand>
Oh who?
<Lynne>
the user
<Lynne>
you have the tools, a swizzle mask
<Lynne>
why would they not allow swizzling of storage images?
<gfxstrand>
Because hardware can't
<Lynne>
fine
<gfxstrand>
I think NVIDIA might be able to, depending on the swizzle. AMD maybe? Intel I don't remember.
<gfxstrand>
I know Intel can swizzle render targets as long as you don't move alpha
<Lynne>
...is the issue GLSL? specifically, the fact that only e.g. "rgba32f" formats are specified, rather than "bgra32f"?
<gfxstrand>
I don't remember if it can swizzle storage images. I think maybe as long as there's nothing funny in the swizzle.
<gfxstrand>
That is also an issue
<gfxstrand>
There are several issues.
<gfxstrand>
If you have an implementation that relies on shader formats then the issue is the lack of bgra in the GLSL/SPIR-V enums. If you have those, you can re-order components in the shader easily enough.
<gfxstrand>
If you have an implementation that does it all in the hardware (this is necessary for the "without format" case) then the hardware needs to support swizzling in the image descriptor.
<Lynne>
I fail to see any issues that warrant the complete nuclear option of "no, you can't, in fact no one can, we will forbid it"
<Lynne>
let users use the images, they're smart enough to remap them in the shader
<gfxstrand>
Oh, well you can do that.
<Lynne>
you cannot
<gfxstrand>
Just make a view with an RGBA format
<gfxstrand>
And remap in your shader
<gfxstrand>
You just can't use the swizzle to make the hardware do it for you. But you're free to make an RGBA view and do it yourself.
<Lynne>
fine, guess I'll do that
<Lynne>
what a fucking fiasco
<bl4ckb0ne>
wait until you see how ahb does it
<Lynne>
ahb?
<bl4ckb0ne>
android ahardwarebuffer
<Lynne>
ah, I'm perfectly fine with that
<Lynne>
you see, you just accept that android uses a separate syntax of Vulkan called Android Vulkan, then you simply reject any and all code that tries to introduce any of those features into your code
<Lynne>
problem solved
<alyssa>
gfxstrand: Apple can swizzle storage images
<alyssa>
but can't compress them, so, don't get too cocky Kim Took
xroumegue has quit [Ping timeout: 480 seconds]
<Lynne>
the fact that at least 3 big vendors can swizzle storage images yet there's no extension is proof that none of them care about vulkan at all
<Lynne>
CUDA, HIP, oneAPI or whatever new thing Intel come up with this week
<Lynne>
I bet Metal can do it
<DemiMarie>
Lynne: time to add an extension to Mesa?
<Lynne>
tell the TSG to say to vendors blocking any of this bullshit "take your fucking toy 6502 to the dump and come back when you have something better"
xroumegue has joined #dri-devel
maka has joined #dri-devel
<gfxstrand>
Their answer is "Use a BGRA format. We support shaderStorageImageRead/WriteWithoutFormat and BGRA storage. Have fun!"
<gfxstrand>
I have thought about writing the extension