Bug 30751

Summary: clutter based apps do not display properly on Radeon 3650 cards when using driver above 6.13.0
Product: xorg Reporter: Kevin DeKorte <kdekorte>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kevin DeKorte 2010-10-10 07:44:28 UTC
OS: Fedora 13
Hardware: x86_64, Q6600 CPU, 8GB RAM
Video: Radeon 3650 Video card, in a dual screen setup, both displays are connected via DVI

01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3600 Series (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. Device 01da
	Flags: bus master, fast devsel, latency 0, IRQ 41
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	Memory at fe9e0000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at d000 [size=256]
	[virtual] Expansion ROM at fe9c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon




I was testing clutter based apps on my machine using the r600g driver. I had installed kernel-2.6.36-0.35.rc7.git0.fc13.x86_64, libdrm-2.4.22-1.fc13.x86_64, mesa from git, and xf86-video-ati from git. All my 3D based apps worked except those that were clutter based, no clutter actors would draw on the screen. I rolled back to the Fedora 13 drivers and found that the clutter apps worked. I upgraded mesa back to git and found that clutter apps still worked, I then upgraded the radeon driver and found that it did not work. I rebuilt xorg-x11-drv-ati-6.13.1-0.4.20100705git37b348059.fc14.src.rpm for Fedora 13 and found that it failed.

I then did a git bisect in xf86-video-ati between 

ad999e633ff41d27eed9d2c6535e163a7181b0bd		6.13.1

and 

fb7911912e60b2cdbc2152b96847775b767ca3ef		6.13.0

when I completed the bisect it told me this.

30591320ec46e491ba20904cc64f3405b51c6505 is the first bad commit
commit 30591320ec46e491ba20904cc64f3405b51c6505
Author: Jerome Glisse <jglisse@redhat.com>
Date:   Fri May 7 17:35:09 2010 +0200

    kms: add support for the MSC swap & sync API
    
    This patch is mostly a port over of Intel ddx code for
    MSC support. It needs a radeon KMS module with version
    2.4 which has the query for hw crtc id.
    
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: Jerome Glisse <jglisse@redhat.com>

:040000 040000 8f59eb7c18b2137eb88e3305db5a776fab25bdad ed1fb660478c944ebf849c5b0b4686f4bafd5e06 M	src
Comment 1 Kevin DeKorte 2010-10-10 07:46:04 UTC
When running the driver that shows the problem, apps like gnome-shell do not display anything on the desktop. So this could be a blocker for installations using gnome-shell as the default.
Comment 2 Christopher James Halse Rogers 2010-10-11 00:00:22 UTC
You'll be hitting this clutter bug: http://bugzilla.clutter-project.org/show_bug.cgi?id=2228

When GLX_INTEL_swap_event is available clutter uses the events to drive the main clock, but doesn't actually select for them.  Mesa prior to 7.9 had a bug where it would send events out to all clients, even if they hadn't selected for those events, so this clutter bug was only exposed recently.

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.