You are not logged in.

#1 2024-11-05 13:53:04

okbzl
Member
Registered: 2024-08-03
Posts: 22

[SOLVED] Prefix got messed up after remove DXVK and VKD3D

So I made the mistake of install DXVK and VKD3D on my laptop (which doesn't have Vulkan support) and after remove the affected dll and run "wineboot --update", it got messed up. Some games ran normally, while some have problems. For example:

LC_ALL=ja_JP.UTF-8 wine "CHAOS;HEAD NOAH.exe"
002c:fixme:winediag:loader_init wine-staging 9.20 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
00a0:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0094, retrying (60 sec)
0024:err:module:import_dll Library d3d9.dll (which is needed by L"Z:\\home\\chutienbinh\\Games\\Chaos;Head_Noah_Setup\\CHAOS;HEAD_NOAH_PC\\CHAOS;HEAD NOAH.exe") not found
0024:err:module:loader_init Importing dlls for L"Z:\\home\\chutienbinh\\Games\\Chaos;Head_Noah_Setup\\CHAOS;HEAD_NOAH_PC\\CHAOS;HEAD NOAH.exe" failed, status c0000135

I really don't want to nuke this prefix, since:
1. It have some program that depends on registry
2. Just time-consuming to reinstall every component (allcodecs, lavfilters, every version of vcrun, dotnet48)

Last edited by okbzl (2024-11-06 08:32:54)

Offline

#2 2024-11-05 16:04:17

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

the issue is likely the illegal name: ";" is illegal in windows file and path names - so try to remove them and see if this fixes it

Offline

#3 2024-11-05 23:06:57

okbzl
Member
Registered: 2024-08-03
Posts: 22

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

Yeah, that doesn't work

LC_ALL=ja_JP.UTF-8 wine "CHAOSHEAD NOAH.exe"
002c:fixme:winediag:loader_init wine-staging 9.20 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
00a0:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0094, retrying (60 sec)
003c:err:service:process_send_command receiving command result timed out
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 1053
003c:err:service:process_send_start_message service L"PlugPlay" failed to start
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053
0068:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0068, blocked by 0074, retrying (60 sec)
007c:fixme:file:errno_to_status Converting errno 17 to STATUS_UNSUCCESSFUL
003c:err:service:process_send_command receiving command result timed out
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"nsiproxy" failed to start: 1053
007c:err:mountmgr:registry_flush_thread section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 007c, blocked by 0074, retrying (60 sec)
003c:err:service:process_send_command receiving command result timed out
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 1053
00a0:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0094, retrying (60 sec)
0068:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0068, blocked by 0074, retrying (60 sec)
007c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 007c, blocked by 0074, retrying (60 sec)
00a0:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 00a0, blocked by 0094, retrying (60 sec)
0068:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAD440 "../wine-staging/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0068, blocked by 0074, retrying (60 sec)
Failed flushing registry.
00dc:err:service:process_send_start_message service L"clr_optimization_v4.0.30319_32" failed to start
00dc:fixme:service:delayed_autostart_callback Delayed auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
0024:err:module:import_dll Library d3d9.dll (which is needed by L"Z:\\home\\chutienbinh\\Games\\ChaosHead_Noah_Setup\\CHAOSHEAD_NOAH_PC\\CHAOSHEAD NOAH.exe") not found
0024:err:module:loader_init Importing dlls for L"Z:\\home\\chutienbinh\\Games\\ChaosHead_Noah_Setup\\CHAOSHEAD_NOAH_PC\\CHAOSHEAD NOAH.exe" failed, status c0000135

Offline

#4 2024-11-06 03:49:05

stanczew
Member
Registered: 2021-03-02
Posts: 91

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

We'll need to see the exact commands you used to install and then remove DXVK/VKD3D in the prefix.

Offline

#5 2024-11-06 06:42:44

okbzl
Member
Registered: 2024-08-03
Posts: 22

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

Installation: using the command "setup_vkd3d_proton install" and "setup_dxvk install"
Uninstallation:
First time: Remove any file that also have a file of the same name with .old in the file name, remove the ".old" part
Second time: Remove changed file and run "wineboot --update"

Offline

#6 2024-11-06 07:24:07

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

0024:err:module:import_dll Library d3d9.dll (which is needed by L"Z:\\home\\chutienbinh\\Games\\ChaosHead_Noah_Setup\\CHAOSHEAD_NOAH_PC\\CHAOSHEAD NOAH.exe") not found
pacman -Qikk wine

In doubt you just need to re-install wine because

after remove the affected dll

=> what does that mean *exactly*?

Offline

#7 2024-11-06 07:58:56

stanczew
Member
Registered: 2021-03-02
Posts: 91

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

okbzl wrote:

Installation: using the command "setup_vkd3d_proton install" and "setup_dxvk install"
Uninstallation:
First time: Remove any file that also have a file of the same name with .old in the file name, remove the ".old" part
Second time: Remove changed file and run "wineboot --update"

Ok, so instead of manually moving the files it should've been just "setup_... uninstall". This would've also removed the D3D DLL overrides that were added during the "install" step.
First, double-check that "wineboot --update" did in fact copy all the original libraries into the prefix.
Then run "winecfg", go to Libraries, and remove the overrides manually for relevant libraries (dxgi, d3d8, d3d9, d3d10core, d3d11, d3d12, d3d12core – they should be set to "native" right now, and you need to remove them).
Or even better, run "setup_... install" again and then "setup_... uninstall" right after that, this should make all the necessary cleanup automatically.

Offline

#8 2024-11-06 08:32:17

okbzl
Member
Registered: 2024-08-03
Posts: 22

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

It works. Tysm. Though how the hell did I missed that?

Offline

#9 2024-11-06 09:45:38

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

You may also want to create  multiple wine prefixes to keep applications separate from eachother .
(yes, that takes up more space on the drivespace) .

Personally I delete & re-create the default .wine prefix to test stuff. Once I'm sure I want to keep it, it get's its own prefix .

Most of the wine apps I use need some application specfic setup anyway (like mounting an iso or forcing an older freetype version) . I use a simple wrapper script to start them in a custom prefix .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2024-11-06 15:29:02

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

btw: the game is also available via lutris: https://lutris.net/games/chaos-head-noah/

Offline

#11 2024-11-10 10:23:04

okbzl
Member
Registered: 2024-08-03
Posts: 22

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

cryptearth wrote:

btw: the game is also available via lutris: https://lutris.net/games/chaos-head-noah/

I know, but the version I play is in Vietnamese, which the TL dev decide to not port it to the Steam port

Offline

#12 2024-11-10 12:45:17

cryptearth
Member
Registered: 2024-02-03
Posts: 962

Re: [SOLVED] Prefix got messed up after remove DXVK and VKD3D

well - it's available on gog: https://www.gog.com/en/game/chaos_head_noah

Offline

Board footer

Powered by FluxBB