I spent an hour last night trying all combinations of recommended fixes (cmdline and config) to get composite video to work. At one stage I had the OSMC splash screen but kodi stopped at that. After that I failed and couldn’t even reproduce that. So frustrating that the terminal hangs on the PC attempting to connect via ssh.
The answer must surely be in RPi forums somewhere.
23 August 2021 10:59
OK, borrowed an HDMI display and made that dummy EDID file + added an entry in config.txt. Nothing changes.
grab-logs -z shows everything as disabled except the CV out:
https://paste.osmc.tv/uqapokidid is that normal?
23 August 2021 11:00
I spent a week… I won’t upgrade ever again.
25 August 2021 22:41
Accordingly to this github post:
drm/vc4: Initialization hangs when HDMI display is *not* connected · Issue #4457 · raspberrypi/linux · GitHub the fix is available in latest kernel. rpi-update is not available on OSMC so what should I do now, run dist-upgrade?
OSMC runs it’s own Kernels. So you would need to wait till that fix is implemented in the OSMC Kernel and then published (most likely first in the development repository)
Hopefully the issue is now addressed with the following commit:
03:10AM - 26 Aug 21 UTC
Signed-off-by: Sam Nazarko <email@example.com>
I’d appreciate it if you could test this and provide feedback before we potentially release this as an update to other users. To test this update:
Login via the command line Edit the file
Add the following line:
deb http://apt.osmc.tv buster-devel main
Run the following commands to update:
sudo apt-get update && sudo apt-get dist-upgrade && reboot
Your system should have have received the update.
Please see if the issue is resolved.
I also recommend you edit
/etc/apt/sources.list again and remove the line that you added after updating. This will return you to the normal update channel.
26 August 2021 17:28
Thanks, I’ll be glad to help. At this point I can’t run apt-get update against
apt.osmc.tv as it results in a 502 but I’ll try again later.
root@osmc:/home/osmc# apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Err:4 http://apt.osmc.tv buster InRelease
502 Bad Gateway [IP: 220.127.116.11 80]
Err:5 http://apt.osmc.tv buster-devel InRelease
502 Bad Gateway [IP: 18.104.22.168 80]
Reading package lists... Done
W: Failed to fetch http://apt.osmc.tv/dists/buster/InRelease 502 Bad Gateway [IP: 22.214.171.124 80]
W: Failed to fetch http://apt.osmc.tv/dists/buster-devel/InRelease 502 Bad Gateway [IP: 126.96.36.199 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
I’m not seeing that here. Please try again.
26 August 2021 21:28
OK, upgrade worked. It now goes past splash, into login screen. Mediacenter still respond as “ACTIVE” but doesn’t show.
Try restoring your config.txt to how it was before modifying it.
I tried, same results.
Try to uninstall X11 and all it’s packages
28 August 2021 20:07
Thanks, still no changes.
Did you find something on the logs which suggested this could be the solution?
Unfortunately, installing X11 has a tendency to break things on OSMC.
On your log I counted around 60 libx packages that probably needed to be deleted, along with x11* stuff. Just make sure you don’t delete these four, which are nothing to do with X11.:
osmc@osmc:~$ dpkg -l libx\*|grep ^ii
ii libxkbcommon0:armhf 0.8.2-1 armhf library interface to the XKB compiler - shared library
ii libxml2:armhf 2.9.4+dfsg1-7+deb10u2 armhf GNOME XML library
ii libxslt1.1:armhf 1.1.32-2.2~deb10u1 armhf XSLT 1.0 processing library - runtime library
ii libxtables12:armhf 1.8.2-4 armhf netfilter xtables library
30 August 2021 10:01
I see, so there’s no direct evidence of why mediacenter doesn’t show its interface, despite the service being running.
My suggestion at this point would be to first try with the latest image on a second SD Card to see if you can get your display working than can rework that into your current system.
1 September 2021 05:10
I followed your suggestion + upgraded to the new kernel but still nothing changed. So frustrating
Did you just try to upgrade or you tried a clean install with the new kernel on a second SD Card?
1 September 2021 06:10
clean install on same card with new image
That only gives a new installer - you still need to update the kernel until there is a new update.