Smplayer stutter when skipping through video

I’ll just use the pamac-gtk3 from now. Unsure how to fix the theme to it apart from reinstalling pamak-gtk and rebooting?

On KDE Plasma, Smplayer with the mpv back-end stutters a bit for less than a second when skipping through videos (picture and sound, like a loop backwards). Then replay is normal again. Not too bad though.
Might also have been after the update before.

[mkv] execute seek (to 8144.746560 flags 32)
[file] stream level seek from 9411326864 to 9407786690
[mkv] seek done
hr-seek, skipping to 8144.746560
[vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264
[vd] Using container aspect ratio.
[vo/gpu/x11] Enabling screensaver.
first video frame after restart shown
audio ready
starting audio playback
playback restart complete @ 8144.761000, audio=playing, video=playing
[vo/gpu/x11] Disabling screensaver.
[ao/pulse] starting AO

^mpv log

[00:39:23:548] MPVProcess::parseLine: "hr-seek, skipping to 10184.080320"
[00:39:23:572] MPVProcess::parseLine: "[vo/gpu/x11] Enabling screensaver."
[00:39:23:578] MPVProcess::parseLine: "[vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264"
[00:39:23:578] MPVProcess::parseLine: "[vd] Using container aspect ratio."
[00:39:23:595] MPVProcess::parseLine: idle
[00:39:23:595] BaseGui::displayState: "Unknown"
[00:39:23:595] DefaultGui::togglePlayAction
[00:39:23:595] BaseGui::togglePlayAction
[00:39:23:596] StateWidget::watchState: 3
[00:39:23:596] BaseGui::checkStayOnTop
[00:39:23:663] Core::goToPosition: value: 809
[00:39:23:664] Core::goToPos: per: 80.900000
[00:39:23:664] MPVProcess::sendCommand: "seek 80.9 absolute-percent exact"
[00:39:23:681] MPVProcess::parseLine: "first video frame after restart shown"
[00:39:23:689] MPVProcess::parseLine: "audio ready"
[00:39:23:690] MPVProcess::parseLine: "[mkv] queuing seek to 10184.080320"
[00:39:23:691] MPVProcess::parseLine: "[mkv] execute seek (to 10184.080320 flags 32)"
[00:39:23:691] MPVProcess::parseLine: "[file] stream level seek from 12196264576 to 12185283442"
[00:39:23:691] MPVProcess::parseLine: "[mkv] seek done"
[00:39:23:691] MPVProcess::parseLine: "hr-seek, skipping to 10184.080320"
[00:39:23:707] MPVProcess::parseLine: "[vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264"
[00:39:23:707] MPVProcess::parseLine: "[vd] Using container aspect ratio."
[00:39:23:719] MPVProcess::parseLine: idle
[00:39:23:798] MPVProcess::parseLine: "first video frame after restart shown"
[00:39:23:808] MPVProcess::parseLine: "audio ready"
[00:39:23:809] MPVProcess::parseLine: "starting audio playback"
[00:39:23:810] MPVProcess::parseLine: "[vo/gpu/x11] Disabling screensaver."
[00:39:23:810] MPVProcess::parseLine: "playback restart complete @ 10184.090000, audio=playing, video=playing"
[00:39:23:810] MPVProcess::parseLine: "[ao/pulse] starting AO"
[00:39:23:810] BaseGui::displayState: "Playing"
[00:39:23:810] DefaultGui::togglePlayAction
[00:39:23:811] BaseGui::togglePlayAction
[00:39:23:811] StateWidget::watchState: 1
[00:39:23:811] Core::changeCurrentSec: mplayer reports that now it's playing
[00:39:23:811] BaseGui::checkStayOnTop

^smplayer log

I’m using X11 and the video-nvidia 535.54.03 driver.

I also have 2 times frame skip for 0,5 sec (while the sound is normal) in the first 5 seconds with smplayer.

But im experience this performance problem since i started to used smplayer (almost 3years ago), so its not a new bug.

I would love to see a workaround, but maybe someone need to report that issue to the developer or it never would be fixed.

Most often a symptom of hardware-acceleration not configured or ‘output’ improperly set.
Though … usually that would be the case for VLC … whereas smplayer’s automatic almost always runs fine.

EDIT. Oh wait … I can reproduce this.
But not reliably … its only some of the time, and only when using a single click on the timeline (not dragging or using the arrow keys, etc)… :thinking: … I dont think its been there all this time … but maybe.

Not sure if it gets a little better after reinstalling mpv. But it’s still there. Is it an Nvidia issue that solves with force-reinstalling the driver via mhwd?

I can easily reproduce this, you just have to pause the video for around 1min (maybe even shorter) and then unpause again and the frames will skip again.

After the latest update (incl. mpv), this seems to be solved. Can you confirm this? At least not noticeable by the eye, if any, stuttering.

Nope, its still there for me. 2 times little frame spikes in the first few sec.

You’re right, it’s still there, exactly as you say it.

We still maybe experience a differend error, because you said the sound and picture jump backwards.

My sound is flawless at this time (and is always flawless and perfect with smplayer), i have only a visual problem there.

Its just skipping only a few (visual) 1-2 frame/s in the first few seconds (maybe 5-7seconds) and only for max 2 times.