Llvmpipe is used as opengl render instead of nvidia

You need to create a basic /etc/X11/xorg.conf

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:24:0:0"
EndSection

and of course connect a monitor to the specific nvidia gpu.