Navigation

    全志在线开发者论坛

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

    V853适配4.3寸屏lcd_width = <95>; lcd_height = <54>;显示出现问题

    V Series
    2
    4
    2164
    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.
    • vincent1
      Shy LV 6 last edited by

      4.3寸屏有效显示大小95.04*53.856我在board.dts中和uboot-board.dts中设置

      lcd_width                  = <95>;
      lcd_height                = <54>;
      

      但是实际显示出来的大小好像不太对,经过测试我将这个值改小的话图片是会变大的,证明改动这个值是有效的但是改成4.3寸实际有效大小之后显示就是不对,实在找不到头绪了🤕

      vincent1 1 Reply Last reply Reply Quote Share 0
      • vincent1
        Shy LV 6 @vincent1 last edited by

        @vincent1 已经解决了,不清楚什么原因当

        lcd_width                  = <83>;
        

        这个值一但超过85屏幕显示就不正常了,但是手册中该值应该是95d612910e-d7da-499b-8dc6-560875d32e80-image.png

        1 Reply Last reply Reply Quote Share 0
        • WhycanService
          WhycanService LV 8 last edited by

          这个是计算PPI使用的,是与分辨率成对应关系,由于屏幕不是完美的整数大小使用设置的时候如果出现分辨率与屏幕大小出现较大出入则会导致PPI计算错误显示异常。所以一般按照分辨率来设置的,例如800x600屏幕,实际大小为95x53,则设置80,60即可

          vincent1 1 Reply Last reply Reply Quote Share 1
          • vincent1
            Shy LV 6 @WhycanService last edited by

            @whycanservice 明白了👍

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

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

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