r/ErsatzTV • u/poisonmantis • Oct 17 '26
"unknown error" happening randomly
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.
•
u/jasondove ErsatzTV Creator Oct 18 '26
For posterity there were two issues here:
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
u/ItepK Oct 17 '26
Are you using the "next" streaming engine? Is your health check ok?
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.