Yes, it matters whether you are logged in directly or remotely, either with ssh or VNC.
In both cases, the preview usually works best if you add "--qt-preview" to the command line. This gives you a software rendered image, which isn't ideal, but it's better than the hardware assisted rendering when that doesn't work.
As you've discovered, plugging in a monitor makes the hardware rendered version much happier. Alternatively, I think you may be able to add "video=HDMI-A-1:1920x1080@60D" to the end of your /boot/firmware/cmdline.txt. But in many ways, using the "-n" (no preview) option is preferable to shipping video across the network if you don't need to.
In both cases, the preview usually works best if you add "--qt-preview" to the command line. This gives you a software rendered image, which isn't ideal, but it's better than the hardware assisted rendering when that doesn't work.
As you've discovered, plugging in a monitor makes the hardware rendered version much happier. Alternatively, I think you may be able to add "video=HDMI-A-1:1920x1080@60D" to the end of your /boot/firmware/cmdline.txt. But in many ways, using the "-n" (no preview) option is preferable to shipping video across the network if you don't need to.
Statistics: Posted by therealdavidp — Tue Jun 18, 2024 7:58 am