BG3 no such file...tools/vkd3d/vkd3d-proton-2.11.1/x86

Hi, I'm using HGL on Fedora 39 with copr. I installed Baldur's Gate 3 (GOG) using Wine (staging) from Fedora. It works well. I forced an update today and now HGL cannot find VKD3D anymore.
$ pwd
/home/steam/.config/heroic/tools/vkd3d
$ pwd
/home/steam/.config/heroic/tools/vkd3d
$ ls
latest_vkd3d vkd3d-proton-2.9 vkd3d-proton-v2.11
vkd3d-proton-2.8-git vkd3d-proton-v2.10
$ ls
latest_vkd3d vkd3d-proton-2.9 vkd3d-proton-v2.11
vkd3d-proton-2.8-git vkd3d-proton-v2.10
As one can see, it seems the issue is the folder does not have minor version (vkd3d-proton-v2.11 instead of vkd3d-proton-2.11.1). How can I fix this, not changing the folder's name ? Regards
84 Replies
flat-fuchsia
flat-fuchsiaOP2y ago
ln -s /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-v2.11 /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1 This fix the issue. But why HGL cannot find the proper path by itself?
correct-apricot
correct-apricot2y ago
You should remove the symlink and restart heroic That should download the new version
stormy-gold
stormy-gold2y ago
same issue for me tysmmmmmmmmmmmmmmmm
correct-apricot
correct-apricot2y ago
You definitely shouldn't do that Try again it should work Delete that vkd3d folder maybe? I just retested it and it works great
stormy-gold
stormy-gold2y ago
it works
correct-apricot
correct-apricot2y ago
It downloaded 2.11.1?
stormy-gold
stormy-gold2y ago
it took 2 trys but it work im playing genshin
correct-apricot
correct-apricot2y ago
Ok
stormy-gold
stormy-gold2y ago
not the thing ur talking aby abt*
correct-apricot
correct-apricot2y ago
You did the symlink method?
stormy-gold
stormy-gold2y ago
yea
correct-apricot
correct-apricot2y ago
Could you remove the symlink And delete the vkd3d folder And restart heroic
stormy-gold
stormy-gold2y ago
? i did this
correct-apricot
correct-apricot2y ago
Yeah I'm asking you to do something else To test
stormy-gold
stormy-gold2y ago
do what
correct-apricot
correct-apricot2y ago
This
stormy-gold
stormy-gold2y ago
comeon why test me fine ill try it
correct-apricot
correct-apricot2y ago
Cuz nobody else who has problems is online :sunglase:
stormy-gold
stormy-gold2y ago
No description
stormy-gold
stormy-gold2y ago
this one right?
correct-apricot
correct-apricot2y ago
Yep
stormy-gold
stormy-gold2y ago
i deleted it now what
correct-apricot
correct-apricot2y ago
Restart heroic
stormy-gold
stormy-gold2y ago
done
correct-apricot
correct-apricot2y ago
Like exit from the tray icon
stormy-gold
stormy-gold2y ago
yeah i did
correct-apricot
correct-apricot2y ago
Ok good Is there a 2.11.1 folder now?
stormy-gold
stormy-gold2y ago
wait nope theres the vkd folder again
stormy-gold
stormy-gold2y ago
No description
correct-apricot
correct-apricot2y ago
Check inside the vkd3d folder
stormy-gold
stormy-gold2y ago
No description
correct-apricot
correct-apricot2y ago
Yay It worked Well so the secret is just to restart heroic
stormy-gold
stormy-gold2y ago
;D
flat-fuchsia
flat-fuchsiaOP2y ago
This doesn't work. It download stuff, but at the end, the folder is the same.
flat-fuchsia
flat-fuchsiaOP2y ago
Download stuff:
No description
flat-fuchsia
flat-fuchsiaOP2y ago
1 second later:
No description
flat-fuchsia
flat-fuchsiaOP2y ago
heroic terminal output:
(18:02:12) INFO: [Legendary]: Found 0 games to update
(18:02:12) INFO: [Nile]: Looking for updates...
(18:02:12) INFO: [Nile]: Running command: NILE_CONFIG_PATH=/home/steam/.config/heroic/nile_config /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/linux/nile list-updates --json
(18:02:13) INFO: [Winetricks]: Downloading Winetricks
(18:02:13) INFO: [DXVKInstaller]: Updating vkd3d to: vkd3d-proton-2.11.1
[9071:1231/180214.589809:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
(18:02:14) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:02:14) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:02:14) INFO: [DXVKInstaller]: downloaded vkd3d
(18:02:14) INFO: [DXVKInstaller]: extracting vkd3d
(18:02:14) INFO: [DXVKInstaller]: vkd3d updated!
(18:02:12) INFO: [Legendary]: Found 0 games to update
(18:02:12) INFO: [Nile]: Looking for updates...
(18:02:12) INFO: [Nile]: Running command: NILE_CONFIG_PATH=/home/steam/.config/heroic/nile_config /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/linux/nile list-updates --json
(18:02:13) INFO: [Winetricks]: Downloading Winetricks
(18:02:13) INFO: [DXVKInstaller]: Updating vkd3d to: vkd3d-proton-2.11.1
[9071:1231/180214.589809:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
(18:02:14) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:02:14) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:02:14) INFO: [DXVKInstaller]: downloaded vkd3d
(18:02:14) INFO: [DXVKInstaller]: extracting vkd3d
(18:02:14) INFO: [DXVKInstaller]: vkd3d updated!
stormy-gold
stormy-gold2y ago
dude have some patience if you run it twice] it will work
flat-fuchsia
flat-fuchsiaOP2y ago
I tried multiple times. Still broken.
stormy-gold
stormy-gold2y ago
did you update and restart the launcher?
flat-fuchsia
flat-fuchsiaOP2y ago
Each time HGL tries to "Updating vkd3d to: vkd3d-proton-2.11.1"
stormy-gold
stormy-gold2y ago
can you show me? show me the log in msg tho dont send file]
flat-fuchsia
flat-fuchsiaOP2y ago
flat-fuchsia
flat-fuchsiaOP2y ago
No description
stormy-gold
stormy-gold2y ago
idk probably wait for the person to come online
flat-fuchsia
flat-fuchsiaOP2y ago
I will, ty
correct-apricot
correct-apricot2y ago
you restarted heroic right? something is happening during the download, maybe the file it is getting is corrupted I guess
flat-fuchsia
flat-fuchsiaOP2y ago
Yes, several times.
liable-blush
liable-blush2y ago
Hay I am also having this issue, fedora copr install, missing, vkd3d-proton-2.11.1, This problem doesnt seem to be resolved (i tried deleting the folder but heroic does not regenerate it. And I am not too keen on OPs symlink hack. Can you help me find the proper fix. Thanks
CommandMC
CommandMC2y ago
I haven't read through the full thread here, but you might want to try deleting the whole vkd3d folder in the tools directory At minimum you'll have to delete the latest_vkd3d file in there, otherwise the installer will just not download the new version
liable-blush
liable-blush2y ago
That does not work for some reason the download is failing. Is there a way to get hold of this updated file (perhaps from steam or github) or just make heroic just use the old version.
CommandMC
CommandMC2y ago
Heroic will always use the latest version available You can manually download the file from here, extract it to the vkd3d-proton-2.11.1 subfolder of the vkd3d folder, and create the latest_vkd3d file with just the text vkd3d-proton-2.11.1 as its contents Buuut this is exactly what the installer does, so I don't know why it would be failing anywhere there
liable-blush
liable-blush2y ago
I did that and now my games are working. Thank you for your help
flat-fuchsia
flat-fuchsiaOP2y ago
CommandMC
CommandMC2y ago
Well, I can't reproduce this issue, so you'd have to send us a log file (of Heroic, not your game)
flat-fuchsia
flat-fuchsiaOP2y ago
https://discord.com/channels/812703221789097985/1190966494910234724/1190966494910234724 The issue is still here. It's the same. HGL doesn't find VKD3D and fail to download the latest version. Here is the terminal output of HGL: https://discord.com/channels/812703221789097985/1190966494910234724/1191065727709499554 Tell me if you need more.
deep-jade
deep-jade2y ago
at least according to the log it got downloaded/updated:
(18:09:25) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:09:25) INFO: [DXVKInstaller]: downloaded vkd3d
(18:09:25) INFO: [DXVKInstaller]: extracting vkd3d
(18:09:25) INFO: [DXVKInstaller]: vkd3d updated!
(18:09:25) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(18:09:25) INFO: [DXVKInstaller]: downloaded vkd3d
(18:09:25) INFO: [DXVKInstaller]: extracting vkd3d
(18:09:25) INFO: [DXVKInstaller]: vkd3d updated!
flat-fuchsia
flat-fuchsiaOP2y ago
This is wrong: https://discord.com/channels/812703221789097985/1190966494910234724/1191063581685461052 It download the file, but it get erased somehow.
CommandMC
CommandMC2y ago
If you're reading through the pinned messages for a solution to this issue: Run the commands at the end of this message. If you're using the Flatpak version of Heroic, adjust the path in the cd command to be ~/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/vkd3d instead Original message: I'm really not sure what's going wrong here, the archive file is structured the same way any other release is, nothing looks out of place in the log, the update going wrong in the past shouldn't influence it in any way... it should just work You could try manually running the commands Heroic essentially runs, but as I mentioned a few messages above, I don't see how this could change anything. It's just gonna work, just like Heroic should just work
cd ~/.config/heroic/tools/vkd3d
wget https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
tar -xf vkd3d-proton-2.11.1.tar.xz -C $PWD --strip-components=0
echo vkd3d-proton-2.11.1 > latest_vkd3d
cd ~/.config/heroic/tools/vkd3d
wget https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
tar -xf vkd3d-proton-2.11.1.tar.xz -C $PWD --strip-components=0
echo vkd3d-proton-2.11.1 > latest_vkd3d
flat-fuchsia
flat-fuchsiaOP2y ago
I could indeed do the stuff myself, but it wont fix the HGL bad behavior. I'm not the only one facing this. I use this workaround which allow me to play my games : https://discord.com/channels/812703221789097985/1190966494910234724/1190986366956351488
CommandMC
CommandMC2y ago
Well, I was moreso hoping that manually running the commands would expose the issue happening here
flat-fuchsia
flat-fuchsiaOP2y ago
Ok, let's give it a try...
CommandMC
CommandMC2y ago
Right... Don't do that, it'll make it look like 2.11.1 is installed, even though you really only have 2.11 (no .1) It's fine as a workaround, but the commands above won't work with that symlink in place
flat-fuchsia
flat-fuchsiaOP2y ago
I've duplicate the whole folder and removed the sym link... This fix the issue.
flat-fuchsia
flat-fuchsiaOP2y ago
No description
flat-fuchsia
flat-fuchsiaOP2y ago
cat latest_vkd3d
vkd3d-proton-2.11.1
cat latest_vkd3d
vkd3d-proton-2.11.1
Thus I suspect the logic HGL is using is not the same as the one you provided me.
CommandMC
CommandMC2y ago
Interesting. As I said above, this is basically what Heroic does (downloading is done using a library, but the tar command is literally the same command copy-pasted from the code) Could you try renaming the whole vkd3d folder and then starting up Heroic? I'd like to see if you can still reproduce the issue
flat-fuchsia
flat-fuchsiaOP2y ago
Just starting HGL:
No description
flat-fuchsia
flat-fuchsiaOP2y ago
Game log :
System Info:
CPU: 16x AMD Ryzen 7 7700 8-Core Processor
Memory: 32.72 GB (used: 17.71 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Raphael
IDs: D=164e V=1002 SD=164e SV=1002
Driver: amdgpu
GPU 1:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M]
IDs: D=73ff V=1002 SD=5217 SV=1849
Driver: amdgpu
OS: Fedora Linux 39 (Workstation Edition) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.10.0 Jewelry Bonney
Legendary: 0.20.33 Undue Alarm
gogdl: 0.7.3
Nile: 1.0.0 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallVkd3d": true,
"preferSystemLibs": false,
"enableEsync": false,
"enableFsync": true,
"nvidiaPrime": true,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": true,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/usr/bin/wine",
"name": "Wine Default - wine-8.19 (Staging)",
"type": "wine",
"wineserver": "/usr/bin/wineserver"
},
"winePrefix": "/home/steam/Games/Heroic/Prefixes/default/Baldurs Gate 3",
"wineCrossoverBottle": "",
"autoInstallDxvkNvapi": true
}

