An interesting test can be to cross-compile a Wine DLL with mingw-w64, then build the same one in Cygwin. After that, you can test each of them on a Windows system. Since mingw-w64 and Cygwin cooperate regularly, the results should be similar, but if one version works better than the other, consider reporting a bug to whichever project give an. Wine is a box full of surprises and secrets, and each windows software that can be executed under wine have better or worse performance depending on various tweaks, like wine version, dll overrides, windows version being simulated, installed components like directx or microsoft's visual C runtime etc. Launch winecfg, open the Library tab adn.
Wine Setup
http://askubuntu.com/questions/136714/how-to-force-wine-into-acting-like-32-bit-windows-on-64-bit-ubuntu |
https://help.ubuntu.com/community/Wine |
http://askubuntu.com/questions/316025/installing-and-configuring-wine |
https://bbs.archlinux.org/viewtopic.php?id=39641 |
Guided by the arch-wiki and the ubuntu recommendations, I installed wine1.6-i386 and with winetricks loaded the WSH 5.7 and C++ required dll |
---- |
:~$ winetricks |
Executing w_do_call mfc42 |
Executing load_mfc42 |
Executing mkdir -p /home/paui/.cache/winetricks/vcrun6 |
Downloading http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe to /home/paui/.cache/winetricks/vcrun6 |
Executing wine /home/paui/.cache/winetricks/vcrun6/vc6redistsetup_deu.exe /T:C:windowsTemp_mfc42 /c |
Executing cabextract -q /home/paui/.cache/winetricks/vcrun6/vcredist.exe -d /home/paui/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll |
Executing w_do_call wsh57 |
Executing load_wsh57 |
Executing mkdir -p /home/paui/.cache/winetricks/wsh57 |
Downloading http://download.microsoft.com/download/4/4/d/44de8a9e-630d-4c10-9f17-b9b34d3f6417/scripten.exe to /home/paui/.cache/winetricks/wsh57 |
Executing cabextract -q -d /home/paui/.wine/dosdevices/c:/windows/system32 /home/paui/.cache/winetricks/wsh57/scripten.exe |
Using native,builtin override for following DLLs: jscript scrrun vbscript cscript.exe wscript.exe |
Executing winetricks_early_wine regedit C:windowsTemp_wsh57override-dll.reg |
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll |
Successfully registered DLL dispex.dll |
Successfully registered DLL jscript.dll |
Successfully registered DLL scrobj.dll |
Successfully registered DLL scrrun.dll |
Successfully registered DLL vbscript.dll |
Successfully registered DLL wshcon.dll |
Successfully registered DLL wshext.dll |
Executing w_do_call sound=alsa |
Executing load_sound alsa |
Setting sound driver to alsa |
Executing winetricks_early_wine regedit C:windowsTemp_sound=alsaset-sound.reg |
Executing w_do_call win7 |
Executing load_win7 |
ADD - HKLMSystemCurrentControlSetControlProductOptions ProductType 0 (null) WinNT 1 |
The operation completed successfully |
Setting Windows version to win7 |
Executing winetricks_early_wine regedit C:windowsTemp_win7set-winver.reg |
You opted in, so reporting 'mfc42 wsh57 sound=alsa win7 ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports. |
Wine Dll Override To String
Starting with version 1.7.34 Wine Staging provides support for CUDA, a GPU computation platform by NVIDIA. CUDA is often used by games to run physic calculations on the GPU or in scientific environments to speed up simulations. For games there is also a separate NVIDIA library called PhysX which makes use of CUDA and provides some predefined physic simulations.
In order to use CUDA based applications you need to have a NVIDIA graphic card (>= Geforce 8xxx) and you need to use the proprietary NVIDIA driver. Make sure that you also have the 32 bit driver files installed on 64 bit systems. Please note that there is a bug affecting some Ubuntu distributions, that the necessary kernel modules for CUDA (nvivida_uvm
) are not loaded automatically. As a workaround you can manually install the package nvidia-modprobe
package (for example with sudo apt-get install nvidia-modprobe
) if you encounter this problem.
The easiest way to verify that everything is set up correctly is to use the linux version of CUDA-Z. If the application starts and shows information about your GPU everything is working fine. If you only get an error message it is possible that you are either missing some files or not all required kernel modules are loaded.
There is no additional configuration required for Wine Staging and applications can directly start using CUDA. Nevertheless, the implementation is not yet complete and some functions (like directly accessing DirectX objects from CUDA) are unimplemented. In case an application will try to use one of this functions it is going to abort/crash. If CUDA is only an optional dependency of the program you want to use, and it doesn't work with our incomplete implementation, it might be useful to disable CUDA support again until the support is good enough. Feel free to report a bug in this case, and we will try to fix it till the next release.
Disable CUDA
Wine App For Linux
How To Configure Wine
Hiding CUDA support from applications can be done by deactivating the nvcuda.dll through winecfg. Open winecfg
, go to the Libraries tab, add an override for nvcuda
and change it to disable by pressing the edit button. If you would like to re-enable the support, you just need to remove this line again.