Jump to content

Multi-monitor set-up guide & help (unofficial)


MadTommy

Recommended Posts

I've got a problem. I have one monitor that is 21.5" 1920x1080 and another monitor 22" 1680x1050. I have done everything, my total resolutions is 3600x1080, and when I enter he game it displays the loading screen across both monitors and then doesn't render anything once loaded.

 

this is my lau file that I use:

 

_ = function(p) return p; end;

name = _('Monitor + Monitor');

Description = 'Two monitor configuration'

Viewports =

{

Center =

{

x = 0;

y = 0;

width = screen.width / 1920;

height = screen.height / 1080;

viewDx = 0;

viewDy = 0;

aspect = screen.aspect / 1.6;

}

}

 

LEFT_MFCD =

{

x = screen.width / 1680;

y = 105;

width = screen.width / 840;

height = screen.height / 840;

}

 

RIGHT_MFCD =

{

x = screen.width / 2520;

y = 105;

width = screen.width / 840;

height = screen.height / 840;

}

 

UIMainView = Viewports.Center

[sIGPIC][/sIGPIC]

i5 2500k; GTX 660Ti; 8GB DDR3; Win7 64bit SP1

DCS World; A10C; FC3; UH-1; BS2; Mi-8; CA; Su-25t

Ever waiting for the F/A 18

Link to comment
Share on other sites

After the equal sign should be numbers only, remove everything else.

" any failure you meet, is never a defeat; merely a set up for a greater come back, "  W Forbes

"Success is not final, failure is not fatal, it is the courage to continue that counts,"  Winston Churchill

" He who never changes his mind, never changes anything," 

MSI z690MPG DDR4 || i914900k|| ddr4-64gb PC3200 || MSI RTX 4070Ti|Game1300w|Win10x64| |turtle beach elite pro 5.1|| ViRpiL,T50cm2|| MFG Crosswinds|| VT50CM-plus rotor Throttle || G10 RGB EVGA Keyboard/MouseLogitech || PiMax Crystal VR || 32 Samsung||

Link to comment
Share on other sites

After the equal sign should be numbers only, remove everything else.

 

Thank you sir, that fixed my problem. :thumbup:

[sIGPIC][/sIGPIC]

i5 2500k; GTX 660Ti; 8GB DDR3; Win7 64bit SP1

DCS World; A10C; FC3; UH-1; BS2; Mi-8; CA; Su-25t

Ever waiting for the F/A 18

Link to comment
Share on other sites

  • 3 weeks later...

I have one monitor that is 1680 x 1050, and another one that is 1024 x 768. I have this as my file but nothing seems to show up on my second monitor. I even tried doing just one MFD and it didn't work.

 

Full screen off, left monitor is main monitor, and made using notepad++

 

_ = function(p) return p; end;
name = _('Shkvalmfcd');
Description = 'Two monitor configuration for Shkval.';
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1680;
height = 1050;
viewDx = 0;
viewDy = 0;
aspect = 1.6;
}
}

LEFT_MFCD =
{
x = 1680;
y = 105;
width = 512;
height = 512;
}

RIGHT_MFCD =
{
x = 2192;
y = 105;
width = 512;
height = 512;
}

UIMainView = Viewports.Center


Edited by Kocrachon
Link to comment
Share on other sites

Try changing to your full screen res and correct

apect like this:

 

{

Center =

{

x = 0;

y = 0;

width = 2704;

height = 1050;

viewDx = 0;

viewDy = 0;

aspect = 2.57;

}

 

Good luck :)

i9 9900x at 5.1 Ghz // ASUS ROG Maximus XI Formula EK Bloc // 64Gb Corsair Vengence 3600Mhz DDR4 Ram // Gigabyte Aorus 3090 Watercooled block//Samsung SM951 M2 x4 SSD // Windows 10 64 Bit //48inch LG48 @ 3840x2160 120Hz//Asus ROG Swift PG35VQ 3440 x 14440 144Hz // TM Warthog HOTAS (Ser. No. 00836) //MFG Crosswind Pedals // TrackIR 5 //Varjo Aero

 

