Not getting proper 25 fps playback

Next time, make sure to select all logs in myosmc.

1 Like

They are not advertising and 25 or 50hz rates with your current setup. Is it different if you plug Vero direct into the TV?

1 Like

I get 50hz playback on the Apple TV4K using the same file with Infuse as the Plex client or using the Plex app.

It is plugged into the AVR same as the Vero. I’ll try plugging Vero direct and report back.

Ok, I plugged the Vero direct into the TV, and same thing–it plays that show at 60hz.

This is a different TV than what I had a couple of weeks ago. Is it possible that Kodi is not updating the refresh rates? I had a TCL R615 that died, and replaced it with this, the 2019 model.

Nope. From your log…

2020-04-17 12:37:52.777 T:4070731776 ERROR: GetString: error reading /home/osmc/.kodi/userdata/disp_cap

I looked in the documentation and did a general web search and I can’t find anything that states support for 25Hz or 50Hz.

And yet the Apple TV supports 25 and 50hz. In this case, the file is 25fps, and on the Apple TV it plays back at 50hz. How does that work?

How are you determining what the TV is receiving from the Apple TV? Does this TV have some kind of an osd/info you can bring up that shows what it is actually receiving? I think it is possible that the TV supports it, but just doesn’t report it.

In which case, it can be forced via an EDID.
But it would be good to verify what the Apple TV is sending first.

Yes. Pressing the “OK” button on the TV remote while something is playing displays the resolution and frame rate. The TV definitely supports it–not only by seeing it in the osd/info, but the playback doesn’t have the jitters–it plays as smoothly as 60hz.

I’m sure Sam will correct me if I got something wrong here but I believe what you would need to do via ssh…

sudo cp /sys/class/amhdmitx/amhdmitx0/disp_cap /home/osmc/.kodi/userdata/disp_cap

sudo chmod 755 ~/.kodi/userdata/disp_cap && sudo chown osmc:osmc ~/.kodi/userdata/disp_cap

nano /home/osmc/.kodi/userdata/disp_cap

add the missing options, save and exit nano (ctrl+x, y, enter), then reboot.

1 Like

I’ll give this a try in the morning–maybe Sam will chime in by then.

Do I hit enter after the first line? I need exact stuff to input. I’ve got Putty connected to the Vero via ssh, but that certainly doesn’t mean I know what I’m doing. :slightly_smiling_face:

Thanks again everyone for your help. I’m gonna leave it alone until tomorrow, because I’m going to be watching it tonight!

Those are the correct instructions indeed.

1 Like

You hit enter after the first line and it will copy your current settings to a file that Kodi will read instead of getting the info from your TV. The second line will open that new file in a text editor and you will see a list of supported resolutions and frame rates and it should be pretty obvious how the ones you want added should look. You will navigate with the arrow keys on your keyboard. It shouldn’t be too hard to figure out. Otherwise you could google “how to use nano” and that will lead you to much more information than what you need for this simple edit.

Good morning.

I’m getting this: [ Error writing /home/osmc/.kodi/userdata/disp_cap: Permission denied ]

In fact, it warns me that the file is unwritable when I open it using the instructions above.

I think we’re close.

Sorry about that. I edited that post with an additional command to give ownership and write permissions so you can edit it. If you run…

sudo chmod 755 ~/.kodi/userdata/disp_cap && sudo chown osmc:osmc ~/.kodi/userdata/disp_cap

you will be able to save it without that error.

Brilliant! It’s working as it should now. Thanks again for the help!

Is it odd that the TCL Roku TV doesn’t report all the refresh rates it supports?

At any rate, I’m well pleased. Once again, the Vero proves itself able to play anything I throw at it (as long as the TV doesn’t sabotage anything).


Thank you so much for providing this help, it worked for me greatly.

With the most recent October 2022 update though, it actually borked my Vero when I updated to it and I had to SSH into it and kill all my userdata to get it to be accessible again. So for people who have used this fix, I would recommend switching to a lower/more standard within OSMC resolution/refresh rate combination before applying the update. Maybe it will help and then you can switch it back on the other side.

I was able to get things working by starting from scratch and re-applying your fix, but it took more time.


Did you try to remove just disp_cap and restart mediacenter before removing all userdata to see if this is really the issue you ran into? I’m not aware of any changes in this regard so perhaps @sam_nazarko can chime in with some insight.

Nope, I am not sophisticated enough to do that. But it did bork again on a reboot when I changed some graphics setting in the UI and now I have to start from scratch again, so it seems like something with the October update and my settings. Black screen on all my monitors.

When your in the black screen phase if you SSH into your Vero and grab-logs -A that will give you a URL to your logs that you can post in this thread. That may help the devs to spot what is going on. As for isolating if it is that file causing it…

systemctl stop mediacenter
mv ~/.kodi/userdata/disp_cap ~/.kodi/userdata/disp_cap.old
systemctl start mediacenter