You are not logged in.
Pages: 1
I have a dual monitor setup. The main one is connected via displayport and the second on the right is rotated vertically and is connected via hdmi. Both are plugged into a Nvidia graphics card. Nvidia settings gui show both but polybar and xrandr doesn't detect the rotated monitor. Something probably incorrectly set in my xorg file? I can mouse onto it but I can't move any windows onto it, which is very strange (using BSPWM, if that matters). Dual monitor setup was working before but something got messed up after I rotated it or I am misunderstanding something in the new config file.
xorg.conf file:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 465.31
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 465.31
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 1920 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/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 "BenQ GW2480"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "BenQ GW2480"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1050"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce GTX 1050"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2"
Option "metamodes" "DP-0: 1920x1080_60 +0+0 {AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
# Removed Option "metamodes" "HDMI-0: 1920x1080_60 +0+0 {rotation=left, AllowGSYNC=Off}"
# Removed Option "metamodes" "HDMI-0: 1920x1080_60 +0+0 {rotation=right, AllowGSYNC=Off}"
# Removed Option "metamodes" "HDMI-0: 1920x1080_60 +0+0 {rotation=left, AllowGSYNC=Off}"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: 1920x1080_60 +1920+0 {rotation=right, reflection=XY, AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSectionLast edited by felixculpa (2021-07-06 04:07:24)
Offline
I deleted my xorg config and set a fresh one once logged in. This fixed the main issues. Turns out I had both monitors set on different "screens" when it should have been one "screen." However now I face a different problem. The mouse cursor is way bigger than normal and the font size at least in dmenu is much larger than normal?
Offline
Try creating a ~/.Xresources file with this on it "Xcursor.size: 16".
Hope it helps.![]()
Offline
Pages: 1