Dxvk: Question: DXVK shared resources?

Created on 27 Apr 2019  路  6Comments  路  Source: doitsujin/dxvk

Working on https://github.com/PhoenicisOrg/scripts/issues/914 which results in
image

Was told by upstream that FiveM won't work on linux due DXVK missing shared resources function based on https://forum.fivem.net/t/request-fivem-linux-client/182056/3

image

Can you confirm?

duplicate

Most helpful comment

Hello all, I made some progress on winevulkan's shared memory extension, and it now works with joshua ashton's shared-resources branch, if somebody can provide me with steps to get fiveM to the point where it needs shared-resources I can do some debugging and try to get it working.

All 6 comments

836

899

Hello all, I made some progress on winevulkan's shared memory extension, and it now works with joshua ashton's shared-resources branch, if somebody can provide me with steps to get fiveM to the point where it needs shared-resources I can do some debugging and try to get it working.

@Guy1524 Just download the installer and run it inside the prefix. If you're using the steam version, run the following:

WINEPREFIX=$HOME/.steam/steam/steamapps/compatdata/271590/pfx $HOME/.steam/steam/steamapps/common/<Proton Version>/dist/bin/wine <FiveM Installer Location>

If you're just using the Rockstar launcher, the WINEPREFIX should be wherever you installed it to. The installer will begin updating the cache, and then the Rockstar launcher will appear and ask for your username and password. However, the launcher at this point will fail to connect to Rockstar servers. This is because the in-game ROS request is redirected to ros.citizenfx.internal. A workaround to this issue is to modify your /etc/hosts file to redirect requests from ros.citizenfx.internal to 192.81.241.100 (the IP address of prod.ros.rockstargames.com). The IP address could change over time, but there's not a good way to fix that issue without redirecting ros.citizenfx.internal to prod.ros.rockstargames.com instead. However, I don't think there's a way to redirect one domain to another. Once the /etc/hosts file has been set up, the launcher will be able to connect to the Rockstar servers and start the game. At this point, FiveM crashes with a ros-patches-five.dll error.

Hello all, I made some progress on winevulkan's shared memory extension, and it now works with joshua ashton's shared-resources branch, if somebody can provide me with steps to get fiveM to the point where it needs shared-resources I can do some debugging and try to get it working.

Could you reference the branch?

@Kreyren haven't looked at the code in ages and IDK if it still works or what quirks there are.

My branch: https://github.com/Guy1524/wine/tree/shared-resources

Josh's branch: https://github.com/Joshua-Ashton/dxvk/tree/dxvk-shared-resources

There's some modifications you have to make to Josh's work though, I forget the specifics.

@Guy1524 I modified tkg's scripts in order to pull from your branch and Josh's, and I was able to create a proton build from them. However, this required a patch to dll/winevulkan/vulkan.c to remove three unused classes and their corresponding code: VkImportMemoryFdInfoKHR, VkMemoryGetFdInfoKHR, and VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR. For whatever reason, you added these classes to vulkan.c, but never did anything with them. I'd like to know if you plan on working on your branch further, or if it's past you at this point. Just to be clear, the proton build I created is completely useless at the moment, as the Rockstar launcher crashes as soon as it opens.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Joshua-Ashton picture Joshua-Ashton  路  87Comments

doitsujin picture doitsujin  路  236Comments

shmerl picture shmerl  路  90Comments

doitsujin picture doitsujin  路  89Comments

doitsujin picture doitsujin  路  244Comments