View previous topic :: View next topic |
Author |
Message |
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1609 Location: indiana
|
Posted: Mon Dec 30, 2019 12:00 am Post subject: setup 2 displays as one big screen |
|
|
hi there,
i am running a gtx 1050 nvidia card, with 2 monitors connected to it via dvi & hdmi
using "nvidia-settings" tool or xfce`s integrated settings->display program
i set up the diplays and can move windows from one screen to another. i have xinerama useflag enabled and system recompiled. i installed xrandr plus read a dozen forum posts regarding my issue. i want that when i enlarge a window it is being displayed on both monitors (it should appear as one big screen) but i am failing at getting it to work. any help is very much aprecciated....
Code: | $ xrandr --listmonitors
Monitors: 2
0: +*DVI-D-0 1920/518x1200/324+0+0 DVI-D-0
1: +HDMI-0 1920/510x1080/290+1920+0 HDMI-0 |
_________________ I do not have a Superman complex, for I am God not Superman
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1609 Location: indiana
|
Posted: Thu Jan 02, 2020 2:18 am Post subject: |
|
|
Code: | $ xrandr -q
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 59.95*+
1600x1200 60.00
1280x1024 75.02 60.02
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 290mm
1920x1080 60.00*+
1680x1050 59.95
1280x1024 60.02
1280x960 60.00
1152x864 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
|
xrandr detects one big screen with resolution 3840 x 1080. but how do i force or tell games to use this resolution ? _________________ I do not have a Superman complex, for I am God not Superman
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Jan 02, 2020 12:34 pm Post subject: |
|
|
Mgiese wrote: | xrandr detects one big screen with resolution 3840 x 1080. but how do i force or tell games to use this resolution ? |
with metamodes
[ 57603.706] (**) NVIDIA(0): Option "MetaModes" "1680x1050_120,1680x1050_120; NULL, 1680x1050_120; 1024x768, NULL"
what this mean:
1680x1050_120, 1680x1050_120 means a 3360x1050 resolution, in game you select 3360x1050 to use one big screen
NULL, 1680x1050_120 means a 1680x1050 resolution on left monitor (rigth monitor off), in game you set 1680x1050
1024x768, NULL mean resolution of 1024x768 of right monitor, in game it's just 1024x768 |
|
Back to top |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1609 Location: indiana
|
Posted: Thu Jan 02, 2020 2:45 pm Post subject: |
|
|
krinn wrote: | Mgiese wrote: | xrandr detects one big screen with resolution 3840 x 1080. but how do i force or tell games to use this resolution ? |
with metamodes
[ 57603.706] (**) NVIDIA(0): Option "MetaModes" "1680x1050_120,1680x1050_120; NULL, 1680x1050_120; 1024x768, NULL"
what this mean:
1680x1050_120, 1680x1050_120 means a 3360x1050 resolution, in game you select 3360x1050 to use one big screen
NULL, 1680x1050_120 means a 1680x1050 resolution on left monitor (rigth monitor off), in game you set 1680x1050
1024x768, NULL mean resolution of 1024x768 of right monitor, in game it's just 1024x768 |
thanks for help,
but even after setting it up, i cannot selected a diffrent resolution in game, it still recognizes only my primary display :
my xorg.cong looks like this atm
Code: | # nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 440.44
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1050"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
# Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
Option "MetaModes" "1920x1080_60,1920x1080_60; NULL, 1920x1080_60; 1920x1080_60, NULL"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
_________________ I do not have a Superman complex, for I am God not Superman
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu Jan 02, 2020 5:27 pm Post subject: |
|
|
like i said, not all games allow this big resolution, if you want see if it really work or not, try openttd, at least this one works
you can also create smaller resolution 1024x768x2 metamodes for a game which has a 2048 limit
ps: the _60 is a "custom" setting, while people name it _refresh, xorg is not taking the _60 has a value, more it is a special name ; which mean if it's only a name and not a refresh value that your 1920x1080_60 refer to a name that doesn't exist (it should be a name of a modeline)
try looking in xorg.log if really the 1920x1080_60 was use or if the driver itself has decide to switch to 1920x1080 because it's your native resolution of your monitor.
ps2: metamodes of 1920x1080 null and null, 1920x1080 is not usable "in game", while this is a correct value (you can switch from one to other using ctrl+alt+"+" key) to have left then right monitor disable, the driver will use the metamodes the game is asking the resolution for: which mean one or the other as both have same resolution, loosing control on which monitor you really want see the game. Using different resolution you remove the blur on which metamodes to use, ie: "metamodes" "1920x1080, null; null, 1024x768" would mean you can play a game using left monitor by setting the game in 1920x1080 or playing it in right monitor using 1024x786 in the game
have a look at my monitor thread just to figure out things by yourself, it's more a thread for the monitor rather than dual monitor usage but you'll see modeline and xorg.log showing name: https://forums.gentoo.org/viewtopic-t-894978.html |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|