ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
randy_ has quit [Ping timeout: 480 seconds]
<DavidHeidelberg[m]> airlied: Hey. Btw. what is your opinion on using SPDX only headers?
<airlied> DavidHeidelberg[m]: yeah I think I'm good with it, at least I think RH lawyers are since we do it for the kernel :-P
<DavidHeidelberg[m]> airlied: I'm not sure if there is any consensus within the Mesa, but pushing big license headers into each file seems to be a bit overkill when opening and reading them
<DavidHeidelberg[m]> Does anyone run the deqp against NVIDIA binary? I'm mostly interested if dEQP-EGL.functional.choose_config passing.
<DavidHeidelberg[m]> jekstrand: ^ ?
RSpliet has quit [Quit: Bye bye man, bye bye]
RSpliet has joined #dri-devel
ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
maxzor has joined #dri-devel
K0bin_ has joined #dri-devel
heat__ has joined #dri-devel
heat_ has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #dri-devel
K0bin has quit [Ping timeout: 480 seconds]
<DavidHeidelberg[m]> linkmauve: https://linkmauve.fr/blog/2020/06/12/bringing-gpu-acceleration-to-inkscape-week-2/ hmm, and two years later, I guess I'll rebuild the libepoxy and gtk to have apitrace working again...
heat__ has quit [Remote host closed the connection]
heat__ has joined #dri-devel
repetitivestrain has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
ayaka_ has joined #dri-devel
repetitivestrain has joined #dri-devel
yuq825 has joined #dri-devel
randy_ has joined #dri-devel
ayaka_ has quit [Ping timeout: 480 seconds]
<Lynne> airlied: optimal format for dbps on AMD is linear? really?
columbarius has joined #dri-devel
<airlied> Lynne: I should test that theory, but that's what vaapi does
* airlied has no info on how the hw works
co1umbarius has quit [Ping timeout: 480 seconds]
<Lynne> "that'd be quick to test", I thought, before I remembered amd has tons of tilings
<Lynne> segfault on radv_amdgpu_get_bo_list when I tested decoding now
<Lynne> seems to be in the same place as the issue earlier
<Lynne> Venemo: does video encode/decode also need 0 preambles?
ybogdano has quit [Ping timeout: 480 seconds]
<Lynne> adding it to RADV_QUEUE_TRANSFER condition in radv_device.c causes a segfault later on in radv_amdgpu_winsys_cs_submit_system:1175
Daanct12 has joined #dri-devel
K0bin_ has quit []
JohnnyonFlame has quit [Ping timeout: 480 seconds]
<airlied> i gotta test my rebase then
heat__ has quit [Remote host closed the connection]
heat has joined #dri-devel
randy_ has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has joined #dri-devel
<Lynne> make sure to add Venemo's patch
<airlied> yeah was waiting for that to land first
alarumbe has quit [Ping timeout: 480 seconds]
alarumbe has joined #dri-devel
srslypascal is now known as Guest18
srslypascal has joined #dri-devel
maxzor_ has joined #dri-devel
maxzor has quit [Read error: Connection reset by peer]
Guest18 has quit [Ping timeout: 480 seconds]
aravind has joined #dri-devel
ayaka_ has joined #dri-devel
cef has quit [Quit: Zoom!]
randy_ has joined #dri-devel
ayaka_ has quit [Ping timeout: 480 seconds]
<airlied> Lynne: you just testing decoding normally?
ppascher has quit [Ping timeout: 480 seconds]
<Lynne> yup
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
<airlied> okay got it reproduced, let me see where it comes from
<airlied> Lynne: pushed a fixed to Venemo MR
rsjw has quit [Quit: rsjw]
aravind has quit [Ping timeout: 480 seconds]
bmodem has joined #dri-devel
cphealy_ has joined #dri-devel
aravind has joined #dri-devel
cphealy has quit [Ping timeout: 480 seconds]
pcercuei has quit [Ping timeout: 480 seconds]
pcercuei has joined #dri-devel
<Lynne> airlied: "error: use of GNU empty initializer extension"
<Lynne> just stick a NULL in the preambles[4] define
<Lynne> or remove the {}, whichever
<Lynne> other than that, patch works
heat_ has joined #dri-devel
heat has quit [Read error: Connection reset by peer]
pcercuei has quit [Ping timeout: 480 seconds]
Akari has joined #dri-devel
kts has joined #dri-devel
Company has quit [Quit: Leaving]
<airlied> Lynne: okay pushed the fix for it
heat_ has quit [Ping timeout: 480 seconds]
kode54 has quit [Quit: Ping timeout (120 seconds)]
kode54 has joined #dri-devel
pcercuei has joined #dri-devel
zackr has joined #dri-devel
alatiera8 is now known as alatiera
<Lynne> thanks
<Lynne> never used queries before, I get to use them now to pull the result of encoding
zrusin has quit [Ping timeout: 480 seconds]
JohnnyonFlame has joined #dri-devel
djbw has quit [Read error: Connection reset by peer]
tzimmermann has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
<Venemo> airlied: I think you pushed a good chunk of your vk video code into my commit, is that intentional?
<airlied> Venemo: doh!
<airlied> Venemo: let me fix that
<airlied> Venemo: fixed
<airlied> Venemo: feel free to squash my patch into yours if you are happy with it
bgs has joined #dri-devel
ahajda_ has joined #dri-devel
<Venemo> airlied: ok, gimme a few minutes
fab has joined #dri-devel
RSpliet has quit [Quit: Bye bye man, bye bye]
RSpliet has joined #dri-devel
<Venemo> airlied: yes they look good to me
<Venemo> airlied: would be nice if we passed num_preambles to the sysmem path rather than the null check, but this is fine too
ahajda__ has joined #dri-devel
ahajda_ has quit [Ping timeout: 480 seconds]
ahajda__ has quit [Ping timeout: 480 seconds]
danvet has joined #dri-devel
ahajda__ has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
Major_Biscuit has joined #dri-devel
jagan_ has quit [Remote host closed the connection]
MajorBiscuit has joined #dri-devel
Major_Biscuit has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
frieder has joined #dri-devel
randy_ has quit []
<Venemo> airlied: I've squashed your commit, is it ok to merge 20401 now?
ayaka_ has joined #dri-devel
lemonzest has joined #dri-devel
frieder has quit [Remote host closed the connection]
junaid has joined #dri-devel
frieder has joined #dri-devel
frieder has quit [Remote host closed the connection]
frieder has joined #dri-devel
frieder has quit [Remote host closed the connection]
mvlad has joined #dri-devel
frieder has joined #dri-devel
aravind has joined #dri-devel
Akari has quit [Quit: segmentation fault (core dumped)]
MajorBiscuit has quit [Ping timeout: 480 seconds]
junaid has quit [Remote host closed the connection]
dcz_ has joined #dri-devel
tursulin has joined #dri-devel
Lynne has quit [Remote host closed the connection]
agd5f has quit [Remote host closed the connection]
Lynne has joined #dri-devel
lynxeye has joined #dri-devel
ana has quit []
<Lynne> grr, so close to getting a packet out of vk encode
<Lynne> sadly validation layers don't cover codec structs
<Lynne> and nvidia's driver is such a black box it sucks all light out of a system, sometimes literally
<Venemo> :(
illwieckz has quit [Ping timeout: 480 seconds]
elongbug has joined #dri-devel
aravind has quit [Remote host closed the connection]
aravind has joined #dri-devel
<Lynne> well, I did find a validation layer bug
jkrzyszt has joined #dri-devel
elongbug has quit [Remote host closed the connection]
elongbug has joined #dri-devel
apinheiro has joined #dri-devel
elongbug has quit [Remote host closed the connection]
<lina> DemiMarie: I think that would make sense if this were a generic API intended to be used with arbitrary IOMMUs by arbitrary drivers, but it's not. In this case it's just a page table management backend used directly by IOMMU drivers, and downstream clients use higher-level APIs. I just use it in my driver because this GPU happens to use an MMU that is very similar to SMMU.
<lina> It's kind of up to interpretation, but in my view the IOMMU driver / subsystems are responsible for safety, and in this case that's actually the GPU driver itself.
<lina> The VM management in my driver then both does the unsafe action of installing the page tables, and exposes safe mapping functions to the rest of the driver that take scatter-gather tables (which themselves keep the GEM object backing them alive and are guaranteed to point to valid physical pages), and track VM address space and return mapping objects that keep those SG tables and therefore physical
<lina> allocations alive as long as the mapping is live in the VM
<lina> That also keeps the VM alive itself, which is important because apparently this GPU can't cancel jobs so if you kill a process using the GPU, all that plumbing has to stay alive until the job actually completes even if the DRM file already went away.
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Soroush has quit [Quit: Reconnecting]
Soroush has joined #dri-devel
illwieckz has joined #dri-devel
elongbug has joined #dri-devel
ahajda__ has quit [Remote host closed the connection]
aravind has quit [Ping timeout: 480 seconds]
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
aravind has joined #dri-devel
ayaka_ has quit [Ping timeout: 480 seconds]
i-garrison has quit [Read error: Connection reset by peer]
ayaka_ has joined #dri-devel
randy_ has joined #dri-devel
Company has joined #dri-devel
ayaka_ has quit [Ping timeout: 480 seconds]
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Quit: Leaving]
FireBurn has joined #dri-devel
Duke`` has joined #dri-devel
ChaosPrincess has joined #dri-devel
randy_ has quit []
ayaka_ has joined #dri-devel
i-garrison has joined #dri-devel
kts has joined #dri-devel
kts has quit []
kts has joined #dri-devel
kts has quit []
ahajda has joined #dri-devel
rsjw has joined #dri-devel
kts has joined #dri-devel
kts has quit []
Daanct12 has quit [Remote host closed the connection]
nuh^ has quit [Remote host closed the connection]
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
FireBurn has quit [Ping timeout: 480 seconds]
apinheiro has quit [Ping timeout: 480 seconds]
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
kts has joined #dri-devel
kts has quit []
aravind has quit [Ping timeout: 480 seconds]
RSpliet has quit [Quit: Bye bye man, bye bye]
RSpliet has joined #dri-devel
kts has joined #dri-devel
FireBurn has joined #dri-devel
Akari has joined #dri-devel
FireBurn has quit [Remote host closed the connection]
jkrzyszt has quit [Remote host closed the connection]
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
yuq825 has left #dri-devel [#dri-devel]
kts has quit [Quit: Leaving]
kts has joined #dri-devel
camus1 has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
camus has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
kts has joined #dri-devel
jkrzyszt has joined #dri-devel
dliviu has quit [Ping timeout: 480 seconds]
randy_ has joined #dri-devel
ayaka_ has quit [Ping timeout: 480 seconds]
RSpliet has quit [Read error: Connection reset by peer]
RSpliet has joined #dri-devel
randy__ has joined #dri-devel
randy_ has quit [Read error: Connection reset by peer]
tzimmermann has quit [Quit: Leaving]
FireBurn has joined #dri-devel
dliviu has joined #dri-devel
FireBurn has quit [Remote host closed the connection]
FireBurn has joined #dri-devel
heat_ has joined #dri-devel
FireBurn has quit [Remote host closed the connection]
FireBurn has joined #dri-devel
rsjw has quit [Quit: rsjw]
heat_ has quit [Read error: No route to host]
heat has joined #dri-devel
FireBurn has quit [Quit: Konversation terminated!]
randy__ has quit []
randy__ has joined #dri-devel
randy__ has left #dri-devel [#dri-devel]
bmodem has quit [Ping timeout: 480 seconds]
FireBurn has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
<jekstrand> airlied: Scanning through it now.
<jekstrand> DavidHeidelberg[m]: IDK. My blob box is off right now.
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
frieder has quit [Remote host closed the connection]
djbw has joined #dri-devel
<DemiMarie> lina: I really hope instruction-level (or at least bounded-latency) preemption becomes standard for GPU drivers. It’s the only way GPUs can become secure multi-user compute devices.
<jekstrand> That's going to be a while.
<jekstrand> airlied: Gave you some real review.
junaid has joined #dri-devel
cphealy_ has quit [Ping timeout: 480 seconds]
gouchi has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
Akari has quit [Quit: segmentation fault (core dumped)]
ybogdano has joined #dri-devel
heat_ has joined #dri-devel
heat has quit [Read error: Connection reset by peer]
kts has quit [Remote host closed the connection]
ngcortes has joined #dri-devel
<DavidHeidelberg[m]> After the new year?
junaid has quit [Remote host closed the connection]
<DemiMarie> What is the usual process for dealing with kernel driver problems that are blocking a particular downstream project? marmarek found a bug in i915 that makes Qubes OS unusable on Alder Lake.
<DemiMarie> Both he and I tried to fix the bug and failed.
<emersion> DemiMarie: report it on GitLab
<emersion> you can also ask questions on #inel-gfx
<emersion> err, #intel-gfx
<DemiMarie> emersion: already done, but no fix yet, and this is a release-blocker
<emersion> you can always indicate that this blocks your project in the issue, but that doesn't really change anything
<emersion> if you want to be unblocked, the only reliable way is to do it yourself
<bnieuwenhuizen> if this is a regression it might help to work around by bisecting and reverting
<emersion> right, a regression would be easier to argue for a revert
<emersion> and bisecting helps debugging regardless
<DemiMarie> emersion: is that why you became a kernel developer?
<emersion> lol
<emersion> kind of -- i just hit a bug i found a solution to ;)
<emersion> you're on that path as well :P
<pcercuei> Knowing the offending commit is half of the job, so if you can at least bisect it, chances are that it can be fixed quickly
<DemiMarie> Does i915 share page tables between the CPU and the GPU?
<DemiMarie> Or otherwise make intentional assumptions about how CPU page tables are layed out?
kts has joined #dri-devel
marmarek[m] is now known as marmarek
fxkamd has quit []
kts has quit [Quit: Leaving]
<mattst88> DemiMarie: if no one is responding, I've found that bisecting and sending a revert of the offending patch often gets someone's attention :)
<DemiMarie> mattst88: the problem is that the offending patch is the one that introduced support for the hardware in question
<emersion> no hardware support means no possible bug!
<marmarek> well, with no support in i915, it AFAIR uses efifb and it does work correctly (unless you want, idk, change resolution or something ;) )
jkrzyszt has quit [Remote host closed the connection]
jkrzyszt has joined #dri-devel
Akari has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.6]
mvlad has quit [Remote host closed the connection]
agd5f has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
heat_ has quit [Read error: Connection reset by peer]
<Lynne> airlied: typing going alright over there?
heat_ has joined #dri-devel
<psykose> gotta take breaks
ChaosPrincess has left #dri-devel [#dri-devel]
<DavidHeidelberg[m]> jenatali: Hey hey. DNS issues in the house again with harbor + Windows + Docker :(
<jenatali> That's for alatiera and daniels
<DavidHeidelberg[m]> Ok, I'll put the farm for now down, and ping alatiera (as we did now, but also in MR). Daniel is on vacation
Haaninjo has quit [Quit: Ex-Chat]
<jenatali> Alright. I'm also on vacation which means I care a little bit less, but I always get scared when that CI gets disabled
jkrzyszt has quit [Remote host closed the connection]
Jeremy_Rand_Talos has joined #dri-devel
Jeremy_Rand_Talos has quit [Remote host closed the connection]
Jeremy_Rand_Talos has joined #dri-devel
Jeremy_Rand_Talos has quit [Remote host closed the connection]
<DemiMarie> <DavidHeidelberg[m]> "jenatali: Hey hey. DNS issues in..." <- Windows?
<airlied> Lynne: encode just keeps getting distracted from :-P, I expect holidays will keep me from winning
<airlied> Lynne: I've also little to no idea what bits of the API need to write to what bits of the hw yet
<jenatali> Demi: yes, Windows
<DavidHeidelberg[m]> Demi: hmm? CI runners having problems to resolve DNS (the described combination)
<airlied> though today is a sitting in the car service play day, so maybe more typing, but have lots of decode cleanups to do first
<DemiMarie> jenatali: who is running Windows?
<jenatali> I am, among others
* jenatali works for Microsoft
jkrzyszt has joined #dri-devel
<DemiMarie> jenatali: okay, fair, though I am curious why you are in this room 🙂. Do you work on the graphics stack as a hobby, or is it part if your job?
<jenatali> Demi: Microsoft maintains a gallium backend in Mesa for layering on D3D12, like Zink. We're also building a Vulkan driver to do the same
<jenatali> We also use both of those for WSL (Linux running in a tightly-integrated VM on Windows)
<DemiMarie> jenatali: Any updates on the kernel driver?
<jenatali> "the kernel driver"?
<jenatali> Oh upstreaming the dxgkrnl driver. We've paused that effort for the moment
cef has joined #dri-devel
<Lynne> airlied: I think if you just need to use the same hooks as vaapi, as the APIs are remarkably similar
<Lynne> vaapi has the same model where you create buffers from sequence units, vulkan is a bit higher level by just exposing them as a video session rather than as buffers you have to allocate yourself
<Lynne> both APIs let you feed a frame and specify the number of output slices
<Lynne> both APIs use more or less the same structures to describe frames and references
<Lynne> I'm guessing the encode spec was written by either Intel and/or AMD while decode was nvidia's turf
dcz_ has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
fab has quit [Quit: fab]
<robclark> lina: panfrost has an mmu that uses same pgtable format as SMMU.. and adreno (msm) basically has an SMMU instance all it's own to be it's MMU but doing things that don't at all fit into the dma api framework.. (OTOH I agree that gpu drivers need to do things that shouldn't really be forced into iommu/dma framework)
<DemiMarie> <jenatali> "Oh upstreaming the dxgkrnl..." <- What was the reason for that?
<jenatali> Demi: Not really sure, I wasn't really involved
<airlied> jekstrand: pushed a patch attempting a macro to that MR, on the fence on whether it's a win :-P
agd5f has quit [Remote host closed the connection]
gouchi has quit [Remote host closed the connection]
heat has joined #dri-devel
ana has joined #dri-devel
heat_ has quit [Read error: Connection reset by peer]
heat has quit [Read error: No route to host]
heat has joined #dri-devel
bgs has quit [Remote host closed the connection]
<airlied> jekstrand: actually I reread the spec so I'll rewrite some of the code, but not sure it'll be less or more ugly
<jekstrand> heh
cphealy has joined #dri-devel
<airlied> Lynne: you know VPS sets for HEVC decode? I don't think I have them wired up but just wondering if we missed them
jkrzyszt has quit [Remote host closed the connection]
<Lynne> airlied: no, I set them
<airlied> Lynne: doh I should probably take some info from them :-P
danvet has quit [Ping timeout: 480 seconds]
warpme_____ has quit []
<airlied> jekstrand: okay updated the MR