dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
@ 2016-01-14 23:10 bugzilla-daemon
  2016-01-14 23:27 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-14 23:10 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 93721
           Summary: Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot
                    allocate memory for page table array
           Product: DRI
           Version: DRI git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: adf.lists@gmail.com

Created attachment 121052
  --> https://bugs.freedesktop.org/attachment.cgi?id=121052&action=edit
dmesg showing mem  fail

Been testing the latest agd5f drm-next-4.5 with powerplay=1.

Nothings changed from previously reported issues, uvd still breaks powerplay
and it's self, lockups with uvd possible.

This particular boot I hadn't touched uvd or anything gl excepting glamor is
always used.

Was testing/benching vce which was going OK (apart from previously reported
issue with UHD content).

After I had finished testing I turned auto/down GPU/CPU which had been set
high.

memclk stayed stuck high. I then tried glxgears just to see if it would change
the clocks.

I got - 

libGL error: failed to open drm device: Cannot allocate memory
libGL error: failed to load driver: radeonsi

tried as user = same, tried glxinfo = same, did free =

              total        used        free      shared  buff/cache   available
Mem:        8139284      244600      340524     1519216     7554160     6314420
Swap:       4605948           0     4605948

Looks OK but as I had 1.5Gig in a ramdisk I deleted the file and then gl
started working again - strange as I've done many tests with 6Gig in there and
it just doesn't look like I was low on mem. Maybe you can see why from the
memdumps in the dmesg. 

I haven't been able to reproduce this.

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

[-- Attachment #1.2: Type: text/html, Size: 3315 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
@ 2016-01-14 23:27 ` bugzilla-daemon
  2016-01-15  0:53 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-14 23:27 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Andy Furniss <adf.lists@gmail.com> ---
Should add I haven't tested VCE for a while - but it isn't the only "new" thing
as I was using a net bridge at the time as well which I don't normally do so
maybe that is relevant.

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

[-- Attachment #1.2: Type: text/html, Size: 1219 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
  2016-01-14 23:27 ` bugzilla-daemon
@ 2016-01-15  0:53 ` bugzilla-daemon
  2016-01-15  3:45 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-15  0:53 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 121053
  --> https://bugs.freedesktop.org/attachment.cgi?id=121053&action=edit
mpv-vdpau-fail

Same boot and I still can't reproduce with opengl. I can run gears and unigine
valley repeatedly OK, but I can still randomly trigger using vdpau.

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

[-- Attachment #1.2: Type: text/html, Size: 1410 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
  2016-01-14 23:27 ` bugzilla-daemon
  2016-01-15  0:53 ` bugzilla-daemon
@ 2016-01-15  3:45 ` bugzilla-daemon
  2016-01-15  8:37 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-15  3:45 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 121055
  --> https://bugs.freedesktop.org/attachment.cgi?id=121055&action=edit
drm/amdgpu: Use drm_calloc_large for VM page_tables array

Does this patch help?

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

[-- Attachment #1.2: Type: text/html, Size: 1532 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-01-15  3:45 ` bugzilla-daemon
@ 2016-01-15  8:37 ` bugzilla-daemon
  2016-01-15 12:37 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-15  8:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Ernst Sjöstrand <ernstp@gmail.com> ---
I think I also had a UVD related hang on Fiji with Powerplay when setting
EnableLinuxHWVideoDecode = 1 in /etc/adobe/mms.cfg and watching flash video.
Not sure if my Firefox settings affect the result, but I had 100% hang rate.
Couldn't find any logs messages though.

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

[-- Attachment #1.2: Type: text/html, Size: 1329 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-01-15  8:37 ` bugzilla-daemon
@ 2016-01-15 12:37 ` bugzilla-daemon
  2016-01-15 12:41 ` bugzilla-daemon
  2016-02-05  2:06 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-15 12:37 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Michel Dänzer from comment #3)
> Created attachment 121055 [details] [review]
> drm/amdgpu: Use drm_calloc_large for VM page_tables array
> 
> Does this patch help?

Running now - OK so far, but then it took some time/luck to show up on
unpatched.

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

[-- Attachment #1.2: Type: text/html, Size: 1758 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-01-15 12:37 ` bugzilla-daemon
@ 2016-01-15 12:41 ` bugzilla-daemon
  2016-02-05  2:06 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-01-15 12:41 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Ernst Sjöstrand from comment #4)
> I think I also had a UVD related hang on Fiji with Powerplay when setting
> EnableLinuxHWVideoDecode = 1 in /etc/adobe/mms.cfg and watching flash video.
> Not sure if my Firefox settings affect the result, but I had 100% hang rate.
> Couldn't find any logs messages though.

On older powerplays I could get a logless uvd lock up - not on current drm-next
yet (it took many hours to provoke).

I can trigger a different one with mpv - to get logging you need to wait a few
minutes before sysrq as the logging comes from the kernel hung task timeout.

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

[-- Attachment #1.2: Type: text/html, Size: 1743 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] 8+ messages in thread

* [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array
  2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-01-15 12:41 ` bugzilla-daemon
@ 2016-02-05  2:06 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-02-05  2:06 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #7 from Michel Dänzer <michel@daenzer.net> ---
Fixed in
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9571e1d84042f5670df9fabdcbe7dd5da3abe43e

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

[-- Attachment #1.2: Type: text/html, Size: 2309 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] 8+ messages in thread

end of thread, other threads:[~2016-02-05  2:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 23:10 [Bug 93721] Tonga [drm:amdgpu_vm_init [amdgpu]] *ERROR* Cannot allocate memory for page table array bugzilla-daemon
2016-01-14 23:27 ` bugzilla-daemon
2016-01-15  0:53 ` bugzilla-daemon
2016-01-15  3:45 ` bugzilla-daemon
2016-01-15  8:37 ` bugzilla-daemon
2016-01-15 12:37 ` bugzilla-daemon
2016-01-15 12:41 ` bugzilla-daemon
2016-02-05  2:06 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).