https://bugs.winehq.org/show_bug.cgi?id=55597
Bug ID: 55597 Summary: Second desktop slows running Planet of Lana Product: Wine Version: 8.0.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: stephematician@gmail.com Distribution: ---
Created attachment 75129 --> https://bugs.winehq.org/attachment.cgi?id=75129 Short version of log from running program "Planet of Lana"
A second monitor/desktop, plugged in to my laptop via HDMI, slows down considerably when running Planet of Lana. The laptop monitor/desktop and the game itself (windowed) appear to run at a normal speed.
This issue is _not_ observed when running the Steam version of the game (using Proton 8.0.2).
I am using UbuntuMATE 22.04 (X11/LightDM). I have an on-board and NVIDIA graphics controller, using the NVIDIA 535.86.05 driver.
lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Max-Q] (rev a1) 05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c5)
Logs when running one vs two monitors do not appear materially different, e.g.
# unplug second monitor wine Planet\ of\ Lana.exe 1&>2 2>one_monitor.log
# plug second monitor in wine Planet\ of\ Lana.exe 1&>2 2>two_monitor.log
# trim log sed -r '/semi-stub|stub!/d' one_monitor.log | sed 's/[0-9A-F]{16}/HEX/g' \ | sed 's/^[0-9a-fA-F]{4}:/HEX:/g' > one_monitor_trim.log sed -r '/semi-stub|stub!/d' two_monitor.log | sed 's/[0-9A-F]{16}/HEX/g' \ | sed 's/^[0-9a-fA-F]{4}:/HEX:/g' > two_monitor_trim.log
diff one_monitor_trim.log two_monitor_trim.log # no difference
Attached the (trimmed) one-monitor log for reference.
https://bugs.winehq.org/show_bug.cgi?id=55597
stephematician@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Second desktop slows |Second (or external) |running Planet of Lana |monitor/desktop slows | |running Planet of Lana
https://bugs.winehq.org/show_bug.cgi?id=55597
--- Comment #1 from stephematician@gmail.com --- Looks like this was a case of the incorrect graphics card being used. Running via:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia wine Planet\ Of\ Lana.exe
resolved the slowdown on the second display (it seems). I did not need `__VK_LAYER_NV_optimus=NVIDIA_only` as I don't believe DXVK is used by the application.
A separate bug, perhaps, but I also tested with `winehg-staging` package (8.15), and I found that the main laptop screen (regardless of PRIME render offload settings) would become corrupted when I exited the program. This did not occur with `winehq-stable` (8.02) so there's a possible regression.