[Bug 53382] New: Slow rendering when connected to external monitor
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(a)winehq.org Reporter: allencch(a)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 -- 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=53382 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com --- Comment #1 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Something is wrong with your setup. what's your output of `xrandr -v ` ? and please provide a +xrandr wine log. -- 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=53382 --- Comment #2 from allencch(a)hotmail.com --- Created attachment 72772 --> https://bugs.winehq.org/attachment.cgi?id=72772 WINEDEBUG=+xrandr Console output when run with "WINEDEBUG=+xrandr wine winecfg" -- 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=53382 --- Comment #3 from allencch(a)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" -- 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=53382 Luc <iq2luc(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iq2luc(a)gmail.com --- Comment #4 from Luc <iq2luc(a)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 -- 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=53382 Robert Walker <bob.mt.wya(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bob.mt.wya(a)gmail.com -- 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=53382 --- Comment #5 from Luc <iq2luc(a)gmail.com> --- Still happening in 7.15, the mentioned patch (xrandr-nv-fix.patch) still fixes the problem. -- 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=53382 --- Comment #6 from Luc <iq2luc(a)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. -- 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=53382 NSLW <lukasz.wojnilowicz(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lukasz.wojnilowicz(a)gmail.co | |m --- Comment #7 from NSLW <lukasz.wojnilowicz(a)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(a)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(a)codeweavers.com> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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 -- 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=53382 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |d171d1116764260f4ae272c69b5 | |4e5dfd13c6835 -- 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=53382 Zeb Figura <z.figura12(a)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(a)gmail.com> --- Confirmed status doesn't really matter, but sure. -- 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=53382 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs(a)winehq.org |zzhang(a)codeweavers.com -- 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=53382 --- Comment #9 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Created attachment 73821 --> https://bugs.winehq.org/attachment.cgi?id=73821 patch Please try this patch. -- 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=53382 --- Comment #10 from NSLW <lukasz.wojnilowicz(a)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. -- 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=53382 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|zzhang(a)codeweavers.com |wine-bugs(a)winehq.org Fixed by SHA1| |d81cf4ed555e87e469146829b86 | |bd3bca801efd9 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #11 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Fixed by d81cf4ed555e87e469146829b86bd3bca801efd9 -- 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=53382 --- Comment #12 from Luc <iq2luc(a)gmail.com> --- Hello, I also confirm Zhiyi Zhang's patch works for me too. Thank you, Luc -- 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=53382 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #13 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.0-rc4. -- 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.
participants (1)
-
WineHQ Bugzilla