They both appear to be very good Freesync monitors.
I have seen the ViewSonic XG2402 working with an AMD GPU.
As you might know, TN panels are not that good when it comes to viewing angles, so you have to be dead center to get the best colors.
It does has a good build quality the picture quality could have been better, specially in a dark room.
The black levels are not even, since the top half of the monitor appears darker than the bottom half. You might not notice it while gaming in lit room, but you could notice when watching a video or film.
I don't know if the BenQ 24" XL2411P will fair any better.