Sign in to follow this  
psolov

P3d V4 Will Not Startup - Black Screen after Initialization

Recommended Posts

Hello - I have been using P3dV4 for about a month now, and suddenly today the program will not start. Once I run the program, the initial splash screen appears, and then the screen goes black permanently, so it never gets to the scenarios screen. I tried doing a repair from the programs list, and also deleted the prepar3d.cfg file for a rebuild. I have not added anything since I last ran the program two days ago, so I am at a complete loss as to what is up. I have a pretty good system so no issues there. I did run the Microsoft compatibility test for the heck of it, and it came back with "prepar3d is not compatible." I can't for the life of me figure out what's doing, but any ideas would be greatly appreciated. I did notice the post from earlier but I don't have PTA installed, so perhaps my issue is different.

Cheers, Pete

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

I had a similar issue with the previous version. I got it running again by uninstalling and then re-installing the P3d client..same process for performing an update..not sure why this happens.

Share this post


Link to post

Thanks Peter, I will give that a shot...iI would hate to have to do a complete reinstall!

Cheers, Pete

Share this post


Link to post

I had also considered a full re-install, but then realized that the P3D client re-installation is all that is needed since V3. After that, P3D started up normally with no disruption to my installation. I'm not sure why this black screen event occurs. Maybe some interference from Antivirus software? Let me know your progress.

Share this post


Link to post

Will do, won't be able to try it out until tomorrow due to hockey which has taken over my life! Don't remember this craziness in my playing days!

Cheers, Pete

Share this post


Link to post

Well...no luck on the reinstall of P3d client, run P3d, splash screen, and then nothing. This is very confusing, as I added nothing before the issues started, and now I am hesitant to do a complete reinstall. There is a part of me that may want to get a refund while I'm still within the 60 days, because who is to say this will not happen again. It's moments like these that remind me of why I keep the fridge stocked with beer. I guess will think about it for a few days, but any other ideas will be most welcomed.

Cheers, Pete

  • Upvote 1

Share this post


Link to post

Not sure if you installed the new objectflow.dll from Orbx but I had a similar issue and I heard it could be related. I copy and pasted below the method I used when the scenario screen did not load.

"If you can't even get to the scenario screen when the ObjectFlow dll is active, you can try this:"

 

Go into the Windows registry (run regedit.exe) and look in path
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\

 

If there is a key for "Prepar3D.exe" in there with a value of "$ IgnoreFreelibrary<Orbx_ObjectFlow_x64.dll>" delete that key. Then P3D should start again with OF enabled.

Share this post


Link to post

I had a similar issue the other day and was about to give up. I didn't want to reinstall P3D from scratch either. Any luck on resolving your issue? Has any of the above methods worked for you?

Share this post


Link to post

At startup of P3DV4, it reads your dll.xml and loads all of the modules.  It also looks at your scenery.cfg.  I suspect it is the scenery.cfg as that can get corrupted easily as it has to be encoded properly and, if you tried to install an add-on manually using the SceneryConfigEditor, opening the Scenery.cfg into Notepad, it may get corrupted and destroy P3D.  Only solution is to delete the scenery.cfg and the dll.xml located in the same folder as the scenery.cfg (it will be rebuilt) and possibly another dll.xml in the same folder as your p3d.cfg (old default).

13 minutes ago, captain420 said:

I had a similar issue the other day and was about to give up. I didn't want to reinstall P3D from scratch either. Any luck on resolving your issue? Has any of the above methods worked for you?

You have subsequently been posting other issues with P3DV4 while P3D was started up.  I do not understand why you would post this when you now have P3D running and working on issues with add-ons and about everything else that could possibly happen when using P3D.

Best regards,

Jim

Share this post


Link to post
Just now, Jim Young said:

At startup of P3DV4, it reads your dll.xml and loads all of the modules.  It also looks at your scenery.cfg.  I suspect it is the scenery.cfg as that can get corrupted easily as it has to be encoded properly and, if you tried to install an add-on manually using the SceneryConfigEditor, opening the Scenery.cfg into Notepad, it may get corrupted and destroy P3D.  Only solution is to delete the scenery.cfg and the dll.xml located in the same folder as the scenery.cfg (it will be rebuilt) and possibly another dll.xml in the same folder as your p3d.cfg (old default).

You have subsequently been posting other issues with P3DV4 while P3D was started up.  I do not understand why you would post this when you now have P3D running and working on issues with add-ons and about everything else that could possibly happen when using P3D.

Best regards,

Jim

Jim, the reason for my post was so that I can help out, seems like he was having very similar issues to me. I guess you misunderstood my post. I just wanted to compare notes so that I can shed some information to help a fellow simmer out.

