TV/AVR turns back on right after turning them off

  • This sounds great. Is this (vc4.inval_delay=0 vc4.cec_debug=0x100) going to make it's way into 10.0.3 or will this only be on a debug branch for quite some time?

    Thanks for your hard work!

  • I've uploaded RPi4 builds with the latest version of popcornmix's patch https://github.com/raspberrypi/linux/pull/5052

    LE10: https://www.horus.com/~hias/tmp/libr…054-eb85a9e.tar

    LE11: https://www.horus.com/~hias/tmp/libr…608-bbb7ee2.tar

    Please test with vc4.force_hotplug=3 added to the end of cmdline.txt and report back if this works.

    The value 3 forces HDMI hotplug on both HDMI ports, you can also use 1 to force it only on the first HDMI port or 2 for only the second one.

    so long,

    Hias

  • imforumman and others affected by the issue:

    The workaround is now included in official LE10 nightly builds (starting with today's 20220610 build)

    LibreELEC Nightly Builds

    Add vc4.force_hotplug=3 to /flash/cmdline.txt to activate the workaround on both HDMI ports.

    Also please try with 1 and 2 instead of 3 to activate it only on the first or second HDMI port and report back which values work for you.

    so long,

    Hias

  • I did try with the LE11 https://www.horus.com/~hias/tmp/libr…608-bbb7ee2.tar.

    I first updated in the update storage, removed the vc4.inval_delay=0 vc4.cec_debug=0x100 and added vc4.force_hotplug=3 and it does work for me:

    Code
    LibreELEC (HiassofT): devel-20220603141608-bbb7ee2 (RPi4.arm)
    
    LibreELEC:~ # cat /proc/cmdline
    
    coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:6E:EF:84 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 boot=UUID=0503-3724 disk=UUID=35edecc5-1628-4f09-b69a-bd0498e093cd quiet vc4.force_hotplug=3

    As I'm using the left HDMI port of the RPI4,

    Code
    vc4.force_hotplug=2

    did not work but

    Code
    vc4.force_hotplug=1

    is working.

    Edited 2 times, last by monotony: Merged a post created by monotony into this post. (July 8, 2022 at 12:37 PM).

  • well, I've updated to 10.0.3 and this problem is instantly back. Do we still need to edit the cmdline.txt in 10.0.3 or was this supposed to be resolved permanently? Thanks!

    The command line will always be required if you have equipment that is affected by this issue.

  • Does this apply to the Rasp Pi 3B+? I have the same annoying problem with the TV powering back on (and I use an AVR). I have been running 10.0.3 (just upgraded to 10.0.4) These comments all seem to mention RPi4. And which settings?

    There are comments about vc4.inval_delay=0 vc4.cec_debug=0x100 and vc4.force_hotplug - which value for a single HDMI RPi3?

    Code
    grep . /sys/module/vc4/parameters/*
    /sys/module/vc4/parameters/fkms_max_refresh_rate:85
    /sys/module/vc4/parameters/force_hotplug:0
    /sys/module/vc4/parameters/tv_norm:(null)
  • Use vc4.force_hotplug=1 - inval_delay and cec_debug were temporary test settings that have been removed and replaced with force_hotplug.

    Are you referring to being replaced with "hdmi_force_hotplug=1"? Or some other setting? I added that to my config.txt, but assuming it means the same thing, my /sys/module/vc4/parameters/force_hotplug:0

  • hdmi_force_hotplug (and most other hdmi_ settings in config.txt) ceased to have any effect since LE10 - vc4.force_hotplug in cmdline.txt is the replacement for it.

    so long,

    Hias

  • hdmi_force_hotplug (and most other hdmi_ settings in config.txt) ceased to have any effect since LE10 - vc4.force_hotplug in cmdline.txt is the replacement for it.

    I understand what you are saying now, thank you for explaining. I made that change and now see /sys/module/vc4/parameters/force_hotplug:1