emulationstation fails to launch
-
No idea why it's not working - ES uses libSDL as provided by Ubuntu or the Linux distro where it's installed, which in turn relies on the OpenGL support provided by X.org (GLX).
-
@mitu Do you know if there is a commandline to call the output of libsdl the same way ES does?
Maybe compare the AMD, Nvidia, Nouvea, Standard outputs?
-
Usually
glxinfo
should show if accelerated OpenGL is supported. For SDL, you could download the library and compile thetests
folder - there are specific OpenGL tests that can be run to test libSDL. -
Heres the output from glxinfo AMD driver ES not working
https://pastebin.com/FQqDbjmCEDIT: From a fresh install & updated no AMD drivers ES working. https://pastebin.com/xjcZ52Fd
-
@johnston Can you try installing the
emulationstation-dev
package from the experimental section and see if it works with the proprietary drivers ? -
@mitu Unless it has had an attempt at a fix in the mean time, the Dev version did the exact same thing.
But ATM I'm back on the standard drivers.
If there's been an attempt at a fix I'll give it a go and reinstall but I don't want to do that if there hasn't because I've found to get back to 100% stock it takes a fresh install.
-
@johnston said in emulationstation fails to launch:
@mitu Unless it has had an attempt at a fix in the mean time, the Dev version did the exact same thing.
There was, that's why I asked. There was a modification on the
master
branch, not thestable
, hence theemulationstation-dev
installation. -
@mitu I shall give that a go then
EDIT: We have a fix for the AMD side at least
Jan 29 14:14:08 lvl3: fireEvent: game-end Jan 29 14:14:08 lvl2: Creating window... Jan 29 14:14:08 lvl2: Created window successfully. Jan 29 14:14:08 lvl2: GL vendor: X.Org Jan 29 14:14:08 lvl2: GL renderer: Radeon RX 580 Series (POLARIS10, DRM 3.38.0, 5.8.0-7630-generic, LLVM 10.0.1) Jan 29 14:14:08 lvl2: GL version: 4.6 (Compatibility Profile) Mesa 20.1.6 Jan 29 14:14:08 lvl2: Checking available OpenGL extensions... Jan 29 14:14:08 lvl2: ARB_texture_non_power_of_two: ok
-
@johnston Thanks for the follow-up, let's hope this will fix similar issues in the future.
-
I am having this similar issue. Wondering if there is way to run EmulationStation with Nvidia proprietary driver.
-
@darkblaster77 Have you tried the solution from this topic ?
-
I am not mistaken, the solution is for AMD graphic card.
My setup is as follows
Processor: Intel Core2Duo T6600
RAM: 4GB
Graphic: Nvidia GeForce G105M
O/S: Ubuntu 20.04.2 LTS
RetroPie Version: 4.7.11My current workaround is to use the Nouveau display driver.
-
@darkblaster77 said in emulationstation fails to launch:
I am not mistaken, the solution is for AMD graphic card.
Nobody said it's just for AMD cards. Try installing the
-dev
package and see if it works. -
@mitu
Tried running on emulationstation-dev. It is still not working for me. -
@darkblaster77 said in emulationstation fails to launch:
Tried running on emulationstation-dev. It is still not working for me.
Run EmulationStation with the
--debug
parameter, then get the log from$HOME/.emulationstation/es_log.txt
and post it on pastebin.com. -
Please see the es_log.txt at the link below
https://pastebin.com/6MrtX2ANNot sure if it is useful. It displays the following errors.
Mar 17 21:45:13 lvl2: EmulationStation - v2.10.0rp-dev, built Mar 17 2021 - 21:35:43 Mar 17 21:45:13 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamenames.xml"... Mar 17 21:45:13 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamebioses.xml"... Mar 17 21:45:13 lvl2: Parsing XML file "/opt/retropie/supplementary/emulationstation-dev/resources/mamedevices.xml"... Mar 17 21:45:13 lvl2: Creating window... X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext) Value in failed request: 0x0 Serial number of failed request: 87 Current serial number in output stream: 88
-
@darkblaster77 said in emulationstation fails to launch:
X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 3 (X_GLXCreateContext)
This looks like a failure to create an OpenGL context. Do you have accelerated OpenGL working ? Run
glxinfo
and post the output on pastebin.com also. -
The output is as follows
https://pastebin.com/YMRS6d94 -
@darkblaster77 said in emulationstation fails to launch:
The output is as follows
https://pastebin.com/YMRS6d94This shows an error - there's no OpenGL support. I think your NVIDIA driver installation is broken - it's not an EmulationStation issue.
-
@mitu
Thanks for the help.After some reading up, found that the Nvidia driver 340.108 has already EOL.
Last supported was for Kernel version 5.4.Perhaps this is the reason why the driver is not running well in the latest Ubuntu.
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.