<MrCooper>
thanks, I added an empty line between <summary> and ``` in the description (this is needed for the ``` block to be formatted correctly in <details>)
<Company>
and I thought I had checked the preview
<MrCooper>
added a comment with my hypothesis and possible solutions
<Company>
MrCooper: now I'm curious: Would that bus error happen with dmabufs imported from a 2nd gpu, too - say an intel igpu?
<MrCooper>
if my hypothesis is correct, yes
<MrCooper>
any dma-buf exported by a different driver
robmur01 has joined #dri-devel
<glehmann>
dj-death: I don't think there's a particular reason since signedness doesn't matter for those ops
<glehmann>
does it cause an issue for you or are you just curious?
<Company>
MrCooper: different GPU isn't enough I think - I used MESA_VK_DEVICE_SELECT to select my AMD igpu to create a dmabuf, but the dgpu imported that one without complaining
<MrCooper>
yeah, same driver
<MrCooper>
TTM refuses to fault in pages from a different driver
<MrCooper>
s/pages/BOs/
parthiban has quit [Ping timeout: 480 seconds]
mehdi-djait3397165695212282475 has quit []
mehdi-djait3397165695212282475 has joined #dri-devel
AndrewR has quit [Remote host closed the connection]
<dj-death>
glehmann: I think maybe it does, but I could also argue our backend isn't well designed :)
<dj-death>
glehmann: types encode all kinds of conversions etc...
<dj-death>
glehmann: it's very error prone for copy propagation etc...
<MrCooper>
Company: hmm, actually not sure if it's same driver or same device which matters for that TTM code, the latter would mean my hypothesis isn't quite right
<glehmann>
dj-death: actually I think there might be a reason, some nir search helpers like is_pos_power_of_two depend on the type of the opcode (bad design if you ask me, but I guess it is what it is)
<glehmann>
is intel's backend IR fully typed?
<dj-death>
yeah
<dj-death>
I think if we had virtual conversion opcodes it would help a bunch
Nasina has quit [Read error: Connection reset by peer]
bolson has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
aissen_ has quit []
aissen has joined #dri-devel
Nasina has quit [Remote host closed the connection]
Nasina has joined #dri-devel
slattann has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
Nasina has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
haaninjo has joined #dri-devel
kts has joined #dri-devel
parthiban has joined #dri-devel
jsa1 has joined #dri-devel
dliviu has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
nashpa has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
kts has quit [Ping timeout: 480 seconds]
parthiban has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
jsa1 has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
jsa1 has joined #dri-devel
zsoltiv__ has quit [Ping timeout: 480 seconds]
zsoltiv__ has joined #dri-devel
guludo has joined #dri-devel
Nasina has joined #dri-devel
alarumbe has joined #dri-devel
Nasina has quit [Ping timeout: 480 seconds]
parthiban has joined #dri-devel
parthi has joined #dri-devel
parthiban has quit [Read error: Connection reset by peer]
parthi has quit []
davispuh has joined #dri-devel
parthiban has joined #dri-devel
kasper93 has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
<alyssa>
dj-death: it's i because it's not specifically signed or unsigned
<alyssa>
arguably it's imin/imax that should be renamed to smin/smax
<alyssa>
(and ilt/ige to slt/sge, etc)
<dj-death>
alyssa: thanks
<alyssa>
ultimately it's not a super consequential bikeshed and conventions differ
fab has quit [Quit: fab]
Daanct12 has quit [Quit: WeeChat 4.6.3]
Daanct12 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
Nasina has quit [Read error: Connection reset by peer]
ao2_collabora has joined #dri-devel
dolphin has quit [Quit: Leaving]
rjodin has joined #dri-devel
jsa1 has joined #dri-devel
nerdopolis has joined #dri-devel
kusma has joined #dri-devel
kzd has joined #dri-devel
fab has joined #dri-devel
<zmike>
it's wild that all this insane gallium refactoring is managing to fix a nonzero number of bugs
Daanct12 has quit [Quit: WeeChat 4.6.3]
jsa1 has quit [Ping timeout: 480 seconds]
Nasina has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
<MrCooper>
so long as it's not negative :)
<zmike>
me? create bugs?!
<zmike>
I would never
Nasina has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
amarsh04 has joined #dri-devel
amarsh04 has quit [Remote host closed the connection]
rpavlik has joined #dri-devel
rjodin has quit []
dsimic is now known as Guest16853
dsimic has joined #dri-devel
Guest16853 has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
kts has joined #dri-devel
bolson has joined #dri-devel
mehdi-djait3397165695212282475 has quit []
mehdi-djait3397165695212282475 has joined #dri-devel
frieder has quit [Remote host closed the connection]
mehdi-djait3397165695212282475 has quit []
jsa1 has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
Company has quit [Quit: Leaving]
jkrzyszt has quit [Ping timeout: 480 seconds]
feaneron has joined #dri-devel
AndrewR has joined #dri-devel
kts has quit [Quit: Leaving]
tomaw has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
gouchi has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
phasta has quit [Quit: WeeChat 4.6.2]
<AndrewR>
Lynne, also does ffv1_vulkan support p010 pixel format? When I tried to just decode that HDR vid it said p010 not supported ...
epoch101 has quit []
<AndrewR>
Lynne, also, does ffv1_vulkan support encoding from software decoders? I was unable to create working ffmpeg line ...
parthiban has quit [Remote host closed the connection]
parthiban has joined #dri-devel
jsa1 has joined #dri-devel
<Lynne>
AndrewR: p010 is not supported
<Lynne>
you need to use either p016 or yuv420p10
Calandracas has quit [Read error: Connection reset by peer]
<Lynne>
its a hardware encoder, you have to upload frames to it
Calandracas has joined #dri-devel
<AndrewR>
Lynne, problem is, AMDs decoder output p010 if video was hevc10 ...
<AndrewR>
Lynne, do yu have ffmpeg line where ffmpeg decodes vi on cpu and upload to ffv1_vulkan ? I tried few hwupload,format strings but none worked for me ...
epoch101 has joined #dri-devel
<Lynne>
you can convert p010 to p016 or yuv420p10 with libplacebo
<AndrewR>
Lynne, problem is, even ffmpeg 7.1.1 can't decode ffv1 produced by ffv1_vulkan. :( ffmpeg git itself works, but I do not think this is good idea to have shader-based encoder making effectively incompatible streams by default
Nasina has quit [Ping timeout: 480 seconds]
mattst88 has joined #dri-devel
helmhotz has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
danylo has joined #dri-devel
Nasina has joined #dri-devel
mattst88 has quit [Quit: Lost terminal]
mattst88 has joined #dri-devel
Company has joined #dri-devel
odrling has quit [Remote host closed the connection]