Bug 29894 - KMS regression in 2.6.35: Flicker and half-rendered scenes in SDL games with Radeon RV770
Summary: KMS regression in 2.6.35: Flicker and half-rendered scenes in SDL games with ...
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-30 13:45 UTC by Marti Raudsepp
Modified: 2010-09-02 14:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marti Raudsepp 2010-08-30 13:45:38 UTC
I am getting severe flickering in multiple SDL-based games with Radeon HD 4870 (RV770)

Games tested that have this problem:
* World of Goo (SDL, 32-bit)
* Frets on Fire (Python, SDL, true 3D, 64-bit)
* Aquaria (SDL, 32-bit)

----
* kernels 2.6.33.4 and 2.6.34.2 are good even with KMS enabled
* kernels 2.6.35.4 with KMS disabled is good
* kernels 2.6.35 and 2.6.35.4 with KMS enabled is bad

The problem manifests itself in substantial flickering; most frames seem to render OK, but a couple of times every second there's an incomplete frame. The incomplete frame looks like a half-rendered scene, with some objects missing.

Using xorg-server 1.9.0, mesa 7.8.2, xf86-video-ati-6.13.1
(also tried mesa from git)

Normally I have 2 screens attached, but this time I also tried disabling the second screen and unplugged it entirely.

lspci:
01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4870]

glxinfo:
OpenGL renderer string: Mesa DRI R600 (RV770 9440) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.8.2
Comment 1 Marti Raudsepp 2010-08-30 14:07:35 UTC
Also occurs in:
* BZflag

Games tried that do not have this problem:
* glxgears
* Gish
* Nexuiz
* Armagetron Advanced
* OpenTTD
* Lugaru HD
* OpenArena
Comment 2 Alex Deucher 2010-08-30 14:17:45 UTC
This is probably vsync related.  Does updating to the latest ddx and mesa code in git fix the issue?
Comment 3 Marti Raudsepp 2010-08-30 14:54:44 UTC
(In reply to comment #2)
> This is probably vsync related.  Does updating to the latest ddx and mesa code
> in git fix the issue?

Ok, I also built xf86-video-ati from git (in addition to dri2proto, libgl, mesa) and I am still experiencing this problem.
Comment 4 Marti Raudsepp 2010-08-30 17:22:30 UTC
Indeed, Mesa git fixes it; sorry I was using Mesa git with r600_dri.so from 7.8 before.
Comment 5 Jerome Glisse 2010-09-02 14:45:04 UTC
Fixed upstream


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.