News:

Precision Simulator update 10.181 (1 February 2025) is now available.
Navburo update 13 (23 November 2022) is now available.
NG FMC and More is released.

Main Menu

Triple head to go multi display reporting wrong resolution

Started by asboyd, Wed, 22 Mar 2023 06:46

asboyd

Hi Hardy,
My setup uses 3 PC's via a KVM acting as clients for a cockpit setup. I have one for CDU's (working well), one for Eicas (also working well), but the third pc running my MIP has a problem.
The PC has a dual head 2 go adapter and gives me a resolution of 2 x 1280 x 1024 (which is the native resolution of the two screens attached. However, my KVM has a display which is 1920 x 1080. PSX sets its resolution to 1920 x 1080 if I turn off "stretch across multiple monitors".
If I turn on that option, I then get a resolution of 4480 x 1080, which is not correct as the second display, my DH2G is only 1024 (not 1080). I get incorrect ratios on my screens and circles are no longer circles.
Is it possible to tell PSX to look a specific screen, or use a specific resolution, or do I have to live with it like this?
Cheers,
AlexB
Alex Boyd... Sydney, Australia

Jeroen Hoppenbrouwers

I am not entirely sure what your setup is. Is the 1920x1080 KVM display used for anything during simming, or only to temporarily access that PC, which for the rest is 2 x 1280x1024? So when the KVM is connected to your MIP PC, that PC would have 2 x 1280x1024 + 1920x1080? And all three displays are extending the desktop?

1280 + 1280 + 1920 = 4480 so I assume this is what happens.

I would have expected a cropped PSX display on the 1024 vertical displays, not a changed aspect ratio.

You could try to NOT connect the KVM to this PC and instead use some remote access thing, such as TeamViewer. Not ideal, but it may work better for now. Connecting and disconnecting a display tends to make Windows reconfigure things on the fly.

Hardy Heinlin

#2
Hi Alex,

the multi-screen function in Java goes like this: On the width dimension you'll get the sum of all widths, on the height dimension you'll get the greatest height of all heights. So when the greatest height in the device array is 1080, that will be the result.
I don't think I can change that ...


Regards,

|-|ardy


Edit: I'm not even sure if this function is Java specific. It may also be native code from the computer's operating system which Java just calls.

This is what PSX uses (see "virtualBounds" in the example):
https://docs.oracle.com/javase/6/docs/api/java/awt/GraphicsConfiguration.html

asboyd

Thanks guys,
I have played with this and if I set the resolution of my KVM to a height of 1024 then I can get it to work, but the KVM display is NG...
I then set the DH2G (matrix display) as the primary display on my PC and made it the main display... PSX then "sees" the 2240 x 1024 as the display area IF I leave "stretch across multiple displays" unchecked....
This could work, but when I switch to the KVM, Windows resets all displays causing PSX to reduce the size of the MIP display, which is a royal pain as windows blanks my displays on switching, which does not make sense....

I may have to get hold of a USB display adapter and see if that works.
Thank you all.

AlexB
Alex Boyd... Sydney, Australia

Hardy Heinlin

I need to correct my last comment: The sum in width and height depends on the coordinates of the top left corner of each display. Typically, users just distribute the x-points from left to right along the horizon and keep all y-points at zero. That's why the largest height wins in such a typical case.

asboyd

Hi Hardy,
Using the magic of my Nvidia control panel, I made my KVM display 1920 x 1024.... So all is good now.
I will check it all after a reboot and see if it all remains working.

So I have a little black bar at the bottom of my KVM display... no big deal.

 ;)

Cheers,
Alex Boyd... Sydney, Australia

asboyd

Nope didn't work. I need to leave everything native or the screens blank when I switch with the KVM. I need to use a KVM because if I don't then when I use something like VNC or remote control the resolution changes and the PSX  layout is stuffed..

Will keep working to see what I can do...

Cheers,
Alex Boyd... Sydney, Australia