• Recent
    • Docs
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    • Register
    • Login

    Firefox deb version freezed when try to play video

    Scheduled Pinned Locked Moved PI CM5 Laptop
    31 Posts 3 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • plumlisP
      plumlis @george
      last edited by

      @george So is it possible to disable hardware decoding in firefox, and this may fix this issue?

      I'll try it out.

      blog: https://plumz.me

      G 1 Reply Last reply Reply Quote 0
      • G
        george @plumlis
        last edited by

        @plumlis
        Firefox defaults to calling ffmpeg decoding, and we have added hardware decoding support for rkmpp to the local ffmpeg. So you just need to update the ffmpeg version to the standard version published on the official website.

        plumlisP 1 Reply Last reply Reply Quote 0
        • plumlisP
          plumlis @george
          last edited by

          @george I disabled hardware acceleration and everything works fine now.

          Also some display issue while scrolling is solved.

          blog: https://plumz.me

          1 Reply Last reply Reply Quote 0
          • plumlisP
            plumlis
            last edited by

            Will this issue being fixed in Kernel 6.1 and new version mesa?

            blog: https://plumz.me

            G 1 Reply Last reply Reply Quote 0
            • G
              george @plumlis
              last edited by

              @plumlis
              Provide a basic image, the system can start normally, WIFI is working properly, and support for GPU and VPU has not been added yet.
              c206eba9-c383-49fa-8c3b-3dc213ff3997-image.png

              plumlisP 2 Replies Last reply Reply Quote 0
              • plumlisP
                plumlis @george
                last edited by

                @george nice, I'll gave it a try.

                thank you.

                blog: https://plumz.me

                1 Reply Last reply Reply Quote 0
                • M
                  mainbord
                  last edited by

                  https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md

                  Someday we will be able to use mainline kernel.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    george @mainbord
                    last edited by george

                    @mainbord
                    Coolpi4b and cm5 evb currently support mainline kernels above 6.8, but laptops do not support mainline kernels due to eDP display drivers. So it will be a little later. Currently undergoing debugging. Looking forward to the next main version being released. Thank you for your support.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mainbord @george
                      last edited by

                      @george
                      May be you can add build recipe here, it will be a good advertise 🙂
                      https://github.com/manjaro-arm

                      1 Reply Last reply Reply Quote 0
                      • plumlisP
                        plumlis
                        last edited by

                        Actully not only video playing decode issue.
                        But also some display area shutter issue while scrolling.
                        Disable GPU accelaration. everthing looks fine now.

                        Will this be solved in kernel 6.1 BSP?
                        How is the status of kernel 6.1 now? When will we see it?

                        I tried to compile kernel by myself ftom cool pi github 6.1 stan rkr1 branch but failed.

                        blog: https://plumz.me

                        plumlisP 1 Reply Last reply Reply Quote 0
                        • plumlisP
                          plumlis @plumlis
                          last edited by

                          Is it safe to install newer version mesa?
                          I saw that new version mesa have many panfrost related fixes.

                          blog: https://plumz.me

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            george @plumlis
                            last edited by

                            @plumlis
                            The kernel version 6.1 will support it and is currently being adapted.

                            plumlisP 1 Reply Last reply Reply Quote 1
                            • plumlisP
                              plumlis @george
                              last edited by

                              @george okay. hope kernel 6.1 will release soon.

                              And thanks for your hard work.

                              blog: https://plumz.me

                              1 Reply Last reply Reply Quote 0
                              • plumlisP
                                plumlis @george
                                last edited by

                                @george

                                Hey George. Could you have some USB Disk brands recomand to use as Boot drive?

                                I tried many Sandisk 3.0 and all of them don't work. Only one 16GB USB(No brand) disk can boot up. But it can't be use as fedora image( It's 17GB )

                                blog: https://plumz.me

                                G 1 Reply Last reply Reply Quote 0
                                • G
                                  george @plumlis
                                  last edited by

                                  @plumlis
                                  Let me briefly introduce the current situation of the NAND flash industry. The best A-class die is used as a high-capacity and high-value storage device for first tier brands such as SSDs and EMMCs. The worse one is used for second tier brands such as EMMCs and NAND FLASH, and the worse one is used for a large number of bad fast devices. The 8GB capacity can be reduced to 4G or 2G for USB drives or T cards. There is even worse junk die, which will appear on the T card that costs a few yuan on Mouduoduo. So if doing system mirroring, it is recommended to use SSD or SATA portable hard drives, as both performance and reliability are the best.

                                  plumlisP 1 Reply Last reply Reply Quote 0
                                  • plumlisP
                                    plumlis @george
                                    last edited by

                                    @george I knew that.
                                    But the point is I can't find a usb stick to make this fedora image boot up.
                                    Wiki said only usb 2.0 disk can be boot up.

                                    I tested all my usb 3.0/2.0 devices. Only one usb 2.0 stick can be booted. But it's 16GB, fedora image is 17GB and can't write to it.

                                    I just asked you to recommand a usb device can be boot up.

                                    blog: https://plumz.me

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      george @plumlis
                                      last edited by

                                      @plumlis
                                      Suggest updating uboot to the latest version and then trying USB BOOT. The latest development branch has been optimized for some USB drives. Of course, you can also write images to EMMC through UMS.

                                      plumlisP 1 Reply Last reply Reply Quote 0
                                      • plumlisP
                                        plumlis @george
                                        last edited by

                                        @george It seems I have to compile boot loader first?

                                        https://cool-pi.com/topic/380/cool-pi-4b-cm5-linux-system-support-compile-u-boot

                                        Following this guide.

                                        Ubuntu 24.04 don't have python2, can't compile directly, annoying

                                        blog: https://plumz.me

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          george @plumlis
                                          last edited by

                                          @plumlis

                                          sudo ln -s /usr/bin/python3.12 /usr/bin/python
                                          
                                          plumlisP 1 Reply Last reply Reply Quote 0
                                          • plumlisP
                                            plumlis @george
                                            last edited by plumlis

                                            @george

                                            Already did. Seems it doesn't work.

                                            $./build-uboot.sh cm5-notebook
                                            
                                            ## make rk3588_coolpicm5_notebook_defconfig -j16
                                            #
                                            # configuration written to .config
                                            #
                                            scripts/kconfig/conf  --silentoldconfig Kconfig
                                              CHK     include/config.h
                                              CFG     u-boot.cfg
                                              GEN     include/autoconf.mk.dep
                                              CFG     spl/u-boot.cfg
                                              CFG     tpl/u-boot.cfg
                                              GEN     spl/include/autoconf.mk
                                              GEN     include/autoconf.mk
                                              GEN     tpl/include/autoconf.mk
                                              CHK     include/config/uboot.release
                                              CHK     include/generated/timestamp_autogenerated.h
                                              UPD     include/generated/timestamp_autogenerated.h
                                              CHK     include/config.h
                                              CFG     u-boot.cfg
                                              CHK     include/generated/version_autogenerated.h
                                              CHK     include/generated/generic-asm-offsets.h
                                              CHK     include/generated/asm-offsets.h
                                              HOSTCC  tools/mkenvimage.o
                                              HOSTCC  tools/fit_image.o
                                              HOSTCC  tools/image-host.o
                                              HOSTCC  tools/dumpimage.o
                                              HOSTCC  tools/mkimage.o
                                              HOSTCC  tools/rockchip/boot_merger.o
                                              HOSTCC  tools/rockchip/loaderimage.o
                                              HOSTLD  tools/loaderimage
                                            tools/rockchip/boot_merger.c: In function ‘mergeBoot’:
                                            tools/rockchip/boot_merger.c:700:43: warning: ‘%s’ directive output may be truncated writing up to 813 bytes into a region of size 5 [-Wformat-truncation=]
                                              700 |         snprintf(buffer, sizeof(buffer), "%s", chip);
                                                  |                                           ^~
                                            ......
                                              742 |                 chipType = convertChipType(chip + 2);
                                                  |                            ~~~~~~~~~~~~~~~~~~~~~~~~~
                                            In file included from /usr/include/stdio.h:980,
                                                             from ././include/compiler.h:25,
                                                             from <command-line>:
                                            In function ‘snprintf’,
                                                inlined from ‘convertChipType’ at tools/rockchip/boot_merger.c:700:2,
                                                inlined from ‘getChipType’ at tools/rockchip/boot_merger.c:742:14,
                                                inlined from ‘getBoothdr’ at tools/rockchip/boot_merger.c:761:18,
                                                inlined from ‘mergeBoot’ at tools/rockchip/boot_merger.c:830:2:
                                            /usr/include/aarch64-linux-gnu/bits/stdio2.h:54:10: note: ‘__builtin_snprintf’ output between 1 and 814 bytes into a destination of size 5
                                               54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
                                                  |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                               55 |                                    __glibc_objsize (__s), __fmt,
                                                  |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                               56 |                                    __va_arg_pack ());
                                                  |                                    ~~~~~~~~~~~~~~~~~
                                            In function ‘wide2str’,
                                                inlined from ‘unpackBoot’ at tools/rockchip/boot_merger.c:955:3,
                                                inlined from ‘main’ at tools/rockchip/boot_merger.c:1072:8:
                                            tools/rockchip/boot_merger.c:895:18: warning: array subscript 20 is outside array bounds of ‘char[20]’ [-Warray-bounds=]
                                              895 |         str[len] = 0;
                                                  |         ~~~~~~~~~^~~
                                            tools/rockchip/boot_merger.c: In function ‘main’:
                                            tools/rockchip/boot_merger.c:933:14: note: at offset 20 into object ‘name’ of size 20
                                              933 |         char name[MAX_NAME_LEN];
                                                  |              ^~~~
                                              HOSTLD  tools/boot_merger
                                              HOSTLD  tools/mkenvimage
                                              HOSTLD  tools/dumpimage
                                              HOSTLD  tools/mkimage
                                              CC      arch/arm/cpu/armv8/fwcall.o
                                              CC      common/main.o
                                              LD      arch/arm/cpu/armv8/built-in.o
                                              CC      cmd/version.o
                                              LD      common/built-in.o
                                              CC      lib/display_options.o
                                              LD      cmd/built-in.o
                                              LD      lib/built-in.o
                                              LD      u-boot
                                            /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot has a LOAD segment with RWX permissions
                                              OBJCOPY u-boot.srec
                                              OBJCOPY u-boot-nodtb.bin
                                              SYM     u-boot.sym
                                            make[2]: 'arch/arm/dts/rk3588-cp5-x8.dtb' is up to date.
                                              COPY    u-boot.dtb
                                            start=$(/usr/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/usr/bin/aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot-nodtb.bin 0x00200000 $start $end
                                              CAT     u-boot-dtb.bin
                                              MKIMAGE u-boot.img
                                              MKIMAGE u-boot-dtb.img
                                              COPY    u-boot-dtb-kern.bin
                                              ALIGN   u-boot-dtb-kern.bin
                                              CAT     u-boot.bin
                                              CC      spl/common/spl/spl.o
                                              CC      spl/arch/arm/cpu/armv8/fwcall.o
                                              COPY    spl/u-boot-spl.dtb
                                              CC      tpl/arch/arm/cpu/armv8/fwcall.o
                                              LD      spl/arch/arm/cpu/armv8/built-in.o
                                              CC      tpl/arch/arm/mach-rockchip/tpl.o
                                              LD      tpl/arch/arm/cpu/armv8/built-in.o
                                              CC      spl/lib/display_options.o
                                              LD      tpl/arch/arm/mach-rockchip/built-in.o
                                              LD      spl/common/spl/built-in.o
                                              LD      spl/lib/built-in.o
                                              LD      tpl/u-boot-tpl
                                            /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot-tpl has a LOAD segment with RWX permissions
                                              OBJCOPY tpl/u-boot-tpl-nodtb.bin
                                              COPY    tpl/u-boot-tpl.bin
                                              LD      spl/u-boot-spl
                                            /usr/bin/aarch64-linux-gnu-ld.bfd: warning: u-boot-spl has a LOAD segment with RWX permissions
                                              OBJCOPY spl/u-boot-spl-nodtb.bin
                                              CAT     spl/u-boot-spl-dtb.bin
                                              COPY    spl/u-boot-spl.bin
                                              CFGCHK  u-boot.cfg
                                            ERROR: No python2
                                            
                                            $ python
                                            Python 3.12.3 (main, Apr 10 2024, 05:33:47) [GCC 13.2.0] on linux
                                            Type "help", "copyright", "credits" or "license" for more information.
                                            >>>
                                            

                                            blog: https://plumz.me

                                            G 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post