Ubuntu 20.04, Sceptre 24" monitors (2) (they have HDMI inputs), ViewSonic VG2439m-LED 24" monitors (2) (they have display port monitors), HDMI to mini DP cables (2), DP and mini DP cables (2), and Nvidia NVS 510 graphics card (mini DP outputs, worked with all 4 monitors before).
A bit of context: A few days ago, I connected the 4 above monitors to my graphics card. For about a week, it ran fine.
Today, I noticed that only my main monitor (connected to output 1 of the graphics card) turned on. The other monitors, which were all plugged it, didn't even respond (i.e. they didn't even get a "no signal" error, which they used to when there was an error).
I started by restarting my PC, unplugging the cables between the monitor and the graphics card, and turning it back on. However, the issue remained.
I should also note that previously the other 3 monitors will light up when the PC turns on, however they didn't anymore.
I tried plugging in the cable that ran from output 1 (and connected to the good monitor previously) and plugged it into other graphics outputs, which didn't work either.
At no point did the machine detect the three other monitors.
I also tried swapping out the cables for other cables I had, but this didn't work.
However, when I switched out the SSD with an SSD that had Windows flashed to it, all four monitors just worked fine as soon as I started it up. I switched the Ubuntu SSD back in and it still had the same problem.
Any advice?