Gsync/freesync; ubuntu 18.04

So i have a free-sync monitor and a 1060 3gb card the NVIDIA 418.43 driver on xubunut 18.04
i turned on the display’s refresh rate indicator
enabled gsync/freesync in the driver
I tried supertuxkart and xonotic to see if it worked and it did not work
the only thing i was able to get it to work on was https://github.com/dahenry/gl-gsync-demo
interestingly enough the demo even works with dual monitors
found out i can not use force composition pipeline and have freesync work
nothing i tried will get it to work in the actual games am i doing something wrong?