With the recommended changes you shouldn’t be setting the resolution to 720p in /sys/class/display/mode. You also shouldn’t be experiencing a mode change with just:
I really think I need a custom EDID here. Can you help me and explain how to create one? Or to always enforce the correct EDID and disregard the other one (the 720p one)
I hope that this helps. It might not be a suitable change for everyone though, so I may need to make it a module parameter or find a better way to allow this to be customised.
I have installed the kernel. Now I see image when I turn the projector on, but resolution is set to 720p in spite of rc.locals (where we force it @ 1080). Also, I can’t change the resolution in GUI as it’s greyed out.
Seems to have done the trick. The resolution is still greyed out and I can’t change it in the GUI, but at least is set to 1080p. I tried to turn off and on the projector a couple of times and so far it seems to work.
I’ll report back in the next days and will let you know if there are any troubles.
so the kernel works fine, meaning that since I flashed it I had no issues with the projector anymore.
However, there are still two open points:
Yesterday OSMC had detected an update, and asked to install it. As soon as I did, I had the old problem again (black screen), and I had to re-flash the kernel that you have provided me with.
The resolution is still greyed out, meaning that I can’t change it, and this occurs even if I disable the rc.local script. Per se this wouldn’t be a problem, as I don’t actually have to change it, but…I can’t turn on the “Adjust display refresh rate” option in “Playback”. If I do, as soon as I start playing a movie, I get the usual blue screen.
This is related to the fact that the resolution is somehow forced (once again, even without the rc.local script, as the only thing it does is to ensure that it’s set to 1080p instead of 720p), and it would then fail to adjust the refresh rate.
Reason why I want to enable the Adjust refresh rate thing is that I occasionally notice some minor stutter, and I think this would solve it.
The kernel I proposed above has changes that are not included in OSMC yet, so if you install an update, you revert these changes. I had expected you would be on the August update of OSMC before you attempted to install this kernel. You should be able to just reinstall it though.
As mentioned before, I need to find a better way of getting it in to OSMC proper so that it is configurable on a user-by-user basis.
I’ll investigate this, but I expect that as we have hardcoded the resolution to 1080p, other resolutions are now not available. Was this always an issue, or is it only an issue since you made the /etc/rc.local changes?
Only a kernel update would revert this change, and I haven’t pushed any new changes since then to the Release repository. Double check /etc/apt/sources-list and make sure you are not using the jessie-devel repository. For now, you can either reinstall the kernel, or you can wait for the next update where it will be added.
The problem is probably that your projector is not reporting support for other refresh rates / modes. You can see what your projector is claiming to support with:
cat devices/virtual/amhdmitx/amhdmitx0/disp_cap
What we have done above is effectively set an ‘hdmi_mode’ like you were doing on the Pi. Unfortunately this seems like a limitation with your display. We could force the output to 1080p24 if you are sure your projector supports it, but this may give problems with non 23.976Hz playback.
If I run kodi from my laptop the automatic refresh rate change works fine, and it also worked fine with the RPI 3 I had before, so it’s likely not the projector’s fault.
Regarding the kernel update, does it mean that starting from September I can safely run the update without losing the custom kernel? Meaning that you will include the changes for everyone else as well?
I will include the changes when there is a better way for this option to be turned on / off. It will probably land in the September update.
I believe you said you had to set hdmi_mode before on your Raspberry Pi. This would suggest that the EDID the projector sends isn’t correct. My mistake if that was someone else’s report and I am mixing you up.
The only problem I have with the current setup is the stutter. It does occasionally stutter and that’s a bit annoying, all things considered. I am pretty sure this is due to the fact that we force 1080p @ 60hz, but on the other hand I don’t know how we fix this?