I just tried this solution again after reinstalling the bumblebee driver. For whatever reasonHowever, I changed /etc/bumblebee/xorg.conf.nvidia before running optirun intel-virtual-output and it worked this time. The Archwiki didn't mention that this must be done beforehand so I had only changed the issue seems to be solvedconfiguration files afterwards and re-running optirun intel-virtual-output probably didn't work as there was already an instance of it running.