Bug 704763

Summary: [PALM] [Zacate/Fusion] vblank-induced tearing in Quake3-based games
Product: [Fedora] Fedora Reporter: François Cami <fdc>
Component: mesaAssignee: Dave Airlie <airlied>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: airlied, ajax, jglisse, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: [cat:rendering]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 14:37:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
dmesg output
none
Xorg.0.log
none
dmesg with drm.debug=0x04 none

Description François Cami 2011-05-14 18:55:08 UTC
Created attachment 498949 [details]
dmesg output

Description of problem:
Quake3-based games display huge artefacts in the menu and during the game. I tried openarena and quake3-demo.

Version-Release number of selected component (if applicable):
kernel-2.6.38.5-24.fc15.x86_64
xorg-x11-drv-ati-6.14.1-1.20110504gita6d2dba6.fc15.x86_64
mesa-libGL-7.11-0.9.20110509.0.fc15.x86_64
openarena-0.8.5-3.fc15.noarch


How reproducible:
always

Steps to Reproduce:
1. launch openarena or quake3-demo
2. click during the intro to get to the menu
3. watch the artefacts tearing the screen
4. (opt.) launch single player and see same kind of artefacts

Expected results:
No artefacts ;)

Additional info:
This is on the Zacate platform (AMD E-350, ASUS E35M1-M PRO). 
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9802

Comment 1 François Cami 2011-05-14 18:55:58 UTC
Created attachment 498951 [details]
Xorg.0.log

Comment 2 Matěj Cepl 2011-05-14 19:27:37 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available), and
* output of the dmesg command,

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 3 François Cami 2011-05-14 19:46:22 UTC
Created attachment 498953 [details]
dmesg with drm.debug=0x04

Comment 4 François Cami 2011-05-14 19:47:12 UTC
No X server config file was necessary to boot the system.
dmesg with drm.debug=0x04 attached.

Comment 5 Dave Airlie 2011-05-27 06:28:59 UTC
what version of mesa is installed, can you try a newer mesa/kernel if they are in updates-testing.

Comment 6 François Cami 2011-05-27 23:27:59 UTC
I've had a second look at the artefacts, and they looked like a vblank issue
Indeed, launching openarena or quake3-demo with vblank_mode=0 fixes the problem.
Without vblank_mode=0, huge "tearing" is always displayed in the menu and during the game.

I nearly always run the latest from koji, this is what is currently installed on my system:

kernel version:
kernel-2.6.38.7-30.fc15.x86_64
Linux localhost.localdomain 2.6.38.7-30.fc15.x86_64 #1 SMP Fri May 27 05:15:53 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Mesa / xorg-x11-drv-ati:
mesa-dri-drivers-7.11-0.11.20110525.0.fc15.x86_64
mesa-libGLU-7.11-0.11.20110525.0.fc15.x86_64
mesa-demos-7.10-4.20101028.fc15.x86_64
mesa-dri-filesystem-7.11-0.11.20110525.0.fc15.x86_64
mesa-libGLU-devel-7.11-0.11.20110525.0.fc15.x86_64
mesa-dri-llvmcore-7.11-0.11.20110525.0.fc15.x86_64
mesa-libGL-7.11-0.11.20110525.0.fc15.i686
mesa-libGL-devel-7.11-0.11.20110525.0.fc15.x86_64
mesa-libGL-7.11-0.11.20110525.0.fc15.x86_64
xorg-x11-drv-ati-6.14.1-2.20110525gitfe5c42f51.fc15.x86_64

Comment 7 François Cami 2011-05-28 06:24:13 UTC
Summary:

$ openarena
$ quake3-demo
=> tearing

$ export vblank_mode=0
$ openarena
$ quake3-demo
=> no tearing

Comment 8 François Cami 2011-06-26 15:26:01 UTC
reproductible with mesa-libGL-7.11-0.14.20110621.0.fc15.x86_64

Comment 9 François Cami 2011-06-26 15:26:54 UTC
and:
kernel-2.6.38.8-34.fc15.x86_64 
xorg-x11-drv-ati-6.14.1-2.20110525gitfe5c42f51.fc15.x86_64

Comment 10 Fedora End Of Life 2012-08-07 14:37:24 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping