Dummy plugs are a lot easier for most people. I added a fake 4K monitor to my desktop via software for remote game streaming, and it was a lot more complicated than I expected[^1].

[^1]: https://pfy.ch/programming/4k-sunshine.html

What gpu/driver were you using?

I was using an AMD 5700xt at the time with Mesa drivers