cherga Posted October 19, 2019 Share Posted October 19, 2019 (edited) 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 October 19, 2019 by cherga Posted in wrong sections Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 19, 2019 Share Posted October 19, 2019 Please attach your logfile and your ini file Link to comment Share on other sites More sharing options...
cherga Posted October 19, 2019 Author Share Posted October 19, 2019 log.txtPinballX.ini Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 19, 2019 Share Posted October 19, 2019 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? Link to comment Share on other sites More sharing options...
cherga Posted October 19, 2019 Author Share Posted October 19, 2019 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? Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 19, 2019 Share Posted October 19, 2019 You can make a copy if your ini file, and try to adjust the setting to see if it helps Link to comment Share on other sites More sharing options...
cherga Posted October 19, 2019 Author Share Posted October 19, 2019 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. Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 19, 2019 Share Posted October 19, 2019 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? Link to comment Share on other sites More sharing options...
cherga Posted October 19, 2019 Author Share Posted October 19, 2019 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. Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 19, 2019 Share Posted October 19, 2019 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 Link to comment Share on other sites More sharing options...
BrandonLaw Posted October 19, 2019 Share Posted October 19, 2019 Yo. You need to get Windows Focus Logger and see what's taking focus after PBX. Link to comment Share on other sites More sharing options...
scutters Posted October 20, 2019 Share Posted October 20, 2019 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)? 1 Link to comment Share on other sites More sharing options...
cherga Posted October 21, 2019 Author Share Posted October 21, 2019 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). Link to comment Share on other sites More sharing options...
cherga Posted October 21, 2019 Author Share Posted October 21, 2019 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. Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted October 21, 2019 Share Posted October 21, 2019 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 Link to comment Share on other sites More sharing options...
cherga Posted October 21, 2019 Author Share Posted October 21, 2019 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... Link to comment Share on other sites More sharing options...
cherga Posted October 21, 2019 Author Share Posted October 21, 2019 I should have kept my mouth shut... Just had another instance of DofLinx taking focus at startup even with the delay. Link to comment Share on other sites More sharing options...
BrandonLaw Posted October 21, 2019 Share Posted October 21, 2019 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. Link to comment Share on other sites More sharing options...
scutters Posted October 22, 2019 Share Posted October 22, 2019 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? Link to comment Share on other sites More sharing options...
cherga Posted October 25, 2019 Author Share Posted October 25, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts