• 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

Cannot get RetroPie to work on 7 inch GPIO screen (Error creating SDL window)

Scheduled Pinned Locked Moved Help and Support
raspberry pi 4gpiowavesharewaveshare 7 insdl window
3 Posts 2 Posters 817 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.
  • J
    jfaz1
    last edited by jfaz1 11 Jul 2021, 04:42 7 Nov 2021, 04:41

    Hello,

    I recently got one of these WaveShare GPIO screens that I was hoping to use with my RPi4:
    https://www.waveshare.com/wiki/7inch_LCD_for_Pi

    It works fine on Raspberry Pi OS (after adding the boot config lines in the wiki above), but unfortunately I have not been able to get it to work with RetroPie. I get display, and eventually end up in the terminal, with the following errors printed at the top of the screen:
    lvl0: Error creating SDL window!
    lvl0: Renderer failed to initialize!
    lvl0: Window failed to initialize!
    My guess is it's a display issue related to EmulationStation, but I have no idea how to go about this. Here's my config.txt:
    https://pastebin.com/DAUgtnzs

    Any help is greatly appreciated!

    M 1 Reply Last reply 7 Nov 2021, 04:47 Reply Quote 0
    • M
      mitu Global Moderator @jfaz1
      last edited by 7 Nov 2021, 04:47

      @jfaz1 said in Cannot get RetroPie to work on 7 inch GPIO screen (Error creating SDL window):

      Here's my config.txt:
      https://pastebin.com/DAUgtnzs

      Your configuration disables the GPU drivers for the Pi4:

      [pi4]
      # Enable DRM VC4 V3D driver on top of the dispmanx display stack
      #dtoverlay=vc4-fkms-v3d
      max_framebuffers=2
      dpi_timings=1024 1 40 48 128 600 1 13 3 45 0 0 0 60 0 37000000 6
      

      You need to enable the vc4-fkms-v3d overlay, otherwise RetroPie and its included programs will not work.

      J 1 Reply Last reply 7 Nov 2021, 04:50 Reply Quote 0
      • J
        jfaz1 @mitu
        last edited by 7 Nov 2021, 04:50

        @mitu that was crazy fast, thank you! Just uncommented it and it actually worked. I thought it was being overriden by the one in [all] but I'm happy to be wrong.
        Again, thank you!

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          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