assuming ubuntu hirsute+
    lshw -c video
    xrandr
    xrandr --listproviders
    xrandr --listmonitors
    xrandr --listactivemonitors
    xrandr --output HDMI-A-1-0 --auto --right-of eDP-1-0
for an 4K display that is too small, one might reduce resolution
xrandr --output HDMI-A-1-0 --mode 2560x1440 --right-of eDP-1-0
apt reinstall nvidia-driver-460
https://www.reddit.com/r/linux4noobs/comments/kh06kd/linuxmodulesnvidia440generichwe2004_kept_back/