Plex Out of Sync
-
Heya.
When you start a video in PLEX (local server http://127.0.0.1:32400/) and switch tab, the video and audio will run out of sync over time.
I can't remember exactly when this occurred, but I think it started when some of the the changes regarding the memory-save-tab-thing-something-like-that was introduced.
I didn't think too much of it in the beginning, but it's becoming an annoyance.
Now, I wouldn't blame this on Vivaldi immediately, so I downloaded FLOORP. Logged in and did the same things as I do in Vivaldi. No matter what I do, no matter how long I am doing other things in other tabs, the video does not run out of sync in FLOORP.
Anyone else with this issue or anyone with ideas where I can look under the hood?
Thanks in advance.
ps: I completely forgot how ugly and non-intuitive the gecko based browsers are (compared to vivaldi).
-
@jrkl75 Check without any extensions Try Guest Profile and tell if that works.
Please try the troubleshooting steps, including testing in a clean profile and disabling adblocking/extensions:
https://help.vivaldi.com/desktop/troubleshoot/troubleshooting-issues/Which Vivaldi and Windows (see Vivaldi menu → About)?
Which GPU and driver?
Hardware accleleration active?
What shows vivaldi:gpu ?Perhaps a codecs issue?
Close all tabs
Open vivaldi:media-internals in one tab
Play video in other tab
Save log
Paste log here with </> button as code block
Tell at which time code it gets out of sync! -
I tried the Guest mode and let it run in the background whilst watching some youtube vids. It did not run out of sync. I will do some more testing and mention my finding(s) here. Thanks for pointing this out.
-
@jrkl75 Guest Mode is a clean new profile, so it is something in your current profile which cause a out-of-sync after a while.
-
Oh, no, I spoke too soon... ...
I removed all the extensions from my main profile and started to test again. Same result. I went back to the Guest Profile and now I had the same issue.
Vivaldi 7.3.3635.12 (Stable channel) (64-bit)
Revision d793a38246ec9848e88f118eece993ee4235d0d7
OS Windows 10 Version 21H2 (Build 19044.1320)
RTX 4070: 566.03
Hardware Acceleration: ONmedia-internals:
[ { "properties": { "render_id": 230, "player_id": 4, "created": "2025-05-09 12:58:32.161546 UTC", "origin_url": "http://127.0.0.1:32400/", "kFrameUrl": "http://127.0.0.1:32400/web/index.html#!/", "kFrameTitle": "▶ Test Video Out Of Sync", "url": "http://127.0.0.1:32400/library/parts/5716/1738281675/file.mp4?X-Plex-Session-Identifier=7o1u6c1lijjnng69lb3d68fa&X-Plex-Product=Plex%20Web&X-Plex-Version=4.145.1&X-Plex-Client-Identifier=x8f6a3n5hudwfw9nausk5sqo&X-Plex-Platform=Chrome&X-Plex-Platform-Version=134.0&X-Plex-Features=external-media%2Cindirect-media%2Chub-style-list&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=2208x1315%2C2560x1440&X-Plex-Token=eZUqaeVJA8WVGGAdd7rW&X-Plex-Language=en&Accept-Language=en&X-Plex-Session-Id=f53861b6-5b99-4895-80aa-617b09363af5&X-Plex-Playback-Session-Id=cda62fdf-9945-42b5-86a4-4f656bee1773&X-Plex-Playback-Id=4231ca9b-9a0a-4c08-8b0f-632b2d481488", "kTotalBytes": "0xe68e5912", "kIsStreaming": false, "kIsSingleOrigin": true, "kIsRangeHeaderSupported": true, "kRendererName": "RendererImpl", "pipeline_state": "kPlaying", "info": "D3D11VideoDecoder is using array texture", "kAudioTracks": [ { "bytes per channel": 2, "bytes per frame": 4, "channel layout": "STEREO", "channels": 2, "codec": "aac", "codec delay": 0, "discard decoder delay": true, "encryption scheme": "Unencrypted", "has extra data": true, "profile": "unknown", "sample format": "Signed 16-bit", "samples per second": 44100, "seek preroll": "0us" } ], "kVideoTracks": [ { "alpha mode": "is_opaque", "codec": "h264", "coded size": "1920x1080", "color space": { "matrix": "BT709", "primaries": "BT709", "range": "LIMITED", "transfer": "BT709" }, "encryption scheme": "Unencrypted", "has extra data": true, "hdr metadata": "unset", "natural size": "1920x1080", "orientation": "0°", "profile": "h264 high", "visible rect": "0,0 1920x1080" } ], "kMaxDuration": 10343.352018, "kStartTime": 0, "kBitrate": 2991748, "kIsAudioDecryptingDemuxerStream": false, "kAudioDecoderName": "FFmpegAudioDecoder", "kIsPlatformAudioDecoder": false, "kIsVideoDecryptingDemuxerStream": false, "kVideoDecoderName": "D3D11VideoDecoder", "kIsPlatformVideoDecoder": true, "dimensions": "1920x1080", "kResolution": "1920x1080", "seek_target": 1426, "duration": 10343.352018, "pipeline_buffering_state": { "for_suspended_start": false, "state": "BUFFERING_HAVE_ENOUGH" }, "event": "kPlay", "video_track_selected": "1", "warning": " Large timestamp gap detected; may cause AV sync to drift. time:1496409977us expected:1494366621us delta:2043356us" }, "events": [ { "time": 0, "key": "created", "value": "2025-05-09 12:58:32.161546 UTC" }, { "time": 0.10800000093877316, "key": "origin_url", "value": "http://127.0.0.1:32400/" }, { "time": 0.1119999997317791, "key": "kFrameUrl", "value": "http://127.0.0.1:32400/web/index.html#!/" }, { "time": 0.11500000022351742, "key": "kFrameTitle", "value": "▶ Mark Wiens - Eating Indian Street Food for 7 Days" }, { "time": 0.18400000035762787, "key": "url", "value": "http://127.0.0.1:32400/library/parts/5716/1738281675/file.mp4?X-Plex-Session-Identifier=7o1u6c1lijjnng69lb3d68fa&X-Plex-Product=Plex%20Web&X-Plex-Version=4.145.1&X-Plex-Client-Identifier=x8f6a3n5hudwfw9nausk5sqo&X-Plex-Platform=Chrome&X-Plex-Platform-Version=134.0&X-Plex-Features=external-media%2Cindirect-media%2Chub-style-list&X-Plex-Model=bundled&X-Plex-Device=Windows&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=2208x1315%2C2560x1440&X-Plex-Token=eZUqaeVJA8WVGGAdd7rW&X-Plex-Language=en&Accept-Language=en&X-Plex-Session-Id=f53861b6-5b99-4895-80aa-617b09363af5&X-Plex-Playback-Session-Id=cda62fdf-9945-42b5-86a4-4f656bee1773&X-Plex-Playback-Id=4231ca9b-9a0a-4c08-8b0f-632b2d481488" }, { "time": 5.276000000536442, "key": "kTotalBytes", "value": "0xe68e5912" }, { "time": 5.283999999985099, "key": "kIsStreaming", "value": false }, { "time": 5.283999999985099, "key": "kIsSingleOrigin", "value": true }, { "time": 5.285000000149012, "key": "kIsRangeHeaderSupported", "value": true }, { "time": 5.384999999776483, "key": "kRendererName", "value": "RendererImpl" }, { "time": 5.40400000102818, "key": "pipeline_state", "value": "kStarting" }, { "time": 86.07200000062585, "key": "info", "value": "FFmpegDemuxer: created video stream, config codec: h264, profile: h264 high, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: true, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" }, { "time": 86.09899999946356, "key": "info", "value": "FFmpegDemuxer: created audio stream, config codec: aac, profile: unknown, bytes_per_channel: 2, channel_layout: STEREO, channels: 2, samples_per_second: 44100, sample_format: Signed 16-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: NONE, target_output_sample_format: Unknown sample format, has aac extra data: true" }, { "time": 86.10800000093877, "key": "kAudioTracks", "value": [ { "bytes per channel": 2, "bytes per frame": 4, "channel layout": "STEREO", "channels": 2, "codec": "aac", "codec delay": 0, "discard decoder delay": true, "encryption scheme": "Unencrypted", "has extra data": true, "profile": "unknown", "sample format": "Signed 16-bit", "samples per second": 44100, "seek preroll": "0us" } ] }, { "time": 86.11700000055134, "key": "kVideoTracks", "value": [ { "alpha mode": "is_opaque", "codec": "h264", "coded size": "1920x1080", "color space": { "matrix": "BT709", "primaries": "BT709", "range": "LIMITED", "transfer": "BT709" }, "encryption scheme": "Unencrypted", "has extra data": true, "hdr metadata": "unset", "natural size": "1920x1080", "orientation": "0°", "profile": "h264 high", "visible rect": "0,0 1920x1080" } ] }, { "time": 86.125, "key": "kMaxDuration", "value": 10343.352018 }, { "time": 86.12600000016391, "key": "kStartTime", "value": 0 }, { "time": 86.14599999971688, "key": "kBitrate", "value": 2991748 }, { "time": 87.21299999952316, "key": "info", "value": "Effective playback rate changed from 0 to 1" }, { "time": 91.58699999935925, "key": "kIsAudioDecryptingDemuxerStream", "value": false }, { "time": 91.58999999985099, "key": "kAudioDecoderName", "value": "FFmpegAudioDecoder" }, { "time": 91.5910000000149, "key": "kIsPlatformAudioDecoder", "value": false }, { "time": 91.59999999962747, "key": "info", "value": "Selected FFmpegAudioDecoder for audio decoding, config: codec: aac, profile: unknown, bytes_per_channel: 2, channel_layout: STEREO, channels: 2, samples_per_second: 44100, sample_format: Signed 16-bit, bytes_per_frame: 4, seek_preroll: 0us, codec_delay: 0, has extra data: true, encryption scheme: Unencrypted, discard decoder delay: true, target_output_channel_layout: QUAD, target_output_sample_format: Unknown sample format, has aac extra data: true" }, { "time": 91.65400000102818, "key": "info", "value": "Cannot select DecryptingVideoDecoder for video decoding" }, { "time": 94.84200000017881, "key": "info", "value": "D3D11VideoDecoder is using h264 high / 4:2:0" }, { "time": 94.87199999950826, "key": "info", "value": "D3D11VideoDecoder producing NV12" }, { "time": 94.87700000032783, "key": "info", "value": "D3D11VideoDecoder: Selected NV12" }, { "time": 94.88100000098348, "key": "info", "value": "D3D11VideoDecoder is binding textures" }, { "time": 94.88299999944866, "key": "info", "value": "D3D11VideoDecoder is using D3D11 backend" }, { "time": 95.56599999964237, "key": "info", "value": "D3D11VideoDecoder is using array texture" }, { "time": 95.58799999952316, "key": "info", "value": "Selected D3D11VideoDecoder adapter LUID:{0, 54723}" }, { "time": 95.59600000083447, "key": "info", "value": "Video is supported by D3D11VideoDecoder" }, { "time": 95.6359999999404, "key": "kIsVideoDecryptingDemuxerStream", "value": false }, { "time": 95.6820000000298, "key": "kVideoDecoderName", "value": "D3D11VideoDecoder" }, { "time": 95.68300000019372, "key": "kIsPlatformVideoDecoder", "value": true }, { "time": 95.69199999980628, "key": "info", "value": "Selected D3D11VideoDecoder for video decoding, config: codec: h264, profile: h264 high, level: not available, alpha_mode: is_opaque, coded size: [1920,1080], visible rect: [0,0,1920,1080], natural size: [1920,1080], has extra data: true, encryption scheme: Unencrypted, rotation: 0°, flipped: 0, color space: {primaries:BT709, transfer:BT709, matrix:BT709, range:LIMITED}" }, { "time": 95.71499999985099, "key": "pipeline_state", "value": "kPlaying" }, { "time": 95.96900000050664, "key": "info", "value": "D3D11VideoDecoder config change: profile: h264 high, chroma_sampling_format: 4:2:0, coded_size: 1920x1088, bit_depth: 8, color_space: {primary=1, transfer=1, matrix=1, range=1}" }, { "time": 95.97800000011921, "key": "info", "value": "D3D11VideoDecoder is using h264 high / 4:2:0" }, { "time": 95.99100000038743, "key": "info", "value": "D3D11VideoDecoder producing NV12" }, { "time": 95.99799999967217, "key": "info", "value": "D3D11VideoDecoder: Selected NV12" }, { "time": 96.00100000016391, "key": "info", "value": "D3D11VideoDecoder is binding textures" }, { "time": 96.00600000098348, "key": "info", "value": "D3D11VideoDecoder is using D3D11 backend" }, { "time": 96.43500000052154, "key": "info", "value": "D3D11VideoDecoder is using array texture" }, { "time": 110.18899999931455, "key": "dimensions", "value": "1920x1080" }, { "time": 110.19400000013411, "key": "kResolution", "value": "1920x1080" }, { "time": 113.00600000098348, "key": "seek_target", "value": 1426 }, { "time": 113.03299999982119, "key": "pipeline_state", "value": "kSeeking" }, { "time": 116.75100000016391, "key": "pipeline_state", "value": "kPlaying" }, { "time": 86.10400000028312, "key": "duration", "value": 10343.352018 }, { "time": 256.1359999999404, "key": "pipeline_buffering_state", "value": { "for_suspended_start": false, "state": "BUFFERING_HAVE_ENOUGH" } }, { "time": 87.29199999943376, "key": "event", "value": "kPlay" }, { "time": 11357.107000000775, "key": "video_track_selected", "value": "unset" }, { "time": 11357.325999999419, "key": "pipeline_buffering_state", "value": { "for_suspended_start": false, "state": "BUFFERING_HAVE_ENOUGH" } }, { "time": 68369.68200000003, "key": "video_track_selected", "value": "1" }, { "time": 68383.20199999958, "key": "warning", "value": " Large timestamp gap detected; may cause AV sync to drift. time:1496409977us expected:1494366621us delta:2043356us" }, { "time": 68395.07100000046, "key": "pipeline_buffering_state", "value": { "for_suspended_start": false, "state": "BUFFERING_HAVE_ENOUGH" } } } ]
The GPU file is too long (too many characters). Any specific region/section you want to see?
-
This was reported by someone earlier:
https://forum.vivaldi.net/topic/107532/audio-desynchronizes-from-videos-if-i-move-to-other-tabsSeems to happen only on certain players/sites, not on Youtube/Vimeo for instance.
Apparently an upstream Chromium issue:
https://issues.chromium.org/issues/404464587I recommend you install the latest Snapshot as a Standalone to test and see if the issue occurs there.
https://vivaldi.com/blog/desktop/
Vivaldi 7.4 with Chromium 136 will probably be released within the next week or so. -
@Pathduck Thanks for the link to the other topic. I'll do a test in in the unstable version.
NOTE: Issue also occurs in linux .deb and flatpak. Tested in Ubuntu 24 (snapd removed), Ubuntu 25 (snapd removed) and EndeavourOS.
-
@jrkl75 And on latest 7.4.3684.18 Snapshot (has a separate profile folder)?
-
@DoctorG said in Plex Out of Sync:
@jrkl75 And on latest 7.4.3684.18 Snapshot (has a separate profile folder)?
Yes, I just downloaded that version and the same video is running in the background and I have a YT video running in the current tab. There is no profile seems like (WORK). There are no extensions, what so ever. I'll let it run for a couple of minutes and report.
-
Can confirm that it works fine in snapshot 7.4.3684.18.
There is 0 delay. Thanks. I'll wait for stable release. -
@jrkl75 said in Plex Out of Sync:
Can confirm that it works fine in snapshot 7.4.3684.18.
Ah, thanks for test. I will update bug tracker entries.