Bug 40111 - Heavy flickering in XBMC with Gallium r600, but not with classic Mesa
Summary: Heavy flickering in XBMC with Gallium r600, but not with classic Mesa
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 11:59 UTC by Timo Jyrinki
Modified: 2011-08-17 01:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (83.23 KB, text/plain)
2011-08-16 03:47 UTC, Timo Jyrinki
Details

Description Timo Jyrinki 2011-08-15 11:59:30 UTC
With Mesa 7.11, there is a heavy flickering in XBMC 10.1 (xbmc.org) right from the start. I found out a remark 73 at http://www.x.org/wiki/RadeonProgram mentioning the same from February, and it seems to hold true still.

With classic mesa r600 everything seems to work without problems, including GLSL output shaders.
Comment 1 Michel Dänzer 2011-08-16 01:41:00 UTC
I don't see any flickering with r600g from current Mesa Git master. If you can still reproduce it with that, please provide detailed reproduction steps and attach Xorg.0.log.
Comment 2 Timo Jyrinki 2011-08-16 03:47:27 UTC
Created attachment 50261 [details]
Xorg.0.log
Comment 3 Timo Jyrinki 2011-08-16 03:52:19 UTC
Same problem with Ubuntu/xorg-edgers provided 7.12.0~git20110811.9cd64ec3-0ubuntu0sarvatt~natty, both with compiz+Unity and with metacity.

Steps:
1. Have Ubuntu 11.04 or equivalent, x86_64, Radeon HD 4670, latest mesa with r600 gallium
2. Install XBMC 10.1 from for example http://ppa.launchpad.net/timo-jyrinki/ppa/ubuntu/pool/main/x/xbmc/
3. Launch xbmc - immediate full screen flickering (between correct main menu image and black screen, ca. 5-30 fps depending on what's being redrawn)
Comment 4 Michel Dänzer 2011-08-16 10:33:11 UTC
Does the problem go away if you disable page flipping? (check in Xorg.0.log that it's actually disabled)
Comment 5 Timo Jyrinki 2011-08-17 01:29:18 UTC
I reverted to stable ati/mesa/libdrm releases after noticing that latest git doesn't help. But now for testing the flipping option I installed again the latest build available, and lo and behold, the flickering is gone also with gallium and without changing any settings! Naturally just when I report a bug, something between git20110811.9cd64ec3 and git20110816.5e7713ca fixes it. I see that there is a whole lot of r600g commits there.

So, fixed! And if I find out some magic to make it flicker it again, I'll report it.


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.