Bottles
Bottles copied to clipboard
Indication for flatpak Mesa & VKD3D incompatible versions
Problem
After installing Battle.net through the provided Installers, World of Warcraft could only run with DXVK and not VKD3D for DX12 when using an AMD GPU that use Mesa. Works with Nvidia in at least one case.
This can be a hard problem to solve if you are not aware that flatpak provide Mesa.
Issue
The newer versions of VKD3D (selected by default by Bottles) requires a newer Mesa than provided by flatpak.
Possible solution
Is it possible to perhaps indicate a version mismatch of Mesa & VKD3D or why it failed to use it when starting an application or somehow make the user aware that this could be the problem?
Alternatively, we could make it build a newer version of Mesa. We could use LPub3D as a reference.
https://github.com/flathub/io.github.trevorsandy.LPub3D/blob/699e84aa4441989ef8fea31e35b9114879fd49c3/io.github.trevorsandy.LPub3D.json#L49-L80
@mirkobrombin what do you think?
Alternatively, we could make it build a newer version of Mesa. We could use LPub3D as a reference.
https://github.com/flathub/io.github.trevorsandy.LPub3D/blob/699e84aa4441989ef8fea31e35b9114879fd49c3/io.github.trevorsandy.LPub3D.json#L49-L80
@mirkobrombin what do you think?
I agree with this solution
Would something like this work?
- name: mesa
buildsystem: meson
config-opts:
- '-Dosmesa=classic'
- '-Ddri-drivers=[]'
- '-Dgallium-drivers=[]'
- '-Dvulkan-drivers=[]'
- '-Dplatforms=[]'
build-options:
arch:
aarch64:
config-opts:
- '-Dlibunwind=disabled'
cleanup:
- /share/drirc.d
- /include
- '*.a'
sources:
- type: archive
url: https://archive.mesa3d.org/mesa-22.1.4.tar.xz
sha256: 670d8cbe8b72902a45ea2da68a9da4dc4a5d99c5953a926177adbce1b1640b76
I'm unfamiliar with mesa.
Should be correct but I'm unfamiliar too
I asked in the Flatpak Matrix a couple of days ago, but they suggested to wait for the runtime to come out.
I think this is really inconvenient for our use case as we should always ship the latest versions of mesa. I opened issue #1462 on fd.o GitLab to see if we can do something about it.
I have the same issue - none of my games can run in dx12 but they work completely fine in dx11
I asked in the Flatpak Matrix a couple of days ago, but they suggested to wait for the runtime to come out.
I think this is really inconvenient for our use case as we should always ship the latest versions of mesa. I opened issue #1462 on fd.o GitLab to see if we can do something about it.
According to this, I think we should just wait for it. We should consider to add drivers version on the health check, so the user can be aware of the differences between host and flatpak.
Was there any progress with adding the drivers version to the health check? I think new freedesktop-sdk version just dropped few days ago, because I had many updates on flatpak for it.
Good news! GNOME 43 runtime just came out, so we're currently working on upgrading it.