bolson has quit [Remote host closed the connection]
bolson has joined #dri-devel
yyds_ has joined #dri-devel
yyds has quit [Ping timeout: 480 seconds]
bolson_ has joined #dri-devel
bolson has quit [Remote host closed the connection]
kts has joined #dri-devel
bolson_ has quit [Remote host closed the connection]
Daanct12 has quit [Quit: WeeChat 4.2.2]
Daanct12 has joined #dri-devel
evadot_ has quit [Remote host closed the connection]
sgruszka has quit [Ping timeout: 480 seconds]
evadot has joined #dri-devel
sukuna has joined #dri-devel
jkrzyszt has quit [Quit: Konversation terminated!]
jkrzyszt has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
jfalempe has joined #dri-devel
pcercuei has joined #dri-devel
yyds_ has quit [Remote host closed the connection]
yyds has joined #dri-devel
vyivel has quit [Remote host closed the connection]
vyivel has joined #dri-devel
heat has joined #dri-devel
flynnjiang has quit [Quit: flynnjiang]
neniagh has joined #dri-devel
vliaskov_ has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
vliaskov has joined #dri-devel
iyes has joined #dri-devel
kts has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
pochu_ has quit []
pochu has joined #dri-devel
<MrCooper>
interesting, "mangohud vkcube-wayland --present_mode 1" shows ~10% higher frame rate (~3600 vs ~3300) with implicit sync compared to explicit sync with RADV on Navi 14, CPU load ~10% in both cases
alane has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
ptrc has quit [Remote host closed the connection]
ptrc has joined #dri-devel
cmichael has joined #dri-devel
alice has quit [Remote host closed the connection]
alice has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
yyds has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
warpme has quit []
Haaninjo has joined #dri-devel
<zamundaaa[m]>
MrCooper: about 10% difference on my PC (11k vs 10k) as well, that's pretty weird
chloekek has joined #dri-devel
kts has joined #dri-devel
guludo has joined #dri-devel
itoral has quit [Remote host closed the connection]
jkhsjdhjs has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
yyds has joined #dri-devel
<MrCooper>
zamundaaa[m]: yeah, while it was clear that explicit sync can't really be faster, I didn't expect it to hurt that much
<zamundaaa[m]>
I would've expected it to be slightly faster, as it can avoid using buffers the compositor is still using on the GPU side
<MrCooper>
not convinced that really makes a difference, the resulting client GPU work can't start earlier anyway
kts has quit [Read error: Connection reset by peer]
<zamundaaa[m]>
Of course it can start earlier, by the client picking a buffer that's free
<zamundaaa[m]>
If it picks the buffer the compositor is still busy on, then the client's GPU work has to wait until the compositor is done with it
<MrCooper>
that's the point, it has to wait anyway, since the compositor uses a higher priority context
jkhsjdhjs has joined #dri-devel
<zamundaaa[m]>
right, if you assume the GPU is a serial device, then it shouldn't make a difference in practice
<zamundaaa[m]>
unless the client is rendering on a different GPU. Gonna test that
Calandracas has quit [Remote host closed the connection]
<zamundaaa[m]>
I get maybe 1% more fps with vkcube-wayland running on the integrated GPU with explicit sync vs without. It fluctuates a bit with both explicit and implicit sync though, idk how reproducible those results are
<zamundaaa[m]>
More important than the slight improvement is... I don't get the 10% drop in fps
<MrCooper>
I see more than 1% fluctuation in the frame rate while it's running, so that would need to be qualified more :)
Daanct12 has quit [Quit: WeeChat 4.2.2]
<zamundaaa[m]>
The 1% improvement is in the maximum fps. Idk how to tell mangohud to average over a longer time period to check that part out
Calandracas has joined #dri-devel
<MrCooper>
anyway, I don't think your explanation for an improvement works in this case either, since the client doesn't draw to the same buffer the compositor samples from, so the client GPU work doesn't have to wait with implicit sync either
<zamundaaa[m]>
I don't think Mesa does a blit with Vulkan
<MrCooper>
hmm, or doesn't Mesa always use a separate shared buffer with Vulkan?
<zamundaaa[m]>
It only does that with EGL
<zamundaaa[m]>
At least that's how I understood the code last time I looked into the multi gpu changes for the linux dmabuf protocol
<MrCooper>
hmm, that means either non-optimal access characteristics for either GPU, and/or buffer storage migration ping-poing though
<MrCooper>
or not, since the client uses the integrated GPU
<zamundaaa[m]>
yeah, in this case it should work out. In the other direction it might not be that great though
<MrCooper>
yep
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
warpme has joined #dri-devel
kts has joined #dri-devel
<MrCooper>
zamundaaa[m]: weird, with a second dGPU, implicit sync starts out >10% slower than explicit sync, but after a while the frame rate jumps up to the same range (reproduced 3x in a row)
<MrCooper>
never mind
<MrCooper>
it starts out slower with explicit sync as well, guess the GPU clocks are lower
<MrCooper>
can't see any difference in this case
yyds has quit []
kts has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
<MrCooper>
zamundaaa[m]: '"MANGOHUD_CONFIG=frame_count mangohud vkcube-wayland --present_mode 1" & sleep 60 && killall -STOP vkcube-wayland' shows how many frames it presented in a minute
emxd has quit [Remote host closed the connection]
kts has joined #dri-devel
emxd has joined #dri-devel
emxd has quit [Remote host closed the connection]
emxd has joined #dri-devel
yyds has joined #dri-devel
emxd has quit [Remote host closed the connection]
emxd has joined #dri-devel
emxd has quit [Remote host closed the connection]
nchery has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
fab has quit [Quit: fab]
fab has joined #dri-devel
RSpliet has quit [Quit: Bye bye man, bye bye]
rasterman has quit [Quit: Gettin' stinky!]
nchery has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
<zamundaaa[m]>
MrCooper: seems to be slightly better (<1%) with explicit sync still, but the difference between two runs is a few percent so it's hard to make any actual statements without running tons of tests
<MrCooper>
or at least running the numbers through something like ministat, yeah
<MrCooper>
sounds like no significant difference though
<zamundaaa[m]>
Either way, more important is that there's an fps drop if it's on the same GPU, but not if it's a different one. It's at least a clue to where the problem comes from
fab has joined #dri-devel
bolson has joined #dri-devel
RSpliet has joined #dri-devel
DodoGTA has quit [Quit: DodoGTA]
RSpliet has quit [Quit: Bye bye man, bye bye]
DodoGTA has joined #dri-devel
RSpliet has joined #dri-devel
opotin65 has joined #dri-devel
RSpliet has quit [Read error: Connection reset by peer]
RSpliet has joined #dri-devel
opotin65 has quit []
opotin65 has joined #dri-devel
<MrCooper>
zamundaaa[m]: BTW, AFAICT there's a blit for PRIME with Vulkan as well
sudeepd has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
<zamundaaa[m]>
Ah, indeed, that seems to have been fixed a while ago. Sorry for spreading outdated information
<robertfoss>
mwalle, arlied: thanks, having a look
<robertfoss>
mwalle: sorry about the delay, i'll have a look today or tomorrow
<zamundaaa[m]>
MrCooper: do I see that correctly, the blit goes from the swapchain buffer to just another buffer on the same device as the swapchain?
<MrCooper>
I think so, it uses system memory for storage though
<zamundaaa[m]>
okay, that's less bad then. Dunno if that actually guarantees the import to the main device to be possible though
Duke`` has joined #dri-devel
<zamundaaa[m]>
but if it works in practice it's probably not a real problem