Jump to content



Photo
* * * * * 1 votes

True Full screen in VP 10.1 loses focus - requires Alt-tab


  • Please log in to reply
373 replies to this topic

#201 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 12:23 PM

When using DDRAW=0 for VPX tables, I use a custom resolution (820x462) for my DMD screen.

 

 

I can fit PinMAME DMD set at 777x201 which equals 768x192 which is a perfect multiple of 128x32 for the DMD. Largest you can go with ddraw=0.  I do this only for VPX tables.


Edited by TerryRed, 09 September 2016 - 12:24 PM.


#202 tspeirs

tspeirs

    Enthusiast

  • VIP
  • 151 posts

  • Flag: ---------

  • Favorite Pinball: Funhouse

Posted 09 September 2016 - 12:48 PM

PS: To get me files you will have to PM me over at my place, not here. Don't have PM access here right now. Nothing serious, Paul just has not had time to restore it yet.
Posted Image

#203 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 05:18 PM

PS: To get me files you will have to PM me over at my place, not here. Don't have PM access here right now. Nothing serious, Paul just has not had time to restore it yet.

 

Sent you a link ( over at your place ) to some of my tables / db2s files that have the problem.



#204 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,522 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 09 September 2016 - 06:09 PM

can every please post the names of the "legal" games here so everyone can test them and report back....


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#205 Drybonz

Drybonz

    Really bad at pinball, but having fun.

  • Members
  • PipPipPipPip
  • 1,538 posts

  • Flag: ---------

  • Favorite Pinball: Theatre of Magic

Posted 09 September 2016 - 06:54 PM

I was playing (un-nameable table) that I got over at (un-nameable website) and I had some lag.  The backglass was made by (un-nameable author) and I think it made it worse.  Any tips?

 

- Signed Voldemort



#206 gStAv

gStAv

    Pinball Lover

  • Members
  • PipPipPipPip
  • 1,331 posts

  • Flag: Sweden

  • Favorite Pinball: TOM, IJ, AFM, WC94

Posted 09 September 2016 - 07:17 PM

For me it is not forbidden tables.
Got the problem with the b2s not showing up on "Attack from Mars", "Medieval Madness" and "Twilight Zone, to name some O tried.

But then again. It might work with the smaller b2s files. This ones is 30mb+ will check MM with a smaller one tomorrow.

I'm just happy the focus problem is gone for now. :D

3rs054-6.png


#207 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 09:23 PM

OK, so I guess I should have done what doogie said to try, which was to re-enable B2S server error pop-ups. After doing that...

 

 

Now, with ALL of the tables that gave me any kind of issue with the dB2S not loading with VPX in full screen (only when launched from PBX), I get this error pop-up when it tries to load the DB2S.

 

 

"Object reference is not set to an instance of an object"

 

This still only happens when launched from PBX.

 

Any idea what this is?

 

With error pop-ups disabled, and using "custom" "other" system in PBX, only a few tables have the issue, and ALL tables load dB2S perfect with VPX in windowed-fullscreen....


Edited by TerryRed, 09 September 2016 - 09:30 PM.


#208 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 09 September 2016 - 09:42 PM

seems you don't have the latest b2s.server 1.3.0.1?

#209 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 09:47 PM

seems you don't have the latest b2s.server 1.3.0.1?

 

I just checked, and the settings page for B2S server shows that it is 1.3.0.1

 

I originally installed the all in one VP 10.1 package, and then installed the newest 10.2 beta.



#210 Carny_Priest

Carny_Priest

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,257 posts
  • Location:Austin, TX

  • Flag: United States of America

  • Favorite Pinball: EATPM

Posted 09 September 2016 - 10:11 PM

I was playing (un-nameable table) that I got over at (un-nameable website) and I had some lag.  The backglass was made by (un-nameable author) and I think it made it worse.  Any tips?

 

- Signed Voldemort

 

There's a thread on that, but I can't link to it here.



#211 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 09 September 2016 - 10:12 PM

try to register it again and check that all exe and dll are unblocked

#212 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,522 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 09 September 2016 - 10:34 PM

so i tested all of the above and also all the unmentionables... and are loading fine, table and b2s

 

I did have something odd happen... Monster Bash , seem to crash or not load....

but what was happening is the initial load menu decided it wanted to be reset again after a year or more being set... all is fine now...


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#213 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 09 September 2016 - 11:16 PM

try to register it again and check that all exe and dll are unblocked

 

 

Did this, and it still gives the error.

 

 

However, if I disable the DOF plug-in in the B2S server options, then ALL tables and dB2S files load no problem everytime!

 

I'm using DOF R3 beta.

 

I tried only disabling the DOF plug-in for Pinball X, (and having DOF enabled in B2S), but I'm still getting the errors...

 

Weird.



#214 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 09 September 2016 - 11:52 PM

Good find Terry.  Yeah when I disable the B2S plugins, my error goes away too and the B2S file is loaded.  What's strange is I was getting an error in the same scenario with the same tables as Terry, but my error message was different.  It said it couldn't find the directB2S file, which was being reported as an empty name like ".directB2S".  Looking into the B2S code a bit, it appears the only way this could happen is if process.TableName doesn't get set in the Server.Startup() method:

...code removed...

Below is the Processes constructor.  I'm guessing it doesn't see the Visual Pinball process for some reason in this unique scenario (enable fullscreen, launch from PinballX, certain tables, and DOF plugin enabled).  Maybe it's some kind of timing issue?

...code removed...

Edit - Actually I'm not sure if this code is open source so I removed it.  Instead I will paraphrase:

 

1) Loop through the current processes

2) If the process name starts with "Visual Pinball - ", then get the table name from the rest of the string (which contains the table name in square brackets)


Edited by doogie2301, 10 September 2016 - 12:41 AM.


#215 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 10 September 2016 - 12:19 AM

At least I know I'm not going crazy here.....   :)



#216 doogie2301

doogie2301

    Enthusiast

  • Members
  • PipPipPip
  • 97 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 10 September 2016 - 01:43 AM

Also FYI, as I was messing around with different options, I noticed that if you run the B2S in standard mode instead of EXE, there is no need at all to use Alt-tab or any other method to get the window focus.  The table and backglass load at the same time and everything's in focus.  Of course the performance really suffered so it's not really playable in that mode.  Anyway, it seems like the backglass server EXE has its own code that attempts to bring the player window into focus, so maybe that isn't working as it's supposed to with the fullscreen mode, or maybe it's even contributing to the problem.  Perhaps the B2S server can be enhanced instead of adding all these workarounds to VPX or PBX.

 

 

Edit - Just noticed that atarian already made this observation about the standard vs exe b2s server in the first page of this thread.  I bet the EXE code that is attempting the focusing is actually the cause of the fullscreen window losing focus.


Edited by doogie2301, 10 September 2016 - 01:54 AM.


#217 hauntfreaks

hauntfreaks

    Real 4K Tables Since 2013

  • VIP
  • 2,522 posts
  • Location:South Jersey

  • Flag: United States of America

  • Favorite Pinball: -<3<3<3 All Real Pins



Posted 10 September 2016 - 02:01 AM

plus running in standard mode will beat your system into submission... 


 26794541816_30ca1cca80_o.gif 43109635392_fc11af1a57_o.gif


#218 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 10 September 2016 - 02:37 AM

can you try to manually install b2s.server 1.3.0.1, download it standalone here and register, unlock

#219 TerryRed

TerryRed

    Pinball Fan

  • Silver Supporter
  • 1,959 posts

  • Flag: Canada

  • Favorite Pinball: Too many to choose...

Contributor

Posted 10 September 2016 - 05:20 AM

can you try to manually install b2s.server 1.3.0.1, download it standalone here and register, unlock

 

 

 

I tried it....but no change. I still get the error.



#220 arngrim

arngrim

    DJ Force Feedback

  • VIP
  • 2,188 posts
  • Location:Charleroi, Belgium

  • Flag: Belgium

  • Favorite Pinball: Monster bash



Posted 10 September 2016 - 05:21 AM

can you show a dof log of a table with one of these b2s?