Share this post


Link to post

Okay.  Sorry.  Just thought maybe you would have posted how you were able to fix your issue so he could get his problem fixed.  Whenever someone has a black screen at startup of P3DV4 and found a fix, I would hope you would tell us how you fixed it.  Hope you can help him out!!!

Best regards,

Jim

Share this post


Link to post

Thanks again guys, so I tried the fix above from Rydah's post, and I'm not sure to delete this: My path says "$ IgnoreFreelibrary<bglmanx64.dll, but nothing about Orbx. Come to think about it, I purchased Orbx KSAN before I tried running P3d that day, but had not yet installed. Perhaps I may have updated Orbx libraries. Does any of this help?

Cheers, Pete

Share this post


Link to post

Just curious, if it ends up that I need to delete the scenery.cfg file, what would have to be reinstalled besides the the third party airports, etc.? For instance, would ASN16 and MyTraffic6 need to be reinstalled? The beer has been opened, thanks again for your help guys.

Cheers, Pete

Share this post


Link to post
1 hour ago, psolov said:

Just curious, if it ends up that I need to delete the scenery.cfg file, what would have to be reinstalled besides the the third party airports, etc.? For instance, would ASN16 and MyTraffic6 need to be reinstalled? The beer has been opened, thanks again for your help guys.

Cheers, Pete

The scenery.cfg will be rebuilt to the default and coded properly so that it can be read.  If you want to add scenery, you will have to load P3D and go to the Scenery Library and add the scenery.  For MyTraffic6 all you need to do is browse to the MyTraffic6 folder and add it to your Scenery Library.

2 hours ago, psolov said:

My path says "$ IgnoreFreelibrary<bglmanx64.dll

The bglmanx64.dll is loaded via your dll.xml.  It is part of FSDT.  You should have a FSDT Update Icon on your desktop (if not you need to go on FSDT site and download the latest Standalone Addon Manager and run it).  If the FSDT Update icon is on your desktop, then run that and it will fix your FSDT stuff in the dll.xml and elsewhere.  For V4 it will make add-on.xml's.  It does a great job.  Most other scenery is not V4 compatible yet.  MyTraffic6 is okay except there are a lot of AI textures made for FS9 that are not compatible and, when they are called to be rendered, your sim will crash (and maybe burn).  It's best you dump the dll.xml and delete it as I suggested above.  You will have to reinstall AS16 and any PMDG aircraft.  The AVSIM CTD Guide shows you images of how to disable individual entries in the dll.xml. 

Best regards,

Jim

Share this post


Link to post

Hi Jim - Thanks again for your help. I have run the FSDT updater, and I don't have any PMDG aircraft for P3d since I didn't want to re-buy (I have all of them for fsx). I use the I-Fly 737 for P3dV4 and also have the Aerosoft CRJ. Since I have only had P3dV4 for a few weeks, I have not really installed any other aircraft so far. I will give a shot at deleting the dll.xml and cross my fingers!

Cheers, Pete

Share this post


Link to post

Jim you are a genius! Deleting that dll.xml file did it! Thanks..you saved me many hours of frustration and probably beer guzzling! I have another question perhaps you can answer: I am trying to delete my LatinVFR KSAN scenery from the scenery library and I can't because it is grayed out. I have never seen this, but I want to install the Orbx KSAN. Any idea how to kill this?

Cheers, Pete

Share this post


Link to post
7 hours ago, psolov said:

Jim you are a genius! Deleting that dll.xml file did it! Thanks..you saved me many hours of frustration and probably beer guzzling! I have another question perhaps you can answer: I am trying to delete my LatinVFR KSAN scenery from the scenery library and I can't because it is grayed out. I have never seen this, but I want to install the Orbx KSAN. Any idea how to kill this?

Cheers, Pete

Jim is quite an expert in this regard! Have you checked out his CTD Guide? Glad you got sorted.

Share this post


Link to post
1 hour ago, Peter Webber said:

I am trying to delete my LatinVFR KSAN scenery from the scenery library and I can't because it is grayed out. I have never seen this, but I want to install the Orbx KSAN. Any idea how to kill this?

LatinVFR KSAN appears to be properly installed as it is installed using the add-on.xml method.  You can remove LatinVFR if you are using the Lorby Si Addon Manager for P3DV4, go to Documents/Prepar3D v4 Add-ons and delete the Latin VFR entry, OR open up P3DV4 and once started, click on Options/Addons and delete the entry.

Best regards,

Jim

Share this post


Link to post

Thanks to all of you for your help! I think P3dv4 has reduced me back to a novice again!

Cheers, Pete

Share this post


Link to post

