I should state the script does work on my test machine which runs Manjaro Linux.
I did follow the setup guide in the docs step by step so I am not so sure its a driver issue. It might be a library issue or maybe the script is conflicting with something in Debian. It’s just beyond me at this point so I am asking for help.
Also installed the vulkan drivers following instructions here:
After that, I got some errors related to my system not being vulkan capable, but anyway could run lutris normally after that, and be able to run the epic games launcher, that was the one I was having trouble with.