Bug 77745 - [r600g] Call of Duty 4 crashes under Wine due to running out of memory
Summary: [r600g] Call of Duty 4 crashes under Wine due to running out of memory
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 20:57 UTC by Jaime Rave
Modified: 2019-09-18 19:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Apitrace (269.13 KB, text/plain)
2014-04-21 20:57 UTC, Jaime Rave
Details
glxinfo (57.52 KB, text/plain)
2014-04-22 14:04 UTC, Jaime Rave
Details
dmesg (66.83 KB, text/plain)
2014-04-22 14:04 UTC, Jaime Rave
Details
Wine Console Output (61.58 KB, text/plain)
2014-04-22 14:05 UTC, Jaime Rave
Details
Xorg.0.log (40.15 KB, text/plain)
2014-04-22 14:08 UTC, Jaime Rave
Details

Description Jaime Rave 2014-04-21 20:57:59 UTC
Created attachment 97706 [details]
Apitrace

While trying to play Call Of Duty 4 under Wine using the mesa driver the game crashes while loading a saved level.

I have tried to get an ApiTrace of the game starting, looks like there's a memory leak in some part of Mesa because when I use the Catalist driver the game starts correctly.

I'm using Wine 1.7.17, Mesa from Git and Ubuntu 14.04.

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5730 / 6570M] (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 1594
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at c4000000 (64-bit, non-prefetchable) [size=128K]
	Region 4: I/O ports at 4000 [size=256]
	Expansion ROM at c4040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
Comment 1 Michel Dänzer 2014-04-22 06:22:25 UTC
That apitrace doesn't contain much useful I'm afraid.

Please attach any relevant terminal output from the game as well as the /var/log/Xorg.0.log file and the output of dmesg (preferably from after the problem occurred) and glxinfo.
Comment 2 Jaime Rave 2014-04-22 14:04:31 UTC
Created attachment 97748 [details]
glxinfo
Comment 3 Jaime Rave 2014-04-22 14:04:55 UTC
Created attachment 97749 [details]
dmesg
Comment 4 Jaime Rave 2014-04-22 14:05:20 UTC
Created attachment 97750 [details]
Wine Console Output
Comment 5 Jaime Rave 2014-04-22 14:08:00 UTC
Created attachment 97751 [details]
Xorg.0.log
Comment 6 Jaime Rave 2014-04-22 14:08:49 UTC
Is there any way I can create a more useful apitrace? Let me know if there's something else I can attach to help fix this issue.
Comment 7 Michel Dänzer 2014-04-23 07:57:03 UTC
Is this a regression, i.e. did it work with an older snapshot of Mesa Git? If yes, can you bisect which commit introduced the problem?
Comment 8 Jaime Rave 2014-07-30 18:22:32 UTC
It used to work a long time ago but I'm using Xorg edgers ppa, I'm not able to bisect it. But actually it might be related to bug 44647, because it starts to crash around the same time the videos started to show only garbage.
Comment 9 GitLab Migration User 2019-09-18 19:15:56 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/505.


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.