New: Graphical corruption when opening windows
https://bugs.freedesktop.org/show_bug.cgi?id=34427
Summary: Graphical corruption when opening windows
Product: DRI
Version: XOrg CVS
Platform: x86-64 (AMD64)
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: General
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=43507)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43507)
screenshot of the garbled frame
Although it is visible only for a very short moment, I was able to capture it, see the screenshot attached to this bug. It seems something doesn't get initialized correctly like it used to before, part of the garbled area looks like it's previous screen content, just pretty messed.
* I think this only happens when using compositing, but did not test it, so I'm not sure.
* Is noticable with xfwm4 (the xfce window manager) and compiz.
* Is only noticable sometimes (maybe because the other times it's just too fast, but I'll try to capture it with recordmydesktop).
* It can be seen on various window types, like the small firefox / thunderbird frame which appears before the normal window appears, or menus.
* It is not constrained to window size.
* This did not happen some time ago, but I don't know when it started. Before it started, the windows were simply grey.
Software and versions:
* git vanilla kernel (2.6.38-rc5), certainly happened with 2.6.37
* git mesa (r600g)
* git xf86-video-ati
* git libdrm
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #1 from Harald Judt <[email protected]> 2011-02-18 00:39:56 PST --- Update:
* It seems this is not related to mesa vs gallium, as it both happens when using r600c or r600g.
* If I turn off Option "Composite" (set it to "Disabled"), then the corruption does not appear.
I've found this similar bug,
https://bugs.freedesktop.org/show_bug.cgi?id=27529, but there the issue is more severe.
Here is lspci -s 01:00.0 -vvv output:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3400 Series (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 210e
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 48
Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M] Region 1: I/O ports at 2000 [size=256]
Region 2: Memory at cfff0000 (32-bit, non-prefetchable) [size=64K] [virtual] Expansion ROM at cff00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mAPME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1
unlimited
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq- AuxPwr-
TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency
L0 <64ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance-
SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range,
EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -3.5dB
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee0300c Data: 4199
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1
Len=010 <?>
Kernel driver in use: radeon
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #2 from Alex Deucher <[email protected]> 2011-02-18 09:01:21 PST --- Do you have tiling enabled in your configuration? Option "ColorTiling" "True" in your xorg.conf? If so, does disabling it fix the issues?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #3 from Harald Judt <[email protected]> 2011-02-21 01:43:42 PST --- No, Option "ColorTiling" is not in xorg.conf. I've added it now, but setting it to true or false makes no difference at all.
Option "AccelMethod" "EXA"
Option "EnablePageFlip" "on"
Option "ColorTiling" "true"
Option "ClockGating" "1"
Option "DynamicPM" "on"
I'd say it can't be page flipping either because the problems started quite some time before it was introduced.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #4 from Alex Deucher <[email protected]> 2011-02-21 07:43:29 PST --- Any chance you could track down which component is problematic (drm, ddx, or mesa) and bisect?
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #5 from Michel Dänzer <[email protected]> 2011-02-22 03:42:47 PST --- Please attach the full Xorg.0.log and xorg.conf files.
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #6 from Harald Judt <[email protected]> 2011-02-22 05:31:24 PST --- Created an attachment (id=43655)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43655)
Xorg.0.log
Xorg.0.log as requested.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #7 from Harald Judt <[email protected]> 2011-02-22 05:32:19 PST --- Created an attachment (id=43656)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43656)
xorg.conf
xorg.conf as requested.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #8 from Harald Judt <[email protected]> 2011-02-22 05:40:30 PST ---
Quoted 2 lines
Any chance you could track down which component is problematic (drm, ddx, or mesa) and bisect?
Chance yes, but bisecting will be /very/ time-consuming as it needs compiling different kernel versions, mesa, etc. Some of these packages will only compile with specific versions of other packages.
Can't we exclude some packages from the beginning? How about mesa, is it used for compositing without opengl windows manager? I've already switched between gallium and classic mesa, and it did not change anything.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #9 from Harald Judt <[email protected]> 2011-02-22 05:41:33 PST --- I wonder if anyone else is able to reproduce this issue...
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43655|text/x-c++ |text/plain
mime type| |Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #43656|text/x-c++ |text/plain
mime type| |Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #10 from Michel Dänzer <[email protected]> 2011-02-23 08:38:46 PST --- I guess it's most likely an xserver issue. E.g. commit 6dd775f57d2f94f0ddaee324aeec33b9b66ed5bc ('composite: Don't backfill non-bg-None windows') looks possibly relevant.
Sounds like bug 27596 btw (though AFAICT that was reported before the change above was made).
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #11 from Harald Judt <[email protected]> 2011-02-25 01:43:48 PST --- Thanks for pointing me to this. The symptoms looks indeed very similar, though I do not start X server with option -wm:
xinit /etc/X11/xinit/xinitrc -- /usr/bin/X -dpi 96 -auth /home/xxxxx/.serverauth.13388
Hopefully I will find some time next week to check this out.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #12 from Michel Dänzer <[email protected]> 2011-02-26 00:49:05 PST --- *** Bug 34739 has been marked as a duplicate of this bug. ***
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
--- Comment #13 from Ian Pilcher <[email protected]> 2011-02-26 11:01:48 PST --- Created an attachment (id=43859)
View: https://bugs.freedesktop.org/attachment.cgi?id=43859
Review: https://bugs.freedesktop.org/review?bug=34427&attachment=43859
Patch which reverts commit 6dd775f57d2f94f0ddaee324aeec33b9b66ed5bc
I have rebuilt the Fedora 15 RPM with the attached patch (which reverts commit 6dd775f57d2f94f0ddaee324aeec33b9b66ed5bc), and the problem appears to be mostly gone.
I no longer see any corruption when opening menus and most windows. I did see a bit of corruption when opening up Thunderbird just now, but I'm willing to put that down to KDE's "Glide" effect.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 34427] Graphical corruption when opening windows
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=34427
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Product|DRI |xorg
Version|XOrg CVS |unspecified
Component|General |Server/general
AssignedTo|[email protected] |[email protected]
|.org |
QAContact| |[email protected]--- Comment #14 from Michel Dänzer <[email protected]> 2011-02-27 05:16:06 PST --- (In reply to comment #13)
Quoted 3 lines
I have rebuilt the Fedora 15 RPM with the attached patch (which reverts commit
6dd775f57d2f94f0ddaee324aeec33b9b66ed5bc), and the problem appears to be mostly gone.
Thanks for confirming that. However, I'm not sure this is really a bug in the X server, or possibly rather in the clients. Adam?
Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel