You are not logged in.
I'm using arch linux 64 bit with wine 1.4.
and Was installing witcher 2 from dvd rom and the installer crashed at the very end.
The error was with ISBEW64.exe
this is the details of the error
Unhandled exception: page fault on read access to 0x00000007 in 64-bit code (0x00007f0f1c10d96c).
Register dump:
rip:00007f0f1c10d96c rsp:000000000023f7c0 rbp:000000000002f7f0 eflags:00010246 ( R- -- I Z- -P- )
rax:0000000000000000 rbx:0000000000000007 rcx:0000000000000007 rdx:00000000000100b0
rsi:0000000000000000 rdi:00000000000400f0 r8:00000000000100e8 r9:0000000000000000 r10:0000000000000000
r11:0000000000000029 r12:0000000000000000 r13:000000000002f730 r14:000000000003f950 r15:0000000000000000
Stack dump:
0x000000000023f7c0: 0000000000202020 0000000000000000
0x000000000023f7d0: ffffffffffffffff ffffffffffffffff
0x000000000023f7e0: 2020202020202020 2020202020202020
0x000000000023f7f0: 0000000000202020 0000000000000000
0x000000000023f800: ffffffffffffffff ffffffffffffffff
0x000000000023f810: 0000000000202020 0000000000000000
0x000000000023f820: 00ffffffffffffff ff00000000ff0000
0x000000000023f830: 0000000000000000 0000000000000000
0x000000000023f840: 0000000000000000 0000000000000000
0x000000000023f850: 0000000000000000 0000000000000000
0x000000000023f860: 0000000000000000 0000000000000000
0x000000000023f870: 0000000000000000 0000000000000000
Backtrace:
=>0 0x00007f0f1c10d96c VariantClear+0xdc() in oleaut32 (0x000000000002f7f0)
1 0x00007f0f1c0ee735 in oleaut32 (+0x3e734) (0x000000000002f7f0)
2 0x00007f0f1c0e82a5 in oleaut32 (+0x382a4) (0x0000000000000000)
3 0x000000014000139c in isbew64 (+0x139b) (0x0000000000000063)
4 0x0000000140001fb6 in isbew64 (+0x1fb5) (0x0000000000000063)
5 0x0000000140007cca in isbew64 (+0x7cc9) (0x0000000140007d18)
6 0x000000007b870aa4 in kernel32 (+0x50aa3) (0x0000000140007d18)
7 0x00007f0f1e85601b call_thread_func+0x6a() in ntdll (0x00007fff9c86c490)
8 0x00007f0f1e84f786 RtlRaiseException+0x7d() in ntdll (0x00007fff9c86c490)
9 0x00007f0f1e8216c6 in ntdll (+0x416c5) (0x00007fff9c86c490)
10 0x00007f0f1f2b1173 wine_call_on_stack+0x12() in libwine.so.1 (0x00007fff9c86c490)
11 0x00007f0f1f2b11c9 wine_switch_to_stack+0x8() in libwine.so.1 (0x00007fffffbef000)
12 0x00007f0f1e827490 LdrInitializeThunk+0x45f() in ntdll (0x00007fffffbef000)
13 0x000000007b877015 __wine_kernel_init+0x904() in kernel32 (0x00007fff9c86d320)
14 0x00007f0f1e827df4 __wine_process_init+0x273() in ntdll (0x0000000000000400)
15 0x00007f0f1f2af0f5 wine_init+0x294() in libwine.so.1 (0x0000000000000400)
16 0x000000007bf00cc1 main+0x80() in <wine-loader> (0x0000000000000003)
17 0x00007f0f1ece238d __libc_start_main+0xec() in libc.so.6 (0x0000000000000000)
18 0x000000007bf00dbd _start+0x28() in <wine-loader> (0x0000000000000000)
0x00007f0f1c10d96c VariantClear+0xdc in oleaut32: movzwl (%rbx),%eax
Modules:
Module Address Debug info Name (62 modules)
ELF 7b800000- 7bc41000 Dwarf kernel32<elf>
\-PE 7b820000- 7bc41000 \ kernel32
ELF 7be00000- 7c103000 Dwarf <wine-loader>
PE 140000000- 14001d000 Export isbew64
ELF 7f0f18b92000- 7f0f18dcb000 Deferred uxtheme<elf>
\-PE 7f0f18ba0000- 7f0f18dcb000 \ uxtheme
ELF 7f0f18dcb000- 7f0f18fd2000 Deferred libxfixes.so.3
ELF 7f0f18fd2000- 7f0f191dc000 Deferred libxcursor.so.1
ELF 7f0f192d4000- 7f0f194fe000 Deferred libexpat.so.1
ELF 7f0f194fe000- 7f0f19734000 Deferred libfontconfig.so.1
ELF 7f0f19734000- 7f0f19944000 Deferred libxi.so.6
ELF 7f0f19944000- 7f0f19b47000 Deferred libxcomposite.so.1
ELF 7f0f19b47000- 7f0f19d50000 Deferred libxrandr.so.2
ELF 7f0f19d50000- 7f0f19f5b000 Deferred libxrender.so.1
ELF 7f0f19f5b000- 7f0f1a161000 Deferred libxxf86vm.so.1
ELF 7f0f1a161000- 7f0f1a364000 Deferred libxinerama.so.1
ELF 7f0f1a364000- 7f0f1a58b000 Deferred imm32<elf>
\-PE 7f0f1a370000- 7f0f1a58b000 \ imm32
ELF 7f0f1a58b000- 7f0f1a791000 Deferred libxdmcp.so.6
ELF 7f0f1a791000- 7f0f1a995000 Deferred libxau.so.6
ELF 7f0f1a995000- 7f0f1abb0000 Deferred libxcb.so.1
ELF 7f0f1abb0000- 7f0f1adb5000 Deferred libuuid.so.1
ELF 7f0f1adb5000- 7f0f1afd1000 Deferred libice.so.6
ELF 7f0f1afd1000- 7f0f1b30d000 Deferred libx11.so.6
ELF 7f0f1b30d000- 7f0f1b520000 Deferred libxext.so.6
ELF 7f0f1b520000- 7f0f1b728000 Deferred libsm.so.6
ELF 7f0f1b728000- 7f0f1b9ca000 Deferred winex11<elf>
\-PE 7f0f1b740000- 7f0f1b9ca000 \ winex11
ELF 7f0f1b9ca000- 7f0f1bbda000 Deferred libbz2.so.1.0
ELF 7f0f1bbda000- 7f0f1bdf0000 Deferred libz.so.1
ELF 7f0f1bdf0000- 7f0f1c08e000 Deferred libfreetype.so.6
ELF 7f0f1c08e000- 7f0f1c3d4000 Dwarf oleaut32<elf>
\-PE 7f0f1c0b0000- 7f0f1c3d4000 \ oleaut32
ELF 7f0f1c3d4000- 7f0f1c751000 Deferred ole32<elf>
\-PE 7f0f1c400000- 7f0f1c751000 \ ole32
ELF 7f0f1c751000- 7f0f1ca50000 Deferred comctl32<elf>
\-PE 7f0f1c760000- 7f0f1ca50000 \ comctl32
ELF 7f0f1ca50000- 7f0f1cce0000 Deferred shlwapi<elf>
\-PE 7f0f1ca60000- 7f0f1cce0000 \ shlwapi
ELF 7f0f1cce0000- 7f0f1d13b000 Deferred shell32<elf>
\-PE 7f0f1cd00000- 7f0f1d13b000 \ shell32
ELF 7f0f1d13b000- 7f0f1d354000 Deferred version<elf>
\-PE 7f0f1d140000- 7f0f1d354000 \ version
ELF 7f0f1d354000- 7f0f1d645000 Deferred gdi32<elf>
\-PE 7f0f1d370000- 7f0f1d645000 \ gdi32
ELF 7f0f1d645000- 7f0f1d9df000 Deferred user32<elf>
\-PE 7f0f1d660000- 7f0f1d9df000 \ user32
ELF 7f0f1d9df000- 7f0f1dc5e000 Deferred advapi32<elf>
\-PE 7f0f1d9f0000- 7f0f1dc5e000 \ advapi32
ELF 7f0f1dc5e000- 7f0f1def0000 Deferred rpcrt4<elf>
\-PE 7f0f1dc70000- 7f0f1def0000 \ rpcrt4
ELF 7f0f1def0000- 7f0f1e0fd000 Deferred libnss_files.so.2
ELF 7f0f1e2c2000- 7f0f1e4d8000 Deferred libgcc_s.so.1
ELF 7f0f1e4d8000- 7f0f1e7cc000 Deferred libm.so.6
ELF 7f0f1e7cc000- 7f0f1eaba000 Dwarf ntdll<elf>
\-PE 7f0f1e7e0000- 7f0f1eaba000 \ ntdll
ELF 7f0f1eabd000- 7f0f1ecc1000 Deferred libdl.so.2
ELF 7f0f1ecc1000- 7f0f1f062000 Dwarf libc.so.6
ELF 7f0f1f063000- 7f0f1f27f000 Deferred libpthread.so.0
ELF 7f0f1f2a7000- 7f0f1f5d9000 Dwarf libwine.so.1
ELF 7f0f1f5da000- 7f0f1f7fd000 Deferred ld-linux-x86-64.so.2
ELF 7fff9c9ff000- 7fff9ca00000 Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
0000001f 0
0000001e 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001c 0
00000019 0
00000014 0
00000013 0
0000001a plugplay.exe
00000020 0
0000001d 0
0000001b 0
0000002c rpcss.exe
00000009 0
00000026 0
00000032 0
00000031 0
00000030 0
0000002e 0
0000002d 0
00000041 explorer.exe
00000017 0
00000043 (D) C:\users\ebs\Temp\{43B73120-0931-47A3-9D74-0EB39F7926A3}\ISBEW64.exe
00000049 0
0000003f 0
00000045 0
0000003b 0 <==
System information:
Wine build: wine-1.4
Platform: x86_64
Host system: Linux
Host version: 3.2.9-1-ARCH
How can I fix this error and play witcher 2?
Any help is highly appreciated
Last edited by ebshankar (2012-03-16 13:11:04)
Offline
Could you describe the process you're using to launch and run the installer please? (edit2: Such as the commands, mounting, prefixes, etc.)
edit: I've got a few suggestions but I need to know your installation methods first, thanks.
Last edited by Earnestly (2012-03-11 12:04:23)
Offline
Could you describe the process you're using to launch and run the installer please? (edit2: Such as the commands, mounting, prefixes, etc.)
edit: I've got a few suggestions but I need to know your installation methods first, thanks.
first I installed vcrun2010 using
wintricks vcrun2010
It installed without errors and then,
I mounted the cd1 using
$sudo mkdir /media/disk
$sudo mount -o loop /path/to/iso /media/disk
and ran setup.exe with wine. During installation, It asked for cd2 which I also mounted and it was installing and near the end of installation wine showed that error and crashed
Last edited by ebshankar (2012-03-11 14:40:33)
Offline
Ah, so you've already already ripped the DVDs to iso files.
Alrighty. let's try this from scratch: (Don't install anything via winetricks for the moment)
# cd to the location of "setup.exe" first (See WineHQ FAQ for why)
cd /media/disk/TW2_blah_blah/
# Create a new 32bit prefix under "~/.wine_witcher2"
WINEARCH=win32 WINEPREFIX=~/.wine_witcher2 wine setup.exe
Continue installation with the same method you've already said and say if it still fails.
Last edited by Earnestly (2012-03-11 15:11:47)
Offline
Ah, so you've already already ripped the DVDs to iso files.
Alrighty. let's try this from scratch: (Don't install anything via winetricks for the moment)
# cd to the location of "setup.exe" first (See WineHQ FAQ for why) cd /media/disk/TW2_blah_blah/ # Create a new 32bit prefix under "~/.wine_witcher2" WINEARCH=win32 WINEPREFIX=~/.wine_witcher2 wine setup.exe
Continue installation with the same method you've already said and say if it still fails.
Installation started and got finished. I could even apply the latest patch. But, The terminal from which installation was started is stuck(The process did not end) And I did not end it because it maybe doing something and stopping may corrupt the install. This is what it is showing
$ WINEARCH=win32 WINEPREFIX=~/.wine_witcher2 wine setup.exe
wine: created the configuration directory '/home/ebs/.wine_witcher2'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0xc9e8cc, overlapped 0xc9e8b0): stub
wine: configuration in '/home/ebs/.wine_witcher2' has been updated.
[ebs@shankar disk1]$ fixme:storage:create_storagefile Storage share mode not implemented.
fixme:apphelp:ApphelpCheckInstallShieldPackage stub: 0x33f1fc L"Z:\\media\\disk1\\data1.hdr"
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:ieframe:taskbar_list_SetProgressState iface 0x20f2b8, hwnd 0x40072, flags 2 stub!
fixme:ieframe:taskbar_list_SetProgressValue iface 0x20f2b8, hwnd 0x40072, ullCompleted 0, ullTotal 64 stub!
fixme:shell:IShellLinkW_fnGetPath (0x209c668): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x209c668): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x2035010): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x2035010): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x20ee0e0): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x20ee0e0): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x20eef78): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x20eef78): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x2092318): WIN32_FIND_DATA is not yet filled.
fixme:shell:IShellLinkW_fnGetPath (0x2092318): WIN32_FIND_DATA is not yet filled.
fixme:thread:GetThreadPreferredUILanguages 52, 0x33f9a8, 0x33fc24 0x33f9b0
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:GetThreadPreferredUILanguages 52, 0x33edc8, 0x33f044 0x33edd0
fixme:msvcr90:__clean_type_info_names_internal (0x788a54e4) stub
I opened another terminal and the launcher crashes
$ cd ~/wine_witcher2/drive_c/Program\ Files/The\ Witcher\ 2
$ wine Launcher.exe
fixme:thread:GetThreadPreferredUILanguages 52, 0x32f9a8, 0x32fc24 0x32f9b0
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:GetThreadPreferredUILanguages 52, 0x32ede8, 0x32f064 0x32edf0
fixme:msvcr90:__clean_type_info_names_internal (0x788a54e4) stub
Offline
Once the installer finished and console output stops for awhile you can typically close it quite safely.
(Some setups install vcrun and directx quietly (e.g. dxsetup.exe /q) which can account for the periods of nothing, but the console should still be talking.)
The output from Launcher.exe are all fixme's; no errors?
At any rate, try installing vcrun2008 (fixme:msvcr90:__clean_type_info_names_internal (0x788a54e4) stub)
WINEPREFIX=~/.wine_witcher2 winetricks vcrun2008
edit: I've got the GOG edition of The Witcher 2, but my Linux machine is woefully underpowered to run it. However I can probably install it and see if I get similar issues.
Last edited by Earnestly (2012-03-12 11:11:17)
Offline
Once the installer finished and console output stops for awhile you can typically close it quite safely.
(Some setups install vcrun and directx quietly (e.g. dxsetup.exe /q) which can account for the periods of nothing, but the console should still be talking.)The output from Launcher.exe are all fixme's; no errors?
At any rate, try installing vcrun2008 (fixme:msvcr90:__clean_type_info_names_internal (0x788a54e4) stub)
WINEPREFIX=~/.wine_witcher2 winetricks vcrun2008
edit: I've got the GOG edition of The Witcher 2, but my Linux machine is woefully underpowered to run it. However I can probably install it and see if I get similar issues.
I installed vcrun2008 successfully. Still its giving the exact same error
One thing I forgot to mention is that initially when the installer crashed, it showed this kind of error
err:module:import_dll Library mfc100u.dll (which is needed by L"Z:\\home\\ebs\\.wine_witcher2\\drive_c\\Program Files\\The Witcher 2\\Register.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\ebs\\.wine_witcher2\\drive_c\\Program Files\\The Witcher 2\\Register.exe" failed, status c0000135
so I copied mfc100u.dll into system32 folder which I got from dll-files.com and After that I am getting fixme's
Update:
I searched online and found out that its vcrun2010 that I needed and I installed it using
WINEPREFIX=~/.wine_witcher2 winetricks vcrun2010
Now I get only 3 fixme's instead of 4.
$WINEPREFIX=~/.wine_witcher2 wine Launcher.exe
fixme:thread:GetThreadPreferredUILanguages 52, 0x32f9a8, 0x32fc24 0x32f9b0
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:thread:GetThreadPreferredUILanguages 52, 0x32ede8, 0x32f064 0x32edf0
Last edited by ebshankar (2012-03-12 12:08:40)
Offline
I'll post more on this later after a few more tests, but I've managed to get the game working flawlessly. (Not including the Launcher.exe, is there any reason you absolutely require it?)
Offline
I'll post more on this later after a few more tests, but I've managed to get the game working flawlessly. (Not including the Launcher.exe, is there any reason you absolutely require it?)
I don't absolutely require it. I just have a strong desire to play the game. Thats it
Thank you so much for you time.
Offline
Alrighty.
Nvidia 9600GT 1GB
4GB RAM
---
Arch Linux x86_64
wine 1.4
nvidia 295.20
I didn't have to use WINEARCH=win32 but it doesn't hurt if all your programs are 32bit. (However, I always recommend using WINEPREFIX's. edit: In this example I'm using ~/.wine_rack/ for all my prefixes.)
First cd to the installation directory then run the 'setup.exe'
cd /path/to/installer
WINEPREFIX=~/.wine_rack/witcher_2 wine setup.exe
You'll then see a crash at the end but this is due to the installer attempting to launch 'Register.exe'. This subsequently fails as it requires msxml3 and vcrun2010 (which even then it still may not work).
Safely skip this and just continue.
(ps: I always install to 'C:\' and avoid any of the 'Program Files' directories)
Again, cd to the directory containing 'witcher2.exe' (and 'Configurator.exe'). Run the 'Configurator.exe' and tweak your graphical options
(Funnily enough I could play at reasonable FPS with every option disabled and at 320x200 resolution, just like SNES all over again. )
cd ~/.wine_rack/witcher_2/drive_c/The\ Witcher\ 2/bin
WINEPREFIX=~/.wine_rack/witcher_2 wine Configurator.exe
Once you're happy with the options, launch the game (assuming you're in the same directory)
WINEPREFIX=~/.wine_rack/witcher_2 wine witcher2.exe
This can either got two ways, 1) it'll work, yay us; and 2) you'll be greeted with a blank screen, not so yay.
If you encounter the latter, you'll need to install 'd3dx9_36' (It won't work with _43 according to my tests, I didn't try _39 or _42)
WINEPREFIX=~/.wine_rack/witcher_2 winetricks d3dx9_36
From here on the game (which launched from 'witcher2.exe') should work flawlessly. (At least it did in my limited testing)
A few tidbits of general advice though
Use a Virtual Desktop mapped to the same dimensions as your screen. This solves many headaches related to 'alt-tabbing' and fullscreen programs messing up your resolution settings.
winecfg > Graphics (tab) > [ x ] Emulate a Virtual Desktop > Desktop Size: [ native x res ] x [ native y res ] or
# This method has the added benefit of assigning WM_(NAME|CLASS) variables useful for some Tiling Window Mangers.
WINEPREFIX=~/.wine_rack/witcher_2 wine explorer /desktop=witcher_2,1440x900 witcher2.exe
Once you're happy the game is stable, add WINEDEBUG=-all to prevent console message space
WINEPREFIX=~/.wine_rack/witcher_2 WINEDEBUG=-all wine explorer /desktop=witcher_2,1440x900 witcher2.exe
If you encounter graphical glitches (specifically in The Witcher 2) try disabling GLSL
WINEPREFIX=~/.wine_rack/witcher_2 winetricks glsl=disable
I recommend creating an 'environment folder' (I use 'env') to store all the various prefix data (game saves/desktop icons/screenshots/etc) instead of cluttering up your home.
winecfg > Desktop Integration > Folders > Change all the entries to (/home/user/.wine_rack/env) or better, clear all the links
Good luck.
Hope it works out for you.
Last edited by Earnestly (2012-03-12 14:02:50)
Offline
I could install and configure with Configurator.exe
but, even after installing d3dx9_36, witcher2.exe is giving a blank screen
It maybe due to d3dx9_43 which was installed along with the game. How do I remove it and still keep d3dx9_36
UPDATE:
The game started (I basically did everything from first exactly like you told me to).
Thank you !! thank you! much appreciated
I'll post if there are any further problems. Marking this as solved
Last edited by ebshankar (2012-03-13 09:27:29)
Offline
That's great news, hope it lasts
(If you want to remove other d3dx9_* versions, simply disable the 'dll override' from winecfg)
Last edited by Earnestly (2012-03-13 15:54:17)
Offline
The game works well but the mouse acceleration is erratic. While moving the mouse in the game down or right, even with the slightest touch it moves very fast to the down / right end respectively. So, I can't target enemies well at all during battle. Tried various tweaks like editing user.ini and setting smoothness to 0 and changing mouse sensitivity to minimum in the game but they didn't work.
Can this be fixed?
Last edited by ebshankar (2012-03-15 09:31:42)
Offline
See man xset and man xinput (Google linux mouse sensitivity.)
What's your output from the following command?
xinput --list --short
(Also, does this happen in other games, etc? Personally, when I tested The Witcher 2, I didn't experience any mouse issues.)
Last edited by Earnestly (2012-03-15 11:33:26)
Offline
See man xset and man xinput (Google linux mouse sensitivity.)
What's your output from the following command?
xinput --list --short
(Also, does this happen in other games, etc? Personally, when I tested The Witcher 2, I didn't experience any mouse issues.)
I have some native linux games. and in them the mouse is fine . The mouse is also fine with other wine apps.
$ xinput --list --short
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=16 [slave pointer (2)]
⎜ ↳ OM id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ Laptop_Integrated_Webcam_HD id=11 [slave keyboard (3)]
↳ USB Keyboard id=12 [slave keyboard (3)]
↳ USB Keyboard id=13 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=15 [slave keyboard (3)]
↳ Dell WMI hotkeys id=17 [slave keyboard (3)]
Offline
Edit: Btw, you should have left this thread as [SOLVED] and created a new thread for the new problem. Please read: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Edit2: This problem might not have anything to do with mouse sensitivity and may just be a bug in Wine or the Game, however it's worth a try to eliminate the possibility. (Wine had a similar issue with CS:S and erratic mouse movement (just jumpy) and was patched (wine 1.3.35 to 1.3.36 iirc))
Righto,
So your mouse is either "PS/2 Generic Mouse" or "OM". Whichever it is we'll only be paying attention to the id=#.
Before I start, I'll assume that you've turned off mouse acceleration, which is ideal for games. You also might have to tweak these settings to find a happy medium.
I'm also assuming that device 16 is your mouse (PS/2 Generic Mouse).
My idea is to temporarily lower the mouse sensitivity when you launch the game, and then return it to default when you close the game.
Firstly list current properties for your mouse, make note of the numbers in the parentheses. Most of the options are self explanatory.
$ xinput --list-props 16
[snip]
Device Accel Profile (252): 0 #Change this to "-1" to completely disable acceleration
Device Accel Constant Deceleration (253): 1.000000
Device Accel Adaptive Deceleration (254): 1.000000
Device Accel Velocity Scaling (255): 10.000000
[snip]
Disable mouse acceleration (I have this set by default)
$ xinput --set-prop 16 "Device Accel Profile" -1
# Or, if you paid attention to the number in parentheses, you can use:
$ xinput --set-prop 16 252 -1 # less typing
To lower your mouse sensitivity, simply do
$ xinput --set-prop 16 "Device Accel Constant Deceleration" 4 #The higher the slower
# Or
$ xinput --set-prop 16 253 4
Then you simply use a bit of shell script to launch your game (e.g.
# cd to dir of game's .exe | lower mouse sens | launch game | restore mouse sens to default
cd ~/.wine_rack/witcher_2/drive_c/The\ Witcher\ 2/bin; xinput --set-prop 16 253 4; WINEPREFIX=~/.wine_rack/witcher_2 WINEDEBUG=-all wine witcher2.exe; xinput --set-prop 16 253 1
)
This solution is a little hacky but it should work
You can probably find out more on your own from here on out, good luck with it.
(My personal solution to mouse issues was to just disable mouse acceleration, it's fine for me.)
Last edited by Earnestly (2012-03-15 18:00:00)
Offline
Edit: Btw, you should have left this thread as [SOLVED] and created a new thread for the new problem. Please read: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
Edit2: This problem might not have anything to do with mouse sensitivity and may just be a bug in Wine or the Game, however it's worth a try to eliminate the possibility. (Wine had a similar issue with CS:S and erratic mouse movement (just jumpy) and was patched (wine 1.3.35 to 1.3.36 iirc))Righto,
So your mouse is either "PS/2 Generic Mouse" or "OM". Whichever it is we'll only be paying attention to the id=#.Before I start, I'll assume that you've turned off mouse acceleration, which is ideal for games. You also might have to tweak these settings to find a happy medium.
I'm also assuming that device 16 is your mouse (PS/2 Generic Mouse).My idea is to temporarily lower the mouse sensitivity when you launch the game, and then return it to default when you close the game.
Firstly list current properties for your mouse, make note of the numbers in the parentheses. Most of the options are self explanatory.
$ xinput --list-props 16 [snip] Device Accel Profile (252): 0 #Change this to "-1" to completely disable acceleration Device Accel Constant Deceleration (253): 1.000000 Device Accel Adaptive Deceleration (254): 1.000000 Device Accel Velocity Scaling (255): 10.000000 [snip]
Disable mouse acceleration (I have this set by default)
$ xinput --set-prop 16 "Device Accel Profile" -1 # Or, if you paid attention to the number in parentheses, you can use: $ xinput --set-prop 16 252 -1 # less typing
To lower your mouse sensitivity, simply do
$ xinput --set-prop 16 "Device Accel Constant Deceleration" 4 #The higher the slower # Or $ xinput --set-prop 16 253 4
Then you simply use a bit of shell script to launch your game (e.g.
# cd to dir of game's .exe | lower mouse sens | launch game | restore mouse sens to default cd ~/.wine_rack/witcher_2/drive_c/The\ Witcher\ 2/bin; xinput --set-prop 16 253 4; WINEPREFIX=~/.wine_rack/witcher_2 WINEDEBUG=-all wine witcher2.exe; xinput --set-prop 16 253 1
)
This solution is a little hacky but it should work
You can probably find out more on your own from here on out, good luck with it.
(My personal solution to mouse issues was to just disable mouse acceleration, it's fine for me.)
I actually thought about creating a new thread but momentarily felt I had to write here itself because everything regarding troubleshooting witcher 2 will be here.
your solution did decrease the mouse sensitivity but, the mouse continues to be jumpy in the game while moving it from left to right or top to bottom.
Witcher 2 has a mouse emulator built in and some ppl(even windows users) have experienced this problem but for most of them, editing this file called 'user.ini' and setting smoothness = 0 worked. But not for me. Strangely many ppl playing witcher 2 in wine didn't experience this problem at all.
I think this can be a bug in witcher 2 which can make only some models of mice jumpy.
I also have an 'enter gamepad' and the game doesn't support it but one joystick works very smoothly (unlike the mouse) so presently I'm searching online for ways to get the gamepad working with the game
Last edited by ebshankar (2012-03-16 08:53:54)
Offline
Well then, you might as well mark this thread solved... again. As the problem has very little to do with installing TW2. (Again, mouse worked fine for me with no tweaking at all.)
As the guidelines say, if you feel this thread is relevant when creating a new topic, link it in, but don't continue it for different problems.
If a thread is marked as [SOLVED], do not reply stating the equivalent of "I am having a similar issue.."; start a new thread and link to the [SOLVED] thread, if relevant.
This is even more appropriate when the "similar issue" is in fact, something completely different. (This site gets Google hits frequently and is helpful for others than yourself. Keeping solutions to problems at one per thread makes it more helpful.)
Last edited by Earnestly (2012-03-16 12:07:12)
Offline
The game works well but the mouse acceleration is erratic. While moving the mouse in the game down or right, even with the slightest touch it moves very fast to the down / right end respectively. So, I can't target enemies well at all during battle. Tried various tweaks like editing user.ini and setting smoothness to 0 and changing mouse sensitivity to minimum in the game but they didn't work.
Can this be fixed?
I had this exact issue with other games since the recent xorg update. I've downgraded xorg including evdev and synaptics which has solved it. For now I am still testing, searching the net and will start a new thread if/when I make some progress.
Thanks to Kaustic for some great advice and good luck to you ebshankar.
Offline
ebshankar wrote:The game works well but the mouse acceleration is erratic. While moving the mouse in the game down or right, even with the slightest touch it moves very fast to the down / right end respectively. So, I can't target enemies well at all during battle. Tried various tweaks like editing user.ini and setting smoothness to 0 and changing mouse sensitivity to minimum in the game but they didn't work.
Can this be fixed?I had this exact issue with other games since the recent xorg update. I've downgraded xorg including evdev and synaptics which has solved it. For now I am still testing, searching the net and will start a new thread if/when I make some progress.
Thanks to Kaustic for some great advice and good luck to you ebshankar.
To which versions did you downgrade?
Offline