Jump to content

Recommended Posts

Posted (edited)

Evening all:

This has been driving me up the wall. I have four monitors: two main ones and then two little MFD ones. I'll call the latter two "MFDs". Of the main screens I only use one for DCS: the other I'm not interested in

.layout_side.png

In the above picture I have 3 and 4 as the MFDs, 1 is the main screen and 2 is not in use (DCS wise).

1 is 3440 x 1440, 3&4 are identical at 768x1024 (as they are rotated and 4 I believe is mirrored). 2 for reference is 1080x1920.

 

I can get MFDs to export just fine with this, there's no problem. Res is set to 4976x1440:

 _ = function(p) return p; end;
name = _('mfd side_by_side');
Description = 'Hero rats'
Viewports =
	{
		Center =
		{
			x = 1536;
			y = 0;
			width = 3440;
			height = 1440;
			aspect = 3440/1440;
			viewDx = 0;
			viewDy = 0;
		},
	}

LEFT_MFCD =
	{
		 x = 30;
		 y = 60;
		 width = 700;
		 height = 700;
	}

RIGHT_MFCD =
	{
		 x = 798;
		 y = 60;
		 width = 700;
		 height = 700;
	}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

However, when I try this arrangement, res set to 3440x2464:

layout_vert.png

it all goes to hell.

 _ = function(p) return p; end;
	name = _('mfd_bottom');
	Description = 'Hero rats'
	Viewports =
	{
		Center =
		{
			x = 0;
			y = 0;
			width = 3440;
			height = 1440;
			aspect = 3440/1440;
			viewDx = 0;
			viewDy = 0;
		},
	}

	LEFT_MFCD =
	{
		 x = 30;
		 y = 1500;
		 width = 700;
		 height = 700;
	}

	RIGHT_MFCD =
	{
		 x = 2702;
		 y = 1500;
		 width = 700;
		 height = 700;
	}
	
	UIMainView = Viewports.Center 

I end up with the UI offset by 1/2 of screen 1 (bottom half visible, top half off the screen) and the black screen area going 1/2 down the MFDs below. I cannot get it to play nicely. It seems as if the x,y zero point has been displaced vertically... ?

I've:

  • Checked and rechecked the maths. As best I can tell its correct.
  • I've put 3 and 4 directly next to each other
  • Rebooted
  • Updated gfx drivers just in case
  • Attempted to sacrifice a goat to the volcano gods. Ran into a couple of problems there: There's no volcanos in Aus and the goat wasn't terribly keen on the idea. But its the thought that counts right?
  • I believe I did get this to work once, but then I patched to the latest patch and it went bad. I can't say it was the patch, all I can say is that I think between it working and not working, I patched.

 

What am I doing wrong?

Edited by thecrazedlog
Posted (edited)

Just out of curiosity, why not just use them the way they work? Or do you use them for things other that dcs, where the display order makes a difference? Nothing wrong with trying different ways, of course, but if it works they way you have it setup in the first picture , why not stick with it?. I have mine stacked below my main screen with the left edge aligned on all three and it works.. IDK maybe DCS doesn't like that big open space between for some reason🤷‍♂️Also if you’re including monitor #2  in your total dimensions then the top of it will be the (y0) so your center screen will need to be offset down from that as its actual x,y starting point. So maybe try your center with x=0, y=480. Then add another 480 to your mfd y axes.  Also make sure dcs is set to windowed mode in options( in case fullscreen was re-checked for some reason).

 

even though you’re not using screen 2, maybe its playing hell with DCS since its in the windows monitor setup. Maybe you have to still compensate for it. In dcs maybe the total screen res needs to be 4520x2944 in the main options to get the correct aspect ratio as it is in windows

Edited by MadKreator

Intel i7 13700k, ASUS  rog strix z790A, 64gigs G.Skill Trident DDR5 @6400Mhz, Nvidia  RTX 4080FE, 4TB,  2x 2TB,  1TB Samsung NVME, 1TB Samsung SSD,   Corsair RM1000x, Corsair Titan 360 X AIO cooler, Lian Li LanCool 2, VKB Gunfighter Ultimate, VKB Custom STECS , MFG Crosswinds, Moza FFB,  Virpil Collective, Track IR5, 48” LG UltraGear OLED & HP 24” touchscreen for Helios,49” Samsung Ultrawide,  Streamdeck XL, Corsair Virtuoso RGB Headphones

Posted
On 9/14/2022 at 12:22 AM, MadKreator said:

Just out of curiosity, why not just use them the way they work? Or do you use them for things other that dcs, where the display order makes a difference? Nothing wrong with trying different ways, of course, but if it works they way you have it setup in the first picture , why not stick with it?. I have mine stacked below my main screen with the left edge aligned on all three and it works.. IDK maybe DCS doesn't like that big open space between for some reason🤷‍♂️Also if you’re including monitor #2  in your total dimensions then the top of it will be the (y0) so your center screen will need to be offset down from that as its actual x,y starting point. So maybe try your center with x=0, y=480. Then add another 480 to your mfd y axes.  Also make sure dcs is set to windowed mode in options( in case fullscreen was re-checked for some reason).

 

even though you’re not using screen 2, maybe its playing hell with DCS since its in the windows monitor setup. Maybe you have to still compensate for it. In dcs maybe the total screen res needs to be 4520x2944 in the main options to get the correct aspect ratio as it is in windows

 

Sorry didn't see the new replies. A fair question: the reason I want to use them in the vertical way is 1) Because it should work! Bow to my will machine! 2) Actual reason: I want the control / FPS indicator to go on the top of the main screen, not on the left MFD.

Posted

Hmm.Now I’m really curious. Makes me want to hook up my 4th monitor like that just to see what it does LOL

  • Like 1

Intel i7 13700k, ASUS  rog strix z790A, 64gigs G.Skill Trident DDR5 @6400Mhz, Nvidia  RTX 4080FE, 4TB,  2x 2TB,  1TB Samsung NVME, 1TB Samsung SSD,   Corsair RM1000x, Corsair Titan 360 X AIO cooler, Lian Li LanCool 2, VKB Gunfighter Ultimate, VKB Custom STECS , MFG Crosswinds, Moza FFB,  Virpil Collective, Track IR5, 48” LG UltraGear OLED & HP 24” touchscreen for Helios,49” Samsung Ultrawide,  Streamdeck XL, Corsair Virtuoso RGB Headphones

  • 1 month later...
Posted (edited)

Try replaciing
GU_MAIN_VIEWPORT = Viewports.Center
UIMainView = Viewports.Center

 

with

GU_MAIN_VIEWPORT =
{
x = 0;
y = 0;
width = 3440;
height = 1440;
}

UIMainView = 
{
x = 0;
y = 0;
width = 3440;
height = 1440;
}

 

This will definitively set the bounds of the UI viewports.

Edited by jonsky7
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...