Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 7inch raspberry pi touch screen with aosp 13 size problem

7inch raspberry pi touch screen with aosp 13 size problem

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 4 Posters 804 Views
  • 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.
  • Axel SpoerlA Offline
    Axel SpoerlA Offline
    Axel Spoerl
    Moderators
    wrote on last edited by
    #2

    Hi,
    I am not sure if I understand this correctly. When a touch screen is zoomed in, parts of the desktop will be off-screen. That's kind of natural behavior, just like zooming into a phone.
    What is the expected behavior?

    Software Engineer
    The Qt Company, Oslo

    1 Reply Last reply
    1
    • S Sakhana99

      I’m working on a project using a Raspberry Pi 4 with a custom Android 13 ROM and the official 7" Raspberry Pi touchscreen.
      The touchscreen display is zoomed in, causing part of the display to be cut off and not fit the screen properly. The resolution settings do not seem to address this issue.
      here is my config.txt file:

      kernel=Image.gz
      arm_64bit=1
      dtparam=audio=on
      
      
      # The functional overlay
      dtoverlay=vc4-fkms-v3d-pi4-overlay,cma-256
      
      # Touchscreen and backlight overlays
      dtoverlay=rpi-ft5406-overlay 
      dtoverlay=rpi-backlight-overlay
      
      #dtoverlay=vc4-kms-dsi-7inch-overlay,sizex=800,sizey=480
      
      # Additional settings
      #dtoverlay=dwc2,dr_mode=peripheral
      initramfs ramdisk.img followkernel
      enable_uart=1
      disable_overscan=1
      #overscan_left=16
      #overscan_right=16
      #overscan_top=16
      #overscan_bottom=16
      
      display_rotate=0
      
      # Enable the DSI display
      ignore_lcd=0
      display_default_lcd=1
      
      
      # Display settings
      framebuffer_width=800
      framebuffer_height=480
      gpu_mem=256
      
      hdmi_group=2
      hdmi_mode=87
      hdmi_cvt=800 480 60 6 0 0 0
      dtparam=spi=on
      

      NB: both vc4-kms-v3d-pi4-overlay (white screen) and vc4-kms-dsi-7inch-overlay ( correct dtbo file generation problem or blocked in splash screen step) did not work for me that's why i am working with vc4-fkms-v3d-pi4-overlay,cma-256 overlay .

      NB:the home screen you are seeing is a qt quick interface

      also tried with wm size command but it did not solve the problem

      450897194_507260078422029_3332747480816163803_n.jpg

      Pl45m4P Online
      Pl45m4P Online
      Pl45m4
      wrote on last edited by Pl45m4
      #3

      @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

      The touchscreen display is zoomed in, causing part of the display to be cut off and not fit the screen properly

      So you want your Qt Quick "overlay" to be independent from the rest of the underlaying display content?!
      The kmh gauge should be fixed size and position?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sakhana99
        wrote on last edited by Sakhana99
        #4

        i did not zoom in i mean the display is bigger than the screen itself when it boots it already boots bigger than the touch screen i am looking for a way to resize it so it fits

        Pl45m4P 1 Reply Last reply
        0
        • S Sakhana99

          i did not zoom in i mean the display is bigger than the screen itself when it boots it already boots bigger than the touch screen i am looking for a way to resize it so it fits

          Pl45m4P Online
          Pl45m4P Online
          Pl45m4
          wrote on last edited by Pl45m4
          #5

          @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

          i am looking for a way to resize it so it fits

          QML issue?

          https://forum.qt.io/topic/86294/creating-a-window-fit-for-the-all-space-of-the-screen

          ?


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sakhana99
            wrote on last edited by
            #6

            no it's an OS or the overlay itself issue not qml or qt thing

            1 Reply Last reply
            0
            • Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote on last edited by
              #7

              Looks a bit like the android screen drivers don't support the screen.
              Have you tried booting with embedded linux, to see if the eglfs drivers get it correctly?
              If they don't, it could be a hardware defect. Nothing surprises me anymore with these embedded systems....

              Software Engineer
              The Qt Company, Oslo

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sakhana99
                wrote on last edited by
                #8

                yes i tried with embedded linux and it worked well
                i am pretty sure that i added all the necessary drivers

                Axel SpoerlA 1 Reply Last reply
                0
                • Axel SpoerlA Offline
                  Axel SpoerlA Offline
                  Axel Spoerl
                  Moderators
                  wrote on last edited by
                  #9

                  I don’t have the very same screen and I don’t use Android on the Pi4. Does the screen work with a non Qt application?

                  Software Engineer
                  The Qt Company, Oslo

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sakhana99
                    wrote on last edited by
                    #10

                    the problem is not with qt sir it's with the resolution of the OS itself

                    Pl45m4P artwawA 2 Replies Last reply
                    0
                    • S Sakhana99

                      the problem is not with qt sir it's with the resolution of the OS itself

                      Pl45m4P Online
                      Pl45m4P Online
                      Pl45m4
                      wrote on last edited by
                      #11

                      @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

                      the problem is not with qt sir it's with the resolution of the OS itself

                      Why post this in a Qt forum, when you know it's an issue of your device?
                      Maybe we hardware guys here who know what's going on, but most people can't help you with this.


                      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                      ~E. W. Dijkstra

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Sakhana99
                        wrote on last edited by
                        #12

                        it's not a device issue but a qt with android issue and maybe some of you have worked with android

                        1 Reply Last reply
                        0
                        • S Sakhana99

                          the problem is not with qt sir it's with the resolution of the OS itself

                          artwawA Offline
                          artwawA Offline
                          artwaw
                          wrote on last edited by
                          #13

                          @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

                          the problem is not with qt sir it's with the resolution of the OS itself

                          but then

                          @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

                          it's not a device issue but a qt with android issue

                          so which one is it?

                          For more information please re-read.

                          Kind Regards,
                          Artur

                          1 Reply Last reply
                          0
                          • S Sakhana99

                            yes i tried with embedded linux and it worked well
                            i am pretty sure that i added all the necessary drivers

                            Axel SpoerlA Offline
                            Axel SpoerlA Offline
                            Axel Spoerl
                            Moderators
                            wrote on last edited by
                            #14

                            @Sakhana99 said in 7inch raspberry pi touch screen with aosp 13 size problem:

                            yes i tried with embedded linux and it worked well

                            If that means that the screen zooms correctly, it’s not a hardware issue.
                            It’s probably a hardware compatibility issue with the Android low level driver.
                            That’s not Qt related, it’s Android related.

                            Software Engineer
                            The Qt Company, Oslo

                            1 Reply Last reply
                            0

                            • Login

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Users
                            • Groups
                            • Search
                            • Get Qt Extensions
                            • Unsolved