RetroFE forums

General Category => General Discussion & Help => Topic started by: wdlwmp on May 14, 2021, 09:05:20 PM

Title: crashes immedately when starting
Post by: wdlwmp on May 14, 2021, 09:05:20 PM
When I start the program from the shortcut or the EXE itself, nothing happens.  The last few lines of the log file are:

Quote
[2021-05-13 19:41:26] [INFO] [Configuration] Dump: "collections.Sega Genesis.launcher" = "Sega Genesis"
[2021-05-13 19:41:26] [INFO] [RetroFE] Imported configuration
[2021-05-13 19:41:26] [INFO] [SDL] Initializing
[2021-05-13 19:41:26] [ERROR] [SDL] Initialize failed: Couldn't create the sensor manager: This program is blocked by group policy. For more information, contact your system administ
[2021-05-13 19:41:26] [INFO] [RetroFE] Exiting
[2021-05-13 19:41:26] [INFO] [SDL] DeInitializing

The Windows event viewer picks it up as an APPCRASH.  The computer isn't on a domain, and is running Windows 10 Home.  Has anybody else experienced this and found a solution?
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 15, 2021, 08:26:55 AM
Which version are you running and on what operating system?
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 15, 2021, 06:19:40 PM
This is version 0.10.21 (freshly downloaded and extracted), running on Windows 10 Home 20H2.

Here's a new logfile paste, if it's helpful:

