http://bugs.winehq.org/show_bug.cgi?id=15909
Summary: Screen flicker on external VGA monitor when running wine apps Product: Wine Version: 1.1.7 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: maciej.grela@gmail.com
Hi,
I`ve noticed irritating flicker on my external LCD monitor connected via VGA to a Thinkpad T61p laptop. The VGA monitor and laptop`s screen are in clone mode. I have an Nvidia card running under the opensource 'nv' driver:
wadhcp00766 ~ # lspci | grep VGA 01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M (rev a1)
The flicker appears when I open any wine app (even as simple as notepad.exe). After searching the internets I`ve found this bug in Ubuntu covering a similar issue: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/245383 This bugreport states, that the problem is caused by clients, who force the driver to do DDC detection when the app starts. This causes the screen to flicker. The problem seems to be fixed for GTK apps, but still persists in wine. Output from my Xorg.log confirms, that the flicker is caused by multiple calls to DDC detection routines. When I start a wine app Xorg.log is filled with messages like this:
(II) NV(0): Probing for EDID on I2C bus 0... (--) NV(0): DDC detected a CRT: (II) NV(0): Manufacturer: DEL Model: 403b Serial#: 858928717 (II) NV(0): Year: 2008 Week: 35 (II) NV(0): EDID Version: 1.3 (II) NV(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V
<...>
(II) NV(0): Probing for EDID on I2C bus 0... (--) NV(0): DDC detected a CRT: (II) NV(0): Manufacturer: DEL Model: 403b Serial#: 858928717 (II) NV(0): Year: 2008 Week: 35 (II) NV(0): EDID Version: 1.3 (II) NV(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V
<...>
And so on... This appears a few times. Some info about my system:
wadhcp00766 repositories # equery list -i -f '.*xorg.*' [ Searching for package '.*xorg.*' in all categories among: ] * installed packages [I--] [ ~] x11-base/xorg-server-1.5.2 (0) wadhcp00766 repositories # equery list -i -f '.*xf86.*' [ Searching for package '.*xf86.*' in all categories among: ] * installed packages [I--] [ ~] x11-drivers/xf86-input-evdev-2.0.7 (0) [I--] [ ~] x11-drivers/xf86-input-synaptics-0.15.2-r2 (0) [I--] [ ~] x11-drivers/xf86-video-nv-2.1.12 (0) [I--] [ ] x11-libs/libXxf86misc-1.0.1 (0) [I--] [ ~] x11-libs/libXxf86vm-1.0.2 (0) [I--] [ ] x11-proto/xf86bigfontproto-1.1.2 (0) [I--] [ ] x11-proto/xf86dgaproto-2.0.3 (0) [I--] [ ~] x11-proto/xf86driproto-2.0.4 (0) [I--] [ ] x11-proto/xf86miscproto-0.9.2 (0) [I--] [ ] x11-proto/xf86rushproto-1.1.2 (0) [I--] [ ] x11-proto/xf86vidmodeproto-2.2.2 (0) wadhcp00766 repositories # equery list -i -f '.*mesa.*' [ Searching for package '.*mesa.*' in all categories among: ] * installed packages [I--] [ ~] media-libs/mesa-7.2 (0) wadhcp00766 repositories # equery list -i -f '.*wine.*' [ Searching for package '.*wine.*' in all categories among: ] * installed packages [I--] [ ~] app-emulation/wine-1.1.7 (0) wadhcp00766 repositories # uname -a Linux wadhcp00766 2.6.27-gentoo #1 SMP PREEMPT Tue Oct 14 01:38:00 CEST 2008 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux
http://bugs.winehq.org/show_bug.cgi?id=15909
--- Comment #1 from Roderick Colenbrander thunderbird2k@gmx.net 2008-11-05 04:53:48 --- In fact Wine is something similar to GTK or QT. We don't directly interface with hardware but use Xlib in combination with XRender, XRandr, XF86VidMode, Composite, GLX and other extensions. Most likely we make some XRandr (or XF86VidMode but XRandr is the default) calls at startup which cause this but I don't think it is a bug in Wine but a driver bug as calling XRandR is normal.
http://bugs.winehq.org/show_bug.cgi?id=15909
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-11-05 10:13:41 --- Dos running 'glxgers' produces the same affect? If so this bug is invalid.
http://bugs.winehq.org/show_bug.cgi?id=15909
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-11-05 11:53:33 --- Meant to ask if running 'glxgears' or 'xrandr' produces the same affect?
http://bugs.winehq.org/show_bug.cgi?id=15909
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-06 01:15:11 --- That's a bug in xrandr, most likely a duplicate of the bug 15214.
http://bugs.winehq.org/show_bug.cgi?id=15909
--- Comment #5 from Maciej Grela maciej.grela@gmail.com 2008-11-06 02:39:29 --- (In reply to comment #3)
Meant to ask if running 'glxgears' or 'xrandr' produces the same affect?
xrandr -> yes glxgears -> no
http://bugs.winehq.org/show_bug.cgi?id=15909
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-06 02:42:31 --- Invalid.
http://bugs.winehq.org/show_bug.cgi?id=15909
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-06 02:42:42 --- Closing.