Can't reach MediaCenter interface after Upgrade

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.

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?

I spent a week… I won’t upgrade ever again.

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?

Thanks

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)

Hi

Hopefully the issue is now addressed with the following commit:

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:

  1. Login via the command line
  2. Edit the file /etc/apt/sources.list
  3. Add the following line: deb http://apt.osmc.tv buster-devel main
  4. Run the following commands to update: sudo apt-get update && sudo apt-get dist-upgrade && reboot
  5. 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.

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: 77.68.92.173 80]
Err:5 http://apt.osmc.tv buster-devel InRelease
  502  Bad Gateway [IP: 77.68.92.173 80]
Reading package lists... Done
W: Failed to fetch http://apt.osmc.tv/dists/buster/InRelease  502  Bad Gateway [IP: 77.68.92.173 80]
W: Failed to fetch http://apt.osmc.tv/dists/buster-devel/InRelease  502  Bad Gateway [IP: 77.68.92.173 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.

OK, upgrade worked. It now goes past splash, into login screen. Mediacenter still respond as “ACTIVE” but doesn’t show.

LOGS: https://paste.osmc.tv/nurajagona

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

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
1 Like

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.

I followed your suggestion + upgraded to the new kernel but still nothing changed. So frustrating :frowning:

Did you just try to upgrade or you tried a clean install with the new kernel on a second SD Card?

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.