-
Notifications
You must be signed in to change notification settings - Fork 183
Description
Describe the bug
When running a legacy VB3 application under Wine VDM (otvdm) on Windows 11, one specific workflow is significantly slower than on Windows XP. The workflow:
Executes a SQL query via the 16‑bit vbsql.vbx control (to SQL Server)
Launches a form to display the returned data
On Windows 11 + Wine VDM, this path consistently takes ~7 seconds longer than the same operation on Windows XP. The delay appears prior to or during the SQL execution/display hand‑off and does not appear to be general emulation overhead (other app workflows are near parity with XP).
Expected behavior
The SQL‑query + form‑display workflow should perform similarly to Windows XP (no additional ~7s latency) when running under Wine VDM on Windows 11, or there should be guidance on configuration to achieve comparable performance.
Environment (please complete the following information):
- OS: Windows 11 25H2
Additional context
Troubleshooting performed so far
Verified that other app workflows not involving vbsql.vbx perform near XP parity under Wine VDM.
Confirmed ForceSingleProcessor=1 is enabled.
Early check suggests the 7s delay coincides with/just before the SQL operation and form launch; still isolating whether delay is in network stack vs. 16‑bit control interop.
No obvious CPU saturation during delay; I/O looks quiet except during the query step.
Preliminary network check pending (to confirm if pure network latency is a factor).