tvservice doesn't find the connected monitor

  • Hardware

    • Raspberry Pi 4 Model B Rev 1.2, BCM2711, c03112
    • Monitor: ProLite T2453MTS-B1, 1920x1080
    • Hifiberry

    Libreelec

    • LE 9.95.3
    • upgraded via Libreelec-Addon from 9.26 to 9.95.2 and one day later to 9.95.3 (yes, I know, it's not recommended)

    Issue

    Code
    tvservice -l
    0 attached device(s), display ID's are :

    Nevertheless the picture is shown. Kodi works without any problem.

    When the system boots and the splashscreen appears, the picture is pale. The black is only a gray.

    For that reason i configured in /flash/config.txt

    Code
    hdmi_pixel_encoding:0=4
    hdmi_pixel_encoding:1=4

    With this settings I corrected the monitor mode:

    Code
    tvservice -s
    state 0x120009 [HDMI CEA (16) YCbCr444 full 4:3], 1920x1080 @ 60.00Hz, progressive

    It worked with LE 9.26 but due to the missing monitor detection it has no effect at LE 9.95.

    The issue with LE 9.95.3

    Code
    tvservice -p
    Powering on HDMI with preferred settings
    [E] Failed to power on HDMI with preferred settings
    
    
    tvservice -m CEA
    Group CEA has 0 modes:

    The same with LE 9.26

    Code
    tvservice -m CEA
    Group CEA has 15 modes: 
    mode 1: 640x480 @ 60Hz 4:3, clock:25MHz progressive
    ...
              mode 31: 1920x1080 @ 50Hz 16:9, clock:148MHz progressive

    Unfortunately I didn't write down the output of tvservice -l.

    Forgot the debug log:

  • Found this thread.

    Quote

    This is normal - tvservice uses the legacy functions which aren't relevant for master builds anymore (we still kept the legacy programs for testing ATM).

    Use eg modetest to find out what displays are connected and what resolutions are supported.

    It's at least a base for a further search.

    Same problem:
    Videos playback darker in LE than in Roku Emby app on same TV

    Quote from "Da Flex

    On LE 9.x add hdmi_pixel_encoding=2 to config.txt. On LE 10+, this setting belongs to cmdline.txt (I still have to figure out the syntax for this).

    Found modetest:

    Code
    trying to open device 'vc4'...done
    Encoders:
    id	crtc	type	possible crtcs	possible clones
    31	76	TMDS	0x00000008	0x00000001
    39	0	TMDS	0x00000010	0x00000002
    47	0	Virtual	0x00000001	0x00000004

    Below there are a lot of settings and flags.

    I'll guess I have to figure out, which parameter I have to choose and put to the cmdline.txt.

    Edited once, last by Wickie1 (July 3, 2021 at 8:51 AM).