Hey ilmich happy new years! Hope your holidays were good times. Glad to hear you have one arriving soon to test with. I have been away for awhile due to personal things, but let me know if you get a build and want me to test some. Thanks again.
Posts by FurmanSK
-
-
Hi FurmanSK, the next step is to ask librecomputer folks to upstream some code for ddr3 reclocking.
I found the post you made on the board's forum and I seem to have understood that nothing can be done for now unless you use distributions based on BSP code (android).
I don't have your board so I can test myself.But have you tried with libreelec 10?
Yeah I've tried LE 10, and I think it wouldn't even run at 1080p. Can't remember, been a couple weeks. Don't believe it would even play 4K ones on my 4K TV unless it would reset the resolution when playing but I didn't see anything in the whitelist for playback resolutions. I can try again but yeah I remember giving up once it had issues doing full resolution.
-
Yeah I used that when I would build my own version of LE to try to include a realtek wifi driver for one I had laying around. Never worked fully and I gave up just cause driver support for them is shoddy. I meant more of the boot loader settings etc that he was changing.
Btw, ilmich put it on my sd card and both green and red led's light up, no HDMI output. So not sure what next steps would be. Wish had serial cable for it to see if anything is being output to serial.
-
Alright, I'll give it a shot. I do appreciate it. And hey I'd like to learn how you did it all as a fellow software dev, building the OS from source and adding driver modules etc was interesting.
-
ilmich Just checking in, any updates or things I could maybe help testing with? I could look at adding to my build server and see how the image works with building one up from source.
-
What would be the differences with LE 10 vs 11/12? Besides kernel going to 6. Anything major relating to h265/HEVC or 4k?
Will give it a try and see what happens.
-
I can't find any documentation that states what the DRAM should be running at natively. I also mentioned it to LibreComputers folks that the ram was running so slow and they were going to check with the LE team to make sure the right DRAM reclocking code was in the roc-cc builds.
-
Hi FurmanSK,
I've builted a version of bootloader with 534Mhz ddr4.
So first make a backup of your installation and after
- download this bootloader https://ilmich.libreelec.tv/rk3328/u-boot-rockchip.bin
- flash it in your bootmedia (from a linux machine or directly in a ssh session of your libreelec installation)
where ${BOOT_DISK} is your boot device (for example /dev/mmcblk0)
If works you should see an higher pll_dpll in clk_summary.
Let me known.
Michele
Did you see my response ilmich ?
-
Ok, so I tried it with /dev/mmcblk0 as thats what I had in /dev and rebooted. It did not come back up after reboot or even power cycling. Is there a way to put in linux and mount (I assume yes)?
Don't you have an unoffical build for this chip?
-
Here's the output for that command. ilmich
Code
Display Moreenable prepare protect duty hardware clock count count count rate accuracy phase cycle enable ------------------------------------------------------------------------------------------------------- rk805-clkout2 0 0 0 32768 0 0 50000 Y xin32k 0 0 0 32768 0 0 50000 Y gmac_clkin 1 1 0 125000000 0 0 50000 Y clk_mac2io 2 2 0 125000000 0 0 50000 Y clk_mac2io_ref 0 0 0 125000000 0 0 50000 N clk_mac2io_rx 0 0 0 125000000 0 0 50000 N clk_mac2io_tx 1 1 0 125000000 0 0 50000 Y clk_mac2io_refout 0 0 0 125000000 0 0 50000 N clk_mac2io_ext 0 0 0 125000000 0 0 50000 Y xin24m 12 12 0 24000000 0 0 50000 Y hdmi_phy 2 2 0 148500000 0 0 50000 Y hdmiphy 1 1 0 148500000 0 0 50000 Y dclk_lcdc 1 1 0 148500000 0 0 50000 Y hdmiphy_peri 0 0 0 148500000 0 0 50000 Y usb480m_phy 4 4 0 480000000 0 0 50000 Y usb480m 0 0 0 480000000 0 0 50000 Y sclk_uart1 0 0 0 24000000 0 0 50000 Y sclk_uart0 0 0 0 24000000 0 0 50000 Y xin12m 0 0 0 12000000 0 0 50000 Y clk_usb3otg_suspend 1 1 0 30770 0 0 50000 Y clk_usb3otg_ref 1 1 0 24000000 0 0 50000 Y clk_ref_usb3otg 0 0 0 24000000 0 0 50000 Y clk_emmc 0 0 0 200000 0 0 50000 N emmc_sample 0 0 0 100000 0 0 50000 Y emmc_drv 0 0 0 100000 0 90 50000 Y sclk_hdmi_sfc 1 1 0 24000000 0 0 50000 Y sclk_timer5 0 0 0 24000000 0 0 50000 N sclk_timer4 0 0 0 24000000 0 0 50000 N sclk_timer3 0 0 0 24000000 0 0 50000 N sclk_timer2 0 0 0 24000000 0 0 50000 N sclk_timer1 0 0 0 24000000 0 0 50000 N sclk_timer0 0 0 0 24000000 0 0 50000 N clk_efuse 0 0 0 12000000 0 0 50000 N clk_otp 0 0 0 24000000 0 0 50000 N sclk_uart2 1 1 0 24000000 0 0 50000 Y clk_ddrmon 0 0 0 24000000 0 0 50000 Y clk_24m 1 1 0 24000000 0 0 50000 Y clk_saradc 0 0 0 49897 0 0 50000 N clk_tsadc 1 1 0 50000 0 0 50000 Y pll_npll 1 1 0 600000000 0 0 50000 Y npll 1 1 0 600000000 0 0 50000 Y npll_core 1 1 0 600000000 0 0 50000 Y armclk 2 2 0 600000000 0 0 50000 Y pclk_dbg 1 1 0 150000000 0 0 50000 Y aclk_core 2 2 0 300000000 0 0 50000 Y aclk_gic400 1 1 0 300000000 0 0 50000 Y aclk_core_niu 1 1 0 300000000 0 0 50000 Y pll_gpll 1 1 0 491520000 0 0 50000 Y gpll 3 3 0 491520000 0 0 50000 Y clk_rtc32k 1 1 0 32768 0 0 50000 Y aclk_gmac 3 3 0 163840000 0 0 50000 Y aclk_gmac_niu 1 1 0 163840000 0 0 50000 Y aclk_mac2io 1 1 0 163840000 0 0 50000 Y aclk_mac2phy 0 0 0 163840000 0 0 50000 N pclk_gmac 2 2 0 54613334 0 0 50000 Y pclk_gmac_niu 1 1 0 54613334 0 0 50000 Y pclk_mac2io 1 1 0 54613334 0 0 50000 Y pclk_mac2phy 0 0 0 54613334 0 0 50000 N gpll_peri 0 0 0 491520000 0 0 50000 N clk_rga 0 0 0 163840000 0 0 50000 N clk_spi 0 0 0 15360000 0 0 50000 N gpll_core 1 1 0 491520000 0 0 50000 Y pll_cpll 1 1 0 1200000000 0 0 50000 Y cpll 12 15 0 1200000000 0 0 50000 Y clk_sdmmc 0 0 0 300000000 0 0 50000 N sdmmc_sample 0 0 0 150000000 0 180 50000 Y sdmmc_drv 0 0 0 150000000 0 180 50000 Y aclk_gpu_pre 1 2 0 200000000 0 0 50000 Y aclk_gpu_niu 1 1 0 200000000 0 0 50000 Y aclk_gpu 0 3 0 200000000 0 0 50000 N aclk_bus_pre 4 5 0 150000000 0 0 50000 Y aclk_dmac_bus 0 1 0 150000000 0 0 50000 N aclk_intmem 1 1 0 150000000 0 0 50000 Y aclk_tsp 0 0 0 150000000 0 0 50000 N aclk_dcf 0 0 0 150000000 0 0 50000 N aclk_bus_niu 1 1 0 150000000 0 0 50000 Y pclk_bus_pre 2 2 0 75000000 0 0 50000 Y pclk_phy_pre 4 4 0 75000000 0 0 50000 Y pclk_phy_niu 1 1 0 75000000 0 0 50000 Y pclk_vdacphy 0 0 0 75000000 0 0 50000 Y pclk_hdmiphy 1 1 0 75000000 0 0 50000 Y pclk_acodecphy 1 1 0 75000000 0 0 50000 Y pclk_ddrphy 1 1 0 75000000 0 0 50000 N pclk_usb2_grf 0 0 0 75000000 0 0 50000 Y pclk_usb3_grf 0 0 0 75000000 0 0 50000 Y pclk_usb3phy_pipe 0 0 0 75000000 0 0 50000 N pclk_usb3phy_otg 0 0 0 75000000 0 0 50000 N pclk_bus 14 15 0 75000000 0 0 50000 Y pclk_wdt 1 1 0 75000000 0 0 50000 Y pclk_pmu 1 1 0 75000000 0 0 50000 Y pclk_saradc 0 0 0 75000000 0 0 50000 N pclk_sim 0 0 0 75000000 0 0 50000 Y pclk_sgrf 1 1 0 75000000 0 0 50000 Y pclk_cru 1 1 0 75000000 0 0 50000 Y pclk_grf 1 1 0 75000000 0 0 50000 Y pclk_dcf 0 0 0 75000000 0 0 50000 N pclk_tsadc 1 1 0 75000000 0 0 50000 Y pclk_uart2 1 1 0 75000000 0 0 50000 Y pclk_uart1 0 0 0 75000000 0 0 50000 N pclk_uart0 0 0 0 75000000 0 0 50000 N pclk_gpio3 1 1 0 75000000 0 0 50000 Y pclk_gpio2 1 1 0 75000000 0 0 50000 Y pclk_gpio1 1 1 0 75000000 0 0 50000 Y pclk_gpio0 1 1 0 75000000 0 0 50000 Y pclk_rk_pwm 0 0 0 75000000 0 0 50000 N pclk_spi 0 0 0 75000000 0 0 50000 N pclk_stimer 0 0 0 75000000 0 0 50000 N pclk_timer0 1 1 0 75000000 0 0 50000 Y pclk_i2c3 0 0 0 75000000 0 0 50000 N pclk_i2c2 0 0 0 75000000 0 0 50000 N pclk_i2c1 0 1 0 75000000 0 0 50000 N pclk_i2c0 0 0 0 75000000 0 0 50000 N pclk_otp 0 0 0 75000000 0 0 50000 Y pclk_efuse 0 0 0 75000000 0 0 50000 Y pclk_bus_niu 1 1 0 75000000 0 0 50000 Y hclk_bus_pre 4 4 0 75000000 0 0 50000 Y hclk_pdm 0 0 0 75000000 0 0 50000 N hclk_bus_niu 1 1 0 75000000 0 0 50000 Y hclk_crypto_slv 0 0 0 75000000 0 0 50000 N hclk_crypto_mst 0 0 0 75000000 0 0 50000 N hclk_tsp 0 0 0 75000000 0 0 50000 N hclk_spdif_8ch 0 0 0 75000000 0 0 50000 N hclk_i2s2_2ch 0 0 0 75000000 0 0 50000 N hclk_i2s1_8ch 1 1 0 75000000 0 0 50000 Y hclk_i2s0_8ch 1 1 0 75000000 0 0 50000 Y hclk_rom 1 1 0 75000000 0 0 50000 Y clk_wifi 0 0 0 24000000 0 0 50000 N sclk_vdec_core 0 2 0 300000000 0 0 50000 N sclk_vdec_cabac 0 2 0 400000000 0 0 50000 N aclk_vpu_pre 2 3 0 400000000 0 0 50000 Y aclk_vpu_niu 1 1 0 400000000 0 0 50000 Y aclk_vpu 0 5 0 400000000 0 0 50000 N hclk_vpu_pre 1 2 0 100000000 0 0 50000 Y hclk_vpu_niu 1 1 0 100000000 0 0 50000 Y hclk_vpu 0 5 0 100000000 0 0 50000 N aclk_rga_pre 1 1 0 100000000 0 0 50000 Y aclk_rga_niu 1 1 0 100000000 0 0 50000 Y aclk_rga 0 0 0 100000000 0 0 50000 N aclk_vio_pre 2 3 0 300000000 0 0 50000 Y aclk_vio_niu 1 1 0 300000000 0 0 50000 Y aclk_hdcp 0 0 0 300000000 0 0 50000 N aclk_cif 0 0 0 300000000 0 0 50000 N aclk_iep 0 3 0 300000000 0 0 50000 N hclk_vio_pre 7 8 0 100000000 0 0 50000 Y pclk_hdcp 0 0 0 100000000 0 0 50000 N pclk_hdmi 1 1 0 100000000 0 0 50000 Y hclk_vio_niu 1 1 0 100000000 0 0 50000 Y hclk_hdcp 0 0 0 100000000 0 0 50000 N hclk_vio_h2p 1 1 0 100000000 0 0 50000 Y pclk_vio_h2p 1 1 0 100000000 0 0 50000 Y hclk_ahb1tom 1 1 0 100000000 0 0 50000 Y hclk_rga 0 0 0 100000000 0 0 50000 N hclk_cif 0 0 0 100000000 0 0 50000 N hclk_iep 0 3 0 100000000 0 0 50000 N hclk_vop_niu 1 1 0 100000000 0 0 50000 Y hclk_vop 1 2 0 100000000 0 0 50000 Y clk_mac2phy_src 0 0 0 75000000 0 0 50000 N clk_mac2phy 0 0 0 75000000 0 0 50000 Y clk_mac2phy_ref 0 0 0 75000000 0 0 50000 N clk_mac2phy_rxtx 0 0 0 75000000 0 0 50000 N clk_mac2phy_out 0 0 0 75000000 0 0 50000 N clk_mac2io_out 0 0 0 150000000 0 0 50000 N clk_mac2io_src 0 0 0 200000000 0 0 50000 N clk_ref_usb3otg_src 0 0 0 37500000 0 0 50000 N clk_sdmmc_ext 0 0 0 300000000 0 0 50000 N sdmmc_ext_sample 0 0 0 150000000 0 0 50000 Y sdmmc_ext_drv 0 0 0 150000000 0 180 50000 Y clk_sdio 0 0 0 50000000 0 0 50000 N sdio_sample 0 0 0 25000000 0 0 50000 Y sdio_drv 0 0 0 25000000 0 180 50000 Y cpll_peri 1 1 0 1200000000 0 0 50000 Y aclk_peri_pre 3 3 0 150000000 0 0 50000 Y aclk_peri 2 2 0 150000000 0 0 50000 Y aclk_usb3otg 1 1 0 150000000 0 0 50000 Y aclk_peri_noc 0 0 0 150000000 0 0 50000 Y hclk_peri 7 7 0 75000000 0 0 50000 Y pclk_peri_niu 1 1 0 75000000 0 0 50000 Y hclk_peri_niu 1 1 0 75000000 0 0 50000 Y hclk_otg_pmu 1 1 0 75000000 0 0 50000 Y hclk_otg 1 1 0 75000000 0 0 50000 Y hclk_host0_arb 0 0 0 75000000 0 0 50000 Y hclk_host0 2 2 0 75000000 0 0 50000 Y hclk_sdmmc_ext 0 0 0 75000000 0 0 50000 N hclk_emmc 0 0 0 75000000 0 0 50000 N hclk_sdio 0 0 0 75000000 0 0 50000 N hclk_sdmmc 1 1 0 75000000 0 0 50000 Y pclk_peri 1 1 0 75000000 0 0 50000 Y dclk_lcdc_src 1 1 0 24000000 0 0 50000 Y dclk_hdmiphy 1 1 0 8000000 0 0 50000 Y clk_cif_src 0 0 0 1200000000 0 0 50000 N clk_cif_out 0 0 0 60000000 0 0 50000 Y aclk_vop_pre 2 2 0 400000000 0 0 50000 Y aclk_vop_niu 1 1 0 400000000 0 0 50000 Y aclk_vop 1 2 0 400000000 0 0 50000 Y sclk_venc_dsp 0 0 0 50000000 0 0 50000 N sclk_venc_core 0 0 0 50000000 0 0 50000 N aclk_rkvenc 2 2 0 50000000 0 0 50000 Y aclk_axisram 0 0 0 50000000 0 0 50000 Y aclk_h264 0 0 0 50000000 0 0 50000 N aclk_h265 0 0 0 50000000 0 0 50000 N aclk_rkvenc_niu 1 1 0 50000000 0 0 50000 Y hclk_rkvenc 1 1 0 12500000 0 0 50000 Y hclk_h264 0 0 0 12500000 0 0 50000 N pclk_h265 0 0 0 12500000 0 0 50000 N hclk_rkvenc_niu 1 1 0 12500000 0 0 50000 Y aclk_rkvdec_pre 2 3 0 400000000 0 0 50000 Y aclk_rkvdec_niu 1 1 0 400000000 0 0 50000 Y aclk_rkvdec 0 4 0 400000000 0 0 50000 N hclk_rkvdec_pre 1 2 0 100000000 0 0 50000 Y hclk_rkvdec_niu 1 1 0 100000000 0 0 50000 Y hclk_rkvdec 0 4 0 100000000 0 0 50000 N clk_pwm 0 0 0 150000000 0 0 50000 N clk_crypto 0 0 0 240000000 0 0 50000 N clk_i2c3 0 0 0 150000000 0 0 50000 N clk_i2c2 0 0 0 150000000 0 0 50000 N clk_i2c1 0 1 0 150000000 0 0 50000 N clk_i2c0 0 0 0 150000000 0 0 50000 N clk_uart2_div 0 0 0 150000000 0 0 50000 N clk_uart2_frac 0 0 0 7500000 0 0 50000 N clk_uart1_div 0 0 0 150000000 0 0 50000 N clk_uart1_frac 0 0 0 7500000 0 0 50000 N clk_uart0_div 0 0 0 150000000 0 0 50000 N clk_uart0_frac 0 0 0 7500000 0 0 50000 N clk_spdif_div 0 0 0 75000000 0 0 50000 N sclk_spdif 0 0 0 75000000 0 0 50000 Y clk_spdif_frac 0 0 0 3750000 0 0 50000 N clk_i2s2_div 0 0 0 75000000 0 0 50000 N i2s2_pre 0 0 0 75000000 0 0 50000 Y clk_i2s2 0 0 0 75000000 0 0 50000 N i2s2_out 0 0 0 75000000 0 0 50000 N clk_i2s2_frac 0 0 0 3750000 0 0 50000 N clk_i2s1_div 1 1 0 1200000000 0 0 50000 Y clk_i2s1_frac 1 1 0 11289600 0 0 50000 Y i2s1_pre 1 1 0 11289600 0 0 50000 Y clk_i2s1 1 1 0 11289600 0 0 50000 Y i2s1_out 0 0 0 11289600 0 0 50000 N clk_i2s0_div 0 0 0 1200000000 0 0 50000 N clk_i2s0_frac 0 0 0 5644800 0 0 50000 N i2s0_pre 0 0 0 5644800 0 0 50000 Y clk_i2s0 0 0 0 5644800 0 0 50000 N clk_tsp 0 0 0 50000000 0 0 50000 N pclk_ddr 3 3 0 150000000 0 0 50000 Y pclk_ddr_grf 1 1 0 150000000 0 0 50000 Y pclk_ddrstdby 0 0 0 150000000 0 0 50000 Y pclk_ddr_mon 1 1 0 150000000 0 0 50000 Y pclk_ddr_msch 1 1 0 150000000 0 0 50000 Y pclk_ddrupctl 0 0 0 150000000 0 0 50000 Y pll_dpll 1 1 0 664000000 0 0 50000 Y dpll 1 1 0 664000000 0 0 50000 Y clk_ddr 2 2 0 664000000 0 0 50000 Y aclk_ddrupctl 0 0 0 664000000 0 0 50000 Y clk_ddrupctl 1 1 0 664000000 0 0 50000 Y clk_ddrmsch 1 1 0 664000000 0 0 50000 Y dpll_core 0 0 0 664000000 0 0 50000 Y pll_apll 0 0 0 61440000 0 0 50000 Y apll 0 0 0 61440000 0 0 50000 Y clk_pdm 0 0 0 61440000 0 0 50000 N apll_core 0 0 0 61440000 0 0 50000 Y clk_hsadc_tsp 0 0 0 0 0 0 50000 N clk_jtag 1 1 0 0 0 0 50000 Y
-
So what tools are in place to do this on a nightly build of version 12? I couldn't find any tools that even let me see what the ram speed is at right now. I did ask this question on the Libre.computers forums and they said it wasn't an issue of overclocking and should ask the question here. Just need to know tools to use for it since its a stripped down basic linux and also if there are ways to OC things if needed.
That log didn't do any video playing either, so I could go back and try again right now and upload another log after a reboot to see if anything sticks out. I do appreciate your help Da Flex .
-
Can you reboot, and have a look at the next kodi.log? If the errors of #11 don't appear after that, fine.
Yeah here's the log. No errors like your original post.
Have you read https://wiki.libreelec.tv/configuration/4k-hdr ? - the configs discussed should generally help with most media playback.
Yeah, read over that first thing and tried stuff before opening a thread.
I'm not an expert of others rockchip socs, but with rk3228 (not the same of the one discussed in this thread) the only boards that can handle 4k contents are the ones with ddr3 and clock rate >= 600mhz.
maybe can be useful to check also type and clock of DDR RAM.
So mine is the https://libre.computer/products/roc-rk3328-cc/ which has ddr4. How can I go about finding the DRAM frequency? We don't have lshw installed. Not sure what other tools are installed since it is a stripped down linux.
-
Yeah I hear ya but I wouldn't have thought to search for what SD cards work with this before buying as it shouldn't be an issue.
The real issue is the playback which I don't think the SD card is exactly the issue being that I do streaming from my Samba share. And the fact that my other card was 16GB and still did this same thing.
-
Interesting. Had I known about this, I wouldn't have bought the 128GB, but then again they were very cheap haha. Guess I'll try to snag a 32GB one. But this shouldn't interfere with playback should it? I mean I had this issue on I believe an 8GB or 16GB SD card too.
-
So it didn't boot up right the first time after it does its partition resize. Had to unplug and plug back in and it worked.
Thing is, this is literally brand new Samsung SD I just opened the package today. Its 128GB Pro one, can't remember exact name but its not a cheap one.
You'll also notice the green lines in that attached video. It's always done that when booting up but once in Kodi, it's fine.
Is there a 40 min limit to posting? Would have had up sooner.
-
Ok, tried and it made it worse. Both movies I have played awful. The first movie that was working with that setting on became choppy and unplayable and had to "buffer". Is there something wrong with a config for the hardware I have?
Thanks for looking Da Flex
-
I used a fresh nightly 12.0 build with no addons added or anything. I setup my network storage and then tried to play one of two 4k H265 files and at first it stuttered. Then I went in and set the UI menu to be 1080p and then the auto refresh to start/stop and went back to that file and it played fine shockingly. Then I tried the only other 4K movie I have and it did the stuttering and audio was off too. I will add, the first 4K movie is only 17GB, the second one is 66GB but I have it on 1Gig Ethernet so bandwidth shouldn't be an issue but I guess its not out of the question.
My recent log I collected from that is http://ix.io/4KsR
-
AH fair enough. Ok, can I do a fresh install, collect logs and re-post? Was unaware of banned repos/add-ons. Will remove as I don't even use them.