Game launched at: Wed Jan 03 2024 01:25:22 GMT+0100 (heure normale d’Europe centrale)

An exception occurred when launching the game:
Error: ENOENT: no such file or directory, scandir '/home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1/x86'
at Object.readdirSync (node:fs:1527:3)
at Object.readdirSync (node:electron/js2c/asar_bundle:2:10980)
at Object.installRemove (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:94:68)
at prepareWineLaunch (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:98:1645)
at async Module.launch$2 [as launch] (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:49:6093)
at async /usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:202:450
at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:88992)
System Info:
CPU: 16x AMD Ryzen 7 7700 8-Core Processor
Memory: 32.72 GB (used: 17.71 GB)
GPUs:
GPU 0:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Raphael
IDs: D=164e V=1002 SD=164e SV=1002
Driver: amdgpu
GPU 1:
Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M]
IDs: D=73ff V=1002 SD=5217 SV=1849
Driver: amdgpu
OS: Fedora Linux 39 (Workstation Edition) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
Heroic: 2.10.0 Jewelry Bonney
Legendary: 0.20.33 Undue Alarm
gogdl: 0.7.3
Nile: 1.0.0 Jonathan Joestar

Game Settings: {
"autoInstallDxvk": true,
"autoInstallVkd3d": true,
"preferSystemLibs": false,
"enableEsync": false,
"enableFsync": true,
"nvidiaPrime": true,
"enviromentOptions": [],
"wrapperOptions": [],
"showFps": true,
"useGameMode": false,
"language": "",
"wineVersion": {
"bin": "/usr/bin/wine",
"name": "Wine Default - wine-8.19 (Staging)",
"type": "wine",
"wineserver": "/usr/bin/wineserver"
},
"winePrefix": "/home/steam/Games/Heroic/Prefixes/default/Baldurs Gate 3",
"wineCrossoverBottle": "",
"autoInstallDxvkNvapi": true
}

