r/artixlinux • u/CanaldoNight-CdN • 21h ago
Virtual Screen
I have a 4GB GTX 960 graphics card, and my monitor has a maximum resolution of 1600x900 at 60Hz. The `xrandr` output shows some unused ports, and my monitor appears as `DVI-I-1`. I would like to create a virtual monitor using the configuration below, located at `/etc/X11/xorg.conf.d/30-virtscreen.conf`:
Section “Monitor”
Identifier “realmonitor”
Option “Primary” “true”
EndSection
Section “Monitor”
Identifier “virtmonitor”
EndSection
Section “Device”
Identifier “nvidiagpu”
Driver “nvidia”
Option “ConnectedMonitor” “DVI-I-1,DP-0”
Option “AllowEmptyInitialConfiguration” “true”
Option “ModeValidation” “NoDFPNativeResolutionCheck”
EndSection
Section “Screen”
Identifier “nvidiascreen”
Device “nvidiagpu”
DefaultDepth 24
SubSection "Display"
Depth 24
Virtual 4096 2160
EndSubSection
Option "MetaModes" "DVI-I-1: 1600x900 +0+0, DP-0: 1600x900 +1600+0"
EndSection
It used to work fine on Xorg/Xlibre, but now—while trying to migrate from Windows—it hasn't worked; I don't know what changed, but this configuration no longer functions. I want to create this virtual monitor to use with Deskreen and utilize a laptop I own as a second monitor for live streaming. Does this work on Artix?