"Error Creating SDL Window!": LCD-show
-
Just bought a 7 inch screen that I was going to use for the RetroPie, and when I put in the commands:
sudo rm -rf LCD-show
got clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD7C-showIt refreshed, and the error in the title appears. When I tried to enter:
emulationstation
It just repeats the error. Any help is appreciated, thanks. -
Please add more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
Are you using a Pi4 ?
-
@mitu
Raspberry Pi 4 Model B
Mophie 20k power bank, with RAVIAD cable
retropie-buster-4.6-rpi4.img
Keyboard, 32GB USB, GeekPi controller, and 7 inch display -
Check your
config.txt
and make sure you have the next 2 lines uncommented:dtoverlay=vc4-fkms-v3d max_framebuffers=2
-
@mitu Worked perfectly mitu, thanks a lot. Can you explain what that did?
-
@BeanFT re-enabled the fkms gfx drivers. You either disabled them or a script did. A couple of other had this issues after filling some LCD guide, maybe there's some bad instructions on an external site.
-
@BuZz Got it working thanks to mitu. The manual just instructed on the code in the initial question. If you could, what does the "fx" and all those lines of code mean? Thanks again.
-
gfx = the GPU (Graphics) drivers, the Pi4 has a different driver which is enabled by the lines in the
config.txt
. As @BuZz said, the script doesn't add the lines to the file, it's probably geared towards previous Pi models, where the lines were not needed. -
Perfect, thanks for the help mitu & BuZz 😁
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.