lima: error task list is full when running vcvrack
System: Host: tx3mini Kernel: 5.8.0-stb-aml+ aarch64 bits: 32 Desktop: Xfce 4.12.3 (Gtk 2.24.31) dm: lightdm Distro: Ubuntu 18.04.4 LTS CPU: Quad core (-MCP-) bmips: arch: ARM clock speeds: min/max: 100/1200 MHz 1: 1000 MHz 2: 1000 MHz 3: 1000 MHz 4: 1000 MHz Graphics: Card: Failed to Detect Video Card! Display Server: x11 (X.Org 1.19.6 ) driver: modesetting Resolution: email@example.com OpenGL: renderer: Mali450 version: 2.1 Mesa 20.1.6 (git-11a9fde2) Direct Render: Yes
- Desktop manager and compositor: xfce - compositor disabled
Describe the issue
when trying to run the aarch64/armv7l version of vcvrack (www.vcvrack.com - my aarch64/armv7l builds: https://github.com/hexdump0815/vcvrack-dockerbuild-v1/releases/tag/v1.1.6_5) it seems to run into trouble with lima. i saw the same problem on an aarch64 amlogic s905w tv box with mali450 (described in detail here) as well as on an armv7l exynos 4412 odroid u3 with mali400, so it seems to be a generic problem. when the problem appears the app seems to hand and the system is not responding too well anymore. sometimes it seemed to happen when loading any patch (term for files loaded into the vcvrack app), but for sure i was always able to trigger the problem with the following patch: https://github.com/hexdump0815/sonaremin/blob/master/files/data/vcvrack-v1/tinyvcvpatches/0010-28.3.2020tp.vcv ... in general the hanging situation is reproducable.
i guess it never worked before with lima, but i can at least confirm that it seems to be working well with panfrost on a rk3399 system. it works well using the mali blob and mainline adjusted driver for it on both above mentioned mali4x0 systems.
Log files as attachment
lima boot messages: [ 3.497142] lima d00c0000.gpu: gp - mali450 version major 0 minor 0 [ 3.508424] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0 [ 3.529546] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0 [ 3.540764] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0 [ 3.555686] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus [ 3.584782] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus [ 3.594359] lima d00c0000.gpu: bus rate = 166666667 [ 3.598503] lima d00c0000.gpu: mod rate = 744000000 [ 3.603539] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0 drm boot messages: [ 3.471953] meson-drm d0100000.vpu: Queued 3 outputs on vpu [ 3.508884] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.509073] [drm] forcing Composite-1 connector off [ 3.602382] [drm] forcing HDMI-A-1 connector on [ 3.602443] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi]) [ 3.603411] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1 [ 3.603539] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0 [ 3.960956] meson-drm d0100000.vpu: fb0: mesondrmfb frame buffer device dmesg when the error occurs: [ 354.585646] lima d00c0000.gpu: fail to save task state from Rack pid 2978: error task list is full [ 354.585661] lima d00c0000.gpu: gp task error int_state=0 status=aa
Any extra information would be greatly appreciated
i can try to provide an apitrace, but my first tries to do so far failed ...