Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    LVGL8打开G2D报错

    GUI
    2
    3
    108
    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.
    • W
      waterworld LV 5 last edited by xiaowenge

      root@TinaLinux:/# lv_g2d_test 
      lv_g2d_test 0 5 0 1
      one num is rotate, range is 0~3
      tow num is gif, range is 0~11[   11.745762] VE: enable hw clock
      , 11 is no show gif
      three num i[   11.751120] enable_cedar_hw_clk,552
      s bmp, range is 0~2, 2 is no show bmp
      four num is png, range is 0~3, 3 is no show png
      wh=800x1280, vwh=800x2560, bpp=32, rotated=0
      Turn on double buffering.
      Turn on 2d hardware acceleration.
      Turn on 2d hardware acceleration fill.
      Turn on 2d hardware acceleration blit.
      Turn on 2d hardware acceleration blend.
      Turn on 2d hardware acceleration scale.
      Turn on 2d hardware acceleration rotate.
      unable open evdev interface:: No such file or directory
      [   12.060479] [G2D]dma_buf_get failed, fd=0
      [   12.065004] [G2D] (g2d_set_image_addr) line:398: map dst fail!
      [   12.071501] [G2D] (g2d_mixer_mem_setup) line:517: Frame:0 setupt fail!
      [   12.078869] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008
      [   12.088699] Oops [#1]
      [   12.091223] Modules linked in:
      [   12.094628] CPU: 0 PID: 937 Comm: lv_g2d_test Not tainted 5.4.61 #224
      [   12.101787] sepc: ffffffe00020699a ra : ffffffe00020698e sp : ffffffe002a038b0
      [   12.109814]  gp : ffffffe0005af350 tp : ffffffe0039e4080 t0 : ffffffe0005bd2e8
      [   12.117843]  t1 : ffffffe000074db6 t2 : 0000000000000000 s0 : ffffffe001920d80
      [   12.125871]  s1 : 0000000000000001 a0 : ffffffe000584770 a1 : ffffffe003fb31b8
      [   12.133897]  a2 : ffffffe002a51e00 a3 : ffffffe002a51e00 a4 : 0000000000000000
      [   12.141925]  a5 : 0000000000000000 a6 : ffffffe000c68040 a7 : 0000000000000468
      [   12.149952]  s2 : ffffffe00045cec8 s3 : ffffffe0004bd720 s4 : ffffffe0005d5350
      [   12.157978]  s5 : ffffffe002a03998 s6 : ffffffe000206a92 s7 : ffffffe0002069fc
      [   12.166004]  s8 : ffffffe000206902 s9 : ffffffe0002071ca s10: ffffffe0002068c4
      [   12.174029]  s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe003f1f000
      [   12.182056]  t5 : 0000000000040000 t6 : ffffffe0005b9099
      [   12.187957] sstatus: 0000000200000120 sbadaddr: 0000000000000008 scause: 000000000000000f
      [   12.197126] ---[ end trace e00e47a9780c0019 ]---
      

      f133使用tina自带的测试程序,报下面错误,可能是什么原因呀?内核是5.4的

      A 1 Reply Last reply Reply Quote Share 0
      • A
        anruliu LV 6 @waterworld last edited by

        @waterworld 大概率是lvgl中用的g2d头文件与内核中的g2d头文件有些差异导致

        lv_drivers/display/sunxig2d.h
        
        1 Reply Last reply Reply Quote Share 0
        • W
          waterworld LV 5 last edited by xiaowenge

          This post is deleted!
          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策