Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lutris doesn't detect Vulkan when using Wine 9 compilled with wow64 and -abi_x86_32 on gentoo #5273

Open
Amilton78 opened this issue Jan 24, 2024 · 7 comments

Comments

@Amilton78
Copy link

Something on Vulkan support detection probably is trying to find something not strictly necessary to use DXVK and VKD3D, likely some 32bit version of a Wine dependency, I'm able to play GoW 2018 no problems outside Lutris, as it wouldn't let me enable DXVK

Screenshot_20240124_202210

@Amilton78
Copy link
Author

The log

2024-01-24 20:28:43,862: Command 'fluidsynth' not found on your system
2024-01-24 20:28:44,159: Starting Lutris 0.5.16
2024-01-24 20:28:44,160: Running AMD Mesa driver 23.3.1 on AMD Radeon RX 6600 XT (radeonsi, navi23, LLVM 17.0.6, DRM 3.54, 6.6.13-gentoo-dist) (0x73ff)
2024-01-24 20:28:44,160: GPU: 1002:73FF 1849:5216 (amdgpu drivers)
2024-01-24 20:28:44,161: i386 libvulkan.so.1 missing (needed by vulkan)
2024-01-24 20:28:44,161: i386 libgnutls.so.30 missing (needed by gnutls)

@Amilton78
Copy link
Author

It works just fine in my system without those 32 bit versions of those .so files

@strycore
Copy link
Member

find this bit of code in lutris/util/linux.py :

    @property
    def runtime_architectures(self):
        """Return the architectures supported on this machine"""
        if self.arch == "x86_64":
            return ["i386", "x86_64"]
        return ["i386"]

and replace return ["i386", "x86_64"] with return ["x86_64"]

This should solve it.

We have to add support for pure 64bit systems.

@Amilton78
Copy link
Author

I hope pure 64-bit support gets added to lutris as wine gets better with 32 to 64-bit translation and versions like GE starts using it

@strycore
Copy link
Member

Yes. it will get improvement.
Wine 9 is just out and it is not a version we support currently.
We support wine-ge-8-25 and that's what you should be using right now.

@lupusbytes
Copy link

find this bit of code in lutris/util/linux.py :

    @property
    def runtime_architectures(self):
        """Return the architectures supported on this machine"""
        if self.arch == "x86_64":
            return ["i386", "x86_64"]
        return ["i386"]

and replace return ["i386", "x86_64"] with return ["x86_64"]

This should solve it.

We have to add support for pure 64bit systems.

This hack worked for me on my pure 64bit system.

@Amilton78
Copy link
Author

Amilton78 commented Feb 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants