Jump to content
SpesoftPinballXConvert-It
Sign in to follow this  
funkyman

100% Crash - Pinball X + 4k TV + Instruction Cards

Recommended Posts

Hey All,

I'm getting a 100% crash when viewing instruction cards in PinballX only when I'm using a 4k res (3840x2160) on my main TV display. The secondary monitor is running 1080p (1920x1080). When I run my main display in 1080 res the instructions work fine, no issues.  Also, once in 4k mode the first instruction card will show, then if I scroll through games, then come back to the same game's instruction card it will crash out.

I've attached my log, but It's not an OOM issue, seems to be parameter when passing into System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format). Anyone else run into this issue?

Thanks!

log.txt

Share this post


Link to post
Share on other sites

Removed Reply - Sorry, this doubled posted, couldn't figure out how to remove a reply!

Edited by funkyman
Double Post

Share this post


Link to post
Share on other sites

Just tried this on my 4k setup as well. Same crash.

 

20:02:43.2  2/5/2018:  PinballX - Version 2.50
20:02:43.3  2/5/2018:  Windows 10 Pro 64-bit (31.8GB)
20:02:43.3  2/5/2018:  Loading Settings
20:02:43.3  2/5/2018:  Initialize Component
20:02:43.3  2/5/2018:  Initialize Display
20:02:44.4  2/5/2018:  Loading PlugIns
20:02:44.4  2/5/2018:  Loaded Plugin:"DirectOutput PinballX Plugin" Version 1 By Swisslizard
20:02:46.3  2/5/2018:  PlugIn: "DirectOutput PinballX Plugin" Initialized OK
20:02:46.3  2/5/2018:  Using Plugin System Version: 1
20:02:46.4  2/5/2018:  Created DirectX BackGlass Window
20:02:46.5  2/5/2018:  Created DirectX DMD Window
20:02:46.7  2/5/2018:  Hiding Cursor
20:02:46.7  2/5/2018:  Hiding Taskbar
20:02:46.7  2/5/2018:  CPU:  Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
20:02:46.7  2/5/2018:  GPU 1: NVIDIA GeForce GTX 1080
20:02:46.7  2/5/2018:  Displays: 3
20:02:46.7  2/5/2018:  Load Game List
20:02:46.8  2/5/2018:  Loading Database: Pinball FX2
20:02:46.8  2/5/2018:  Loading Database: Pinball FX3
20:02:46.8  2/5/2018:  Loading Database: Visual Pinball
20:02:46.8  2/5/2018:  Finding and matching artwork and videos
20:02:46.9  2/5/2018:  Loading Game Statistics and Scores
20:02:47.5  2/5/2018:  Main display running full screen windowed.
20:02:47.6  2/5/2018:  Loading Surfaces
20:02:47.8  2/5/2018:  Finished Loading Surfaces
20:02:47.9  2/5/2018:  Initialize Audio
20:02:47.9  2/5/2018:  Set Keyboard Controls
20:02:47.9  2/5/2018:  Initialize Joystick
20:02:47.10  2/5/2018:  1 Joystick Attached
20:02:47.10  2/5/2018:  Started
20:03:00.7  2/5/2018:  Error. Exiting
20:03:00.7  2/5/2018:  Parameter is not valid.
20:03:00.7  2/5/2018:     at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
20:03:00.7  2/5/2018:     at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
20:03:00.7  2/5/2018:     at Direct2D.Direct2d.Surface.a(Bitmap& A_0, Device& A_1)
20:03:00.8  2/5/2018:     at Direct2D.Direct2d.Surface..ctor(Bitmap Image, Device Device)
20:03:00.8  2/5/2018:     at PinballX.FrmMain.d(Boolean A_0)
20:03:00.8  2/5/2018:     at PinballX.FrmMain.u()
20:03:00.8  2/5/2018:     at PinballX.FrmMain.ap()
20:03:00.8  2/5/2018:     at PinballX.FrmMain..ctor()
20:03:00.9  2/5/2018:  Disposing Plugins
20:03:00.9  2/5/2018:  Showing Taskbar
20:03:00.9  2/5/2018:  Unhiding Mouse Cursor
20:03:00.10  2/5/2018:  Bye

 

Share this post


Link to post
Share on other sites

I could see this happening if there were a corrupt or invalid xml.

Or it could be a bad card file. That would be harder to test as today’s browsers no longer have native support for Flash.


Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites
Quote

I could see this happening if there were a corrupt or invalid xml. 

Or it could be a bad card file. That would be harder to test as today’s browsers no longer have native support for Flash.
 

I'd agree, but I ruled both of those options out.  Everything works fine in 1080p, no issues.  Also, a instruction card works fine the first time, but cycle around enough and the same card that JUST worked will crash it.

 

As I've said before, I'd gladly debug it, but can't! :) 

Share this post


Link to post
Share on other sites

Nutmegz - Thanks so much for verifying this crash!

Seems like not many people play in 4k, but man... Hanibal's 4k tables are SO nice, it's hard going back to 1080p! :D

Share this post


Link to post
Share on other sites

I'd like to also add that I DON'T see this crash if use the PinballXLite.exe in 4k.  That version works fine displaying the instruction Cards on the main display.

So, my guess is it has to do with the handling of displaying the cards on the 2nd monitor.  Hope this helps track this down.

Thanks!

Share this post


Link to post
Share on other sites

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  

×