All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 78717] New: radeon: Failed to allocate a buffer
@ 2014-05-15  1:21 bugzilla-daemon
  2014-05-15  3:05 ` [Bug 78717] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-15  1:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1597 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

          Priority: medium
            Bug ID: 78717
          Assignee: dri-devel@lists.freedesktop.org
           Summary: radeon: Failed to allocate a buffer
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: mmstickman@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 10.1
         Component: Drivers/Gallium/radeonsi
           Product: Mesa

When you set shadows to Ultra in the recently released open source game,
Tesseract, the game will segfault with the following:

radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 536870912 bytes
radeon:    alignment : 32768 bytes
radeon:    domains   : 4
failed allocating shadow atlas!

MSAA also seems to hang the entire machine

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2888 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
@ 2014-05-15  3:05 ` bugzilla-daemon
  2014-05-15  3:16 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-15  3:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 839 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Mesa                        |DRI
            Version|10.1                        |unspecified
          Component|Drivers/Gallium/radeonsi    |DRM/Radeon

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
This is probably due to the kernel radeon driver refusing to allocate BOs
larger than the CPU mappable part of VRAM. Please attach the output of dmesg
after the problem occurs.

> MSAA also seems to hang the entire machine

That would need to be tracked in a separate report.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2399 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
  2014-05-15  3:05 ` [Bug 78717] " bugzilla-daemon
@ 2014-05-15  3:16 ` bugzilla-daemon
  2014-05-15 21:18 ` [Bug 78717] radeon: Failed to allocate a buffer with Tesseract bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-15  3:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 475 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

--- Comment #2 from mmstickman@gmail.com ---
The output of dmesg when the crash occurs is:

[106117.559369] radeon_gem_object_create:62 alloc size 512Mb bigger than 256Mb
limit
[106117.559470] radeon_gem_object_create:62 alloc size 512Mb bigger than 256Mb
limit
[106117.559714] radeon_gem_object_create:62 alloc size 512Mb bigger than 256Mb
limit

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1202 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
  2014-05-15  3:05 ` [Bug 78717] " bugzilla-daemon
  2014-05-15  3:16 ` bugzilla-daemon
@ 2014-05-15 21:18 ` bugzilla-daemon
  2014-06-12  1:21 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-05-15 21:18 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 450 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|radeon: Failed to allocate  |radeon: Failed to allocate
                   |a buffer                    |a buffer with Tesseract

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1104 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-05-15 21:18 ` [Bug 78717] radeon: Failed to allocate a buffer with Tesseract bugzilla-daemon
@ 2014-06-12  1:21 ` bugzilla-daemon
  2014-07-19  7:40 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-06-12  1:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 481 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 100907
  --> https://bugs.freedesktop.org/attachment.cgi?id=100907&action=edit
Hack to allow allocating larger BOs

If you have at least 1G of VRAM, this hack might help. You might also need to
specify radeon.gartsize=1024 or larger on the kernel command line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1524 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-06-12  1:21 ` bugzilla-daemon
@ 2014-07-19  7:40 ` bugzilla-daemon
  2016-04-02 21:09 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2014-07-19  7:40 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 557 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

jackdachef@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackdachef@gmail.com

--- Comment #4 from jackdachef@gmail.com ---
potential fix for glamor that might fix this from a non-kernel approach (at
least it did for me):

https://bugs.freedesktop.org/show_bug.cgi?id=71190

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-07-19  7:40 ` bugzilla-daemon
@ 2016-04-02 21:09 ` bugzilla-daemon
  2016-04-04  8:29 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-04-02 21:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1435 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

--- Comment #5 from Boyd Stephen Smith Jr. <Boyd.Stephen.Smith.Jr@GMail.com> ---
Getting a lot of these in my dmesg:

[154272.660917] radeon_gem_object_create:62 alloc size 340Mb bigger than 256Mb
limit
[154272.660925] radeon_gem_object_create:62 alloc size 340Mb bigger than 256Mb
limit
[154272.661012] radeon_gem_object_create:62 alloc size 340Mb bigger than 256Mb
limit
[154272.661020] radeon_gem_object_create:62 alloc size 340Mb bigger than 256Mb
limit

They match the similar errors I'm getting from (modded) Minecraft:

[16:08:10] [Client thread/ERROR]: ########## GL ERROR ##########
[16:08:10] [Client thread/ERROR]: @ Post render
[16:08:10] [Client thread/ERROR]: 1285: Out of memory
[16:08:10] [Client thread/ERROR]: ########## GL ERROR ##########
[16:08:10] [Client thread/ERROR]: @ Post render
[16:08:10] [Client thread/ERROR]: 1285: Out of memory
[16:08:10] [Client thread/ERROR]: ########## GL ERROR ##########
[16:08:10] [Client thread/ERROR]: @ Post render
[16:08:10] [Client thread/ERROR]: 1285: Out of memory
[16:08:10] [Client thread/ERROR]: ########## GL ERROR ##########
[16:08:10] [Client thread/ERROR]: @ Post render
[16:08:10] [Client thread/ERROR]: 1285: Out of memory

I'm on Debian Jessie, but I should be able to figure out how to run a newer X
or kernel for testing, if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2240 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-04-02 21:09 ` bugzilla-daemon
@ 2016-04-04  8:29 ` bugzilla-daemon
  2016-04-04 12:41 ` bugzilla-daemon
  2016-04-05  7:24 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-04-04  8:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
This seems to work fine with current versions of kernel and Mesa.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2009 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-04-04  8:29 ` bugzilla-daemon
@ 2016-04-04 12:41 ` bugzilla-daemon
  2016-04-05  7:24 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-04-04 12:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 360 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

--- Comment #7 from Boyd Stephen Smith Jr. <Boyd.Stephen.Smith.Jr@GMail.com> ---
Any hint about when kernel (or mesa) version fixed this?  I'd like to upgrade,
but it could ease my way if I didn't have to go all the way to git HEAD.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1201 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug 78717] radeon: Failed to allocate a buffer with Tesseract
  2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-04-04 12:41 ` bugzilla-daemon
@ 2016-04-05  7:24 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-04-05  7:24 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 388 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=78717

--- Comment #8 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Boyd Stephen Smith Jr. from comment #7)
> Any hint about when kernel (or mesa) version fixed this?

The BO allocation size limit was lifted in kernel 3.17. Mesa shouldn't matter
after all.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1277 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-05  7:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15  1:21 [Bug 78717] New: radeon: Failed to allocate a buffer bugzilla-daemon
2014-05-15  3:05 ` [Bug 78717] " bugzilla-daemon
2014-05-15  3:16 ` bugzilla-daemon
2014-05-15 21:18 ` [Bug 78717] radeon: Failed to allocate a buffer with Tesseract bugzilla-daemon
2014-06-12  1:21 ` bugzilla-daemon
2014-07-19  7:40 ` bugzilla-daemon
2016-04-02 21:09 ` bugzilla-daemon
2016-04-04  8:29 ` bugzilla-daemon
2016-04-04 12:41 ` bugzilla-daemon
2016-04-05  7:24 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.