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=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.
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=55887
Bug ID: 55887
Summary: Zofzpcb fails to instantiate algorithm 200, cipher 23
(GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305?)
Product: Wine
Version: 8.19
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: secur32
Assignee: wine-bugs(a)winehq.org
Reporter: winezilla(a)xobs.io
Distribution: ---
Created attachment 75420
--> https://bugs.winehq.org/attachment.cgi?id=75420
A crash of 3d_pcba_viewer.exe with +secur32,+crypt,+cryptnet,+chain trace
When launching zofzpcb.exe it performs a license check. This check apparently
uses the AEAD algorithm Chacha20 Poly1305.
By default, this fails with the following error:
> 0124:fixme:secur32:get_cipher_algid unknown algorithm 23
> 0124:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
From other bug reports, and from a more thorough log, this appears to be
GNUTLS_ECDHE_ECDSA_CHACHA20_POLY1305.
I installed wininet based on a recommendation in bug #32479 but that simply
resulted in an exception getting thrown: `Unhandled exception: unimplemented
function urlmon.dll.414 called in 64-bit code`
I am running Ubuntu 22.04.1. For ease of debugging, I'm running this under
WSL2, however the ultimate goal is to get this running under macOs.
The software in question is https://www.zofzpcb.com/Gerber-Viewer-Download
--
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=42698
Bug ID: 42698
Summary: FL Studio 12.4 setup does not show cursor
Product: Wine
Version: 2.4
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: seanaubin(a)gmail.com
Distribution: ---
Running Linux Kernel 4.4.0 on Linux Mint 18 and installing FL Studio 12.4, the
cursor does not display during the install.
--
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=55896
Bug ID: 55896
Summary: New FL Studio(21.2 build 3842) very slow when opening
the context menu
Product: Wine
Version: 8.19
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: mikhail.v.gavrilov(a)gmail.com
Distribution: ---
Created attachment 75433
--> https://bugs.winehq.org/attachment.cgi?id=75433
screenshot of FL Studio freeze
New FL Studio(21.2 build 3842) freezing for several seconds when opening the
context menu.
In the terminal I see such messages when it happens:
0174:fixme:dwmapi:DwmExtendFrameIntoClientArea (000000000002030C,
00007FFFFE1FEA70) stub
0314:fixme:file:ReplaceFileW Ignoring flags 2
0338:fixme:file:ReplaceFileW Ignoring flags 2
0284:fixme:dwmapi:DwmFlush () 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=52820
Bug ID: 52820
Summary: Pokemon TCG Live Crashes During Login within Vuplex
Webview
Product: Wine
Version: 7.6
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: algebro(a)tuta.io
Distribution: ---
Created attachment 72202
--> https://bugs.winehq.org/attachment.cgi?id=72202
Vuplex backtrace
Pokemon TCG Live crashes during the authentication flow when the program tries
to open a login page in a WebView created by Vuplex (which seems to be a
proprietary Unity plugin). Backtrace is attached to this ticket.
--
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=54829
Bug ID: 54829
Summary: Unhandled exception: page fault on write access to,
invalid program stack in 64-bit code
Product: Wine
Version: 8.0
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: philipp.heimpel(a)gmail.com
Distribution: ---
Created attachment 74334
--> https://bugs.winehq.org/attachment.cgi?id=74334
Error Details
When running wine VCarveDesktopTrialEdition.exe I receive the following error:
Unhandled exception: page fault on write access to, invalid program stack in
64-bit code
Installation went fine and without errors
Download link:
https://storage.googleapis.com/vectric_public/VCarveDesktopTrialEdition_Set…
Debian GNU/Linux 11 (bullseye)
--
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=46734
Bug ID: 46734
Summary: EditPad Pro 7: Cannot read/capture host (Linux)
application's stdout/stderr to display in its message
panel
Product: Wine
Version: 2.19
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: clay_dakota(a)yahoo.com
Distribution: ---
Created attachment 63726
--> https://bugs.winehq.org/attachment.cgi?id=63726
Python script to write "Hello World" to stdout.
Distribution: Linux Mint 17.3 ; 32-bit ; Trusty ; MATE Desktop
AppDB App: EditPad Pro 7
AppDB Entry: #8392
Wine Ver w/o Bug: 2.18 (devel) & 2.04 (stable)
Wine Ver w/ Bug: 2.19 (devel) & 3.04 (stable) & 4.0 (stable)
Steps to reproduce:
* Download EditPad Pro free trial version 7.6.5 and install
- URL: http://download.jgsoft.com/editpad/SetupEditPadProDemo.exe
* Install Wine 2.18 (devel)
* Run EditPad Pro (EPP) from Wine
- Executable: EditPadPro7.exe
* From the EPP menu, go to Tools -> Configure Tools
* Import the EPP Tool configuration file
- Attachment: RunWithPython.ini
* Open the Python source file
- Attachment: hello.py
* From the EPP menu, go to Tools -> Run w/ Python
* Will see the Python script's output in EPP's message panel as expected
- See attachment: EPP_Wine2.18_WithoutBug.png
* See Wine 2.18's terminal output file to see that the output did not go to
the terminal as expected
- Attachment: Con_Wine2.18_WithoutBug.out
* Install Wine 2.19 (devel)
* Run EditPad Pro (EPP) from Wine
- Executable: EditPadPro7.exe
* Open the Python source file
- Attachment: hello.py
* From the EPP menu, go to Tools -> Run w/ Python
* Will not see the Python script's output in EPP's message panel
- See attachment: EPP_Wine2.19_WithBug.png
* See Wine 2.19's terminal output file to see that the output went to the
terminal instead of EPP's message panel
- Attachment: Con_Wine2.19_WithBug.out
Note: This bug *may* be related to bug 23596. However, bug 23596 is reported
against Wine version: 1.2-rc7.
--
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.