I actually ended up generating a "vkd3d-tools" package for my Ubuntu PPA 
packages with this binary set
to Multi-Arch: no

This way ppl can optionally choose to install this as either x86_64 or i386 
depending on needs. However
i am very unsure if it is wise to be able to install a i386 binary directly in 
/usr/bin altogether?
Renaming this in the sceme like gcc does - eg. 
x86_64-linux-gnu-vkd3d-compiler/i686-linux-gnu-vkd3d-compiler
maybe? Not sure if that is reasonable either...

Libraries are installed in their respective /usr/lib/x86_64-linux-gnu or 
/usr/lib/i386-linux-gnu folders
depending on arch, so that is multi-arch.

Wine requires both the vkd3d-dev and vkd3d-dev:i386 packages with libraries 
installed when compiling to
support 64-bit and 32-bit d3d12 games. Not that i really know of many d3d12 
games that are 32-bit tho, but
for correctness sake, i think this should be the case. Many games still uses 
32-bit loaders even if the
game itself is 64-bit... what would happen if the loader does not find any 
d3d12 capabilities?

Sveinar Søpler


----- On Mar 1, 2021, at 6:23 PM, Francois Gouget fgou...@free.fr wrote:

> Package: libvkd3d-dev
> Version: 1.2-3
> Severity: normal
> 
> 
> libvkd3d-dev 1.2-3 ships the architecture-dependent
> /usr/bin/vkd3d-compiler file which is incompatible with "Multi-Arch:
> same".
> 
> So as is the package is invalid.
> 
> Multiarch support in vkd3d is really needed though because Wine
> depends on it as Windows applications come in both 32-bit and 64-bit
> flavors. So lack of multiarch support in vkd3d prevents Wine from
> having D3D12 support in either its 32- or 64-bit versions thus making
> development much harder.
> 
> -- System Information:
> Debian Release: 10.8
>  APT prefers stable
>  APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 4.19.0-14-amd64 (SMP w/8 CPU cores)
> Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
> LANGUAGE=fr:en_US (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages libvkd3d-dev depends on:
> ii  libc6             2.28-10
> ii  libvkd3d-shader1  1.2-3
> ii  libvkd3d-utils1   1.2-3
> ii  libvkd3d1         1.2-3
> 
> libvkd3d-dev recommends no packages.
> 
> libvkd3d-dev suggests no packages.
> 
> -- no debconf information

Reply via email to