• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

retropie and waveshare 32b?

Scheduled Pinned Locked Moved Help and Support
66 Posts 28 Posters 64.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.
  • R
    rog585
    last edited by 19 Jul 2016, 16:54

    Yes i can install a keyboard etc. Then i run the lines in the command line from the adafruit, reboot and nothing just a white screen.

    G 1 Reply Last reply 19 Jul 2016, 17:03 Reply Quote 0
    • G
      glennlake @rog585
      last edited by 19 Jul 2016, 17:03

      @rog585 Well, i'm at a loss at this time for what may be the problem but I will keep thinking about this. I know I really messed myself up a few times by not having the GPIO pins shifted by one pin. I went round and round until I saw this.

      R 1 Reply Last reply 19 Jul 2016, 17:09 Reply Quote 0
      • R
        rog585 @glennlake
        last edited by 19 Jul 2016, 17:09

        @glennlake So the unit needs to be one pin to the left?

        G 1 Reply Last reply 19 Jul 2016, 17:15 Reply Quote 0
        • G
          glennlake @rog585
          last edited by 19 Jul 2016, 17:15

          @rog585 No, the pins must be lined up straight. But what I did by mistake is, I plugged in the screen to the Pi off by a pin and nothing worked.

          1 Reply Last reply Reply Quote 0
          • R
            rog585
            last edited by 19 Jul 2016, 17:18

            ahhh i have just done that and the pi didn't boot up. I'm going to re image another sd card with retropi and try again. Thanks for all you guidance, really appreciate your time.

            G 1 Reply Last reply 19 Jul 2016, 17:23 Reply Quote 0
            • G
              glennlake @rog585
              last edited by 19 Jul 2016, 17:23

              @rog585 OK sounds good. I would make sure your RetroPie boots and works fine before I try the Pitft screen. Divide and conquer troubleshooting.

              1 Reply Last reply Reply Quote 0
              • R
                rog585
                last edited by 19 Jul 2016, 19:09

                Still no luck, I have tried it again and updated the retropie image before i ran the adafruit script. Can any one help?

                G 1 Reply Last reply 19 Jul 2016, 22:59 Reply Quote 0
                • G
                  glennlake @rog585
                  last edited by glennlake 19 Jul 2016, 22:59

                  @rog585 I copied this from the Adafruit site. Sometime you can miss something on the webpage. http://pastebin.com/whMCbDAb I had a thought. Could the screen be bad?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rog585
                    last edited by 20 Jul 2016, 06:52

                    Will give it another go, the screen is good. It works with the image given from waveshare. Just when i do anything with it without the waveshare image it is just a white screen.

                    1 Reply Last reply Reply Quote 0
                    • R
                      rog585
                      last edited by rog585 20 Jul 2016, 07:37

                      If you have a 3.5 inch waveshare screen use the below code, it works and now i have a mini screen working with Retropie

                      git clone https://github.com/swkim01/waveshare-dtoverlays.git
                      sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/

                      Note! If you're running the latest Retropie with linux 4.4 kernel or newer (check in terminal uname -a), use the following instead;
                      git clone https://github.com/swkim01/waveshare-dtoverlays.git
                      sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/waveshare35a.dtbo

                      now edit your config.txt
                      sudo nano /boot/config.txt
                      and add these two lines to the very bottom;
                      dtparam=spi=on
                      dtoverlay=waveshare35a
                      ctrl+x then y then enter

                      sudo reboot

                      again quit ES drop to command line, check the existence of your new tft display by typing;
                      ls /dev/fb*

                      you should see dev/fb0 /dev/fb1
                      /dev/fb1 is your tft

                      if you don't see /dev/fb1 you've messed up and need to start over
                      if all is good, now we get retropie output to your tft;

                      sudo apt-get install cmake
                      git clone https://github.com/tasanakorn/rpi-fbcp
                      cd rpi-fbcp/
                      mkdir build
                      cd build/
                      cmake ..
                      make
                      sudo install fbcp /usr/local/bin/fbcp

                      now to launch fbcp automatically we need to add;
                      sudo nano /etc/rc.local
                      Before, the final “exit 0” line, add the following:
                      /usr/local/bin/fbcp &
                      ctrl+x then y then enter

                      sudo reboot

                      S R 2 Replies Last reply 24 Jul 2016, 15:00 Reply Quote 1
                      • R
                        rog585 @senkun
                        last edited by rog585 20 Jul 2016, 16:15

                        @senkun do you know how to increase the frames per second to make it run smoother?

                        G S 2 Replies Last reply 23 Jul 2016, 12:19 Reply Quote 0
                        • G
                          glennlake @rog585
                          last edited by 23 Jul 2016, 12:19

                          @rog585 Glad to see you got your screen working. I got burned using the Waveshare drivers when I first started to setup my screen and so I didn't recommend that. I don't know about their setup for but for the Adafruit setup you will find in the /boot/config.txt this line " dtoverlay=pitft35r,rotate=90,speed=64000000,fps=30". The "fps" is for the frames per second. I can't say the same is in your setup but it's worth a look. If you change it just be sure to backup your settings first now that it's working.

                          R 1 Reply Last reply 23 Jul 2016, 17:50 Reply Quote 0
                          • R
                            rog585 @glennlake
                            last edited by 23 Jul 2016, 17:50

                            @glennlake its the same, as you suggested. its sooo jumpy though i have tried different speeds and fps but not great. This i will turn it into a digital photo frame for work. Have sine bought a 3.2 screen as the feedback was better. Thanks for all your help.

                            1 Reply Last reply Reply Quote 0
                            • S
                              senkun @rog585
                              last edited by 24 Jul 2016, 15:00

                              @rog585

                              lol did you type all that or did you just cut and paste all that from my guide right on top?

                              1 Reply Last reply Reply Quote 0
                              • S
                                senkun @rog585
                                last edited by 24 Jul 2016, 15:07

                                @rog585 said in retropie and waveshare 32b?:

                                @senkun do you know how to increase the frames per second to make it run smoother?

                                Nope. Limitation of bandwidth on SPI. 3.5" and 4" screens will have tearing and lag, they are 480x320 compared to the 3.2" screen with 320x240. So they're struggling to push double the pixels. If you need a larger screen for gaming, most people just go composite or HDMI. There are a lot of cheap nobrand composite 4.3" screens you can try, or use the 5" or 7" HDMI screens from waveshare.

                                Using the guide I wrote above, second post on this thread, you can get waveshare 3.2", 3.5" and 4" TFT screens working.

                                If you're using their 3.5" or 4" screens, substitute these lines:

                                git clone https://github.com/swkim01/waveshare-dtoverlays.git
                                sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/

                                But if your linux kernel is 4.4 or newer, use this instead:

                                sudo cp waveshare-dtoverlays/waveshare35a-overlay.dtb /boot/overlays/waveshare35a.dtbo

                                suprjamiS B 2 Replies Last reply 9 Aug 2016, 21:21 Reply Quote 0
                                • suprjamiS
                                  suprjami @senkun
                                  last edited by 9 Aug 2016, 21:21

                                  @senkun said in retropie and waveshare 32b?:

                                  Nope. Limitation of bandwidth on SPI. 3.5" and 4" screens will have tearing and lag

                                  Can't you increase the speed of SPI bus to (somewhat) work around this?

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    rugur78tr
                                    last edited by 27 Oct 2016, 08:55

                                    hello guys,

                                    first of all I wanna thank to all that helped me alot to set up wareshare 3.5 inch LCD to my Rpi for Retropie. senkun's explanation is quite good.
                                    but Ive a problem, frame rate is so bad to play games, and really annoying after struggling to set the LCD up.

                                    I ve the latest Retropie 4.0.2 and Waveshare 3.5 inch LCD. tried to setup the speed and set it to 20000000, cuz when its more than it, I got invalid colors. (Pls do not set the speed lower than xx million, if yes, you need to wait a lot to boot - I made it 5 and to solve it quickly re installed retropie) and fps=60, its still annoying and have late response.

                                    Do you have any solution or suggestions how to work it faster? thanks in advance.

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      rugur78tr
                                      last edited by 7 Nov 2016, 12:44

                                      hello again,

                                      after many times research, I couldnt find a way to speed up my 3,5 inch waveshare LCD, instead I bought 3,2 inch same brand. it works awesome, I tried it with Gameboy Advance and Neo Geo roms its just perfect. and the thing that make me feel great is playing Quake 3 on my lit LCD w/o any problems.

                                      I dont know if I do the calculation right but, 3,5 has double pixels , and 3,2 is 46~48mhz, 3,5 16~18mhz. so I can say that 3,2 is faster 6 x than 3,5.
                                      :):)

                                      thanks everyone.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Bikash Nath @senkun
                                        last edited by 19 Dec 2016, 16:06

                                        @senkun EVEN I'M FACING WITH A LAGGED GAMEPLAY EVEN ON NES ROMS. I'M USING A WAVESHARE 32B 3.2 LCD SCREEN AND IT HAS BEEN CONFIGURED AS PER THE INSTRUCTIONS SHOWN HERE. BUT I'M AT A LOSS AS TO HOW TO TWEAK THE FPS. INFO ON THAT PART WOULD BE HIGHLY GRATIFIED.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rugur78tr
                                          last edited by 20 Dec 2016, 12:46

                                          hi Bikash,

                                          I m using 3.2 waveshare and it works fine, I will share the codes or whole config file with you , once Im at home.

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

                                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                                            This community forum collects and processes your personal information.
                                            consent.not_received