nouveau/tegra: nvc0_validate_fb: Assertion `!fb->zsbuf' failed.
System information
System: Host: tegra Kernel: 5.4.35-ntg-cbt+ armv7l bits: 32 gcc: 7.4.0
Desktop: Xfce 4.12.3 (Gtk 2.24.31) dm: lightdm Distro: Ubuntu 18.04.4 LTS
CPU: Quad core ARMv7 rev 3 (v7l) (-MCP-) bmips: arch: ARM
clock speeds: min/max: 204/2116 MHz 1: 1938 MHz 2: 1938 MHz 3: 1938 MHz 4: 1938 MHz
Graphics: Card: Failed to Detect Video Card!
Display Server: x11 (X.Org 1.20.5 ) drivers: modesetting (unloaded: fbdev)
Resolution: 1920x1080@60.05hz
OpenGL: renderer: tegra version: 4.3 Mesa 20.1.6 (git-11a9fde22b) Direct Render: Yes
Describe the issue
i'm trying to run mainline linux and mesa on an acer cb5-311 arm notebook, which is using an nvidia tegra k1 soc/gpu. i think i got all basically working and glxinfo even works without a problem, but if i run any real gxl app i get the following error:
../src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c:258: nvc0_validate_fb: Assertion `!fb->zsbuf' failed.
attached are the boot dmesg, Xorg.0.log, glxinfo output and the output of a glxgears run. when i try to run glxgears then for a moment a window is shown but immediately after it disappears and the above error appears on the cmdline. glxheads and glxdemo are working fine in the same setup.
Regression
i have read that other people seem to have had a mainline kernel and mesa working on that hardware, so it might be a regression.
Log files as attachment
- dmesg
- Xorg.0.log
- glxinfo output
- output of a glxgears run
Any extra information would be greatly appreciated
in case anyone with the same hardware wants to play around with it here is a bootable sd card image (nyanbig): https://github.com/hexdump0815/imagebuilder/releases/tag/200526-01
this is the mesa build used: https://github.com/hexdump0815/mesa-etc-build/releases/download/20.1.6/opt-mesa-armv7l-ubuntu.tar.gz
kernel used: https://github.com/hexdump0815/linux-mainline-tegra-k1-kernel/releases/tag/5.4.35-ntg-cbt%2B