Jump to content



Photo
- - - - -

3 display setup: Windows randomly changes monitor numbers


  • Please log in to reply
22 replies to this topic

#1 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 29 September 2017 - 12:08 PM

Hi,

Not really vp-only but i have a problem with my 3-screen setup on Windows 10. One screen is connected to hdmi, one to display port and one dvi. All to a nvidea gtx 980 to.
Problem is that on reboot windows sometimes numbers my play field monitor as 1, and the back glass monitor as 2. But booting next time, this order is rearranged. So I must always change monitor settings in b2s setup. Does anyone else experience this? Can windows not keep screen numbers for each screen fixed every boot up?
Thanks

#2 krille81

krille81

    Enthusiast

  • Members
  • PipPipPip
  • 197 posts

  • Flag: Sweden

  • Favorite Pinball: Junk Yard, White Water, Star Wars (Data East)

Posted 29 September 2017 - 03:54 PM

I have the same problem with my 4 screen setup. I found an easy way to fix it. Start Nvidea settings, go to monitor setup. Untick all screens expect your PF screen and Apply your settings, then set your screens back in that order you will have them.

Skickat från min E2303 via Tapatalk

#3 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 29 September 2017 - 05:03 PM

Hi,
Thanks for your reply. I did as you suggested. Let's see if windows keeps the numbers fixed now.
Thanks

#4 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 29 September 2017 - 05:16 PM

Sadly, 2 reboots later and order has been changed again. Playfield was 3, backglass 2 and now it's playfield 2, backglass 1. So even my Dmd screen is changed.

#5 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,153 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 29 September 2017 - 09:08 PM

How do you turn on your cab. Is everything on a power strip or something

#6 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 30 September 2017 - 09:38 AM

Yes, everything powers on from one power strip, so all screens at once. I didn't have the problem with my older card (gtx970). It started to happen with my new one (gtx980 ti). I needed to connect one of the screens with a hdmi to display port converter cable. Maybe that's why?

#7 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 30 September 2017 - 01:49 PM

Okay. After the tip of krilla81 about adding/removing screens in nvidea it seems that the screen numbering in windows is stable after all... I do have now always the same ID number for each screen. But the problem seems to be b2s server who randomly needs other monitors in its config. Sometimes I need to specify screen 1 as backglass in the b2s setup, other times it is screen 2, so internally there still is something that changes monitor id's although for windows the numbering seems stable now. Any idea why b2s server sees the monitors randomly different?

#8 STV

STV

    Enthusiast

  • Members
  • PipPipPip
  • 436 posts

  • Flag: United States of America

  • Favorite Pinball: Varies. 140 in the list ATM.

Posted 30 September 2017 - 02:29 PM

do you have multiple copies of the screenres.txt ?



#9 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 30 September 2017 - 04:47 PM

I have a backup yes , but named screenres-copy

#10 darrinbrewer

darrinbrewer

    Hobbyist

  • Members
  • PipPip
  • 28 posts

  • Flag: United States of America

  • Favorite Pinball: theatre of magic

Posted 30 September 2017 - 08:46 PM

i have this problem when a screen gets accidentally powered off, windows immediately rearranges my screen numbers...

 

makes a full cabinet with no keyboard/mouse difficult to use..lol



#11 pintris72

pintris72

    Hobbyist

  • Members
  • PipPip
  • 27 posts

  • Flag: Belgium

  • Favorite Pinball: Indiana Jones

Posted 30 September 2017 - 09:37 PM

The screen Numbers used in screenres.txt does not match the Numbers that Windows assigned to the screens anyway... so there must be another numbering used by b2s server which unfortunately changes on each reboot...

#12 Storm312

Storm312

    Neophyte

  • Members
  • Pip
  • 6 posts

  • Flag: United States of America

  • Favorite Pinball: N/A

Posted 15 October 2017 - 08:41 PM

I ran into this same problem with monitor numbers switching. The monitors numbers that Windows reports (at least on an old AMD video card I'm using, probably the same on an nVidia card/newer cards) are hardcoded based on which port you plug your monitors to in your graphics card. I think this is determined by the firmware on your graphics card... I cannot find a way to manually override this, even with setting something as the "main display". Through trial-and-error, I discovered that the top-left port of my graphics card was 'port 1' on my card. I uploaded a pic to help visualize this. If I plugged in displays to "1" and "3", the monitor in "1" would always get ID 1 on reboot, even if "3" was set to be the main display. If I plugged in displays to "3" and "4", the monitor in "3" would get ID: 1 on reboot. Not sure about the exact numbering or logic, but when I moved my secondary display from "1" to "4", I never had this problem again.

 

PIC: https://i.imgur.com/9UMOtMC.jpg


Edited by Storm312, 15 October 2017 - 08:45 PM.


#13 RustyCardores

RustyCardores

    Pinball Fan

  • Members
  • PipPipPipPip
  • 571 posts
  • Location:Australia

  • Flag: Australia

  • Favorite Pinball: Flash, Playboy, Fishtales & Attack From Mars!

Posted 16 October 2017 - 01:16 AM

As Storm312 suggests, port order numbering on the GPU plays a role. I had to juggle my cables (even using adapters) to get my screens to be in the right order. 

 

1(PF), 2(BG), 3(DMD), 4(Topper) left to right all top aligned in Windows is the goal. Once you have the cable order correct, things should settle down.

 

But you need to remember that the Windows screen numbering of 1,2,3,4 is not always what get's used in PBX, as it will go by the GPU port numbers at times. So pick a screen and try a different number until PBX puts the correct content on it.... then move to the next screen and do the same.... don't be afraid to try a 0 or 5 either ;) 


