I have a media center pc with a discrete gpu (AMD Radeon R9 270x) and a internal intel graphics and I have some problems with the HDMI-audio output when using ALSA and the Radeon card. HDMI audio from my internal gpu is working fine. The reason for using a powerful gpu is to be able to do some gaming.
I had GPU offloading (PRIME) working using xorg display server, but noticed some artifacts when gaming using the Radeon card. Now I would like to test Weston with XWayland on the internal gpu and use the radeon card to render the more demanding games.
My understanding is that it is possible to use gpu offloading with wayland. What I don't seem to understand is how to enable the offloading from a wayland session. Is it as simple as setting DRI_PRIME=1? I would imagine that I need some more configuration.
Thanks in advance :)