etnaviv: mesa-22.3.0 regression on i.MX8M Mini
System information
- OS:
Dumpling Wayland (TQ-Systems Dumpling Wayland Distribution)
- GPU:
dmesg|grep etnaviv-gpu
[ 1.390820] etnaviv-gpu 38000000.gpu: model: GC600, revision: 4653
[ 1.397082] etnaviv-gpu 38000000.gpu: Need to move linear window on MC1.0, disabling TS
[ 1.405107] etnaviv-gpu 38008000.gpu: model: GC520, revision: 5341
- Kernel version:
Linux tqma8-common 6.1.0-next-20221214+ #1063 SMP PREEMPT Wed Dec 14 11:02:52 CET 2022 aarch64 aarch64 aarch64 GNU/Linux
- Mesa version:
GL version: OpenGL ES 2.0 Mesa 23.0.0-devel (git-9dedbf66f6)
- Desktop manager and compositor:
weston 10.0.2
Describe the issue
Starting with commit d08bd9a8 ("etnaviv: don't expose array and 3D texture support on pre-halti GPUs") weston
displays just a black screen.
Trying the immediate commit before 2b0f77bd ("etnaviv: allow 3D textures with TS in transfer"), weston
displays as expected.
Regression
Starting with commit d08bd9a8 ("etnaviv: don't expose array and 3D texture support on pre-halti GPUs") this regression occured.
Log files as attachment
When starting weston
at some point the following Mesa messages are output:
Mesa: User error: GL_INVALID_VALUE in glTexImage2D(invalid width=1280 or height=32 or depth=1)
Mesa: 1 similar GL_INVALID_VALUE errors
Mesa: User error: GL_INVALID_OPERATION in glTexSubImage2D(invalid texture level 0)
Mesa: User error: GL_INVALID_OPERATION in glTexSubImage2D(invalid texture level 0)
Any extra information would be greatly appreciated
Apparently this doesn't happen with an i.MX8M Nano, so I suspect this is due to that the GPU on i.MX8M Mini only supports OpenGLES 2, rather than version 3.