[Bazzite + ROG Ally] Screen flickering when plugged and use touch screen

Hi! I’m having an issue when try to use the touch screen if my Bazzite Rog Ally is plugged. The screen starts to flicker, blinking nonstop. If I unplug, it normalizes, but I would like to understand it better and solve it. Anyone can help?