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

PinballX Focus Issues

Recommended Posts

Hi all,

I'm running PinballX 3.92 and am having focus issues and almost always have to alt-tab to make PinballX the active screen after startup. I'm running three apps at startup... Doflinx (admin), PinballX (not admin) and cectray (admin) which is my hdmi adapter to turn my playfield monitor on at startup. When my machine starts everything load properly and PinballX is displaying on all three monitors (all on same GPU). None of my buttons work until I alt-tab to highlight PinballX. It's usually three or four windows in. Any suggestions to correct this issue? Thanks!

Edited by cherga
Posted in wrong sections

Share this post


Link to post
Share on other sites

Please attach your logfile and your ini file

 

Share this post


Link to post
Share on other sites

Are the dimensions and start positions correct of your screen (how it is setup in Windows)?

According to your ini file :

[Display]
windowwidth=480
windowheight=270
windowx=850
windowy=331
[BackGlass]
width=1920
height=1080

x=0

y=0
[DMD]
x=10
y=335
width=1910
height=475

Looks like your all your 3 devices are put almost on the same screen. And check the dimension of your playfield. Or is the resolution 480x270?

Share this post


Link to post
Share on other sites

Everything displays correctly so I didn't mess with any of the settings. Playfield is 4K 3840x2160. Should I modify the settings if they're displaying properly?

Share this post


Link to post
Share on other sites

You can make a copy if your ini file, and try to adjust the  setting to see if it helps

Share this post


Link to post
Share on other sites

I just changed everything to match Windows and everything broke... When starting a game the Loading screen shows up in the middle of the screen and just before the game kicks in, it gets smaller and shifts to the right. The DMD is no longer displayed and VPX games won't start.

Share this post


Link to post
Share on other sites

Hmm..  that doesn't make any sence. Even the vpx not loading doesn't make sense to me

Is this issue (with focussing) happend with a specific version of pinballx?

Share this post


Link to post
Share on other sites

No, it's been an issue since I installed it. I'm at the end of my build and this was one of the loose ends I needed to tie up.

Share this post


Link to post
Share on other sites

Ok. One step back. Where do you use the cectray for ? Also navigation within pbx ?

You mention you use it to turn on the playfield. Is the playfield not turned on when you power on your cabinet ?

What controler do you have for your buttons ?

How are your monitors defined in windows ?

Sorry for all those questions, but never seen this issue before. I still think it is a configuration issue in pinballx,  but we need to figure out what's causing the issue

Share this post


Link to post
Share on other sites

Yo.  You need to get Windows Focus Logger and see what's taking focus after PBX.

Share this post


Link to post
Share on other sites
17 hours ago, cherga said:

Doflinx (admin), PinballX (not admin) and cectray (admin)

Just throwing in my two cents... have you tried pinballx as admin?, also, does the focus issue exist every time you run pinballx (or just on start up)?

  • Like 1

Share this post


Link to post
Share on other sites
On 10/19/2019 at 1:32 PM, Mike_da_Spike said:

Ok. One step back. Where do you use the cectray for ? Also navigation within pbx ?

You mention you use it to turn on the playfield. Is the playfield not turned on when you power on your cabinet ?

What controler do you have for your buttons ?

How are your monitors defined in windows ?

Sorry for all those questions, but never seen this issue before. I still think it is a configuration issue in pinballx,  but we need to figure out what's causing the issue

CECTray is for my Pulse-Eight HDMI adapter. My Playfield doesn't come on and off by itself so I use this device that send "power-on" commands to the TV upon Windows startup. This app runs once in the background at startup. 

For my buttons, I'm using an iPac-2.

Monitors are left to right ...PF (ID2), BG (ID1), LCD DMD (ID3).

Share this post


Link to post
Share on other sites

I've determined that DofLinx is taking focus as PBX and Doflinx both were running at startup. I tried adding a delay to PBX however that didn't work so I added a delay to DofLinx and that seems to be working so far. This issue only occurs at Startup so I assumed it was likely DofLinx grabbing focus... It doesn't make any sense to me as Doflinx is also a background app but everything appears to be working through several startups over the past 24 hours.

Share this post


Link to post
Share on other sites
50 minutes ago, cherga said:

I've determined that DofLinx is taking focus as PBX and Doflinx both were running at startup. I tried adding a delay to PBX however that didn't work so I added a delay to DofLinx and that seems to be working so far. This issue only occurs at Startup so I assumed it was likely DofLinx grabbing focus... It doesn't make any sense to me as Doflinx is also a background app but everything appears to be working through several startups over the past 24 hours.

Nice catch. First time I hears that. How do you launch doflinx ?

I have a wchedule tasl running doflinx at startup. And pbx is starting, but will start a bit later to identify all the monitors

Share this post


Link to post
Share on other sites

I launch DofLinx via shortcut within the startup folder and the same goes for PinballX. I just created a batch file and added a TIMEOUT statement to it for DofLinx to allow PinballX to load first. Hoping this works...

Share this post


Link to post
Share on other sites

I should have kept my mouth shut... Just had another instance of DofLinx taking focus at startup even with the delay.

Share this post


Link to post
Share on other sites
1 hour ago, cherga said:

I should have kept my mouth shut... Just had another instance of DofLinx taking focus at startup even with the delay.

I had to do this with dmdext and dial in a good pause.  Might take a couple of tries to get it not too quick or not too delayed.

Share this post


Link to post
Share on other sites

I'd try changing full screen windowed in pinballx settings to No, if that doesn't work try disabling cec-tray to rule it out (as that's a lesser used bit of software it may have unexpected side effects[?]).

Please also advise if the problem is only present on start up or not. I guess it is, so if you close pinballx and reopen everything works ok?

Share this post


Link to post
Share on other sites

Delaying startup of DOFlinx or PinballX seems to be working. Had to mess around with timing but am sitting at 17 seconds which seems to be good.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...