Skip to content

Every seek or resume hangs on Buffering #1166

Description

@aunterei

TV model

OLED55CX6LA

webOS version

webOS 5.5

PlxNative version

0.9.0

How you installed PlxNative

Homebrew Channel

What happened

TV: LG OLED55CX6LA, firmware 04.50.90, webOS 5.5.0 (rooted, Homebrew Channel)
PlxNative: 0.9.0 and 0.10.0-nightly-20261030, same result

  • Playing an episode from the start works.
  • Resuming an episode, seeking manually or pressing Skip Intro leaves the
    player on "Buffering…" forever.

Log attached (0.9.0, resume at 12:17, Direct Play): the TV accepts the first
frames, Play is called, then the position stays at 737s for over a minute
with no retry or reload.

Playback details (only if this is about playback)

Direct Play

Logs

plxnative-events.log

Before you submit

  • I have not pasted a Plex token or a passphrase into this issue.

Activity

  1. added
    bugSomething isn't working
    user-reportReported by a user of a released build
    on Oct 30, 2026
  2. GLinnik21 commented on Oct 30, 2026

    @GLinnik21
    Collaborator

    Thanks for logs!

  3. GLinnik21 commented on Oct 30, 2026

    @GLinnik21
    Collaborator

    The log shows the TV accepting Play and then going silent, with no error from either side, so I need a bit more to see why.

    Could you try these on 0.10.0-nightly-20261030?

    1. While it's stuck on Buffering, press …, turn on Stats for nerds, close the menu and take a photo of the screen. The Feed and Frames rows are the ones I need.
    2. While it's stuck, is the picture black, or is there a frozen frame behind the spinner?
    3. Does a resume hang on a plain 1080p H.264 file with no Dolby Vision or Atmos?
    4. Please attach two separate logs, one from a hung resume and one from a hung Skip Intro. They take different paths in the player.
    5. Is the sound going through the TV speakers or to a soundbar/receiver (ARC/eARC)?
  4. Bardioc1977 commented on Oct 31, 2026

    @Bardioc1977
    Contributor

    Hi! I do not have a webOS 5 set to reproduce this, so I only read the attached log as data. In case it saves you some digging, here is what it shows (nothing here is a diagnosis):

    • TV: webOS 5.5 (o20). Direct play of an H.265 file with Dolby Vision P8 and E-AC3 Atmos, resume at 737 s.
    • The Load succeeds (275 ms). The demuxer seeks to 737 s, rebases the first keyframe to PTS 0 (pts_shift=-736945000000) and feeds 4 video and 4 audio packets, all reply=O. Then: primed: v=833ms a=1007ms runway=0ms -> Play.
    • After that Play there is not a single further pipeline callback in the log: no sink: displayed (type 49) and no pos= in any of the 106 loop lines of the player (a working play, e.g. the 0.8.0 log in [webOS 9.2.2/OLED55B2] regression: direct play of basic H264 no longer functional with 0.9.0, 0.10.0 nightlies #1096, has both). The UI keeps running at 60 fps and the app keeps reporting timeline playing t=737s.
    • feed v# is only logged for the first 4 packets and then every 100th; there is no feed v#100, so fewer than 100 video packets were accepted.

    So the TV takes the Play and then never presents a frame. What this does not tell is why. The comparison that would narrow it is the one you already asked for: the same file from the start (reportedly fine) against the resume, and a resume of a file without Dolby Vision/Atmos. In those logs the three things to compare are sink: displayed, pos= in the loop lines, and whether feed v#100 shows up.

  5. GLinnik21 commented on Nov 1, 2026

    @GLinnik21
    Collaborator

    Thanks again. Two more things that would narrow this down a lot, on top of the questions above (the Stats for nerds photo and the plain 1080p H.264 resume are still the most useful):

    1. Only if you're happy to update: the nightly dated 20261101 or later has a new Dolby Vision switch (Settings > Video & playback > Dolby Vision, the last row). Set it to Off and resume the same episode. Does it still hang on Buffering? It isn't in 0.9.0 or older nightlies, so skip this one if you'd rather not update.
    2. Did resuming this episode, or any other, ever work on this TV? If you still have the 0.8.0 package, one resume of the same episode on it would tell us whether this is a regression.
  6. aunterei commented on Nov 2, 2026

    @aunterei
    Author

    First of all thank you guys for all the work, the app is incredible 🙏🏻

    I did a couple of test with the latest nightly (0.10.0-nightly-20261102)

    1. Stats for nerds photo while stuck on a resume: attached.
    2. While stuck, the picture is black with the spinner. Same on Skip Intro:
      black screen, spinner next to the seek bar time.
    3. Resume of a plain 1080p H.264 file (8-bit SDR, E-AC3 7.1, no DV, no Atmos):
      works, and manual seeks forward/back work too.
    4. Logs attached: "Test A - log-resume.txt" (hung resume), "Test B - log-skip-intro.txt" (hung Skip Intro).
    5. Sound: TV internal speakers.

    When Dolby Vision switch set to Off, resume of the same episode: works.
    Same file, still E-AC3 Atmos, so the hang only happens with Dolby Vision on.

    Hanging file: 2160p HEVC Main 10, Dolby Vision Profile 8.1 (BL compat ID 1,
    level 6, RPU present) + HDR10+, E-AC3 Atmos 5.1, MKV.

    Resume has never worked for me, but I only started using PlxNative with 0.9.0,
    so I can't tell whether it worked in earlier versions.

    Image

    Test A - log-resume.txt
    Test B - log-skip-intro.txt

  7. GLinnik21 commented on Nov 2, 2026

    @GLinnik21
    Collaborator

    @aunterei Thanks for the detailed tests. The same episode resuming with Dolby Vision off narrows this down considerably. We’ve also traced the relevant firmware paths, but haven’t established the cause yet.

    Could you share a short sample you’re able to share that still reproduces the hang with Dolby Vision enabled, along with the exact resume/seek timestamp within that sample? Please keep the original video and Dolby Vision metadata without re-encoding, and confirm the sample itself still hangs—cutting or remuxing can change the behavior. A sample reproducing either resume or seeking is useful; it doesn’t need to reproduce both.

    We’ll prepare a diagnostic build before asking you for another log, so you won’t need to configure firmware tracing manually. For now, Dolby Vision Off remains the confirmed workaround for this file.

  8. GLinnik21 commented on Nov 2, 2026

    @GLinnik21
    Collaborator

    @aunterei The next nightly containing PR #1210 will include optional firmware playback logging. Could you try it once that nightly is available? The existing 20261102 build predates this change. Nightly update instructions.

    We're still investigating the Dolby Vision hang. The new recording should show what the firmware does after resume or Skip Intro:

    1. Keep Dolby Vision enabled. Just before reproducing the problem, open Settings → Diagnostics → Record playback diagnostics.
    2. Reproduce one hung resume, return to Settings, and select Save diagnostic log.
    3. Copy /tmp/com.beb.plxnative.nightly/plxnative-playback.log from the TV using your usual rooted-TV file access, and attach it here as the resume log.
    4. Repeat with a fresh recording for Skip Intro and copy that log separately. Saving again replaces the previous combined log, so copy the first one before saving the second.

    Recording is off by default and stops automatically after 60 seconds or 8 MiB; start it immediately before the test. Detailed logging can slow playback. The files stay local until you copy them; please review media/device details before posting. Dolby Vision Off remains the working workaround in the meantime. Copy the logs before powering the TV off.

  9. aunterei commented on Nov 3, 2026

    @aunterei
    Author

    Hi! I waited for the 0.10.0-nightly-20261103 build with the new diagnostics, then
    ran the tests with Dolby Vision on.

    What I did:

    • Resume of the episode: hangs.
    • Played the episode from the start, then a manual seek forward: hangs.
      (I used a manual seek instead of Skip Intro because the intro starts around
      6 minutes in, too late for the 60 s recording.)

    "Save diagnostic log" didn't create plxnative-playback.log, so I copied the files
    from the app folder instead. Attached zip:

    • resume-firmware-trace.log: the resume test
    • seek-firmware-trace.log: the seek test
    • events.log and stderr.log: the app logs for both tests

    I can't send a clip of the episode, it's a commercial series. I tried a few public
    Dolby Vision samples, but none of them reproduced the hang.

    plxnative-issue-logs.zip

  10. GLinnik21 commented on Nov 6, 2026

    @GLinnik21
    Collaborator

    Reopening: that PR only added diagnostics and closed this by mistake. Your traces show where it stops (the Dolby Vision random-access check after a resume or seek), but there's no fix yet. Dolby Vision Off is still the workaround.

  11. GLinnik21 commented on Nov 6, 2026

    @GLinnik21
    Collaborator

    Thanks for the traces, they pinned it down. On your firmware (webOS 5.5.0-19) the Dolby Vision part of the pipeline only starts showing pictures from one kind of keyframe (an IDR). Your film has only one of those, at 0:00. Every resume or seek lands on a different kind (CRA), so it waits forever. That's also why it works with Dolby Vision off.

    The fix is in #1263: when a resume or seek lands on such a keyframe, the app reloads once without Dolby Vision and plays the HDR10 version instead. So after a seek that film will play in HDR10 rather than Dolby Vision. A fresh start from the beginning still uses Dolby Vision.

    It'll be in the next release. Could you try the same film there (resume, and a seek or two) and tell us if it plays? If it still hangs, a new trace would help.

  12. added 2 commits that reference this issue on Nov 6, 2026
    2f5e796
    6ab14fa
  13. aunterei commented on Nov 8, 2026

    @aunterei
    Author

    Not at my place rn, will test the new nightly when I get home on Thursday.

    Thanks for the work and investigation!

  14. aunterei commented on Nov 12, 2026

    @aunterei
    Author

    Tested on 0.10.0-nightly-20261112 with Dolby Vision on, same episode:

    • Starting from the beginning: plays in Dolby Vision.
    • Resume: plays, switches to HDR10.
    • Seeking forward: plays, switches to HDR10 too.

    No more hang on Buffering. Thanks a lot for the fix!

  15. GLinnik21 commented on Nov 14, 2026

    @GLinnik21
    Collaborator

    @aunterei thanks for testing each case. That's exactly what the fix should do: Dolby Vision from the start, HDR10 after a resume or seek on that film, and no more hang.


    This is an automated reply: Claude Code, an AI assistant, wrote it on the maintainer's behalf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplaybackPlayback, the player and its controlsuser-reportReported by a user of a released build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions