Jump to content

Setup of 3 monitor


Recommended Posts

Hello, 

I am trying since days to configure my 3 ASUS ROG STRIX 32'' monitor for DCS but without success. I followed all the possible guidelines I found, but I am still confronted to this problem: The left display is correct, the center only shows the 2 MFD symbology in bright green only and the right does not show anything ... See the picture attached to see the result on the center screen.

The config file inside the MonitorSetup folder is the following:

Viewports = 
{
     Left = 
     {
          x = 0;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = -1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Center = 
     {
          x = 7680 / 3;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Right = 
     {
          x = 7680 * 2 / 3;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = 1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}Gd3rYYY


UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center
 

Any Idea about this issue ?

Best regards, Dauphin4

Link to comment
Share on other sites

  • 2 weeks later...

Here is my config for three 4k monitors.  You could probably adapt it to your 1440p monitors.  Also make sure your "Left" display is set as your main display in Windows.

 

Viewports = 
{
     Left = 
     {
          x = 0;
          y = 0;
          width = 3840;
          height = 2160;
          viewDx = -1;
          viewDy = 0;
          aspect = 3840 / 2160;
     },

     Center = 
     {
          x = 3840;
          y = 0;
          width = 3840;
          height = 2160;
          viewDx = 0;
          viewDy = 0;
          aspect = 3840 / 2160;
     },

     Right = 
     {
          x = 7680;
          y = 0;
          width = 3840;
          height = 2160;
          viewDx = 1;
          viewDy = 0;
          aspect = 3840 / 2160;
     }
}


UIMainView = Viewports.Center

 


Edited by futurecpit
Link to comment
Share on other sites

  • 1 month later...

Hi futurecpit,

I have 3 monitors ASUS 3840x2160 and I tried your configuration...unfortunately, left monitor was OK, center very strange (with HUD in green and the rest in black) then right monitor black.

For sure Windows was the same (left monitor as master).

What could be my error, please (several days on this problem, with or without surround on my SUPPRIM GEFORCE RTX (a monster)) and with or without Helios file ?

 

Thanks in advance for your help

BLAPH78

Link to comment
Share on other sites

I believe this is a LUA Error..

On 1/22/2024 at 11:28 AM, Dauphin4 said:

Hello, 

I am trying since days to configure my 3 ASUS ROG STRIX 32'' monitor for DCS but without success. I followed all the possible guidelines I found, but I am still confronted to this problem: The left display is correct, the center only shows the 2 MFD symbology in bright green only and the right does not show anything ... See the picture attached to see the result on the center screen.

The config file inside the MonitorSetup folder is the following:

Viewports = 
{
     Left = 
     {
          x = 0;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = -1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Center = 
     {
          x = 7680 / 3;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Right = 
     {
          x = 7680 * 2 / 3;
          y = 0;
          width = 7680 / 3;
          height = 1440;
          viewDx = 1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}Gd3rYYY


UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center
 

Any Idea about this issue ?

Best regards, Dauphin4


Are you using Extended screens or nVidia Surround / AMD Eyefinity?

With extended screens, Primary screen should not matter, I keep my center as primary with extended screens left and right.

Also attachment doesnt work


Edited by SkateZilla

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

I just checked, the default 3 monitors works correctly on my end. 

 

_  = function(p) return p; end;
name = _('3 Screen');
Description = 'Configuration with 3 identical monitors each with its own camera'
Viewports = 
{
     Left = 
     {
          x = 0;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = -1.0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Center = 
     {
          x = screen.width / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Right = 
     {
          x = screen.width * 2 / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}


UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

--[[
also you can use "displays" table  to perfectly match you configuration .
it is generated by DCS automatically.
displays table is contains information about all currently attached displays 

for example my setup is :

displays = 
{
    [1] = 
    {
        x = 0,   -- note : x == 0 and y == 0 is always mark primary windows display 
        y = 0,
        width  = 1920,
        height = 1200
    },
    [2] = 
    {
        x = -1440,   -- mark that secondary display is on left side of primary display
        y = 0,
        width  = 1440,
        height = 900
    },
    ...  for all displays 
}

screen table also contain x, y members which mark top left corner of DCS window 

note about fullscreen :  directx  doesn't allow fullscreen applications with resolutions more than primary display can handle,
so multimonitor presets in DCS will fall back to windowed mode if fullscreen initialization failed  ( this info also will be printed to dcs.log)

for reconfigure viewports setup for each unit type independently you can declare here function 

function  reconfigure_for_unit(unit_type)   --unit type is string with unit name
    if unit_type == "A-10C" then
          
        Viewports  = ... define new Viewports table 
        -- also you can define cockpit displays viewports here 
        RIGHT_MFCD = ... define new RIGHT_MFCD  viewport 
          
    else 
        Viewports = ... define default for others 
        RIGHT_MFCD = nil  -- remove for others 
    end
end

--]]

I will also get my LUA for a Single Wide screen back off my backup drive (as I use primarily VR now), and see if one large viewport w/ GUI is still constrained correctly.

might need to attach your entire LUA, it sounds like you have the MFD calls in the wrong section.

Left and Right MFCDs should not be inside the Viewports { } Brackets.

 

Screen_240321_170728.png

Screen_240321_170752.png

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Sorry, even with your code in my file, always the same trouble.

The only way to have 3 entire screens during fly is to specify a different name in Options .lua for "Multiple monitorsetup" than in DCS...so DCS is on "1 screen" (because Options.lua name is not known) and then I have 3 screens during fly (I don't know why ??)

The only problem is that if I change something in commands or everywhere else, "1 screen" became the rule and 3 entire screens during fly disappear...I don't know what to do now but I am sure that there is an LUA parameter to take in account somewhere in DCS...

 

An explanation about that, please ?

Thanks in advance

Phil

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...