Error creating SDL window
-
@Dja480 said in Emulation station not running. Failed to add service already in use?:
When I looked up on how to solve this issue most people said to edit the config.txt file and delete dtoverlay=`.
That's not correct, a Pi4 will not work withtout either the
vc4-fkms-v3d
(which is the default) or thevc4-kms-v3d
overlays. Please add back the overlay in order for the GPU drivers to work. -
@mitu I never had it to begin with so im a little confused on what I should be doing
-
@Dja480 said in Emulation station not running. Failed to add service already in use?:
@mitu I never had it to begin with so im a little confused on what I should be doing
RetroPie's Pi4 image from retropie.org.uk/download has it, so did the original Raspbian Lite image which is based on. Which RetroPie image are you using ?
Please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first to your post.
-
@mitu Pre made from RetroPie website pi4 image
-
The pre-made image (Pi4, 4.7.1) from RetroPie doesn't have the configuration file (
config.txt
) you posted. You either copy/pasted the wrong configuration in that file (/boot/config.txt
) or you're not actually using the RetroPie pre-made image.Maybe the guide you've used replaces the config, but that just means the configuration produed is not compatible with the Pi4 and some other configuration is needed, one that's compatible with the Pi4.
-
@mitu ive reinstalled retropie 4.7.1 from the website and connected the LCD and this is the config.txt it had given me: https://pastebin.com/pM1Gx1RL
-
@Dja480 This is the more or less the same configuration you posted before, and it's not the default that comes with the image.
As I said at the beginning, without the following line the Pi4's GPU drivers will not work:
# Enable DRM VC4 V3D driver dtoverlay=vc4-fkms-v3d
The instructions/script you are using for the LCD configuration are disabling the GPU drivers on the Pi4, making RetroPie (EmulationStation and emulators) unusable.
-
@mitu I see, wait so whats the fix to this.
-
I don't know, have you tried asking the vendor for Pi4 compatible instructions ? I don't have one of these screens and there doesn't seem to be a 'one-size-fits-all' recipe to configure one.
If there's no such configuration possible, then maybe buying a LCD screen what's advertised as fully compatible with Pi4 and sending back the current one ?
-
@mitu says its compatible with all versions of raspberry pi on the website: https://www.waveshare.com/wiki/3.5inch_RPi_LCD_(A)
-
When the installation instructions for the Pi4 are disabling the GPU drivers from the configuration file, I'd not call this screen 'compatible' with Pi4/Pi5.
Regardless, there's basically nothing that RetroPie can do to make it work - the configuration is up to the operating system (RaspiOS). You may ask in the Raspbrry Pi forums for instructions on how to make this work with the latest RaspiOS without disabling the GPU drives as it's 'advertised' by Waveshare.
-
@mitu aight thanks for the suggestion and help man, sorry for my lack of knowledge of this stuff its my first time dealing with computers and such.
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.