Closed KotRikD closed 2 years ago
What is the resolution of the background video itself? I have seen some pretty choppy results with 4K video backgrounds. Would be useful if you also pulled up the FPS counter and the performance window (Ctrl+F11 and Ctrl+F2, respectively) on the video, so that we can see what's eating up frame time in particular.
That said the way we do video (software decoding) is not super efficient. Related issue: https://github.com/ppy/osu-framework/issues/4079
The main oddity. It does not lag in all menus. I don't remember how it's now, but it lag on the winning screen in the past.
Another vid with fps advanced counter This video is 1920x1080 encoded with N.VENC with CQP=19.
I thought now, maybe it has problems with high bitrate?
1080p isn't that much. High bitrate may be related, yeah, but I can't say that I've looked into video decoding perf much. Best bet is probably having a go at hardware decoding and seeing if it improves things.
To rule out other issues, have you tried turning off the video or replacing it with another one? This seems like something that you could fix at your end in the short term (fixing video decoding performance is not that high on our priorities right now).
Yesterday I tried to take video from my old tournament(mp4 encoded with x264), it was about the same situation, also I tried to reduce the bitrate of the video, as I wrote above, but this also did not lead to any success.
And I think the videos are okay, because on the mappool or gameplay tab all is fine
Can you reproduce with no videos loaded then?
As @MiraiSubject rightly pointed out on discord the tournament client shown on the video seems to have modifications applied to it (bracket matches are wider, avatars are circular). Does the same thing occur on a clean build without these modifications? Additionally, are you building the modified tournament client in release config?
from beginning - 01:06 @bdach question 01:06 - end @peppy question
Certainly looks like bracket view isn't holding up too well perf-wise when zooming out even on master. The choppy background may still be due to decode perf, possibly because this branch in the decode loop is getting hit. Again, that may well improve with hardware decoding.
Hardware decoding has now been added- can you re-test this if possible?
Retested using the video in https://github.com/ppy/osu-framework/issues/3519 and have not encountered any performance issues. Decoding also correctly works on the graphics card now.
Will tentatively close this for now, thanks for testing.
Describe the bug: There are strange lags on video(mp4) on certain tabs. I think this is due to the number of teams, of which we have 64. But I don't understand why it only happens on a couple of tabs
Screenshots or videos showing encountered issue: link to video look on schedule/win tabs. A little lags bracket, but it is understandable, 64 commands are difficult to render. And compare it to the mappool or gameplay tabs.
osu!lazer version: GitHub version from this commit click
Logs: network.log performance.log runtime.log database.log