|
Bugzilla – Full Text Bug Listing |
| Summary: | python-matplotlib:test FTBFS with Mesa 23.3.0 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Ana Guerrero <ana.guerrero> |
| Component: | Python | Assignee: | Stefan Dirsch <sndirsch> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P2 - High | CC: | sndirsch |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | python-matplotlib:test | ||
|
Description
Ana Guerrero
2024-01-23 13:21:50 UTC
Ok. Adding packages libvulkan_lvp Mesa-vulkan-device-select Mesa-vulkan-overlay doesn't help. Even removing zink_dri.so from /usr/lib64/dri/doesn't during build before the test runs does not. [...] [ 199s] > assert completed.stderr == b"" [ 199s] E AssertionError: assert b'MESA-LOADER: failed to open zink: /usr/lib64/dri/zink_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/dri, suffix _dri)\nfailed to load driver: zink\n' == b'' [...] For some reason Mesa thinks it wants to load zink driver. And fails, if this is not possible. When not removing the driver file [ 270s] > assert completed.stderr == b"" [ 270s] E AssertionError: assert b'error: XDG_RUNTIME_DIR is invalid or not set in the environment.\nMESA: error: ZINK: failed to choose pdev\nglx: failed to create drisw screen\nfailed to load driver: zink\n' == b'' Ok. I can reproduce these messages, but they are just warnings. The fallback to 'swrast' ("llvmpipe") driver just works. Actually you can already use
D3D_ALWAYS_SOFTWARE=1 glxinfo
to use zink + software rendering
I suggest to make use of
LIBGL_ALWAYS_SOFTWARE=1
environment variable. Hopefully eporting it works, I'm doing a testbuild of python-matplotlib:test with that right now.
(setting LIBGL_ALWAYS_SOFTWARE=1 forces Mesa to use 'swrast' ("llvmpipe") driver.)
Seems to work. Submit requests here. https://build.opensuse.org/request/show/1141029 https://build.opensuse.org/request/show/1141030 Closing. (In reply to Ana Guerrero from comment #8) > Testing here: > > https://build.opensuse.org/project/show/openSUSE:Factory:Staging:E Seems this was successful. :-) |