It’s possible that it may work, but I have never tested the code on any AMD graphics cards (I don’t have any). The reason I recommend Nvidia graphics cards is that their Linux drivers are superb. AMD’s drivers have always had problems in the past, so I cannot make any promises.