Rusty Cardores (Russell Stewart) - Gold Coast, Australia

Twitterhttps://twitter.com/RustyPinball  |  Instagramhttps://www.instagra.../rusty.pinball/  |  Workhttp://www.australianlight.com.au (Australian Landscape Photography)

'SSF' - Get awesome VPX Surround Sound Tactile Feedback in your cab https://www.facebook...oups/SSFeedback/

'Virtual Topper' - It's cooler than you might think! Check out the pics on my Instagram.


#14 DJRobX

DJRobX

    Pinball Fan

  • VP Dev Team
  • PipPipPipPip
  • 941 posts
  • Location:Valencia, CA

  • Flag: United States of America

  • Favorite Pinball: F14 Tomcat

Posted 29 May 2018 - 09:52 PM

My system started doing this after the 1803 Windows 10 update.  

For others suffering with it, here's a solution in the form of an update to B2S Server:

https://drive.google...iew?usp=sharing

 

With this version you can change the 5th line in ScreenRes.txt to be "@startingX" instead of the display number.    So if you have a 1920x1080 playfield, the backglass display starts at 1920. @1920 instead of "1".   Or if you have a 4k playfield, use "@3840".     Note that the number must match the left coordinate of the display you want the backglass to appear on exactly.    Because it's looking by the display's position and not the ID#, it will always stay put. 


Edited by DJRobX, 30 May 2018 - 04:34 AM.


#15 STV

STV

    Enthusiast

  • Members
  • PipPipPip
  • 436 posts

  • Flag: United States of America

  • Favorite Pinball: Varies. 140 in the list ATM.

Posted 30 May 2018 - 02:10 AM

wow!  



#16 MrPomme

MrPomme

    Neophyte

  • Members
  • Pip
  • 9 posts

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

  • Favorite Pinball: mario

Posted 15 January 2019 - 09:53 PM

great was planning tocreate a wrapper in powershell to findout this number by using b2sdebug, but your solution is more elegant. ^^ .Could yu share the source code of it to chngae it in case we need tu update the b2s later on?



#17 mrl72

mrl72

    Enthusiast

  • Members
  • PipPipPip
  • 54 posts

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

  • Favorite Pinball: AC/DC Luci

Posted 01 May 2020 - 07:03 PM

My system started doing this after the 1803 Windows 10 update.  

For others suffering with it, here's a solution in the form of an update to B2S Server:

https://drive.google...iew?usp=sharing

 

With this version you can change the 5th line in ScreenRes.txt to be "@startingX" instead of the display number.    So if you have a 1920x1080 playfield, the backglass display starts at 1920. @1920 instead of "1".   Or if you have a 4k playfield, use "@3840".     Note that the number must match the left coordinate of the display you want the backglass to appear on exactly.    Because it's looking by the display's position and not the ID#, it will always stay put. 

 

Hi

 

I came here looking for the same solution and found this. I know it's an old post so I wanted to see if it's still relevant? I did download the files and try it and it didn't work for me, I just get a blank screen, so wondering if there's a newer version or something?

 

Thanks!


Edited by mrl72, 01 May 2020 - 07:09 PM.


#18 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 01 May 2020 - 07:37 PM

All your monitors are on before you start to computer and this is the latest back glass server
1.3.0.4
https://www.vpforums...982#entry330264

 


Maybe something in will help
2 and 3 Screen set-up and more  -- https://www.vpforums...e=7#entry346276



#19 Hern

Hern

    Neophyte

  • Members
  • Pip
  • 2 posts
  • Location:Invercargill, New Zealand

  • Flag: New Zealand

  • Favorite Pinball: kiss

Posted 16 March 2022 - 07:18 AM

I also have screen issues and have tried all of these solutions, so far I can position my BG and DMD ok now but PF is positioned behind BG unable of finding a way to get it back on main screen.

#20 studlygoorite

studlygoorite

    Enthusiast

  • Silver Supporter
  • 398 posts
  • Location:Stoney Creek, Ontario

  • Flag: Canada

  • Favorite Pinball: Any VR table

  • 360 Gamer Tag: King JJ

Posted 16 March 2022 - 03:16 PM

I also have screen issues and have tried all of these solutions, so far I can position my BG and DMD ok now but PF is positioned behind BG unable of finding a way to get it back on main screen.

Make sure windows sees your displays and that they are positioned evenly across the top and scaling is set to 100%. Then make sure all of your displays are on and "waiting" before you boot up your PC. If launching tables direct from the .exe and displays are not correct then go to you screenRes.txt and make sure the top two lines have the correct resolution for your playfield and if they are correct go to line 5 and change it to a 1 if it's 2 or a 2 if it's a 1........or try the position method that Rob suggested.