[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943865: src:mesa: Please build Mesa SWR rasterizer on amd64 and i386



Package: src:mesa
Severity: normal

Dear Maintainer,

SWR is a new high performance rasterizer that is usually significantly
faster than softpipe or llvmpipe and is merged in upstream Mesa for
some time.

Adding these meson extra flags:

"-Dgallium-drivers=....,swrast,swr" "-Dswr-arches=avx,avx2,knl,skx"

should build and install these files in lib/{x86_64,i386}-linux-gnu/

libswrAVX2.so
libswrAVX2.so.0
libswrAVX2.so.0.0.0
libswrAVX.so
libswrAVX.so.0
libswrAVX.so.0.0.0
libswrKNL.so
libswrKNL.so.0
libswrKNL.so.0.0.0
libswrSKX.so
libswrSKX.so.0
libswrSKX.so.0.0.0

dri/kms_swrast_dri.so    (maybe)
dri/swrast_dri.so

It is probably worth packaging into separate package (with all arches
tho, no need to split it into 4 packages, mesa gallium loaader will
automatically determine best suitable version and load it dynamically).

Building on other archs might succeed (unlikely), but it is pointless as
SWR targets at the moment only x86 specific vector instructions so even if
it manages to be able to generate code at runtime (via LLVM) it will not be
able to run it anyway. Thus the request is only for i386 and amd64.

Adding x32 and kfreebsd-{amd64,i386} at your discretion.

Best regards,
Witold.





-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/32 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: