Torchlight Performance

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Torchlight Performance

Post by torahteen »

Hey all, finally got rid of windows, though we'll see how long that lasts... I really do enjoy my video games and am not looking forward to not having any of them work (can't seem to get any that I expected to work). Anyway...

Wine: wine-1.2-rc6-44-gcd72aef
Program: Torchlight v1.15

Computer: AMD Athlon X2 2.2Ghz
3GB DDR2 RAM
Nvidia GeForce 9600M

Fedora 13
Linux Kernel 2.6.33.5-124.fc13.686

I managed to get it to install, and it is now running! Yay! However, having run it before on windows, I've noticed that the performance is appalling, hardly achieving more than 20 fps at times, which is definitely not normal. CPU utilization seems to be good, with both cores going between 100% and 70%, but it's like the graphics card isn't being utilized at all. What could be some possible issues, and how do I resolve them? I'd really like to have this working like it did before.

Thanks very much in advance!
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
Hey all, finally got rid of windows, though we'll see how long that lasts... I really do enjoy my video games and am not looking forward to not having any of them work (can't seem to get any that I expected to work). Anyway...

Wine: wine-1.2-rc6-44-gcd72aef
Program: Torchlight v1.15

Computer: AMD Athlon X2 2.2Ghz
3GB DDR2 RAM
Nvidia GeForce 9600M

Driver version?

Some are better than others for handling openGL calls.
Fedora 13
Linux Kernel 2.6.33.5-124.fc13.686

I managed to get it to install, and it is now running! Yay! However, having run it before on windows, I've noticed that the performance is appalling, hardly achieving more than 20 fps at times, which is definitely not normal. CPU utilization seems to be good, with both cores going between 100% and 70%, but it's like the graphics card isn't being utilized at all. What could be some possible issues, and how do I resolve them? I'd really like to have this working like it did before.

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Can't seem to figure out how to find my driver version, though I just installed them from the nvidia site two days ago, so they should be pretty darn recent.

You say they handle opengl differently, but I believe I'm running torchlight in DX9. When I mess with the settings so it runs with OGL, it crashes upon startup... how might I get a log to you guys when it crashes to help with that?
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Well, it was working before, now after trying to get SC2 working (to no avail I might add), Torchlight is broken. This is really starting to frustrate me...

Run it, and wine gives me this:

Code: Select all

fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
err:module:attach_process_dlls "MSVCR90.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Steam\\steamapps\\common\\torchlight\\Torchlight.exe" failed, status c0000142
I have vcrun2008 installed, so why am I getting this, and how do I fix it?
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
Well, it was working before, now after trying to get SC2 working (to no avail I might add), Torchlight is broken. This is really starting to frustrate me...

Run it, and wine gives me this:


Code:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC90.CRT" (9.0.21022.8)
err:module:attach_process_dlls "MSVCR90.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Steam\\steamapps\\common\\torchlight\\Torchlight.exe" failed, status c0000142



I have vcrun2008 installed, so why am I getting this, and how do I fix it?

Look for the file mscvrt90.dll in your Wine files (usually it is in
$HOME/.wine/drive_c/windows/system32)

Advise if it is present or not.

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

msvcrt90.dll is not located anywhere in .wine :?... There's various other msvcrt* and msvcr* files but not that one... Is that not supposed to be installed with vcrun2008?
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
msvcrt90.dll is not located anywhere in .wine :?... There's various other msvcrt* and msvcr* files but not that one... Is that not supposed to be installed with vcrun2008?

Yes, it is supposed to be installed with VCRunTime2008. Something is
broken with the install. Can I ask that you try again in a new Wine
prefix? There is two ways to do this:

Backup your existing Wine prefix and create a new one:

Code: Select all


mv .wine{,.backup}
winetricks vcrun2008

or you can use a different prefix

Code: Select all


export WINEPREFIX=$HOME/WineVCRUN2008TEST

winetricks vcrun2008

This is just to see if the file is created when you process the file

Also, you might want to create a logging file per the FAQ:
http://wiki.winehq.org/FAQ#get_log

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Backed up .wine, ran sh winetricks vcrun2008, looked, and still no msvcrt90.dll... however, there is an msvcr90.dll in both the new and old wine prefixes. Wanted to make sure that's not what you meant before. However, if I'm supposed to have msvcrt90.dll, then no luck.

Just in case it's useful:

Code: Select all

 sh winetricks vcrun2008
wine: created the configuration directory '/home/jordan/.wine'
wine: configuration in '/home/jordan/.wine' has been updated.
Renamed drive_c to harddiskvolume0
Using native,builtin override for following DLLs: msvcr90
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*msvcr90"="native,builtin"
Executing wine /home/jordan/.winetrickscache/vcrun2008-ms09-035/vcredist_x86.exe
fixme:clusapi:GetNodeClusterState ((null),0x32ec24) stub!
fixme:advapi:DecryptFileA "c:\\6cef7ff61c9e5aedac77ce2921\\" 00000000
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f324,0x00000001,0x33f34c) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:advapi:LookupAccountNameW (null) L"jordan" (nil) 0x7addbc (nil) 0x7addc0 0x7addb4 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" 0x150f78 0x7addbc 0x14c5c0 0x7addc0 0x7addb4 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" (nil) 0x7add88 (nil) 0x7add8c 0x7add80 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" 0x160578 0x7add88 0x19ef58 0x7add8c 0x7add80 - stub
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 10 ignored L"MsiAssembly" table values
fixme:mscoree:LoadLibraryShim (0x73ec3dac L"fusion.dll", (nil), (nil), 0x7ae550): semi-stub
Install of vcrun2008 done
winetricks done.
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
Backed up .wine, ran sh winetricks vcrun2008, looked, and still no msvcrt90.dll... however, there is an msvcr90.dll in both the new and old wine prefixes. Wanted to make sure that's not what you meant before. However, if I'm supposed to have msvcrt90.dll, then no luck.

Just in case it's useful:

Code:
sh winetricks vcrun2008
wine: created the configuration directory '/home/jordan/.wine'
wine: configuration in '/home/jordan/.wine' has been updated.
Renamed drive_c to harddiskvolume0
Using native,builtin override for following DLLs: msvcr90
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*msvcr90"="native,builtin"
Executing wine /home/jordan/.winetrickscache/vcrun2008-ms09-035/vcredist_x86.exe
fixme:clusapi:GetNodeClusterState ((null),0x32ec24) stub!
fixme:advapi:DecryptFileA "c:\\6cef7ff61c9e5aedac77ce2921\\" 00000000
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:ntlm:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path.
err:ntlm:SECUR32_initNTLMSP Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f324,0x00000001,0x33f34c) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:advapi:LookupAccountNameW (null) L"jordan" (nil) 0x7addbc (nil) 0x7addc0 0x7addb4 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" 0x150f78 0x7addbc 0x14c5c0 0x7addc0 0x7addb4 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" (nil) 0x7add88 (nil) 0x7add8c 0x7add80 - stub
fixme:advapi:LookupAccountNameW (null) L"jordan" 0x160578 0x7add88 0x19ef58 0x7add8c 0x7add80 - stub
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 10 ignored L"MsiAssembly" table values
fixme:mscoree:LoadLibraryShim (0x73ec3dac L"fusion.dll", (nil), (nil), 0x7ae550): semi-stub
Install of vcrun2008 done
winetricks done.

Did the file mscvrt90.dll get created anywhere in the directory?

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Did a search, and could not find such a file
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
Did a search, and could not find such a file


Interesting, as msvcr90.dll does exist in my system32 directory. This
is the partial implementation from Wine. I'll try creating a new wine
prefix and then installing VCrun2008 and see where it ends up at.

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Okay, you are naming different files... do I need msvcr90.dll or msvcrt.dll? I have msvcr90.dll.
James McKenzie

Torchlight Performance

Post by James McKenzie »

torahteen wrote:
Okay, you are naming different files... do I need msvcr90.dll or msvcrt.dll? I have msvcr90.dll.






Where is this file located?

Native files should be in the directory where installed. If there is
one in /windows/system32 it may be the file that was included with Wine.

James McKenzie
torahteen
Level 1
Level 1
Posts: 9
Joined: Fri Jul 09, 2010 3:05 pm

Post by torahteen »

Well... it decided to work... so weird, but thanks anyway for the help :?
Locked