• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FXEditor Startup

Messages
223
Country
us-ohio
Hello Arno

Any thoughts on this one?

I had FXEditor working very well up until recently. Now it's suddenly started coming up with exception errors on start-up that look as though they're connected with the graphics display pane. This ends up displaying a red square with white backgound red diagonal cross and no images display.

Text details of the effects show up fine.

The exception detail I've captured is shown below:

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at CSGL12.GL.GDI32_ChoosePixelFormat(IntPtr hdc, PIXELFORMATDESCRIPTOR& pfd)
at CSGL12.GL.InitializeOpenGL(IntPtr hwnd, IntPtr& hdc, IntPtr& hglrc)
at CSGL12.CSGL12Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
FXEditorLaunch
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/FXEditor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.FXEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.FXEditor.DLL
----------------------------------------
ASToFra.Interfaces
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.ObjectRenderer
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.ObjectRenderer.DLL
----------------------------------------
DigitalRune.Windows.TextEditor
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/DigitalRune.Windows.TextEditor.DLL
----------------------------------------
ASToFra.ObjectModel3D
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.ObjectModel3D.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CSGL12DLL
Assembly Version: 12.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/CSGL12DLL.DLL
----------------------------------------
ASToFra.ParticleEffects
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.ParticleEffects.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
ASToFra.Utils
Assembly Version: 1.0.0.0
Win32 Version: 1.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Arnos%20Utilities/Latest%20Development%20Releases/ASToFra.Utils.DLL
----------------------------------------

Thanks, ian.
 
Hi,

Is there anything you changed to the graphics cards or the driver of the card? I suspect that is where the issue comes from.
 
Hi Arno - thanks for reply. I haven't had a new machine for years! Definitely no changes to graphics set up. :D

I notice though that the problem seems to exist now with all the latest developer release apps but an old version of ModelConverterX (Stable Release) works with no problem.

I'm pretty stuck at this point but will just try reloading everything again.

ian
 
Hi,

What kind of graphics card do you have? The latest development release versions have some changes to the preview compared to the previous 1.3 version. This means that more use is made of shaders, so your graphics card has to support OpenGL 2.0.
 
It's an ATI Mobility Radeon HD560v with 1Gb DDR3 VRAM from about 2009. I currently run a Dell Studio 1747 laptop with i7 Q820 (sorry!). Unfortunately I have no idea regarding OpenGL support spec.... any idea where I could verify that, Arno?
 
Hi,

According to the ATI website that card should support OpenGL 3.2. So that sounds fine. It is normally cards that are over 10 years old that give trouble, not relatively recent ones.

Do you get the same error message in ModelConverterX that you have in FXEditor?
 
Hi Arno

Thanks for persevering with me on this issue.

I have now noticed I get the same problem when using the Latest Development Release versions but I can still use the last stable release of ModelConverterX.

ian
 
Hi,

The changes are indeed not in the last stable release, that is before I made the changes. But your graphics card should be able to run the tool fine.

Are you using the drivers that came with the card or standard windows drivers?
 
Driver

Hi Arno
According to the Device Manager properties I'm using the ATI drivers. I'll try a set of updates and see if that helps... Will let you know!
ian
 
Oh dear

Hi Arno
According to the Device Manager properties I'm using the ATI drivers. I'll try a set of updates and see if that helps... Will let you know!
ian
Hi Arno

Well unfortunately I checked everything, including the Dell and ATI websites, and my drivers appear to be completely up-to-date. :o

Not sure where to go from here. :confused:

You don't have an older version of the FXEditor (and your other programs) similar to ModelConverterX "Stable Release" that I could use do you? I'm thinking of the release a little while ago that seemed to work perfectly on my troublesome machine! I'm not sure where to go to download one...

Meanwhile many thanks for all your help and for all the tremendous work and input you've made to the FS community. It's brilliant!

Cheers
ian
 
Hi,

You can find all the old development releases here:

http://www.scenerydesign.org/old-releases/development/

So I think you can find a version there that should work.

But I would prefer to figure out why it fails, because then maybe I can make some changes to fix it. In the long run you will miss many features by using an old version.
 
Thank you!

Thank you, Arno. I agree with you on finding the problem but it's difficult to know where to start unless there's some way we can dive deeper in debugging. If I have time, I'll step back through releases and see when it starts working... that may give you a clue?

Meanwhile I'm also hoping to get a new PC in the next few weeks. It'll be interesting to see if that clears up the problem, meaning that the display adapter or graphics card were responsible.

I'll download the old ones for now!

Many thanks for all this help :)

ian
 
2012-11-04

Arno
Looks like something changed around 2012-11-04. Versions work for me before that but not after. development_release_2012-11-04_01-01-24 works but development_release_2012-11-04_15-39-43 doesn't.
Hope this means something to you...
ian
 
Hi Ian,

That is useful information, let me check what has changed between those dates.
 
Hi,

I had a look and at the date you gave I made a change that lets the tool run as a 64 bit application on a 64 bit OS.

So which OS are you using? Is it 32 or 64 bit?
 
64-bit

Hey Arno

Sorry for the very delayed reply - work overload!

I'm running Windows 7 64-bit (Home Premium). Not sure if that helps you or not.

ian
 
Hi,

Ok, I think most users are on 64 bit nowadays. But it is weird I haven't seen this error before.

Just to be sure, when you install the development releases you just unzip them to a new empty folder? You should not mix files from different releases.
 
Hi,

Ok, I think most users are on 64 bit nowadays. But it is weird I haven't seen this error before.

Just to be sure, when you install the development releases you just unzip them to a new empty folder? You should not mix files from different releases.

Yes but to be sure I downloaded the very latest and copied from ZIP to a completely brand-new folder. Sadly I get the same problem.

The usual screen capture is attached - red cross on white pic box where effect would be displayed. It does this immediately after running without even trying to open an effect.

Must admit I'm sorry I have no idea where to proceed. Perhaps I can just work with the older version? And I have to thank you for developing all of these wonderful utilities and for your attention to my plight!

Regards
ian
 

Attachments

  • FXEditor Exception.JPG
    FXEditor Exception.JPG
    94.5 KB · Views: 580
Success!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Arno

After all your endeavors I went back to your initial thoughts around device drivers. I did a lot of research on AMD devices and went their support pages (rather than Dell).

Though the adapter comes up as a ATI Mobility Radeon HD560v (with driver from 2009) when it's checked out by ATI's own diagnostic tool, they recommend a driver from 2011 for an ATI Mobility Radeon HD 4650 (64-bit).
I downloaded and installed. RESULT? Your software loads up no problem and the graphics work!

Yay! :D

Sorry I didn't follow through on the driver suggestion and research before now. :o Typical User, eh?

Thanks very much again, Arno.

Best regards
ian
 
Glad to hear you got it working now :)
 
Back
Top