White box for Webrender Firefox with R600_DEBUG=nir on Evergreen GPU
- OS: Lubuntu 21.04 with all latest stable updates
- GPU: Wrestler [Radeon HD 6250] [1002:9804]
- OpenGL renderer string: AMD PALM (DRM 2.50.0 / 5.12.12-051212-generic, LLVM 12.0.0)
- Kernel version: 5.12.12-051212-generic from Ubuntu ppa Mainline 5.12.12
- Mesa version: 3.1 Mesa 21.2.0-devel (git-b4d90b11 2021-06-20 hirsute-oibaf-ppa)
- Xserver version: X.Org X Server 1.20.11
- Desktop manager and compositor: LXQt0.16.0 / openbox3.6.1-9+deb11u1
I enabled nir for Mesa and saw my Mesa core profile go from 3.3 to 4.5. glxgears, glmark2 and the less demanding OPENGL games worked as expected (PrBoom+, minetest, SuperTux, Tuxracer ). Even Chromium worked great with video hardware acceleration.
With latest stable Firefox (89.0.1+build1-0ubuntu0.21.04.1) only white and grey boxes. No other graphics or text. www.google.com is the starting page.
Used: export R600_DEBUG=nir ; rm -rf ~/.cache/* ; firefox
I switched back GL-TGSI and tried firefox and it worked fine:
unset R600_DEBUG ; rm -rf ~/.cache/* ; firefox
Disabling webrender in Firefox works fine with nir enabled.
Regression
No this is first time I tried with R600_DEBUG=nir. Also same issue with nirsb.