Closed StebQC closed 5 months ago
Looks like the culprit is 0044:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
Maybe https://forums.developer.nvidia.com/t/issue-wine-falling-back-to-nouveau-driver/36957 can help
If Wine is getting confused by the implicit scaling resolutions listed by “xrandr --q1”, you can disable them by disabling the IncludeImplicitMetaModes option.
You could also try to set zwift into windowed mode using a single screen, and the plug in the second screen and see if zwift starts in windowed mode. Probably something going on in your system with randr and multiple screens that's confusing either wine, zwift or both.
Like you said, starting zwift:latest
with 1 monitor then plug the second one works fine.
I managed to locate that the problem started with version 1.64.0. I haven't time to look for the changes between these 2 version. Will try to look into it over the weekend.
I have tried to find the changes that causes this issue with no luck. As it takes a few seconds to unplug my second monitor, the workaround is easy to manage. I will close this issue.
Thanks for your help @netbrain
You could also try to simply write a script that disables the second monitor at startup of Zwift, and then re-enables it a minute later.
Great idea !!! For future reference, here is my script if anyone is interested
#!/bin/bash
xrandr --output HDMI-0 --off
zwift
sleep 7
xrandr --output HDMI-0 --auto --right-of DP-0
Describe the bug When running with 2 monitors:
Workaround Unplug 1 monitor and latest zwift works fine or by using command
VERSION=1.62.0 zwift
with 2 monitorsLogs