An old pilot is one who remembers when flying was dangerous and sex was safe.

 

Link to comment
Share on other sites

ok guys i am trying to set up 3 monitors using 3 viewports. however, my config just wont work. the screen starts about 1/3 of the way from my left monitor. it is also very distorted. i did set the combined res and set my left monitor as my main screen. im using 3 2560*1440 displays. here is my lua

_  = function(p) return p; end;
name = _('j,b,');
Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports = 
{
    Left = 
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = -1;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Center = 
    {
         x = 2560;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Right = 
    {
         x = 5120;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 1;
         viewDy = 0;
         aspect = 1.777777777777778;
    }
}


UIMainView = Viewports.Center

Link to comment
Share on other sites

never mind my previous post i managed to fix playing with only the 3 screens. however, im now trying to add 2 new viewports for left mfcd and right mfcd. i cant know if my config is working because dcs stops working bwfoew it can launche a mission

 

_  = function(p) return p; end;
name = _('j,b,');
Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports = 
{
    Left = 
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = -1;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Center = 
    {
         x = 2560;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Right = 
    {
         x = 5120;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 1;
         viewDy = 0;
         aspect = 1.777777777777778;
    }
}
LEFT_MFCD =
{
    x = 7680;
    y = 0;
    width = screen.width / 3;
    height = screen.height;
}

RIGHT_MFCD =
{
    x = 8960;
    y = 0;
    width = screen.width / 3;
    height = screen.height;
}
}
UIMainView = Viewports.Center

Link to comment
Share on other sites

Delete the last curly bracket. (If the syntax isn't intact = DCS will crash )

 

And please read this :

Dummies Guide for the “MonitorSetup.lua“

,...as your width/height of the MFCD's clearly shows that you don't know what you are doing.

EDIT:

Read this too , as you reach the resolution limits of DX9c (your right MFCD is at x=8960) : Will DCS World support 11,520 x 1080 resolution?


Edited by PeterP

Link to comment
Share on other sites

thanks for the help

ok i treid the following but i still get the same problem

_  = function(p) return p; end;
name = _('3Cameras test');
Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports = 
{
    Left = 
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = -1;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Center = 
    {
         x = 2560;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 0;
         viewDy = 0;
         aspect = 1.777777777777778;
    },

    Right = 
    {
         x = 5120;
         y = 0;
         width = 2560;
         height = 1440;
         viewDx = 1;
         viewDy = 0;
         aspect = 1.777777777777778;
    }
}
LEFT_MFCD =
{
    x = 7700;
    y = 0;
    width = 1200;
    height = 620;
}

RIGHT_MFCD =
{
    x = 8960;
    y = 0;
    width = 480;
    height = 800;
}

UIMainView = Viewports.Center

Link to comment
Share on other sites

You are rendering the MFCDs off the screens.

 

Get a notepad and calculator; and draw your x, y monitor positions, and dx(draw x) and dy(draw y) overlay dimensions.

 

Your right screen starts rendering at 5120. and is 2560 wide.

 

So the far right edge of rendering is 7680(5120+2560); but you want the left MFCD to start at 7700 and go for 1200 pixels(off teh screen).

And your right MFCD starts out of the ballpark; 8960.

 

:pilotfly:

 

EDIT: What Peter said above; read the guides. Draw your plans, it will make more sense than imagining your drawing.


Edited by _Dredd

Current Flight Rig

 

i7 4960X @ 4.6Ghz

ASUS Rampage IV Formula

G.SKILL TridentX 2400Mhz 32GB DDR3

Crucial 1TB MX300 SSD

MSI Gaming X 1080Ti

Samsung 55" JS8000 SUHD 4K

Windows 10 x64

TrackIR 5, Warthog HOTAS

Saitek Pro Flight Combat Pedals

Custom Akers-Barnes, MkI eyeball.

 

Link to comment
Share on other sites

the left mfcd functions kinda wierd. that is the way had it set up when i had a single monitor and it worked fine. also, keep in mind that the right mfcd is in portrait mode.

 

total width of the 3 screeens is +1280 of the left mfcd =8960 + 480 width of the right mfcd gives me a total of 9440.

 

dont mind the positioning of the left mfcd it just scales funny so i had to play with the resolution and position of the viewport to get it to work properly.

Link to comment
Share on other sites

the left mfcd functions kinda wierd. that is the way had it set up when i had a single monitor and it worked fine. also, keep in mind that the right mfcd is in portrait mode.

 

total width of the 3 screeens is +1280 of the left mfcd =8960 + 480 width of the right mfcd gives me a total of 9440.

 

dont mind the positioning of the left mfcd it just scales funny so i had to play with the resolution and position of the viewport to get it to work properly.

 

Again:

 

Delete the last curly bracket. (If the syntax isn't intact = DCS will crash )

 

And please read this :

Dummies Guide for the “MonitorSetup.lua“

,...as your width/height of the MFCD's clearly shows that you don't know what you are doing.

EDIT:

Read this too , as you reach the resolution limits of DX9c (your right MFCD is at x=8960) : Will DCS World support 11,520 x 1080 resolution?

 

 

Arrange your monitors similar like this to stay inside the 8192x8192 DX9 limits:

 

[P]-[L]-[P]

---[L]---

 

And/Or don't run native resolution and lower it for each screen.


Edited by PeterP

Link to comment
Share on other sites

the left mfcd functions kinda wierd. that is the way had it set up when i had a single monitor and it worked fine. also, keep in mind that the right mfcd is in portrait mode.

 

total width of the 3 screeens is +1280 of the left mfcd =8960 + 480 width of the right mfcd gives me a total of 9440.

 

dont mind the positioning of the left mfcd it just scales funny so i had to play with the resolution and position of the viewport to get it to work properly.

 

Missed you had a 4th screen( which is the 1280 you mention? ). But you still are missing the details.

 

2560+2560+2560+1280 = ?

Ans: 8960 < -- outside right edge of all screens in total.

You cant render outside this and expect to see anything. 8960 - 480 is your start point for right MFCD , eg. 8480.

 

EDIT: Oh wait Im confused now, I'll stay out of it if you got it working :)

You have a 5th screen of 480 pixels for right MFCD ?

Current Flight Rig

 

i7 4960X @ 4.6Ghz

ASUS Rampage IV Formula

G.SKILL TridentX 2400Mhz 32GB DDR3

Crucial 1TB MX300 SSD

MSI Gaming X 1080Ti

Samsung 55" JS8000 SUHD 4K

Windows 10 x64

TrackIR 5, Warthog HOTAS

Saitek Pro Flight Combat Pedals

Custom Akers-Barnes, MkI eyeball.

 

Link to comment
Share on other sites

ok so i lower the resolution of my displays to 1920*1080 and i got it working. its not ideal but it works. thanks for the help guys.

 

does anyone think it would be possible to do it with all of them a max res?

 

I get the strange feeling that my posts are only partially visible....

 

Arrange your monitors similar like this to stay inside the 8192x8192 DX9 limits:

 

[P]-[L]-[P]

---[L]---

 

And/Or don't run native resolution and lower it for each screen.

Link to comment
Share on other sites

  • 1 month later...

3 monitor for HUD display

 

Hi, guys!

 

Could you pls quickly remind me, what are the commands to disable LMFCD and RMFCD drawing inside the cockpit (center viewport)?

 

 

 

Well, in theory (and, maybe, with some magic and patience, in practice) you can. Windows 7 allows you to manage up to 10 monitors. DCS should normally allow you to edit your monitor configuration files the way you need them.

 

There are models of ATI videocards that support up to 6 displays. Then, you can add several USB monitors. Or, you can have a networked PC that will provide connections to additional displays.

 

It's not a straightforward task, but with a bit of learning, it's manageable.

 

Currently my system runs on 5 monitors, it wasn't easy to set up, but it works.

 

In%2520Action1.jpg

 

i have 3 monitors starting from left,

1280x1024 left (set in windows as primary display)

1600x1200 center

1600x1200 right

 

i forced the resolution on all three for simplicity to be 1280x1024, therefore the resolution entered in the options was 3840x1024 (i used the letter 'x')

 

this is my *.lua file

 

_ = function(p) return p; end;

name = _('atomdude');

Description = 'Configuration with 3 identical monitors each with its own camera'

Viewports =

{

Left =

{

x = 0;

y = 0;

width = 1280;

height = 1024;

viewDx = -1;

viewDy = 0;

aspect = 1.33;

},

 

Center =

{

x = 1280;

y = 0;

width = 1280;

height = 1024;

viewDx = 0;

viewDy = 0;

aspect = 1.33;

},

 

Right =

{

x = 2560;

y = 0;

width = 1280;

height = 1024;

viewDx = 1;

viewDy = 0;

aspect = 1.33;

}

}

UIMainView = Viewports.Center

any help is appreciated as i am desperate

Link to comment
Share on other sites

  • 3 weeks later...

Is there somone kind enough to make me lua file for 2 monitors.

 

primary right with 1920x1080 and secondary left with 1440x900

 

so smaller display is on the left of the main screen, they are aligned at bottom y=0, or should I align them on upper maximum y=1080 ?

 

just did not find example like this, sorry if there is some burried in this thread

 

tnx

Link to comment
Share on other sites

 

primary right with 1920x1080 and secondary left with 1440x900

 

tnx

 

UPDATE:

Ok, I found some excell sheet in thread for help with numbers, and got all working even some in full screen.

only have one question, how to prevent F10 map from spanning across two displays

 

I ll leave bellow stuff while I was talking to myself :-)

 

 

I got everything working when my secondary display is in windows configured to be right of primary. But than I have to move mouse right to get to my display which is on the left actually. F10 map is across both displays.

 

But when I adjust coordinates so my left monitor stays left in windows display settings (left of primary) I also get display as wanted but I just can not use mouse to click on any button,switch or menu after clicking escape and so on unless in window mode, I guess it must be that way. Strange that it works when mfcd monitor is to the right (configured)

What could be cause of that

 

 

Here is my display config for mfcd on left of the primary (windowed mode only)

 

 

_ = function(p) return p; end;

name = _('MFD_Lijevo');

Description = 'Test 2 monitora'

Viewports =

{

Center =

{

x = 1440;

y = 0;

width = 1920;

height = 1080;

viewDx = 0;

viewDy = 0;

aspect = 1920/1080;

}

 

}

 

LEFT_MFCD =

{

x = 0;

y = 0;

width = 720;

height = 450;

}

 

RIGHT_MFCD =

{

x = 720;

y = 0;

width = 720;

height = 900;

}

 

UIMainView = Viewports.Center

 


Edited by dovla
correction
Link to comment
Share on other sites

Ok, I found some excell sheet in thread for help with numbers

 

I got everything working when my secondary display is in windows configured to be right of primary. But than I have to move mouse right to get to my display which is on the left actually. And F10 map is across both displays, gonna try and fix that with GUI view from guide....

 

But when I adjust coordinates so my left monitor stays left in windows display settings (left of primary) I also get display as wanted but I just can not use mouse to click on any button,switch or menu after clicking escape and so on.

What could be cause of that

 

 

 

Map can't be resized >>> Multimonitor + Map (F10)

 

Getting the DCS window started at the left secondary screen (non-Main) >>>

BS Multi monitors setup with negative co-ords (secondary screen on the left)

Link to comment
Share on other sites

Getting the DCS window started at the left secondary screen (non-Main) >>>

BS Multi monitors setup with negative co-ords (secondary screen on the left)

 

Thanks Peter, unclickable problem was sorted out by using windowed mode, so I guess linked thread is about fullscreen mode ?

 

I dont understand phantom monitor story, I am not using neg coords, do I need to worry about it if things are looking as I want (unless I want to use fullscreen)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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