Nvidia Settings segfaults when launched through SSH, but will run just fine when launched on the local machine

Just like the title says, nvidia-settings will launch when called from a graphical terminal window running on the local machine, but segfaults if I try to call it over SSH with X forwarding enabled. I’ve tested the X forwarding, and it does work correctly.

My error log file is located here: https://gist.github.com/cdchris12/d7a778db9061989c656027808ae207e9