Ok I solved the issue. I had the following in my Xorg setup to get the benefit of using 10bpc color. Removing this makes emacs work in gtk again. Feel free to close it /etc/X11/xorg.conf.d/20-amdgpu.conf Section "Screen" Identifier "asdf" DefaultDepth 30 EndSection