Error "extension DPMS" missing on display ":0" crashes - effects multiple versions
Hello. I tried termux native debian, and also proot ubuntu. Both are able to get to the desktop fine, but opening Firefox causes this crash pretty quickly with this error:
Xlib: extension "DPMS" missing on display ":0" then it says Crash annotation graphicscriticalerror: GFX1: glxtest: managechildprocess failed: no GPUs detected via PCI
Note: I tried installing debian, ran into this issue, cleared termux app data, reinstaled with proot ubuntu, and issue still exists.
Looks like there are are a couple other issues that mention this, but no resolution. https://github.com/JesusChapman/termux-desktop-xfce/issues/127 https://github.com/termux/proot-distro/issues/214 I also found this, but am not sure how this fix from 2004 relates to this problem 21 years later... https://forums.gentoo.org/viewtopic-t-527292.html
It seems like the termux xorg app has GPU acceleration issues?
Change firefox to firefox-esr and add export MOZ_FAKE_NO_SANDBOX=1 to your .zshrc or .bashrc file. That should work.