I have a 1920x1200 monitor connected using DVI and a FullHD television connected using HDMI. My video card is NVIDIA GK208B [GeForce GT 710]. I am running Linux Mint 21.
I would like to have a configuration in which the displays would be mirrored and I could change the resolution between 1920x1200 and 1920x1080. I would use the former for anything but Netflix (with TV off) and the like and the latter for them. Currently, the problem is that apparently the automatic discovery of supported resolutions is not listing 1920x1080 for the monitor and because of that, I don't have that available in configuration tools.
Currently, my work-around for this is to change not just the resolution but also the primary display. By making the TV the primary display, I can force the monitor to 1920x1080. I just have had this working more smoothly in the past when there was a xorg.conf that I could edit manually to add the missing mode line.
Just for the case it matters, inxi -G says
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 710] driver: nvidia v: 470.161.03
Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution:
1: 1920x1200~60Hz 2: 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GT 710/PCIe/SSE2
v: 4.6.0 NVIDIA 470.161.03
I have found several web pages that instruct how to add custom resolutions, but they are not working for me.
Here is what I am getting with them:
xrandr
Screen 0: minimum 8 x 8, current 3840 x 1200, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 550mm x 343mm
1920x1200 59.95*+
1680x1050 59.95
1600x1200 60.00
1280x1024 75.02 60.02
1280x960 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
HDMI-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
1920x1080 60.00*+ 59.94 50.00 29.97 25.00 23.98 60.05 60.00 50.04
1360x768 60.02
1280x1024 60.02
1280x720 60.00 59.94 59.81 50.00
1152x864 75.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
cvt 1920 1080
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --newmode "1080p" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DVI-D-0 "1080p"
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36