For anyone in a similar situation setting /etc/environment to the following fixes it:
DRI_PRIME=pci-0000_6b_00_0
__NV_PRIME_RENDER_OFFLOAD=0
GSK_RENDERER=ngl
To find what card to use for DRI_PRIME, you can use switcherooctl in terminal/console.
For anyone in a similar situation setting /etc/environment to the following fixes it:
DRI_PRIME=pci-0000_6b_00_0
__NV_PRIME_RENDER_OFFLOAD=0
GSK_RENDERER=ngl
To find what card to use for DRI_PRIME, you can use switcherooctl in terminal/console.