Hey all, I'm wondering if anyone has any more insight to this issue.  I'm convinced that P3Dv4 has a self-corrupting dll.xml file.  I will run P3D just fine today and then tomorrow it loads to the black screen, and if I delete the dll.xml file it regenerates a new one and works just fine.  Because I don't want to keep uninstalling and reinstalling my addons I've made a copy of the working dll.xml file and placed it on my desktop in the hopes I can just copy it back when P3D loads to a black screen.  Now this doesn't work either despite not changing it from the one that worked.  Ive tried notepad++ and taken a look at both my current one and the working one and don't see any difference in the formatting.  I've tried copying over the entries from one to the other and that doesn't seem to work either.  Any suggestions?

Share this post


Link to post
23 minutes ago, hilds434 said:

I'm convinced that P3Dv4 has a self-corrupting dll.xml file.

It that was the case, we would be seeing a fix immediately from LM.  There are two dll.xml's.  One is in the same folder as your p3d.cfg and the other (the new default location) is in the same folder as the scenery.cfg.  If you delete the one in the scenery.cfg, it will be rebuilt and coded properly.  If you delete the one in the same folder as the p3d.cfg, it will not be rebuilt and those products will have to be reinstalled or you will have to copy over the entries into a properly coded dll.xml inside of Notepad+++.  It's my understanding that all of the xml's now have to be formatted/coded in utf-8 or utf-16 (my stuff is coded in utf-8 format).  You have to open it up in Notepad+++ . Notepad+++ will keep it in the proper format and you can edit it from there.  If you open it any other way, it will most likely be encoded improperly and you will not have your modules loaded.  The dll.xml loads at startup before you get to the setup screen and it loads all of the modules required by some developers to make their product work better.  In most cases your product will still work with limitations.  The dll.xml has nothing to do with scenery other than to load a module that might be required by ORBX/FTX.  There are many add-on xml's for all of your scenery.  Those can get corrupted but, if you use the Add-on Manager that is available at Lorby-Si (hosted by AVSIM), it will get the coding correct for those addon.xml's (in most cases).  You do not have to use any addon.xml (although that is preferred by LM).  You can simply start up P3D, go to World and then click on the Scenery Library.  Once open, add your scenery by clicking on Add and following the instructions.

Best regards,

Jim

Share this post


Link to post

Thanks for the quick reply Jim.  This would be the file in the same location as the scenery.cfg, so ProgramData\Lockheed Martin\Prepar3D v4.  I checked the encoding on the saved (and supposedly working) copy, and it's in UTF-8.  However place that file into ProgramData\...etc. P3D boots to the black screen.  If you delete that and let P3D load it generates a new dll.xml file and it loads just fine.  So either I have to uninstall/reinstall the PMDG 737, 777, and 747 plus the Carenado aircraft to get the dll entries back or I have to hand type the entries in.  If I copy and past the entries in Notepad++ it black screen boots again.

What's really frustrating is I have no idea what is causing this to happen.  Nothing is being changed between uses; no addons being installed or removed-it just stops working.

Share this post


Link to post

So there is a corrupted entry in the dll.xml since a new one allows P3D to load properly.  The entry that might be in your dll.xml that is causing the black screen is probably the following entry from Carenado:

<Launch.Addon>
                <Name>CMeteoXml</Name>
                <Disabled>False</Disabled>   Change this line to <Disabled>True</Disabled> and the module will not load
                <Path>.\CMeteoXml.dll</Path>
</Launch.Addon>

You can do this for the other modules in the dll.xml too to investigate which one is causing a problem.  I would not uninstall PMDG or Carenado aircraft.  Just disable the module from loading.  If my suggestion above does not work, then change the line back to FALSE and go to another module and disable it by changing False to True.  If there is no disable entry, then place one in it like the one above.

Best regards,

Jim

Share this post


Link to post

Hi..this is a bit of and old thread but this has just happened to me again wirh P3D v4.1 this time....To Jim, where is the scenery.cfg located? (just to ensure i delete the correct file)...will all my scenery entries remain in my library? Thanks.

Share this post


Link to post

Hello. I accidentally figured out what was causing this new issue in P3D v4.1. My PC was not connected to the internet at the time, and I knew that UT Live was loading up every time I ran P3D. Now it seems if UT Live cannot get connection to the internet, for some reason it causes this black screen issue. The moment my PC was connected the issue went away. This was repeatable. Also, if disabled UT Live from loading up when starting P3D while not online then P3D ran normally. So for some reason, UT Live is causing this black screen issue if it loads automatically when starting P3D when not online. I don't know what it is trying to modify in P3D but I do know it is supposed to use real world schedules.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this