Jump to content

2 screen multimonitor - different behaviour in 1.5 with GUI centering


Recommended Posts

Posted

Hi,

 

My current setup is a 1920x1080 top and 1600x900 bottom, windowed mode 1920x1980. Nvidia GTX 970 latest drivers.

 

My 1.2.16 experience is that I can have the GUI solely on the top screen and when playing in the 3D world get a full screen stretched across both monitors. Ican reproduce this.

 

In 1.5 using the same monitor config and lua copied across I get the DCS GUI squashed into half the top screen and mouse offsets. so the resolutions looks like 1920x540 of real use distorted.

 

Monitor config:

_  = function(p) return p; end;
name = _('2screen');
Description = 'My monitor configuration'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = screen.width;
         height = screen.height;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }
}
Gui =
{
x = screen.width / 3;
y = 0;
width = screen.width / 3;
height = screen.height;
}

UIMainView = Gui

I've played around with the monitor lua and am unable to get a gui in the top screen with a full 1920x1980 both screen resolution. I used windowed mode. I cannot use Nvidia surround for full screen due to one monitor being upside down (the bottom) due to cable lengths.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Posted (edited)

I have the exact same issue. UIMainView does not scale in 1.5 as before.

 

My monitorFile:

_  = function(p) return p; end;
name = _('Monitor T-config');
Description = 'Monitor config'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1680;
         viewDx = 0;
         viewDy = 0;
         aspect = 2560 / 1680;
    }	  
}
Gui =
{
    x = 0;
    y = 0;
    width = 2560;
    height = 1080;
}
UIMainView = Gui

Edited by piXel496
btw. I enjoy 1.5 and the L39.
Posted

same problem here, let´s hope it´s solved or someone founds a way of bypassing this, because with my monitor configuration (PLP) I cannot manage the program.

Posted

Came here to file this bug as well. I'll just leave my Lua file and hope ED solves this quick. Quite annoying.

 

_  = function(p) return p; end;
name = _('customized');
Description = '3 monitor plus mfds'
Viewports = 
{
    Left = 
    {
         x = 0;
         y = 0;
         width = screen.width / 3;
         height = 1920;
         viewDx = -1;
         viewDy = 0;
         aspect = 1080 / 1920;
    },

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

    Right = 
    {
         x = screen.width * 2 / 3;
         y = 0;
         width = screen.width / 3;
         height = 1920;
         viewDx = 1;
         viewDy = 0;          
     aspect = 1080 / 1920;
    },
}
LEFT_MFCD =
{
x = 880;
y = 2315;
width = 400;
height = 400;
}

RIGHT_MFCD =
{
x = 1960;
y = 2315;
width = 400;
height = 400;
}

GUI = 
{
x = 0;
y = 0;
width = 1920;
height = 1080;
}

UIMainView = GUI

  • 2 weeks later...
Posted
My GUI is ok, try to change

 

UIMainView = GUI -> UIMainView = Viewports.Center

 

Thank you! I was missing that piece in my two monitor setup, it now works great.

  • 4 months later...
Posted (edited)

I am happy to notice "UIMainView = Gui" is fixed in DCS 1.5.3.51171 (update from 03-11-2016)

 

Dear developers thanks!

 

 

 

My monitor config as a reference:

_  = function(p) return p; end;
name = _('Monitor T-config');
Description = 'Monitor config'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = 2560;
         height = 1680;
         viewDx = 0;
         viewDy = 0;
         aspect = 2560 / 1680;
    }	  
}
Gui =
{
    x = 0;
    y = 0;
    width = 2560;
    height = 1080;
}
UIMainView = Gui

 

 

picture.php?albumid=905&pictureid=6238

Edited by piXel496
added image..
  • 9 months later...
Posted (edited)

Two things

1. current version of 1.5.5 is not listing all the monitor configurations located in Config/monitorsetup

2. With that said I can no longer center the GUI as its not reading any file because my file is not listed.

3. Since my LUA is not listed I cant use my extended monitors

4. I tried deleting options.lua in my user profile with no results

 

_ = function(p) return p; end;
name = _('MFD SETUP2');
Description = 'USB MON'
--Viewports =
--{
--Center =
--{
--x = 0;
--y = 0;
--width = 1920;
--height = 1200;
--viewDx = 0;
--viewDy = 0;
--aspect = 1.7;
--}
--}

RIGHT_MFCD =
{
x = 2809;
y = 76;
width = 605;
height = 455;
}

LEFT_MFCD =
{
x = 2020;
y = 76;
width = 605;
height = 455;
}

CDU =
{
x = 3630;
y = 40;
width = 390;
height = 295;
}

CMSC_SCREEN =
{
x = 4200;
y = 280;
width = 410;
height = 110;
}

CMSP_SCREEN =
{
x = 4695;
y = 300;
width = 295;
height = 70;
}

--RWR_SCREEN =
--{
--	x = 6800;
--	y = 400;
--	width = 275;
--	height = 275;
--}

--UV26
MFCD_05 =
{
    x = 2809;
    y = 200;
    width = 150;
    height = 60;
}

-- PVI800
--MFCD_03 =
{
    x = 1920;
    y = 564;
    width = 210;
    height = 90;
}


Shkval = 
{
   x = 4100;
   y = 0;
   width = 1000;
   height = 600;
}

ABRIS = 
{
   x = 3530;
   y = 00;
   width = 580;
   height = 850;
}

GUI =
{
	x = 0;
	y = 0;
	width = 1920;
	height = 1200;
}


UIMainView = GUI

 

 

 

Problem fixed. Didnt comment out PVI setup properly which through everything off.

config.jpg.d0317b98c2dbe46e870ed48820a958a1.jpg

config2.jpg.158b8c2fe63c9659976f90b77cfe5d46.jpg

config3.jpg.9bf8497aac285217aa3e4a46fd1c26d8.jpg

Edited by gunterlund21

I was in Art of the Kill D#@ it!!!!

  • Recently Browsing   0 members

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