Bug 22195

Summary: app crashed to desktop with Radeon driver
Product: Mesa Reporter: dre <andreas.kaim>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: xorg.conf
wine output
glxinfo

Description dre 2009-06-10 01:22:49 UTC
Using fully updated Jaunty with 2.6.29.4 and open source ati (git) drivers with a radeon x1600. When running World of Warcraft using wine 1.1.22 the game crashes after less than 3 minutes. The frame rate in game is between 1 and 20 fps in areas where on hardy 8.10 fglrx i get 70. Also interesting to note is that i cant see the characters' elbows and knees or necks, that part is just missing! After 3 or so minutes of gameplay i crash to the desktop.
What log files or config files do you need?
Comment 1 Alex Deucher 2009-06-10 08:14:06 UTC
Does the drm patch in bug 21849 help?  Alternately, you could try kernel 2.6.30.  As the the drawing errors, You may want to try the radeon-rewrite branch of mesa.  I believe there are ubuntu packages available.
Comment 2 Michel Dänzer 2009-06-11 00:30:38 UTC
(In reply to comment #1)
> Does the drm patch in bug 21849 help?

That's about lockups, but this sounds like just an app / GL driver crash...

Andreas, we need more information about the crash, ideally a backtrace, but at least any output from the game / Wine.
Comment 3 dre 2009-06-11 01:48:09 UTC
ok , i will run from a terminal and post output.

I will also try 2.6.30, as far as i can tell, that drm patch was incorporated
into 2.6.30 right?
For radeon-rewrite, do you mean this:
https://launchpad.net/~xorg-edgers/+archive/radeon

I read through
https://help.launchpad.net/Packaging/PPA#Adding%20a%20PPA%20to%20your%20Ubuntu%20repositories

but im still a little unsure of what *exactly* to install, there seem to be
many .deb packages, for example:
libgl1-mesa-swx11-dbg_7.6.0
libgl1-mesa-swx11_7.6.0
libosmesa6-dev_7.6.0

so what do i install? or do i install all of them?

Comment 4 Tormod Volden 2009-06-11 03:28:06 UTC
> so what do i install? or do i install all of them?

You only have to replace the packages which you already have installed, adding the PPA repository and an "software update" should do this for you. (The packages in question are also listed in the "Uninstalling" section of the PPA page.)
Comment 5 Tormod Volden 2009-06-11 03:42:23 UTC
> I will also try 2.6.30, as far as i can tell, that drm patch was incorporated
into 2.6.30 right?

Yes, in 2.6.30 final, but not in the release candidates. So you will have to wait for the Ubuntu version 2.6.30-9.10 (or use an up to date kernel from somewhere else).
Comment 6 dre 2009-06-12 01:13:55 UTC
Hi, did some testing and playing around. I upgraded my kernel and upgraded those mesa packages and pulled the latest git drivers for the open source ati (changing into the directory and issuing a git-pull before compiling, is this the way to do it?). My framerate got doubled to 30 fps and the game ran for about 10 mins before crashing. After that it crashed all the time and the visuals still look wrong.  No luck with the trace unfortunately (probably cos i went and did the wrong thing):

dre@waffet:~$ gdb wine /home/dre/.wine/drive_c/Programme/World\ of\
Warcraft/Launcher.exe

gives me

GNU gdb 6.8-debian
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
"/home/dre/.wine/drive_c/Programme/World of Warcraft/Launcher.exe" is
not a core dump: File format is ambiguous
(gdb)

uname -a gives me:
Linux waffet 2.6.30-020630-generic #020630 SMP Wed Jun 10 09:45:40 UTC
2009 i686 GNU/Linux

The windows error that wine spits out is

This application has encountered a critical error:
ERROR #132 (0x85100084) Fatal Exception
Program:        C:\Programme\World of Warcraft\Wow.exe
Exception:      0xC0000005 (ACCESS_VIOLATION) at 0073:00000000
The instruction at "0x00000000" referenced memory at "0x00000000".
The memory could not be "read".

My Xorg.conf, glxinfo as well as the terminal outout from wine is attached.

Comment 7 dre 2009-06-12 01:14:33 UTC
Created attachment 26707 [details]
xorg.conf
Comment 8 dre 2009-06-12 01:14:59 UTC
Created attachment 26708 [details]
wine output

from starting wow in a terminal
Comment 9 dre 2009-06-12 01:15:28 UTC
Created attachment 26709 [details]
glxinfo

my glxinfo
Comment 10 Fabio Pedretti 2009-11-17 01:02:28 UTC
Can you try with Ubuntu 9.10?
Comment 11 Pablo 2012-03-01 05:33:49 UTC
I Guess this can be closed. the game is playable with mesa 7.12 or higher

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.