You are not logged in.
hey, I have installed nvidia drivers with 2 monitors, I am using 1 layout to display two screens (given default by nvidia-settings)
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.57
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSectionso when I record or share screen it looks like this:
https://imgur.com/gLoxIcT
I cant focus on 1 monitor, so I have changed the config file to make both "diff" screens
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 450.57
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 450.57
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 1600 0
Screen 1 "Screen1" LeftOf "Screen0"
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/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung C24F390"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 72.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "HP S2031"
HorizSync 24.0 - 83.0
VertRefresh 50.0 - 76.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 970"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 970"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +0+0 {AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionnow my second screen look exactly like this (took from: https://www.nvidia.com/en-us/geforce/fo … -running/):
https://i.imgur.com/yiehQn6.jpg
I have tried everything, I have added/removed `nomodeset` from the grub arg even added `ConnectedMonitor` option to the xorg.conf, nothing seems to work, when I use the new settings and
do
>>> xrandr -qonly the primary sreen is shown, and when I look in `nvidia-setting` I see both monitors, how? how can I fix it so I be able to focus on a pacific screen?
Mod note: -- Removed oversized image -- V1del
Last edited by V1del (2020-09-10 17:55:49)
Offline
Welcome to the boards,
Please familiarize yourself with our guidelines regarding linked image sizes: https://wiki.archlinux.org/index.php/Co … s_and_code
That out of the way, I entirely expect your screen to look like in the image and xrandr to only show you one screen with that configuration. Multiple xorg screens logically disjoints them from each other, if you want something shown on the "black" screen start your applications with DISPLAY=:1. Assuming that isn't really what you want I suggest you remove all of these configuration files, start the system and then post the output of
xrandr -qalong with a plain description of how it looks in that state, what your ultimate end goal is, and which streaming software you intend to use here.
Last edited by V1del (2020-09-10 18:03:13)
Offline