Game launched at: Wed Jan 03 2024 01:25:22 GMT+0100 (heure normale d’Europe centrale)

An exception occurred when launching the game:
Error: ENOENT: no such file or directory, scandir '/home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1/x86'
at Object.readdirSync (node:fs:1527:3)
at Object.readdirSync (node:electron/js2c/asar_bundle:2:10980)
at Object.installRemove (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:94:68)
at prepareWineLaunch (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:98:1645)
at async Module.launch$2 [as launch] (/usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:49:6093)
at async /usr/lib64/heroic-games-launcher-bin/resources/app.asar/build/electron/main.9bb8a6b7.js:202:450
at async WebContents.<anonymous> (node:electron/js2c/browser_init:2:88992)
Still broken.
CommandMC
CommandMC2y ago
I assume Heroic's log file still contains the same "downloaded vkd3d" and "vkd3d updated!" messages?
correct-apricot
correct-apricot2y ago
I am genuinely confused on what's up with the vkd3d-proton 2.11.1 it works on my machine could it be a permission problem? maybe needs to be 777 permisions for whatever reason
flat-fuchsia
flat-fuchsiaOP2y ago
Yes it does :
(01:28:18) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:28:18) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:28:18) INFO: [DXVKInstaller]: downloaded vkd3d
(01:28:18) INFO: [DXVKInstaller]: extracting vkd3d
(01:28:18) INFO: [DXVKInstaller]: vkd3d updated!
(01:28:18) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:28:18) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:28:18) INFO: [DXVKInstaller]: downloaded vkd3d
(01:28:18) INFO: [DXVKInstaller]: extracting vkd3d
(01:28:18) INFO: [DXVKInstaller]: vkd3d updated!
CommandMC
CommandMC2y ago
What was the issue with the original archive you uploaded? My only suspicion is that the downloader module we're using is caching the file somehow. But assuming the original lacked the subfolder, we should still see something happening here
flat-fuchsia
flat-fuchsiaOP2y ago
Is there a way to get a more verbose output ? including tar maybe ?
CommandMC
CommandMC2y ago
Heroic prints out Extracting Error: <outputOfTar> if it exits with a code other than 0, so we should already have it if that would be the issue This is a shot in the dark, but could you try this version of Heroic? (click the "linux-AppImage" in the "Artifacts" section; a GitHub account is required) I don't think this'll change anything, but then I know that I can base a potential debug build (logging all kinds of info about the install/update process) off main instead of the (now somewhat old) release code
flat-fuchsia
flat-fuchsiaOP2y ago
No description
flat-fuchsia
flat-fuchsiaOP2y ago
This works
(01:43:15) INFO: [DXVKInstaller]: Updating vkd3d to: vkd3d-proton-2.11.1
(01:43:17) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:43:17) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:43:17) INFO: [DXVKInstaller]: Downloaded vkd3d, extracting...
(01:43:17) INFO: [Backend]: Extracting /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1.tar.xz to /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1 using native tar
(01:43:17) INFO: [DXVKInstaller]: vkd3d updated!
(01:43:15) INFO: [DXVKInstaller]: Updating vkd3d to: vkd3d-proton-2.11.1
(01:43:17) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:43:17) INFO: [DownloadManager]: Downloader: Finished downloading https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.11.1/vkd3d-proton-2.11.1.tar.xz
(01:43:17) INFO: [DXVKInstaller]: Downloaded vkd3d, extracting...
(01:43:17) INFO: [Backend]: Extracting /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1.tar.xz to /home/steam/.config/heroic/tools/vkd3d/vkd3d-proton-2.11.1 using native tar
(01:43:17) INFO: [DXVKInstaller]: vkd3d updated!
This is somewhat different from https://discord.com/channels/812703221789097985/1190966494910234724/1191900978048417792
CommandMC
CommandMC2y ago
Oh, I think I have an idea I still don't know why it wouldn't work, but that's a lead at least For now, you can rest easy knowing the code you just tested will be in the next release, so it should just keep working once that's out. I don't think there will be any new vkd3d updates until then
flat-fuchsia
flat-fuchsiaOP2y ago
It's almost 2AM here, i'll go to bed now. Thank you.
CommandMC
CommandMC2y ago
I think I have an idea
Nope, that was nothing either. The tar command you ran earlier is the same one Heroic runs when updating. We updated our extraction function after that release to support some other use cases (that was the lead I was looking into), but in this case the same command gets ran. Really unsure what's wrong here (and also why it's just... working for most of us) I'll pin the messages about doing the process manually, in case anyone else needs them
correct-apricot
correct-apricot2y ago
nothing apparently? it was the same archive I can run sha256 to verify
flat-fuchsia
flat-fuchsiaOP2y ago
I monitored what's happening in the folder:
flat-fuchsia
flat-fuchsiaOP2y ago
CommandMC
CommandMC2y ago
Right, the downloader module first downloads the file in parts, then joins them all together and closes the file (that's everything up to line 734), then tar opens the file (L735) and just... does nothing for some reason Ohhhh You're on Heroic 2.10, I was looking at the code for 2.11 the whole time

Did you find this page helpful?