Quote
[2021-05-15 10:07:33] [INFO] [RetroFE] Version 0.10.21 starting
[2021-05-15 10:07:33] [INFO] [RetroFE] OS: Windows
[2021-05-15 10:07:33] [INFO] [RetroFE] Absolute path: J:\RetroFE
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings_saved.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings_saved.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings9.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings9.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings8.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings8.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings7.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings7.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings6.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings6.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings5.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings5.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings4.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings4.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings3.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings3.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings2.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings2.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings1.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Could not open J:\RetroFE\settings1.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\settings.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "fullscreen" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "horizontal" = "stretch"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "vertical" = "stretch"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "layout" = "Aeon Nox"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "hideMouse" = "yes"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "showParenthesis" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "showSquareBrackets" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "videoEnable" = "yes"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "videoLoop" = "0"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "unloadSDL" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "minimize_on_focus_loss" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "firstPlaylist" = "all"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "autoPlaylist" = "favorites"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "cyclePlaylist" = "all,favorites"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "lastplayedSize" = "0"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "lastplayedCollectionSize" = "0"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "firstCollection" = "Main"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "startCollectionEnter" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "enterOnCollection" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "backOnCollection" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "exitOnFirstPageBack" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "collectionInputClear" = "yes"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "subsSplit" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "prevLetterSubToCurrent" = "no"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "rememberMenu" = "yes"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "backOnEmpty" = "yes"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "attractModeTime" = "120"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "attractModeNextTime" = "30"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "attractModePlaylistTime" = "0"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "attractModeCollectionTime" = "0"
[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\launchers.windows\Amstrad GX4000.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "launchers.amstrad gx4000.executable" = "emulators\MAME\mame64.exe"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "launchers.amstrad gx4000.arguments" = "gx4000 -cart "%ITEM_FILEPATH%""

--- snipped out a bunch of importing and dumps ---

[2021-05-15 10:07:33] [INFO] [Configuration] Importing "J:\RetroFE\collections\Sega Genesis\settings.conf"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "collections.Sega Genesis.list.includeMissingItems" = "true"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "collections.Sega Genesis.list.extensions" = "zip"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "collections.Sega Genesis.list.menuSort" = "true"
[2021-05-15 10:07:33] [INFO] [Configuration] Dump: "collections.Sega Genesis.launcher" = "Sega Genesis"
[2021-05-15 10:07:33] [INFO] [RetroFE] Imported configuration
[2021-05-15 10:07:33] [INFO] [SDL] Initializing
[2021-05-15 10:07:33] [ERROR] [SDL] Initialize failed: Couldn't create the sensor manager: This program is blocked by group policy. For more information, contact your system administ
[2021-05-15 10:07:33] [INFO] [RetroFE] Exiting
[2021-05-15 10:07:33] [INFO] [SDL] DeInitializing

Title: Re: crashes immedately when starting
Post by: BritneysPAIRS on May 16, 2021, 08:19:24 AM
You will have multiple monitors. If you make monitors = 3 In the settings this will fix this but will blank other monitors. It will work with 1 2 or 3 monitors then.
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 16, 2021, 05:37:55 PM
Unfortunately, no luck.  I got the same results with monitors = 3 and numScreens = 3.  Nothing ever displays on the screen.

Strangely enough, CoinOPS runs fine on this computer.
Title: Re: crashes immedately when starting
Post by: BritneysPAIRS on May 16, 2021, 09:06:46 PM
Copy the settings.conf monitor part(all of it) from coinops I had issues untill I set all monitors up this way.

Do you have 2 or 3 montiors?
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 17, 2021, 05:43:14 AM
Still the same result, but thank you for the suggestions.  I have 2 monitors.
Title: Re: crashes immedately when starting
Post by: BritneysPAIRS on May 17, 2021, 10:20:27 AM
ok try disconnecting one monitor and running it? if so I can think of few other things that may fix this
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 18, 2021, 02:26:11 PM
No luck yet. 
My video card has 1 DVI port, 1 HDMI, and 3 Displayports.  Right now I'm hooked up to the HDMI and DVI, and I tried both individually. 
As an experiment, I've ordered a Displayport to HDMI cable.  I doubt that'll fix things, but I've seen stranger things happen before.
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 18, 2021, 03:32:42 PM
I wonder if it might be a problem with this newer version of RetroFE.  I just downloaded 0.10.0 and it loads up with no problems. 

The CoinOPS builds that also work are using 0.10.6, 0.10.5, and 0.9.13
Versions I've found that immediately quit with this same error are 0.10.17, 0.10.20, and 0.10.21

Is there somewhere to download the versions between 0.10.6 and 0.10.17?  I can try them all to help pinpoint which version stops working.
Title: Re: crashes immedately when starting
Post by: BritneysPAIRS on May 20, 2021, 12:25:33 AM
Are you running win10 N if so you need the media player addon for this to work now
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 20, 2021, 02:45:46 PM
Nope, this is regular Windows 10 Home -- version 20H2 (OS Build 19042.985).
The new displayport to HDMI cable doesn't seem to help anything, unfortunately.
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 20, 2021, 03:40:23 PM
This problem probably got introduced when I added support for multiple monitors or when I switched to the latest SDL and gstreamer libraries. I will do some searching.

Sent from my SM-G950F using Tapatalk

Title: Re: crashes immedately when starting
Post by: BritneysPAIRS on May 21, 2021, 05:12:27 AM
I have someone else reporting the same thing at present its rare though
Title: Re: crashes immedately when starting
Post by: Doctrine5D on May 23, 2021, 12:36:22 PM
I have someone else reporting the same thing at present its rare though

I have the same problem; SDL crash with version 0.10.20.
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 24, 2021, 08:11:47 AM
I have someone else reporting the same thing at present its rare though

I have the same problem; SDL crash with version 0.10.20.

Do you have multiple monitors as well?
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 26, 2021, 01:22:00 AM
In case it helps narrow stuff down, I still had the error after disconnecting one monitor (leaving only one connected to the computer) and rebooting.
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 26, 2021, 02:56:26 PM
It does. As far as I can tell, this was caused by the update to the latest SDL library. This update enables support for sensors, e.g. force feedback, gyro measurement, etc. RetroFE initializes everything by default, but apparently some Windows installations restrict access to those sensors. I'll have to run some trial and error tests (since I cannot reproduce the problem on my own systems) to see which of the flags causes this issue, and to see whether RetroFE can do without that flag.
https://wiki.libsdl.org/SDL_Init
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 26, 2021, 06:32:31 PM
I'm happy to help test, if you'd like.  My system is very reliable at failing this way.
Title: Re: crashes immedately when starting
Post by: Doctrine5D on May 28, 2021, 05:28:32 PM
I have someone else reporting the same thing at present its rare though

I have the same problem; SDL crash with version 0.10.20.

Do you have multiple monitors as well?

I have one monitor only.
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 29, 2021, 10:36:43 AM
Ok, try this executable. It should still crash, but if you upload the log file it should at least show me WHY it crashes. I should be able to fix it from there.
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 29, 2021, 04:57:41 PM
Very strange.  Unfortunately (I think) this one didn't crash and it started up fine.
Title: Re: crashes immedately when starting
Post by: Doctrine5D on May 29, 2021, 05:42:50 PM
Ok, try this executable. It should still crash, but if you upload the log file it should at least show me WHY it crashes. I should be able to fix it from there.

It works. Did you modified SDL Function ?
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 29, 2021, 07:17:45 PM
That’s odd. I replaced the initialize everything with an initialize for each individual subsystem. Unless they forgot to update their documentation, this should have crashed....
Oh well, if it works, it works.
Title: Re: crashes immedately when starting
Post by: Pieter Hulshoff on May 30, 2021, 11:27:37 AM
Turns out they forgot to update the documentation. I just checked the source code, and there’re an additional flag in the latest versions that initializes the sensors.
Title: Re: crashes immedately when starting
Post by: wdlwmp on May 30, 2021, 05:01:48 PM
Nice find -- thank you!