Bug 31382 - [SNB] two glxgears in extended mode don't support switch with xrandr, with compiz
Summary: [SNB] two glxgears in extended mode don't support switch with xrandr, with co...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact:
Depends on:
Reported: 2010-11-04 07:56 UTC by Oliver Neukum
Modified: 2010-12-02 20:20 UTC (History)
6 users (show)

See Also:
i915 platform:
i915 features:

dmesg.log (13.08 KB, text/plain)
2010-11-09 00:32 UTC, wang,jinjin
xorg log (28.72 KB, text/plain)
2010-11-09 00:43 UTC, wang,jinjin

Description Oliver Neukum 2010-11-04 07:56:11 UTC
Two glxgears

- started with external monitor used in extended mode
- each running on one of the monitors
- on Sandy Bridge

don't support switching to clone mode. One of the glxgears will hang.
Comment 1 wang,jinjin 2010-11-05 02:17:40 UTC
The issue will reproduce just starting compiz.
Comment 2 wang,jinjin 2010-11-09 00:24:03 UTC
The issue will reproduce following the test step starting compiz.But that did not happen every time.At most of time, it can switch to clone mode and one of glxgears will black-screen.

platform:        sugerbay
Libdrm:         (master)2.4.22-13-g49447a9b957047db2549b8a929e763bbd87808ba
Mesa:           (master)ef6967ddc201be6c400701703dd0774570d5bfee
Xserver:                (server-1.9-branch)xorg-server-1.9.2
Xf86_video_intel:               (master)2.13.901
Cairo:          (master)7ee313d7b86b8c9eeaa5bf9b42a47d3f1feaeeee
Libva:          (master)7d6bbcfc7709864184a9c56bfbbe4144c4d6c0c2
Kernel:         (drm-intel-fixes) 3f8ff0e72d75fdbe7f2cba2c4015fd9fdd9e13fd
Comment 3 wang,jinjin 2010-11-09 00:32:49 UTC
Created attachment 40139 [details]
Comment 4 wang,jinjin 2010-11-09 00:43:31 UTC
Created attachment 40140 [details]
xorg log
Comment 5 Matthias Hopf 2010-11-17 01:11:44 UTC
Tests on intel workshop show:
Apparently this is fixed with the newest bits. Presumably a DRM issue.
Comment 6 Michael Fu 2010-11-30 20:24:45 UTC
per comment# 5, otherwise, please reopen, Gordon.
Comment 7 Yi Sun 2010-11-30 22:54:05 UTC
The issue is still there. The reproduce step is as below:
2,switch two monitors to extended mode with xrand.
3,run 2 glxgears.
4,ensure each glxgears running on one of the monitors.
5,switch to cloned mode. Then one of the glxgears turn to black.

1, the compiz is not necessary
2, If exchange step 2 and step 3, the issue disappeared.
Comment 8 Stefan Dirsch 2010-12-01 03:29:21 UTC
The issue is fixed for us. Maybe you're using an old driver stack.
Comment 9 Gordon Jin 2010-12-02 20:20:52 UTC
Zhenyu, can you reproduce this?

We can file a new bug if needed. I think Yi's stack new enough.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.