https://bugs.winehq.org/show_bug.cgi?id=56208
Bug ID: 56208
Summary: Inconsistent mouse speed tied to frame rate and mouse
polling rate
Product: Wine
Version: 9.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: korbel00(a)gmail.com
Distribution: ---
Created attachment 75922
--> https://bugs.winehq.org/attachment.cgi?id=75922
logs and patch
In Secret World Legends the actual mouse speed depends on the current frame
rate in Wine which does not seem to happen in Windows. (if it does, it's not
noticeable for me)
Looking around with the camera, the mouse speeds up and slows down randomly,
making the game really hard to control if possible at all. It's even worse when
a fight is going on in one direction, and there nothing in the other, making it
impossible to turn around. (I have ~30 FPS looking into a fight and ~300 FPS
looking away, the mouse movement slows down so much that I cannot do a 180
turn)
I attempted to do some investigation and I think I could pinpoint the problem
which I'll try to explain here.
The game loop does the following to control the camera (this is an assumption
based on my calculations and on the logged relay messages):
```
loop {
screen_movement := ZERO
last_position := GetCursorPos()
SetCursorPos(CENTER_OF_SCREEN) // reset cursor
while msg = PeekMessage() {
if (msg.type == WM_MOUSEMOVE) {
screen_movement += msg->position - last_position
last_position = msg->position
}
translate and dispatch msg
}
convert `screen_movement` to camera movement and do some stuff
}
```
My tests and calculations confirms it:
- At 50FPS, it takes 2906px raw movement to do a 360 turn at 1000Hz polling
rate
- At 100FPS, it takes 4129px raw movement to do a 360 turn at 1000Hz polling
rate
In both cases, logging out the PeekMessage values and running the algorithm
above on the logs gave me approx 2080px on-screen movement which the game
translated into a 360 turn.
Interestingly at low polling rates the pattern reverses: high FPS gives faster
movement speed than low FPS.
For the algorithm to work, there are some assumption made:
- every mouse motion must enter the message queue
- there cannot be a new motion between calling GetCursorPos and SetCursorPos,
and the next motion after SetCursorPos should be the center of the screen.
With wine, neither of the conditions stands:
- GetCursorPos by default gives back the position from the wine server, even
though the display driver may have unsent motion messages in the output buffer.
- SetCursorPos will tell X11DRV_MotionNotify to ignore all these unprocessed
motions using the "warp_serial" value. The ignored messages won't translate to
camera movements and will get lost.
I modified the code so only the raw inputs get processed, effectively ignoring
all X11DRV_MotionNotify events, and commenting out all code that attempts to
sync the graphics driver position. This does not cause problems in this case
because for every frame SetCursorPos sends the center of the screen both
directly to the message queue and the graphics driver. It solved the issue and
the mouse movements became very smooth and uniform however it is not a proper
solution.
I will attach logs of me doing a 360 turn on both 50FPS and 100FPS.
To sum the raw values I used this script:
```
cat messages.log | grep map_raw_event_coords | sed -E 's/.*input
(-?[[:digit:]]+).*/\1/' | awk '{ sum += $1}; END { print sum }'
```
To run the algorithm which I think the game is doing (sum the PeekMessage
deltas) to calculate the total motion I used this:
```
cat messages.log | awk 'BEGIN { last = 960; sum = 0 }; { if (match($0,
"peek_message WM_MOUSEMOVE: \\(([[:digit:]]+) ", m)) { sum += m[1] - last; last
= m[1] } else if (match($0, "X11DRV_SetCursorPos warped to ([[:digit:]]+)", m))
{ last = m[1] } }; END { print sum }'
```
I will also attach the stripped down version of the relay log of the game loop
and my attempt at patching wine 9.0 git version.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56826
Bug ID: 56826
Summary: Warcraft III Reign of Chaos 1.27 black screen
Product: Wine
Version: 9.10
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msvcrt
Assignee: wine-bugs(a)winehq.org
Reporter: zsolt_vadasz(a)protonmail.com
Regression SHA1: 2fc773199080dedbe64a33ef66be02a4f44bcd08
Distribution: Other
Created attachment 76635
--> https://bugs.winehq.org/attachment.cgi?id=76635
+msvcrt bad commit
When launching the game, the screen is black. You also need to kill it with
`wineserver -k`, since the game detaches from the terminal.
I bisected the issue starting from wine-8.10, because it's the latest tested
version in the AppDB.
Tested with a vanilla prefix.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56740
Bug ID: 56740
Summary: AvizoToGo fails with "EnableNonClientDpiScaling()
failed for HWND 0x100ea (120) (Call not implemented.)"
Product: Wine
Version: 9.8
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: alois.schloegl(a)gmail.com
Distribution: ---
Created attachment 76520
--> https://bugs.winehq.org/attachment.cgi?id=76520
debug log when running AvizoToGo
Amira-Avizo 2023.2 contains a "gratis" viewer. When testing that version on
wine 9.9, it shows only the splash screen, and does not proceed. The wine debug
log is attached.
The crtical lines seem to be
0148:fixme:system:EnableNonClientDpiScaling (00000000000100EA): stub
EnableNonClientDpiScaling() failed for HWND 0x100ea (120) (Call not
implemented.)
In order to reproduce:
1) donwload the installer and run in wine
https://download.amira-avizo-software.com/private/MASTERS/AmiraAvizo3D/2023…
2) Then run the application:
wine $WINEPREFIX/drive_c/Program\ Files/Thermo\ Scientific\ Amira-Avizo3D\
2023.2/bin/arch-Win64VC16-Optimize/AvizoToGo.exe
Disclosure: Sveinar's nvidia-libs were installed in the WINEPREFIX, but I doubt
this makes a difference.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=54630
Bug ID: 54630
Summary: Can't run installed VCarve Pro trial: Unhandled
exception: page fault on write access / invalid
program stack in 64-bit code
Product: Wine
Version: 8.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: defsnotaburner0(a)gmail.com
Distribution: ---
Created attachment 74152
--> https://bugs.winehq.org/attachment.cgi?id=74152
backtrace from crash
Steps to reproduce:
1. download VCarve Pro V11.5 from
https://www.vectric.com/support/makerspace-sign-up
2. `wine VCarveProTrialEditionV11_SetupENU.exe`
3. install default steps, then run program
4. expected: run, actual: 'serious problem' message
system: Ubuntu 22.04,
wine development installation
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56772
Bug ID: 56772
Summary: Starcraft2 installer crashes at the login screen (arch
linux/xorg)
Product: Wine
Version: 9.9
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: cedric.dewijs(a)eclipso.eu
Distribution: ---
Created attachment 76571
--> https://bugs.winehq.org/attachment.cgi?id=76571
the backtrace of the starcraft 2 installer
To reproduce:
$ rm -rf ~/wine-tmp/
$ mkdir ~/wine-tmp
$ export WINEPREFIX=~/wine-tmp
$ cd ~/wine-tmp
Download
https://www.battle.net/download/getInstallerForGame?gameProgram=STARCRAFT_2
$ cp ~/Downloads/StarCraft-II-Setup.exe .
$ wine StarCraft-II-Setup.exe Now the installer starts.
Choose English, continue Now the installer downloads battle.net, and asks where
to install
Accept the defaults, continue. Now the installer installs battle.net
now battle.net shows the login screen, and then I see a crash.
versions (Arch linux running on Xorg)
$ uname -a
Linux cedric 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45
+0000 x86_64 GNU/Linux
$ wine --version
wine-9.9
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21806
Summary: Star Wars Empire at War: Demo crashes during battles
Product: Wine
Version: 1.1.39
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: gaming4jc2(a)yahoo.com
Created an attachment (id=26385)
--> (http://bugs.winehq.org/attachment.cgi?id=26385)
Tutorial 1 debugs, pagefaults, backtraces...
This seems to affect the game any time you are going into battle. At the
loading screen the game will issue a exception.
You have two choices, retry or cancel. I've provided a backtrace log that
results from each selection - as well as the game's built debugger log.
For anyone wishing to confirm, just try Tutorial 1. It will crash in under
2mins. The other tutorials may crash too, but not nearly as often since there's
not many battles to load. I was using the Demo CD I got in a promo.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53924
Bug ID: 53924
Summary: Vectric Aspire 11.5: crashes on load
Product: Wine
Version: 7.0.1
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: tmwsr3(a)gmail.com
Distribution: ---
Created attachment 73480
--> https://bugs.winehq.org/attachment.cgi?id=73480
Dump file from crash
Vectric Aspire 11.5 crashes on load. Previous version of program runs fine.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56419
Bug ID: 56419
Summary: MJUCjr VST plugin hangs
Product: Wine
Version: 9.4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: d3d
Assignee: wine-bugs(a)winehq.org
Reporter: xj(a)wp.pl
Distribution: ---
Free VST plugin MJUCjr hangs when trying open editor (GUI).
Plugin works well in old 1.3 version, but it failed in latest 1.5.
In reaper it show editor but it's frozen.
However it works when disabling "dxgi" in winecfg.
0150:fixme:combase:RoGetActivationFactory
(L"Windows.UI.ViewManagement.UIViewSettings",
{3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 00000000012EF7A0): semi-stub
0150:err:combase:RoGetActivationFactory Failed to find library for
L"Windows.UI.ViewManagement.UIViewSettings"
0150:fixme:win:RegisterTouchWindow hwnd 0000000000020078, flags 0 stub!
0150:fixme:msg:ChangeWindowMessageFilterEx 0000000000020078 233 1
0000000000000000
0150:fixme:msg:ChangeWindowMessageFilterEx 0000000000020078 4a 1
0000000000000000
0150:fixme:msg:ChangeWindowMessageFilterEx 0000000000020078 49 1
0000000000000000
0150:fixme:ntdll:NtQuerySystemInformation info_class
SYSTEM_PERFORMANCE_INFORMATION
0150:fixme:win:RegisterSuspendResumeNotification 0000000000020078, 0: stub.
015c:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA,
000000000167FF50
015c:fixme:dxgi:dxgi_output_WaitForVBlank iface 0000000001036970 stub!
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56858
Bug ID: 56858
Summary: CiscoJabber audio craking on ubuntu noble
Product: Wine
Version: 9.0-rc4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: valia090695(a)gmail.com
Distribution: ---
i have some problems to make CiscoJabber working fine.
Functionality seems to be ok but the audio especially built-in is degraded.
System : Ubuntu 24.04 LTS
CiscoJabber : 14.1.4
I suppose a problem between CiscoJabber and pipewire.
Sound control under CiscoJabber are inactive, and generates this logs :
334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
0334:err:mmdevapi:MMDevice_Activate Invalid/unknown iid
{c02216f6-8c67-4b5b-9d00-d008e73e0064}
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.