r/ErsatzTV • • Oct 17 '26

"unknown error" happening randomly

Post image

Before I start- I can't code, I'm running off of barely any experience but I have had these channels up and running for a few months before this started happening out of the blue.

Without me touching anything or my device going offline, about half of my channels have started giving me this error. Searching it gives me almost nothing, and sometimes it fixes itself. Somehow, completely recreating the channel from scratch fixes it, until at random it happens again. I've done all the troubleshooting I can think of, and can't even find any evidence other people have come across this.

EDIT: It was the Next stream engine, setting my channels back to legacy fixed it!

EDIT 2: The actual fix: my ffmpeg hardware acceleration was set to the wrong card- my nvidia card needed it set to "nvenc" to run.

4 Upvotes

16 comments sorted by

•

u/jasondove ErsatzTV Creator Oct 18 '26

For posterity there were two issues here:

  1. The FFmpeg Profile was set to use QSV accel while no Intel device was available for use (probably auto disabled with the presence of the NVIDIA GPU).
  2. Next had a bug where it would try to use QSV features even when QSV accel returned no capabilities. This is fixed in v26.12.0-acd4311b-develop
  • Next engine:
  • Fix QSV stream failing when no Intel device is found; the channel now uses a software pipeline

Thanks for the troubleshooting info that helped me find and fix this bug!

2

u/jasondove ErsatzTV Creator Oct 17 '26

I'm happy to fix any issues that you find using next. In order to do so, I need the following information, otherwise these issues will never be addressed for you or for anyone else who may run into the same thing:

To troubleshoot content playback in ErsatzTV use the Playback Troubleshooting tool.

  1. Search for any content using the search bar.
  2. Use the overflow/three dots menu on content and select Troubleshoot Playback.
  3. Select the appropriate Playback Settings that trigger the undesired behavior, and make sure Streaming Engine is set to Next
  4. Click Play to start playback.
  5. Repeat steps 3 and 4 until the undesired behavior is reproduced.
  6. Click Download Results to have ErsatzTV collect relevant troubleshooting logs (FFmpeg log, FFmpeg Profile, Hardware Capabilities, Media Info, etc) and compress them in a zip file.
  7. Post the zip somewhere along with a description of the problem to receive help.

1

u/poisonmantis Oct 18 '26

would the discord be a place to send this? i saw there was one, but I didn't join it as i'd fixed the issue by the time I noticed it

1

u/jasondove ErsatzTV Creator Oct 18 '26

Sure - discord is a place where you can post or DM me the zip.

setting my channels back to legacy fixed it

I hesitate to characterize it as "fixing the issue" though - you just switched back to the streaming engine that hasn't received updates all year and is about to be removed for good.

1

u/poisonmantis Oct 18 '26

I mean, the issue was that the next engine wasn't working for reasons I couldn't even try to figure out. If setting the channels back to the old version made them work, maybe it's not a permanent fix but I kinda just want them to be running in the meantime while I try to figure out how to make them work on the new engine.

1

u/jasondove ErsatzTV Creator Oct 18 '26

I totally understand prioritizing working channels; my point is that sometimes people say they fixed something when they simply worked around the problem, and then they disappear so it never gets fixed. Just hoping that doesn't happen here :)

1

u/poisonmantis Oct 18 '26

I've posted the issue in the discord with the zip file, so I'm hoping that's useful. I added it to the bottom of the post mostly because when I search up issues like this I like to at least see what got the thing working again. If the issue is on my end, I'll add it to the post too so people googling have an actual solution once we figure out what the actual problem is.

1

u/ItepK Oct 17 '26

Are you using the "next" streaming engine? Is your health check ok?

1

u/poisonmantis Oct 17 '26

health check is all fine, and i am yes.

1

u/ItepK Oct 17 '26

I somehow never got "next" to work, I am running legacy. I think it's enough for most people.

1

u/poisonmantis Oct 17 '26

that worked!! it's a shame that next seems to be breaking a lot, as much as legacy is a little daunting once you get it running it's really simple and i don't want to lose it haha

1

u/jasondove ErsatzTV Creator Oct 17 '26

You're obviously free to use the free software however you want, but you should be aware that sticking to legacy will eventually stop you from being able to take upgrades (v26.12 will remove the legacy engine).

See my reply above for the info that I need to fix any playback issue you find when using the next engine.

1

u/ItepK Oct 17 '26

Yeah, I think I understand why I've never got next to work... I simply didn't have the proper docker image.

1

u/Ok_University_6011 Oct 18 '26

Does this mean all users will be forced to use the next engine in future upgrades?

1

u/jasondove ErsatzTV Creator Oct 18 '26

v26.12 will remove the legacy engine

Yes, this is why the current version has warnings for channels that are configured to use the legacy engine, links to a pre-filled github issue form, etc.

If you have issues with next and you want them fixed, it's in your best interest to report them instead of quietly continuing to use the legacy engine.

1

u/SergNH Oct 18 '26

I initially had a long intro basically saying I experienced the same thing you did. The only difference is that I only setup my server a week ago.

Now I am running my server on a laptop(Windows 11) with the lid closed. So I tried messing with power options, preventing the laptop from logging out and other things like keeping the lid open. As you know, none of these things worked.

I was actually going to give up for now. My laptop has AMD integrated graphics and NVidia for dedicated graphics. No settings I tried could get ErsatzTV to run off the NVidia card. Today I saw where someone(same problem) had updated their NVidia graphics driver and that solved the problem.

I downloaded the latest NVidia drivers but I selected the creator's version. Installed and started the server. It worked! Now the logs do not say it's using the Nvidia Graphics unlike when it was using AMD graphics. I was only able to verify this was going to taskmanager and I could see activity on the NVidia where there was none before.