An MS Windows emulator

Edit Package wine

An MS Windows emulator, consisting of both runtime and also source
compatibility functions. You can run your MS executables with it, and
you can write your Windows programs under Linux and link against the
WINE libraries.

It is not necessary to have a Windows installation to run WINE.

Please have a look at /usr/share/doc/packages/wine/README.SuSE. There
is more documentation available in that directory. Read 'man wine' for
further information.

You can invoke wine by entering: 'wine program.exe' wine can be
configured by running 'winecfg'.

Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename Size Changed
baselibs.conf 0000000401 401 Bytes
project.diff 0000000487 487 Bytes
ubuntuwine.tar.bz2 0000026725 26.1 KB
wine.changes 0000244314 239 KB
wine.dsc 0000001243 1.21 KB
wine.spec 0000020648 20.2 KB
wisotool 0000317786 310 KB
Comments 14

magist3r sergei's avatar

Hi. Looks like 32bit vulkan library was added to Leap 42.3: https://lists.opensuse.org/opensuse-updates/2018-04/msg00018.html. Can you build wine with vulkan for 32bit too?


Rafał Miłecki's avatar

Hi, I noticed that:
1. openSUSE 15.2 comes with wine 5.0 without vkd3d dependency
2. openSUSE 15.3 comes with wine 6.0 without vkd3d dependency
3. openSUSE Tumbleweed comes with wine 6.19 that depends on libvkd3d1

I tested wine from Emulators:Wine with:
1. openSUSE_Leap_15.2
2. openSUSE_Leap_15.2_Update
3. openSUSE_Leap_15.3
and none of above depends on vkd3d. I guess it means it doesn't support vkd3d (aka Direct3D 12). Whenever I tried to run Diablo II: Resurrected I get "Failed to initialize graphics device." error.

Is that possible to compile wine for 15.2 and 15.3 in Emulators:Wine with vkd3d (aka Direct3D 12) support, please?


Эникей Админ's avatar

Hello zajec. I enable vkd3d for openSUSE 15 just now. Previously I'd enabled vkd3d only for Tumbleweed because there wasn't vkd3d package in 15.0 that was actual version in that moment. Now 15.1-15.3 releases available but I didn't edit the SPEC. Thank you for reply.

Edit: I see that vkd3d is still unavailable in openSUSE 15.1 32-bit. I will think about that for making a rule for enable it only for >= 15.2.

Edit2: It's also unavailable in 15.3 32-bit. But it's available in 15.2 for all architectures. It's strange. I'll ask Marcus about that.


Rafał Miłecki's avatar

Thank you so much for looking into this!

I've just installed wine-6.19-lp152.1377.1.x86_64 but it doesn't pull (depend on) libvkd3d.

I checked build log I found: https://build.opensuse.org/build/Emulators:Wine/openSUSE_Leap_15.2/x86_64/wine/_log and it contains:

[  148s] checking for -lvkd3d... not found
[  148s] checking for -lvkd3d-shader... not found
(...)
[  169s] configure: vkd3d 64-bit development files not found (or too old), Direct3D 12 won't be supported.

I tried to ./configure wine-6.19 locally on my openSUSE 15.2 and I have the same problem as above.


Rafał Miłecki's avatar

I've found vkd3d-devel-1.2-lp152.36.1 in the graphics repository, installed it and tried ./configure again. It worked:

checking for -lvkd3d... libvkd3d.so.1
checking for -lvkd3d-shader... libvkd3d-shader.so.1

It seems that wine-6.19 can't work with vkd3d 1.1 from the openSUSE 15.2 main repository (it's probably too old?) :(

Is there any solution for that? Both 15.2 and 15.3 come with 1.1. Is that a good / acceptable idea to make Emulators:Wine provide 1.2 and make its wine depend on it?


Rafał Miłecki's avatar

https://source.winehq.org/git/wine.git/commitdiff/681105fd482cb790568576c1d0a360288904ec82 ("d3d12: Implement D3D12SerializeVersionedRootSignature() on top of vkd3d_serialize_versioned_root_signature().")

Wine 6.1 and all newer require vkd3d 1.2+.


Marcus Meissner's avatar

I linked the factory vkd3d into Emulators:Wine, which should fix it.

There was no i586 version in 15.3.


Rafał Miłecki's avatar

https://build.opensuse.org/build/Emulators:Wine/openSUSE_Leap_15.2_Update/x86_64/wine/_log
looks good!

[  102s] checking for -lvkd3d... libvkd3d.so.1
[  102s] checking for -lvkd3d-shader... libvkd3d-shader.so.1

Package installation pulls libvkd3d too!

The following 2 NEW packages are going to be installed:
  libvkd3d-shader1 libvkd3d1

The following package is going to be upgraded:
  wine

Rafał Miłecki's avatar

Seems to work for 32bit version as well. Thank you linux4humans & msmeissn.

The following 3 NEW packages are going to be installed:
  libvkd3d-shader1-32bit libvkd3d1-32bit wine-32bit

Sadly Diablo II: Resurrected still doesn't start:

Failed to initialize graphics device. Please ensure your PC meets the minimum system requirements and your drivers are up to date.

but I can't blame openSUSE's wine for that. I'll keep looking for solution to that somewhere else.


Anatoly Bobrov's avatar

There's no 32-bit package for Leap 15.5 due to a missing dependency. Please fix


Marcus Meissner's avatar

this will be a bit challenging, to get vkd3d to build i need to update vulkan-headers on the SLE side.


Anatoly Bobrov's avatar

Isn't headers package something needed only at build-time? I don't see why it's not possible to add headers into this repo and set it to 'use-for-build' and 'no-publish'


Marcus Meissner's avatar

lets try that.


Michael Hohmuth's avatar

This time, there's 6no 4-bit package due to a missing dependency …

openSUSE Build Service is sponsored by