Skip to contentSkip to conversation

New: [TTM] Out of kernel memory

Bug 43751 [email protected] 1 participant 17 messages Jun 25, 2012 – Apr 24, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=43751

Summary: [TTM] Out of kernel memory
Product: Drivers
Version: 2.5
Kernel Version: 3.4.4
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

i5 8GB 8600gt_512MB nouveau
ubuntu 12.04 i386
vmware 8.0.4, kde, virtualbox 4.1.18, firefox, chrome, chromium, opera, dolphin, smplayer
after one-two hours in kernel 3.4.3, 3.4.4 "[TTM] Out of kernel memory", all windows switch slows down. In /var/log/system many messages in second "[TTM] Out of kernel memory"
on generic-pae 3.2.0-26.41 (3.2.19) all norm in three days running

may be vmware nouveau 3D bug: [TTM] Out of kernel memory?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#1 lore raw

[Bug 43751] [TTM] Out of kernel memory

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #1 from Petr Grigoriev <[email protected]> 2012-07-08 21:43:20 --- kde, firefox, chrome, chromium, opera,
dolphin, smplayer, vmware 8.0.4, virtualbox 4.1.18

latest updates.

after two-three hours computer slow down and big kernel error. in log tail 30 min many errors "[TTM] Out of kernel memory"

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#2 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #2 from Petr Grigoriev <[email protected]> 2012-07-08 21:44:19 --- degraded - on 3.2.21 all right, two days in too configuration work normally.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#3 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #3 from Petr Grigoriev <[email protected]> 2012-07-22 19:24:26 --- on 3.2.23 all right
on 3.5 kernel [TTM] Out of kernel memory

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#5 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

Alexey Neyman <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Alexey Neyman <[email protected]> 2012-12-20 07:24:37 --- Same issue here:

Also Nvidia 8600, on HP dv9700 laptop:

01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8600M GS] (rev a1)

The same problem easily reproduced by running easytag (GTK app) under KDE. Using Ubuntu 12.10, kernel 3.5.0.

There were no such issue with Ubuntu 12.04 (kernel 3.2.0).

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#6 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

ewhite <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from ewhite <[email protected]> 2013-01-21 04:48:13 --- after about two days of up-time, xorg goes to 100% cpu. shortly thereafter receive the following:

Jan 17 19:18:32 acan kernel: [TTM] Out of kernel memory
Jan 17 19:18:32 acan kernel: [TTM] Out of kernel memory
Jan 17 19:18:32 acan kernel: radeon 0000:0f:00.0: object_init failed for (8192,
0x00000006)
Jan 17 19:18:32 acan kernel: [drm:radeon_gem_object_create] *ERROR* Failed to

allocate GEM object (8192, 4, 4096, -12)

this has occurred with both nvidia FX1800 w/nouveau driver and ati FMV2250.

0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI FireMV 2250 [1002:719b] (prog-if 00 [VGA controller])
Subsystem: Advanced Micro Devices [AMD] nee ATI Device [1002:0602]
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at f5000000 (64-bit, non-prefetchable) [size=64K] I/O ports at e000 [size=256]
[virtual] Expansion ROM at f5020000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+ Kernel driver in use: radeon

system is HP Z600 w/2 x X5650 and 12GB memory.

Linux acan 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux

distribution is opensuse 12.2.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#7 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from [email protected] 2013-01-23 17:02:02 --- Has this been resolved? I'm using 3.4.20 and I see this issue every time.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#8 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

cyberbat <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from cyberbat <[email protected]> 2013-02-03 19:43:52 --- I have just the same thing on 3.6.11 kernel:

Feb  3 06:54:27 cybernest kernel: [329369.962274] [TTM] Out of kernel memory
Feb  3 06:54:27 cybernest kernel: [329369.962279] radeon 0000:01:00.0:
object_init failed for (4096, 0x00000002)
Feb  3 06:54:27 cybernest kernel: [329369.962281]

[drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (4096, 2, 4096, -12)

I use xorg-server-1.13.1 (xf86-video-ati-7.0.0) and mesa-9.0.1. I can provide more info if needed.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#9 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #9 from cyberbat <[email protected]> 2013-02-05 20:11:50 --- Created an attachment (id=92571)
--> (https://bugzilla.kernel.org/attachment.cgi?id=92571)
Config of working linux-3.7.4

Tried a kernel 3.7.4 for some days and it seems to work with config attached.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#10 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #10 from cyberbat <[email protected]> 2013-02-10 14:18:28 --- After a week uptime still have this error even on linux 3.7.4

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#11 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

Peter Barth <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #11 from Peter Barth <[email protected]> 2013-02-19 21:55:39 --- I have the same problem with ati card (Radeon HD 6670):

...
[drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (4096, 6, 4096, -12)
[TTM] Out of kernel memory
[TTM] Out of kernel memory
[drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM object (4096, 6, 4096, -12)
...

This happened with 3.5.x, 3.6.x and currently with 3.7.6. Last known good state is kernel 3.2.13.

At some point the OOM-Killer kicks in, however, that does not help. I can kill any app, stop X and my displaymanager, stop mostly any service there is and that does not help.

/proc/meminfo shows (and that gets worse):

MemTotal:       32880920 kB
MemFree:          729688 kB
Buffers:             728 kB
Cached:         25403768 kB
SwapCached:            0 kB
Active:          3202980 kB
Inactive:       25110208 kB
Active(anon):    3178992 kB
Inactive(anon): 25065012 kB
Active(file):      23988 kB
Inactive(file):    45196 kB

...

sync ; echo 3 > /proc/sys/vm/drop_caches does not help. The memory is gone and at some point I have to restart to regain memory.

If that helps, userspace is: xf86-video-ati 7.0.0, mesa 9.0.1, xorg-server 1.13.1

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#12 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #12 from Peter Barth <[email protected]> 2013-02-28 19:08:52 --- Seems to be fixed for me with 3.8.0. No kernel-crash/reboot for 3 days, yay!

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#13 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

Jérôme Glisse <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |OBSOLETE

--- Comment #13 from Jérôme Glisse <[email protected]> 2013-03-21 20:54:35 --- Closing

Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#14 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

John Paul Funk <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #14 from John Paul Funk <[email protected]> 2013-04-17 00:54:36 --- I'm running kernel 3.8.7 and still having this issue. dmesg is full of these lines:

[126466.384749] [TTM] Out of kernel memory
[126466.384752] [drm:radeon_gem_object_create] *ERROR* Failed to allocate GEM

object (4096, 6, 4096, -12)

This problem started after updating Kubuntu 12.10 a few days ago. Latest kernel does not fix the issue.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
#15 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #15 from Jérôme Glisse <[email protected]> 2013-04-24 19:12:04 --- This is a kwin bug, kwin select msaa visual which is problematic, there is also a fix in mesa git. In no case this is a kernel bug

Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#16 lore raw

[Bug 43751] [TTM] Out of kernel memory

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=43751

--- Comment #16 from Peter Barth <[email protected]> 2013-04-24 21:06:27 --- I'll give mesa git a try and hope to be able to switch back to kwin soon. However, shouldn't the memory be freed after killing kwin and after shutting down xdm and so on? But that's not the case, the error resides.

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.