Fastest FPS on Your Raspberry Pi SPI LCD Screen - RetroPie playable on a cheap LCD panel

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 71

  • @ashketchum1244
    @ashketchum1244 ปีที่แล้ว +2

    hey mate, i bought a 8$ screen like this from aliexpress expecting it to be terrible
    to my surprise after using your tutorial it's a pretty smooth 30-60fps in game. it's laggy in the home menu for some reason, but doesn't matter if the game plays perfect!
    thanks for this

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      Great to hear you got it working.

  • @douphowto
    @douphowto 3 ปีที่แล้ว +1

    Very useful thanks, let the tweaking commence.

    • @BytesNBits
      @BytesNBits  3 ปีที่แล้ว

      Glad it was helpful!

  • @arthurperini
    @arthurperini 3 ปีที่แล้ว +1

    Great video. I've started to use tensor flow routines with Coral accelerator, but the results with a LCD 3.5 similar to it was terrible I'm going to try this driver.

    • @BytesNBits
      @BytesNBits  3 ปีที่แล้ว

      Great. It should improve the display quite a bit.

  • @horsejohnson7959
    @horsejohnson7959 6 หลายเดือนก่อน

    This is basically streaming but it's a genius optimization in any implementation

    • @BytesNBits
      @BytesNBits  6 หลายเดือนก่อน

      Yes. A great piece of software.

  • @gamecat666
    @gamecat666 3 ปีที่แล้ว

    EXCELLENT video, thanks a lot. I was searching for a better driver for these screens but this was the best resource I found. I wasnt sure if a waveshare 35a worked with this driver but this proves it does. I tried mine on a Pi1 (just out of sheer curiousity) and I dont get anywhere near as good results as you do, even without using emulators. Maybe it just doesnt have the horsepower to drive the screen this fast.

    • @BytesNBits
      @BytesNBits  3 ปีที่แล้ว

      Hi. Glad it helped. Have a look at my overclocking video for the Raspberry Pi. That might help out a bit on the RPi V1 setup. Have fun!

  • @powerguidissimo1
    @powerguidissimo1 2 ปีที่แล้ว

    Tenho exatamente essa tela do seu video, estava a anos parada sem uso, agora com sua ajuda irei retomar o projeto do meu videogame portatil, muito obrigado pelo video.

    • @BytesNBits
      @BytesNBits  2 ปีที่แล้ว +1

      Excelente. Fico feliz que tenha achado útil. Boa sorte com o projeto!

  • @Iskelderon
    @Iskelderon 9 หลายเดือนก่อน

    Thanks, this sounds to be perfect for a project I'm planning to build later this year. A ghostbusters cartoon PKE Meter that displays mostly just vector-based graphs and the like, but in some modes will also show static graphics and short video elements that only cover a fraction of the overall screen (think animated pre-rendered logos).
    Since it's not full-screen changes like a game, I should be able to hit a target of 24-30 frames on a Pi Zero 1.

    • @BytesNBits
      @BytesNBits  9 หลายเดือนก่อน

      Sounds great! Give it a go.

    • @horsejohnson7959
      @horsejohnson7959 6 หลายเดือนก่อน

      Static is a good example of what this won't work well on because practically every pixel is changing

    • @horsejohnson7959
      @horsejohnson7959 6 หลายเดือนก่อน

      Static is a good example of what this won't work well on because practically every pixel is changing

    • @Iskelderon
      @Iskelderon 6 หลายเดือนก่อน

      @@horsejohnson7959 The way the video describes it, it actually benefits from just such use cases with as little delta changes as possible, kinda like video compression.
      In other words, this very kind of project where there's just reasonably small changes to regions because it will lessen the calculation load.

  • @elbedouirayen7938
    @elbedouirayen7938 6 หลายเดือนก่อน +1

    Thank u for the video please i have a problem, after ctrl+c and reboot lcd didn't work even hdmi screen is working well, what should i do please?

    • @BytesNBits
      @BytesNBits  6 หลายเดือนก่อน

      Did you redo the steps in the video to get the driver software enabled. The reboot might have stopped it so it will need restarting.

    • @palaciosele
      @palaciosele 4 หลายเดือนก่อน +1

      ​@@BytesNBitsI am facing the same issue. When I run the fbcp-ili9341 file, the screen is working and replicates the code that is outputed by the HDMI, but turns to white as soon as I press ctrl + c. What could be the cause of this? I am using a rpi 4B. Thank you in advance, and for the great tutorials!

  • @leontechtalks
    @leontechtalks ปีที่แล้ว

    I got it to run at around 74 FPS with this mod. It’s showing that it’s running at that framerate, but it looks like it’s running at 50.

  • @ЕгорУльянкин-я1ж
    @ЕгорУльянкин-я1ж 9 หลายเดือนก่อน +1

    is this will work with waveshare 35b v2 ?

    • @BytesNBits
      @BytesNBits  9 หลายเดือนก่อน

      If it uses the same driver chip then yes

  • @clicksandbeeps61
    @clicksandbeeps61 ปีที่แล้ว

    Didn’t work with mine :(
    Sprung up an error code
    Checked the controller my lcd uses
    And none of the builds matched my controller :(
    However, did manage to follow your other tutorial to make my display faster! Another thing you can do is overclock the pi with the 800mghz command, and then you can have a slightly-higher-than 24000000 rate, making it slightly faster.

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      Shame about the driver. I hope you're getting a reasonable frame rate.

  • @romiolover6852
    @romiolover6852 2 ปีที่แล้ว

    Great, Thank you a lot, but i wonder if the touch is still working with this new driver ?

    • @BytesNBits
      @BytesNBits  2 ปีที่แล้ว

      Hi. To be honest I haven't tried it out in desktop mode. Hopefully the touch function is separate from the screen driver - I think it is.

  • @alessiocirella3135
    @alessiocirella3135 ปีที่แล้ว

    hi there! i first want to thank you for the great video and explanation.
    i then kindly wanted to ask you how can I solve the "unrecognized command line option" error in cmake. I know this video is a bit old, and so is the project on github, so i first thought there was a conflict between versions... but I don't know if that's right.
    These are the errors I get:
    c++: error: unrecognized command-line option ‘-marm’
    c++: error: unrecognized command-line option ‘-mfloat-abi=hard’
    c++: error: unrecognized command-line option ‘-mhard-float’
    c++: error: unrecognized argument in option ‘-mabi=aapcs-linux’
    c++: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
    c++: error: unrecognized argument in option ‘-mtls-dialect=gnu2’
    c++: note: valid arguments to ‘-mtls-dialect=’ are: desc trad
    and they seem to repeat many times in the output. so any help is appreciated!

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      These look like make file errors. Did you follow the instructions in the video? As you say the video needs updating so it may well be a version issue.

    • @rustom767
      @rustom767 ปีที่แล้ว

      it's because your running 64-bit OS this driver on works for 32-bit

  • @hosniarafet2054
    @hosniarafet2054 4 หลายเดือนก่อน

    You are amazing

    • @BytesNBits
      @BytesNBits  4 หลายเดือนก่อน

      Thank you.

  • @melanie.martinez.is.so.slay.
    @melanie.martinez.is.so.slay. 3 หลายเดือนก่อน

    had to reinstall retropie because it broke thanks mate

    • @BytesNBits
      @BytesNBits  3 หลายเดือนก่อน

      This video needs to be updated. Raspian removed the Linux drivers that the LCD driver relies on earlier this year. To get this to work you need to use a version of raspian from 2023. Hope this helps.

  • @phillangstrom8693
    @phillangstrom8693 3 หลายเดือนก่อน

    ok i tried using the 32b version of raspbian and it still has some extra lines after the green ones but they don't seem to be errors yet when i initialize the driver it go's to a blank dark screen i did try a couple other drivers but the only one that installed with all green still errors during initialization and said make sure hdmi hotplug was enabled in config.txt but that was one of the first things i did this time before installing the driver

    • @BytesNBits
      @BytesNBits  3 หลายเดือนก่อน

      This video needs to be updated. Raspian removed the Linux drivers that the LCD driver relies on earlier this year. To get this to work you need to use a version of raspian from 2023. Hope this helps.

    • @davidesaulozagarcia2904
      @davidesaulozagarcia2904 2 หลายเดือนก่อน

      ​@@BytesNBits Will the new video be out soon? You explain it very clearly, but it didn't work for me, and I have exactly the same screen.

  • @SerVanzu
    @SerVanzu ปีที่แล้ว

    My display is fine in retropie, but whenever i boot an actually game it freezes up. Any idea what causes this?

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      You might have the speeds turned up too high. I found that at the very top speeds Retropie seemed only just stable but gaming screens fell apart.

    • @SerVanzu
      @SerVanzu ปีที่แล้ว

      @@BytesNBits Should I up the clock divisor then? or do you mean something else by speed.

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      @@SerVanzu Yes. Increase the divisor to decrease the serial speed.

  • @mintcarcreative2424
    @mintcarcreative2424 2 ปีที่แล้ว

    Everytime I hit Ctrl C it doesn’t take me back to the command prompt and the tft screen stops mirroring the display? What am I doing wrong?

    • @BytesNBits
      @BytesNBits  2 ปีที่แล้ว

      Hi. I think the Ctrl C is getting picked up by the screen driver software and exiting that. Have you set it to run at startup rather than manually starting it? That should drop it into the background.

  • @Dr.Obscurus
    @Dr.Obscurus ปีที่แล้ว

    Got it working till running main loop when I reboot it doesn't show up on lcd. Pls help

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      Make sure you add the start up script - th-cam.com/video/uz4sa24C4gk/w-d-xo.html

    • @Dr.Obscurus
      @Dr.Obscurus ปีที่แล้ว

      @@BytesNBits thanks. It works wonderfully now. I could barely run super mario world but not it works great. Great tutorial

  • @mangobob1184
    @mangobob1184 ปีที่แล้ว

    How to make screen run smoother?

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      This is about as good as it gets. The driver in this video is optimising the frames to get the framerate up. If you want better you'll need to move to an HDMI display.

  • @Dr.Obscurus
    @Dr.Obscurus ปีที่แล้ว

    Would it be portable though?

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      If you add a battery pack it will be fine. Probably not great battery life but it will be portable.

  • @samuelebaiano6505
    @samuelebaiano6505 10 หลายเดือนก่อน

    help please, i got a lot of errors when i tried to do make -j... what i have to do?
    SOLVED: DO NOT use 64 bit version of rasbian os

    • @BytesNBits
      @BytesNBits  10 หลายเดือนก่อน

      Good to hear you found the solution.

    • @samuelebaiano6505
      @samuelebaiano6505 10 หลายเดือนก่อน

      @@BytesNBits but now the problem is that it doesn't work on retropie os... And your video is on retropie... Wtf? I see white screen, doing the same steps worked for me on raspbian

  • @TamactiJun74
    @TamactiJun74 7 หลายเดือนก่อน

    Quando scrivi make -j dopo tutto il procedimento mi da errore…….perche ?

    • @BytesNBits
      @BytesNBits  7 หลายเดือนก่อน

      I'm not sure. Did you follow all the steps and did the source code download OK. Have you got the compiler installed and updated.

  • @helloworld669
    @helloworld669 ปีที่แล้ว

    Im getting unrecognized command-line option error

    • @helloworld669
      @helloworld669 ปีที่แล้ว

      It stopped at 53%

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      Which part did it crash on?

  • @rghazt
    @rghazt 2 ปีที่แล้ว

    I cant do hash button

    • @BytesNBits
      @BytesNBits  2 ปีที่แล้ว

      Is it just your keyboard doesn't have one or are you having a problem getting it to register?

    • @rghazt
      @rghazt 2 ปีที่แล้ว

      @@BytesNBits keybord

  • @umutkayacan7659
    @umutkayacan7659 3 ปีที่แล้ว

    nice

  • @katokira260
    @katokira260 ปีที่แล้ว

    cool you save me
    does this effect on cpu ?

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      Hi. It will have some effect on the overall RPi speed as there are a lot more calculations going on. Hard to say how much. You'd need to play around.

  • @jarkin94
    @jarkin94 ปีที่แล้ว

    Hi great video, very helpful! struggling with getting the screen to boot each time the pi is restarted. I am running PINN and then booting into RetroPi, i have added the "sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 &" line to my rc.local file but hasnt worked.
    once the pi has booted if i SSH in and run "sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 &" the screen starts. Any ideas on how to correct this?

    • @BytesNBits
      @BytesNBits  ปีที่แล้ว

      I suspect either your rc.local file isn't being run or something after that is resetting the display. You'd need to trace through to find out what's happening.

  • @phillangstrom8693
    @phillangstrom8693 3 หลายเดือนก่อน

    i get to this point {make -j} and it starts a few lines then errors down the rest of the page c++: error: unrecognized command-line option ‘-marm’
    c++: error: unrecognized command-line option ‘-mhard-float’
    c++: error: unrecognized argument in option ‘-mabi=aapcs-linux’
    c++: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
    c++: error: unrecognized argument in option ‘-mtls-dialect=gnu2’
    c++: note: valid arguments to ‘-mtls-dialect=’ are: desc trad
    c++: error: unrecognized argument in option ‘-mabi=aapcs-linux’
    c++: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
    c++: error: unrecognized argument in option ‘-mtls-dialect=gnu2’
    c++: note: valid arguments to ‘-mtls-dialect=’ are: desc trad
    c++: error: unrecognized command-line option ‘-marm’
    c++: error: unrecognized argument in option ‘-mabi=aapcs-linux’
    c++: note: valid arguments to ‘-mabi=’ are: ilp32 lp64
    c++: error: unrecognized argument in option ‘-mtls-dialect=gnu2’
    c++: note: valid arguments to ‘-mtls-dialect=’ are: desc trad
    i should mention i am trying this on raspbian 64

    • @BytesNBits
      @BytesNBits  3 หลายเดือนก่อน

      The LCD driver does rely on a bit of Linux that had been replaced in the latest raspian versions. You might need to install a 2023 version to get this to work. I need to update this video but I don't think a new driver has been written yet.

    • @davidesaulozagarcia2904
      @davidesaulozagarcia2904 2 หลายเดือนก่อน +1

      @@BytesNBits Could you explain how to install a 2023 version?