Posts by doof

    Looking at the EDID dump shows that 60hz modes are 420. I also confirmed this w/ the manufacturer (Visio) who unsurprisingly suggested I buy a new TV. The max pixel clock of 300mhz doesn't seem to allow 60hz 422.

    On the topic of colorspace the Pi does playback HEVC HDR Rec2020 but the colors are very muted and the black level / gamut is wrong. There is significant frame dropping on high bitrate (~120mbps) files.


    Vizio m50 c1 edid

    LibreELECpi:~ # edidparser edid.dat

    Enabling fuzzy format match...

    Parsing edid.dat...

    HDMI:EDID version 1.3, 1 extensions, screen size 110x62 cm

    HDMI:EDID features - videodef 0x80 !standby !suspend active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF

    HDMI:EDID found monitor name descriptor tag 0xfc

    HDMI:EDID monitor name is M50-C1

    HDMI:EDID found monitor range descriptor tag 0xfd

    HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0

    HDMI:EDID monitor range: vertical is 25-76 Hz, horizontal is 15-140 kHz, max pixel clock is 300 MHz

    HDMI:EDID monitor range does not support GTF

    HDMI:EDID found preferred CEA detail timing format: 3840x2160p @ 30 Hz (95)

    HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)

    HDMI:EDID established timing I/II bytes are 20 00 00

    HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in established timing I/II

    HDMI:EDID standard timings block x 8: 0xD1C0 D1FC 0101 0101 0101 0101 0101 0101

    HDMI:EDID found DMT format: code 82, 1920x1080p @ 60 Hz (16:9) in standard timing 0

    HDMI:EDID unknown standard timing 1920x1080 @ 120 Hz aspect ratio (16:9)

    HDMI:EDID parsing v3 CEA extension 0

    HDMI:EDID monitor support - underscan IT formats:no, basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1

    HDMI:EDID found CEA detail timing format: 1920x1080p @ 60 Hz (16)

    HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)

    HDMI:EDID found CEA format: code 2, 720x480p @ 60Hz

    HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz

    HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz

    HDMI:EDID found CEA format: code 16, 1920x1080p @ 60Hz (native)

    HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz

    HDMI:EDID found CEA format: code 32, 1920x1080p @ 24Hz

    HDMI:EDID found CEA format: code 63, 1920x1080p @ 120Hz

    HDMI:EDID found CEA format: code 93, 3840x2160p @ 24Hz

    HDMI:EDID found CEA format: code 95, 3840x2160p @ 30Hz

    HDMI:EDID found CEA format: code 100, 4096x2160p @ 30Hz

    HDMI:EDID found audio format 2 channels PCM, sample rate: 32|44|48 kHz, sample size: 16|20|24 bits

    HDMI:EDID found audio format 6 channels AC3, sample rate: 32|44|48 kHz, bitrate: 640 kbps

    HDMI:EDID found HDMI VSDB length 13

    HDMI:EDID HDMI VSDB has physical address 5.0.0.0

    HDMI:EDID HDMI VSDB supports AI:no, dual link DVI:no

    HDMI:EDID HDMI VSDB deep colour support - 48-bit:no 36-bit:yes 30-bit:yes DC_yuv444:yes

    HDMI:EDID HDMI VSDB max TMDS clock 300 MHz

    HDMI:EDID HDMI VSDB does not support content type

    HDMI:EDID HDMI VSDB supports extended resolutions 1,3,4

    HDMI:EDID extended data block tag YCbCr420VideoData - length 3

    HDMI:EDID Disabling mode 97 as YUV420 only

    HDMI:EDID Disabling mode 102 as YUV420 only

    HDMI:EDID adding mandatory support for CEA (1) 640x480p @ 60Hz

    HDMI:EDID filtering formats with pixel clock unlimited MHz or h. blanking unlimited

    HDMI:EDID best score mode initialised to CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 0)

    HDMI:EDID best score mode is now CEA (1) 640x480p @ 60 Hz with pixel clock 25 MHz (score 61864)

    HDMI:EDID best score mode is now CEA (2) 720x480p @ 60 Hz with pixel clock 27 MHz (score 66472)

    HDMI:EDID CEA mode (3) 720x480p @ 60 Hz with pixel clock 27 MHz has a score of 66472

    HDMI:EDID best score mode is now CEA (4) 1280x720p @ 60 Hz with pixel clock 74 MHz (score 3635592)

    HDMI:EDID DMT mode (4) 640x480p @ 60 Hz with pixel clock 25 MHz has a score of 18432

    HDMI:EDID CEA mode (5) 1920x1080i @ 60 Hz with pixel clock 74 MHz has a score of 149416

    HDMI:EDID best score mode is now CEA (16) 1920x1080p @ 60 Hz with pixel clock 148 MHz (score 4898248)

    HDMI:EDID CEA mode (32) 1920x1080p @ 24 Hz with pixel clock 74 MHz has a score of 124532

    HDMI:EDID CEA mode (63) 1920x1080p @ 120 Hz with pixel clock 297 MHz has a score of 149416

    HDMI:EDID DMT mode (82) 1920x1080p @ 60 Hz with pixel clock 148 MHz has a score of 149416

    HDMI:EDID CEA mode (93) 3840x2160p @ 24 Hz with pixel clock 297 MHz has a score of 423130

    HDMI:EDID best score mode is now CEA (95) 3840x2160p @ 30 Hz with pixel clock 297 MHz (score 5771496)

    HDMI:EDID CEA mode (100) 4096x2160p @ 30 Hz with pixel clock 297 MHz has a score of 273831

    HDMI0:EDID preferred mode remained as CEA (95) 3840x2160p @ 30 Hz with pixel clock 297 MHz

    HDMI:EDID has HDMI support and audio support

    edidparser exited with code 0

    LibreELECpi:~ #

    Add hdmi_enable_4k=1 to config.txt and you should see the 4kp60 modes.

    (4kp60 requires higher clock frequencies and scrambling so isn't enabled by default).

    HDR isn't currently supported but should come soon.

    I'm trying to get 60hz playback but LE doesn't show a 60hz option. The config seems to be read properly and my rockpro64 running LE using the same cable and port runs @ 60hz.

    Code
    LibreELECpi:~ # cat /proc/device-tree/model
    Raspberry Pi 4 Model B Rev 1.1 LibreELECpi:~ 
    
    #LibreELECpi:~ # vcgencmd get_config hdmi_enable_4k
    hdmi_enable_4k=1

    Polling the device doesn't show a 60hz UHD mode on RPI

    How can I enable 60hz UHD on my RPI?

    Tthe mrfixit2001 codebase is using the "no public upstream Broadcom sources available" bcmdhd driver and I couldn't find the repo but would guess ayufan has the same. It's fine to have bcmdhd in releases is distro sources that target a single piece of hardware. It's not okay to have that in the rest of LE which targets many things as proper support needs to be upstream.

    Got it. Thanks for looking.

    BT works fine with the commit I listed above - this chip is in a number of Amlogic boards that I'm poking right now. If you can point me to sources for those distros i'll have a look, but they're probably using the BCMDHD driver. This works, but there's no way we're switching from "supports everything except this one chip" well written/maintained upstream kernel code to "fugly out of tree Android BSP kernel cap" .. it would be retrograde step :)

    Builds w/ working wifi

    Ayufan's rock64

    mrfixit2001 debian desktop

    You mentioned that there was a PCIE / SDIO conflict with the driver. Mrfixit noted that "delaying SDIO probing until after the PCIe link tra1ning completes and I was able to use his idea to get that working 100% of the time." Not sure if that is related or helpful. Working on setting up a build env so I can try things out. Seems like vexing problem based on the number of people who have had issues.

    What you need to do is to use the orginal image (that one that does autoexpand on the first powerup) and flash it onto the eMMC ON A DIFFERENT Computer! Do not run the image yet, just copy it with a PC or something. You may need that cheap eMMC->SD adapter board for this.

    This sounds exactly like what I am doing. I have EMMC mounted on a USB adapter and flashed the downloaded image with etcher on a PC then transferred the EMMC to the rock board and booted. Balbes150 released a build for 3328 Rockchip that had a utility for installing LE to the EMMC. Its mentioned in several threads but I haven't been able to locate it. IMO this would be a good feature enhancement.

    BCM4359 is not supported in the upstream kernel. brcmfmac4359-sdio experiments · chewitt/linux@a658583 · GitHub will result in card detection allowing BT to work but the driver has an issue loading WiFi firmware. I'm actively trying to resucitate an attempt to diagnose the issue with kernel maintainers, but it doesn't seem to have much traction with them yet - it will take time.

    I cannot comment on the eMMC issue other than saying to check the UUID is correct.

    Thanks for your reply. There are distros based on 4.4 kernel from Mrfixit2001 and ayufan for rockpro64 that have functioning wifi. I believe the BT works as well but I haven't confirmed that. The chipset also functions in android 8-9. If there is anything I can do to help move this forward LMK.

    I'm trying to set up a rockpro64 with libracelec for an always on looping video player. When I flash the LE install image to an EMMC card on boot I get the error:

    grep: /proc/net/pnp: np such file or directory

    *** Error in mount_flash: mount mount_common: Could not mount UUID=0605-133 ***

    How can I install LE to run from the EMMC?

    Also I've installed the pine64 wifi/BT card internally. This is an AMPAK AP6359SA Combo Module using Broadcom BCM4359. Out of the box LE does not see with wifi or BT. Board connects on sdio. Is it possible to get this working? Will it be supported in future versions of LE? For now I'm using usb dongles that function as expected.


    Thanks in advance for your help.