I am running i3 window manager on Arch Linux, and am trying to use xrandr to use both my laptop screen and desktop monitor together. I intend the screens to have separate workspaces but to be able to move workspaces between monitors as needed. The laptop screen is 4K (3840x2160) but the monitor is only 1920x1080. From research on i3 with multiple monitors, and people with my same situation, I put together the following xrandr command:
$ xrandr --output eDP-1 --mode 3840x2160 --pos 0x0 --auto \\ --output HDMI-1-0 --mode 1920x1080 --pos 3840x0 --auto \\ --panning 3840x2610+3840+0 --scale 2.0x2.0 --fb 7680x2160
Upon running this command, the laptop monitor works as normal (running at 4k with full coverage) but the desktop monitor only display my background image (through feh) and i3 windows on the top left portion (which appears to be a 1920x1080 chunk of the scaled screen). The other three quarters of the display are black. However, I am able to move my cursor between the two displays without issue. The cursor transitions seamlessly between screens and even displays over the black portion of the desktop monitor (on which i3 windows do not show).
Is my xrandr command not doing what I intend, or is there some kind of external factor (maybe I have conflicting DPI settings) which is causing this?
In case it is relevant, the laptop is running a newer NVIDIA graphics card (RTX 2070) along with Intel integrated graphics. I have the packages nvidia and nvidia-utils installed as graphical drivers and OpenGL support respectively.