http://bugs.winehq.org/show_bug.cgi?id=11470
Summary: Starting a wine app causes Xorg to reprobe video outputs (which is visually distracting for some types of displays) Product: Wine Version: 0.9.54. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: vanvugt@gmail.com
Reproduced in 0.9.54 but this has been a problem for me for a very long time.
OS is Ubuntu 7.10 i386 Hardware is an IBM ThinkPad T60 (intel graphics driver)
Starting virtually any wine app causes Xorg to reprobe it's outputs (proof is in /var/log/Xorg.0.log), which on my laptop is the same as running "xrandr". This results in the VGA signal being interrupted and my (main) external display flashing uncontrollably.
This only happens in wine apps, and with the xrandr command (which is meant to do it).
http://bugs.winehq.org/show_bug.cgi?id=11470
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-02-05 07:33:49 --- That's exactly what Wine does as well - default configuration is XRandR and Wine needs the list of all available screen resolutions. However I've never seen this before on any of my hardware. Might be a deficiency in your display driver. Or the setup.
Not sure what we can do about this. Leaning towards losing it as wontfix.
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #2 from Daniel van Vugt vanvugt@gmail.com 2008-02-07 22:43:08 --- I'm actually glad wine is using xrandr, but the real question is: Why does it do the probe 3-4 times when I start some wine apps, and again for every wine app started after that? Surely the probe doesn't need to happen more than once. Running "xrandr" only causes one probe but wine does many.
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #3 from Daniel van Vugt vanvugt@gmail.com 2008-02-09 10:50:21 --- Suggestion: Perhaps change the Summary of this bug to "Wine probes xrandr too many times, and repeatedly in some apps, causing screen flashing with some X11 drivers"
I think this is more reasonable. It's not uncommon for a video output to flash once when probed. It's just a little too much if that probe is triggered repeatedly (as wine does).
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #4 from Lei Zhang thestig@google.com 2008-02-11 19:43:23 --- assuming it happens with notepad, can you run:
WINEDEBUG=+xrandr wine notepad
and attach the output?
I have not looked at the code closely, but let's see if we can reduce the amount of flickering.
http://bugs.winehq.org/show_bug.cgi?id=11470
jay jay@jay.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jay@jay.cz
--- Comment #5 from jay jay@jay.cz 2008-02-12 07:51:57 --- (In reply to comment #4) I can confirm this. It's pretty irritating how often the screen blanks when I worrk with office for example.
$ WINEDEBUG=+xrandr wine notepad fixme:spoolsv:serv_main (0 (nil)) err:advapi:service_get_status service protocol error - failed to read pipe r = 0 count = 0! trace:xrandr:X11DRV_XRandR_Init Found XRandR - major: 1, minor: 2 trace:xrandr:X11DRV_XRandR_Init XRandR: found 7 resolutions sizes trace:xrandr:X11DRV_XRandR_Init - at 0: 1280x1024 (2 rates): 60, 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x864 (1 rates): 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 2: 1024x768 (3 rates): 75, 70, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 3: 832x624 (1 rates): 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 4: 800x600 (3 rates): 72, 75, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 5: 640x480 (3 rates): 75, 73, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 6: 720x400 (1 rates): 70 Hz trace:xrandr:X11DRV_XRandR_Init XRandR modes: count=14 trace:xrandr:X11DRV_XRandR_Init Available DD modes: count=42 trace:xrandr:X11DRV_XRandR_Init Enabling XRandR trace:xrandr:X11DRV_XRandR_Init Found XRandR - major: 1, minor: 2 trace:xrandr:X11DRV_XRandR_Init XRandR: found 7 resolutions sizes trace:xrandr:X11DRV_XRandR_Init - at 0: 1280x1024 (2 rates): 60, 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 1: 1152x864 (1 rates): 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 2: 1024x768 (3 rates): 75, 70, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 3: 832x624 (1 rates): 75 Hz trace:xrandr:X11DRV_XRandR_Init - at 4: 800x600 (3 rates): 72, 75, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 5: 640x480 (3 rates): 75, 73, 60 Hz trace:xrandr:X11DRV_XRandR_Init - at 6: 720x400 (1 rates): 70 Hz trace:xrandr:X11DRV_XRandR_Init XRandR modes: count=14 trace:xrandr:X11DRV_XRandR_Init Available DD modes: count=42 trace:xrandr:X11DRV_XRandR_Init Enabling XRandR
Possibly to help you trace. I don't have external monitor in xorg.conf . I'm using application urandr to add it, and I use clone setup 1024x768. 'Intel' driver (And compiz fusion).
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-12 08:30:50 --- Please do not PASTE logs and back traces, (attach them instead).
The log shows that Wine just queries resolution modes supported by a driver, nothing more. It does it twice though, for notepad and explorer, but that's perfectly fine.
If a simple query makes your screen flicker, that's a bug either in your display driver, or perhaps a side effect of compiz.
Does the screen flicker when you run 'xrandr' in a terminal window?
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #7 from jay jay@jay.cz 2008-02-13 02:48:53 --- (In reply to comment #6) sorry, next time I'll attach it.
You're right, xrandr is restarting the display. (executing xandr restarts display once). I'll follow the trail that way. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=11470
--- Comment #8 from jay jay@jay.cz 2008-02-13 03:00:21 --- For anyone who comes here for a sollution:
It's an intel driver bug. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1470...
workaround: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1470...
Option "monitor-TV" "TV" # in the video device section, plus:
Section "Monitor" Identifier "TV" Option "Ignore" "True" EndSection
http://bugs.winehq.org/show_bug.cgi?id=11470
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-13 04:27:09 --- Then this bug is invalid.
http://bugs.winehq.org/show_bug.cgi?id=11470
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2008-02-13 04:27:22 --- Closing.