https://bugs.winehq.org/show_bug.cgi?id=53382
Bug ID: 53382 Summary: Slow rendering when connected to external monitor Product: Wine Version: 7.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: allencch@hotmail.com Distribution: ---
Created attachment 72769 --> https://bugs.winehq.org/attachment.cgi?id=72769 Slow winecfg GIF
When connected with an external monitor through HDMI, winecfg and explorer are extremely slow rendering.
If enabled "Emulate a virtual desktop", rendering will become normal. Without connecting on external monitor, the rendering is normal as well.
There is an error message shown in console when the rendering is slow comparing to the normal rendering,
0068:fixme:xrandr:xrandr10_get_current_mode Non-primary adapters are unsupported.
OS: Arch Linux
https://bugs.winehq.org/show_bug.cgi?id=53382
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
--- Comment #1 from Zhiyi Zhang zzhang@codeweavers.com --- Something is wrong with your setup. what's your output of `xrandr -v ` ? and please provide a +xrandr wine log.
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #2 from allencch@hotmail.com --- Created attachment 72772 --> https://bugs.winehq.org/attachment.cgi?id=72772 WINEDEBUG=+xrandr
Console output when run with "WINEDEBUG=+xrandr wine winecfg"
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #3 from allencch@hotmail.com --- (In reply to Zhiyi Zhang from comment #1)
Something is wrong with your setup. what's your output of `xrandr -v ` ? and please provide a +xrandr wine log.
The "xrandr -v" output is
xrandr program version 1.5.1 Server reports RandR version 1.6
I have also attached a log file for "WINEDEBUG=+xrandr wine winecfg"
https://bugs.winehq.org/show_bug.cgi?id=53382
Luc iq2luc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |iq2luc@gmail.com
--- Comment #4 from Luc iq2luc@gmail.com --- Hello,
I confirm this issue, please see https://forum.winehq.org/viewtopic.php?f=8&t=36360#p137849 for more information on my experience with the problem.
Also, the patch mentioned in https://forum.winehq.org/viewtopic.php?f=8&t=36360#p137894 fixes it (wine 7.14).
Thanks, Luc
https://bugs.winehq.org/show_bug.cgi?id=53382
Robert Walker bob.mt.wya@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #5 from Luc iq2luc@gmail.com --- Still happening in 7.15, the mentioned patch (xrandr-nv-fix.patch) still fixes the problem.
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #6 from Luc iq2luc@gmail.com --- Created attachment 72954 --> https://bugs.winehq.org/attachment.cgi?id=72954 XRandR Nvidia Patch
This patch works around the "slow rendering" issue when external monitor connected.
https://bugs.winehq.org/show_bug.cgi?id=53382
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz@gmail.co | |m
--- Comment #7 from NSLW lukasz.wojnilowicz@gmail.com --- I have the same issue as the original poster. Last good version that worked for me is Wine 6.10. I test it by starting "wine explorer" and it's unbelievably slow in drawing when an external monitor is connected. "Emulate a virtual desktop" helps. I haven't yet tried the patch from the comment #7.
Regression test gave:
d171d1116764260f4ae272c69b54e5dfd13c6835 is the first bad commit commit d171d1116764260f4ae272c69b54e5dfd13c6835 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Mon May 31 16:12:44 2021 +0800
gdi32: Return correct color depth for display DCs in GetDeviceCaps().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=29184 Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/gdi32/driver.c | 19 ++++++++++++++++++- dlls/user32/tests/monitor.c | 1 - dlls/winex11.drv/init.c | 2 -- 3 files changed, 18 insertions(+), 4 deletions(-)
Please somebody: 1) Finally confirm this bug 2) Change first affected "Version:" from "7.13" to "6.11" 3) Add "regression" in "Keywords:" 4) Add "d171d1116764260f4ae272c69b54e5dfd13c6835" in "Regression SHA1:"
Additional info: 1) My GPU driver is NVIDIA 340.108 2) My color depth is 24 bits and it seems to be not selectable in nvidia-settings 3) I use Fedora 37 KDE 5.26.4 4) My external monitor is connected through a HDMI cable 5) My laptop screen is off when my external monitor is on
https://bugs.winehq.org/show_bug.cgi?id=53382
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d171d1116764260f4ae272c69b5 | |4e5dfd13c6835
https://bugs.winehq.org/show_bug.cgi?id=53382
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Ever confirmed|0 |1 Version|7.13 |6.11 Status|UNCONFIRMED |NEW Component|-unknown |winex11.drv
--- Comment #8 from Zeb Figura z.figura12@gmail.com --- Confirmed status doesn't really matter, but sure.
https://bugs.winehq.org/show_bug.cgi?id=53382
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #9 from Zhiyi Zhang zzhang@codeweavers.com --- Created attachment 73821 --> https://bugs.winehq.org/attachment.cgi?id=73821 patch
Please try this patch.
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #10 from NSLW lukasz.wojnilowicz@gmail.com --- (In reply to Zeb Figura from comment #8)
Confirmed status doesn't really matter, but sure.
Ok, thanks.
(In reply to Zhiyi Zhang from comment #9)
Created attachment 73821 [details] patch
Please try this patch.
Your patch works for me. I hope it's not a hack and that you can get into the mainline. Thank you for the fast reply.
https://bugs.winehq.org/show_bug.cgi?id=53382
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|zzhang@codeweavers.com |wine-bugs@winehq.org Fixed by SHA1| |d81cf4ed555e87e469146829b86 | |bd3bca801efd9 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #11 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by d81cf4ed555e87e469146829b86bd3bca801efd9
https://bugs.winehq.org/show_bug.cgi?id=53382
--- Comment #12 from Luc iq2luc@gmail.com --- Hello,
I also confirm Zhiyi Zhang's patch works for me too.
Thank you, Luc
https://bugs.winehq.org/show_bug.cgi?id=53382
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc4.