General Category > General Discussion & Help
Black screen hang on startup
lordbah:
When I launch RetroFE it creates a full screen black window and simply hangs. Has to be killed by "kill -9 <pid>". Never any image, text, or video, nor any chance to select a system or game since none are ever shown.
PopOS 22.04 (Ubuntu Linux). Display is 1920x1080. RetroFE version 0.10.31.
Last few lines of log.txt:
--- Code: ---[2024-07-24 18:26:59] [INFO] [Database] Opened database "/home/lordbah/RetroFE/meta.db"
[2024-07-24 18:26:59] [INFO] [Layout] Layout resolution 1920x1080 (scale 1x1)
[2024-07-24 18:26:59] [ERROR] [FontCache] Could not open font: Couldn't open /home/lordbah/RetroFE/layouts/Aeon Nox//Roboto-Bold.ttf
[2024-07-24 18:26:59] [INFO] [Layout] Initialized
[2024-07-24 18:26:59] [INFO] [Layout] Initializing /home/lordbah/RetroFE/layouts/Aeon Nox/splash 16x9 - 0.xml
[2024-07-24 18:26:59] [INFO] [Layout] could not find layout file: /home/lordbah/RetroFE/layouts/Aeon Nox/splash 16x9 - 0.xml
[2024-07-24 18:26:59] [INFO] [Layout] Initializing /home/lordbah/RetroFE/layouts/Aeon Nox/splash - 0.xml
[2024-07-24 18:26:59] [INFO] [Layout] could not find layout file: /home/lordbah/RetroFE/layouts/Aeon Nox/splash - 0.xml
--- End code ---
Assuming the font is the problem, the closest font installed is called "Roboto Slab, Bold". But of course it's not in the Aeon Nox directory.
Changing the font name in splash.xml to RobotoSlab-Bold.ttf changed only the error message in log.txt.
Removing any reference to font from splash.xml changed the error message to:
--- Code: ---[2024-07-24 18:49:22] [ERROR] [FontCache] Could not open font: SDL_RWFromFile(): No file or no mode specified
--- End code ---
It appears this is the only layout included in the app download. I suppose I could look for other layouts and see how they behave.
lordbah:
I tried Ergo Proxy. First it logged a bunch of errors and exited.
--- Code: ---libpng warning: iCCP: known incorrect sRGB profile
--- End code ---
After a short web search I installed imageMagick and used mogrify to remove the incorrect profiles.
Now, it draws a green outline box in the middle of the screen and then immediately exits with a segmentation fault. This time there are no ERRORs in the log file.
--- Code: ---[2024-07-24 23:31:05] [INFO] [Layout] Initialized
[2024-07-24 23:31:05] [INFO] [Layout] Initializing /home/lordbah/RetroFE/layouts/Ergo Proxy/layout 16x9 - 0.xml
[2024-07-24 23:31:05] [INFO] [Layout] could not find layout file: /home/lordbah/RetroFE/layouts/Ergo Proxy/layout 16x9 - 0.xml
[2024-07-24 23:31:05] [INFO] [Layout] Initializing /home/lordbah/RetroFE/layouts/Ergo Proxy/layout - 0.xml
[2024-07-24 23:31:05] [INFO] [Layout] could not find layout file: /home/lordbah/RetroFE/layouts/Ergo Proxy/layout - 0.xml
[2024-07-24 23:31:05] [INFO] [CollectionInfoBuilder] Checking for "/home/lordbah/RetroFE/collections/Main/include.txt"
[2024-07-24 23:31:05] [INFO] [CollectionInfoBuilder] Scanning directory "/home/lordbah/RetroFE/collections/Main/roms"
[2024-07-24 23:31:05] [INFO] [Menu] Found: "/home/lordbah/RetroFE/collections/Main/menu.txt"
--- End code ---
Aside: in both of these layouts, in splash.xml, do we not want the logo comment closed earlier, perhaps right after the image element? It looks like it's commenting out everything through statusText.
lordbah:
segfault with either core or core 1.4.
With the source and vscode/gdb I can see there is an exception but not what it is. (after mogrifying the .png files in Ergo Proxy)
Call stack attached, hopefully. But it's in gstreamer video land.
lordbah:
I'm about at my wit's end here. No matter how I build it the retrofe executable does not contain debug symbols according to gdb - though it does say "not stripped".
You know, I suspect that --clean-first isn't really cleaning, since some of the timestamps in RetroFE/Build/CMakeFiles/retrofe.dir are hours too old. link.txt is not showing the -ggdb argument.
I need the --I-said-CLEAN-damn-it argument.
lordbah:
Did some manual cleaning and finally got symbols. It's choking in Page.cpp trying to iterate menus. Maybe now I can finally get somewhere.
Navigation
[0] Message Index
[#] Next page
Go to full version