3D display in Supertuxkart mangled

Bug #468412 reported by Christopher Neville-Smith
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: supertuxkart

In Ubuntu 9.10, the 3D display is finally working at a decent speed for my ATI card. However, the display in the 3D parts of Supertuxkart now looks something like what's in the attachment. All hopes of waiting for a patch to xorg/ati to solve this problem have been in vain.

Please please please fix this problem, because without a working version of Supertuxkart,, life simply isn't worth living.

ProblemType: Bug
Architecture: amd64
Date: Sun Nov 1 12:06:44 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: supertuxkart 0.6.2+dfsg1-1
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: supertuxkart
Uname: Linux 2.6.31-14-generic x86_64
---
Architecture: amd64
DistroRelease: Ubuntu 10.04
DkmsStatus: Error: [Errno 2] No such file or directory
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MachineType: System manufacturer System Product Name
Package: xserver-xorg-video-ati 1:6.13.0-1ubuntu5
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=d3a98380-2f56-4d53-8e31-d4d7f9b1b214 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Tags: lucid lucid
Uname: Linux 2.6.32-21-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/07/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0802
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M2A-MX
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0802:bd08/07/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2A-MX:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: lucid
 architecture: x86_64
 kernel: 2.6.32-21-generic

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :
Revision history for this message
Christoph Egger (christoph-egger) wrote :

Hm never seen that. Which kind of ATI driver is that? radeon, radeonhd or fglrx?

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

It's certainly not the proprietary fglrx driver. I think I've got an r5xx card, but there's so many different numbers on the package I'm having trouble telling which is which.

Is there any way of determining which ATI driver I am using?

Revision history for this message
Christoph Egger (christoph-egger) wrote : Re: [Bug 468412] Re: 3D display in Supertuxkart mangled

You could paste the output of

 glxinfo | egrep 'OpenGL (renderer|vendor)'

Which seems to contain the relevant information.

--
/"\ ASCII Ribbon : GPG-Key ID: 0xD49AE731
\ / Campaign : CaCert Assurer
 X against HTML : Debian Maintainer
/ \ in eMails : http://www.debian.org/

http://www.christoph-egger.org/

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Here it is:

OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RS690 791E) 20090101 NO-TCL

No idea what this means. Make of it what you will.

Revision history for this message
Christoph Egger (christoph-egger) wrote :

On Sun, Nov 01, 2009 at 01:23:38PM -0000, Christopher Neville-Smith wrote:
> Here it is:
>
> OpenGL vendor string: DRI R300 Project
                            ^^^^
                      Means you're using the radeon driver

> OpenGL renderer string: Mesa DRI R300 (RS690 791E) 20090101 NO-TCL
                                         ^^^^^^^^^^
                                     That's the chipset

> No idea what this means. Make of it what you will.

So in conclusion you're having the same brand of driver as I have while I'm not seeing these kind of problems. However I'm using Debian so there might be minor differences and my grahics card is one series older.

Regards

 Christoph

--
/"\ ASCII Ribbon : GPG-Key ID: 0xD49AE731
\ / Campaign : CaCert Assurer
 X against HTML : Debian Maintainer
/ \ in eMails : http://www.debian.org/

http://www.christoph-egger.org/

Revision history for this message
Christoph Egger (christoph-egger) wrote :

Are those problems permanent? Do you have them on all tracks or just on some?

Revision history for this message
Christoph Egger (christoph-egger) wrote :

Seems we could reproduce the issue in #debian-games . I fear it's a driver problem however

affects: supertuxkart (Ubuntu) → xserver-xorg-video-ati (Ubuntu)
Revision history for this message
Christoph Egger (christoph-egger) wrote :

Note this seems to be reproducible on R690 chips with kernel .30 and .31 but not with R500 ones

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

I can only reproduce this in Supertuxkart on Ubuntu 9.10. For some reason, it doesn't appear in ExtremeTuxRacer (the graphics are a little jumpy but not as mangled as this issue) or any of the 3D screensavers, and neither did this appear in version 9.04 of Ubuntu (although the display was a lot slower).

Is this a duplicate of the catch-all bug titled "ATI's support for Linux sucks"?

Revision history for this message
lefteyexl (lefteyexl-deactivatedaccount-deactivatedaccount) wrote :

Hello,

I can confirm this bug in Supertuxkart on Ubuntu 9.10. I have an ATI X1250 (RS690M). My laptop is an HP 6715b.
I'm currently using the ati driver from the xorg-edgers PPA.

Supertuxkart starts up well. I can select the race (Penguin Playground). And when I finally get to the moment when the race is about to start, here is the output I have in the terminal:

*********************************WARN_ONCE*********************************
File radeon_dma.c function radeonReleaseDmaRegions line 348
Leaking dma buffer object!
***************************************************************************
supertuxkart: radeon_bo_legacy.c:207: legacy_is_pending: Assertion `bo_legacy->is_pending <= bo->cref' failed.
Aborted

After that output, Supertuxkart sometimes ends up exiting...

Here is the glxinfo output:

cristobalin@chris-karmic:~$ glxinfo | egrep 'OpenGL (renderer|vendor)'
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RS690 791F) 20090101 NO-TCL

I also want to comment that this was not occuring when I was using the fglrx driver in Intrepid Ibex.
I have attached to this post a SPTK screenshot and also my Xorg.0.log.

Thanks to those who'll report that bug as well.

Chris

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Now tried this on a 32-bit installation, same computer. Still mangled. :-(

Wonder if this proposed update to xorg is going to make a difference?

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Nope.

Revision history for this message
lefteyexl (lefteyexl-deactivatedaccount-deactivatedaccount) wrote :

Same here, Supertuxkart is still unplayable for the same reasons you mention...

Revision history for this message
rayunix (raykubuntu) wrote :

Hello,

I can also confirm this bug in Supertuxkart on Ubuntu 9.10. I have an ATI radeon xpress 1100 (RS400 5A62).
I'm currently using the ati driver from the xorg-edgers PPA.

glxinfo output:
enrico@rayunix:~$ glxinfo | egrep 'OpenGL (renderer|vendor)'
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RS400 5A62) 20090101 x86/MMX/SSE2 NO-TCL
 my xorg.conf :

Section "Module"
 Load "extmod"
 Load "record"
 Load "FGL.renamed.libdri"
 Load "dri2"
 Load "dbe"
 Load "dri"
 Load "FGL.renamed.libglx"
 Load "glx"
EndSection

Section "Monitor"
 Identifier "Configured Monitor"
EndSection

Section "Device"
 Identifier "Configured Video Device"
 Driver "radeon"
 VendorName "ATI Technologies Inc"
 BoardName "RC410 [Radeon Xpress 200M]"
 BusID "PCI:1:5:0"
 Option "XAANoOffscreenPixmaps" "true"
        Option "AGPMode" "8"
 Option "AccelMethod" "XAA"
 Option "EnablePageFlip" "true"
 Option "DRI" "true"
 Option "RenderAccel" "true"
 Option "AllowGLXWithComposite" "true"
 Option "GARTSize" "64"
 Option "AGPFastWrite" "yes"
 Option "ColorTiling" "on"
 Option "no_accel" "no"
 Option "no_dri" "no"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Monitor "Configured Monitor"
 Device "Configured Video Device"
SubSection "Display"
  Viewport 0 0
  Depth 24
  Modes "1280x800" "1024x768"
 EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "ServerFlags"
    Option "AIGLX" "True"
EndSection

any suggestions ?

Revision history for this message
rayunix (raykubuntu) wrote :

if I try:

enrico@rayunix:~/Desktop/experimental$ MESA_DEBUG=1 supertuxkart
Data files will be fetched from: '/usr/share/games/supertuxkart/'
SDL_LoadWAV() failed to load /usr/share/games/supertuxkart//data/sfx/horn.wav
Highscores will be saved in '/home/enrico/.supertuxkart/highscore.data'.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
WARNING: Music not playing when it should be. Source state: 4116
Segmentation fault

Revision history for this message
rayunix (raykubuntu) wrote :

any suggestions ?

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Just for further information, tried Supertuxkart on Fedora 12, where Xorg is already in the 1.7.x series. Still mangled. :-(

BTW, can the status be changed to "Triaged" now that at least one other person's observed this?

Bryce Harrington (bryce)
tags: added: 3d
Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
lefteyexl (lefteyexl-deactivatedaccount-deactivatedaccount) wrote :

Hi,

Tested in Ubuntu Lucid (10.04), there is no evolution about that issue: the graphics are still bad, exactly in the same way as in previous versions of Ubuntu / Xorg / Mesa.

Cheers,

Chris

Revision history for this message
carlosqueso (carlosqueso) wrote :

Same problem with a Radeon 200M card.

Revision history for this message
Bryce Harrington (bryce) wrote :

[This is an automatic notification.]

Hi Christopher,

This bug was reported against an earlier version of Ubuntu, can you
test if it still occurs on Lucid?

Please note we also provide technical support for older versions of
Ubuntu, but not in the bug tracker. Instead, to raise the issue through
normal support channels, please see:

    http://www.ubuntu.com/support

If you are the original reporter and can still reproduce the issue on
Lucid, please run the following command to refresh the report:

  apport-collect 468412

If you are not the original reporter, please file a new bug report, so
we can work with you as the original reporter instead (you can reference
bug 468412 in your report if you think it may be related):

  ubuntu-bug xorg

If by chance you can no longer reproduce the issue on Lucid or if you
feel it is no longer relevant, please mark the bug report 'Fix Released'
or 'Invalid' as appropriate, at the following URL:

  https://bugs.launchpad.net/ubuntu/+bug/468412

Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Incomplete
tags: added: needs-retested-on-lucid-by-june
Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : Dependencies.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : GdmLog.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : GdmLog1.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : GdmLog2.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : Lspci.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : Lsusb.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : PciDisplay.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : ProcModules.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : UdevDb.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Tested in Lucid. Still displayed in mangle-o-vision.

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : UdevLog.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : XorgLog.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : XorgLogOld.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : Xrandr.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : setxkbmap.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : xdpyinfo.txt

apport information

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote : xkbcomp.txt

apport information

Revision history for this message
miguelatv (miguelatv) wrote :

I have the same issue running lucid

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Okay, I've changed the status back to new because it seems this bug will expire if it's left as Incomplete, and, as far as I can tell, it's not an Incomplete bug now that I'ev re-done the apport info.

Changed in xserver-xorg-video-ati (Ubuntu):
status: Incomplete → New
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
tags: added: lucid
Revision history for this message
François (flacombe0) wrote :

Same here : the described problem in supertuxkart is present on Lucid with ATI RS690 IGP with both default and updated packages. I also manually upgraded mesa to 8.2 but no luck.

I wonder if this is supertuxkart or driver related since such problem does not occur in other GL apps.

François

Revision history for this message
Christopher Neville-Smith (chris-neville-smith) wrote :

Okay, I now have an update.

As Supertuxkart fans will know, version 0.7 was released recently. The graphics engine now uses irrlicht, and, whatever that is, it doesn't mangle up the display the way that 0.6 was with ATI cards. Unfortunately, the game is still unplayable on Ubuntu for me because of this bug:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/663415

Don't know if this helps pin things down, but I managed to compile Supertuxkart 0.7 on Fedora 14 and that does work, albeit with slow graphics on some of the more complicated maps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.