Bug 38258

Summary: SDL game teeworlds crashes in r100_cs_track_texture_check
Product: Mesa Reporter: Alkis Georgopoulos <alkisg>
Component: Drivers/DRI/R100Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: 7.10   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Alkis Georgopoulos 2011-06-13 09:05:52 UTC
The SDL-based game "teeworlds" crashes on a laptop with Radeon IGP 330M/340M/350M [1002:4337] when KMS is used, but it runs fine when I use "nomodeset".

When I don't have "firmware-linux-nonfree" installed the game also doesn't crash but it's 20 times slower, about 1 fps.
I tested on many recent Debian and Ubuntu versions - the output below is from Debian testing (Wheezy). I had to comment out "options radeon modeset=1" in /etc/modprobe.d/radeon-kms.conf for "nomodeset" to take effect.

I can attach more output upon request, or test with different software versions.
Thank you.


$ teeworlds
<unrelated game output>
drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

$ dmesg | tail -n 2
[  355.980790] [drm:r100_cs_track_texture_check] *ERROR* No texture bound to unit 0
[  355.980838] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !

$ lspci -nn -k | grep -A 2 VGA
01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon IGP 330M/340M/350M [1002:4337]
	Subsystem: Compaq Computer Corporation Device [0e11:0056]
	Kernel driver in use: radeon

$ dpkg-query -W xserver-xorg-video-radeon firmware-linux '*mesa*'
xserver-xorg-video-radeon	1:6.14.2-1
firmware-linux	0.30
libgl1-mesa-dri	7.10.2-3
libgl1-mesa-glx	7.10.2-3
libglu1-mesa	7.10.2-3
mesa-utils	8.0.1-2

$ uname -a
Linux myrto 2.6.38-2-686 #1 SMP Sun May 8 14:49:45 UTC 2011 i686 GNU/Linux
Comment 1 GitLab Migration User 2019-09-18 18:40:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/281.

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.