Freeze since new memory manager enabled
https://bugs.freedesktop.org/show_bug.cgi?id=97840
Bug ID: 97840
Summary: [regression] [tonga] Freeze since new memory manager
enabled
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Created attachment 126589
--> https://bugs.freedesktop.org/attachment.cgi?id=126589&action=edit
Glxinfo
Regression since:
drm/amdgpu: add a custom GTT memory manager v25b03b7a0f28d68ca4015b1b5ad27cb70641b7ebd
Nothing shows up in the dmesg, 3D games don't start, glxgears kinda starts and the window just shows white
The system then becomes partially unresponsive and slowly becomes totally unresponsive
I managed to capture the freeze in glxinfo - if that helps
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
Mike Lothian <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Mike Lothian <[email protected]> --- Created attachment 126590
--> https://bugs.freedesktop.org/attachment.cgi?id=126590&action=edit
Dmesg
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #2 from Mike Lothian <[email protected]> --- Reverting 5b03b7a0f28d68ca4015b1b5ad27cb70641b7ebd fixes this for me, I should also make clear this is a Skylake/Tonga laptop
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #3 from Mike Lothian <[email protected]> ---
The amount of video memory on the card is being reported differently on the two cards
- Device: AMD TONGA (DRM 3.6.0 / 4.8.0-rc1-agd5f+, LLVM 4.0.0) (0x6921)
+ Device: AMD TONGA (DRM 3.3.0 / 4.8.0-rc6-tip+, LLVM 4.0.0) (0x6921)
Version: 12.1.0
Accelerated: yes- Video memory: 4062MB
+ Video memory: 4085MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.3
@@ -57,18 +57,18 @@
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
- VBO free memory - total: 4061 MB, largest block: 4061 MB - VBO free aux. memory - total: 16047 MB, largest block: 16047 MB - Texture free memory - total: 4061 MB, largest block: 4061 MB - Texture free aux. memory - total: 16047 MB, largest block: 16047 MB - Renderbuffer free memory - total: 4061 MB, largest block: 4061 MB - Renderbuffer free aux. memory - total: 16047 MB, largest block: 16047 MB + VBO free memory - total: 4085 MB, largest block: 4085 MB + VBO free aux. memory - total: 4093 MB, largest block: 4093 MB + Texture free memory - total: 4085 MB, largest block: 4085 MB + Texture free aux. memory - total: 4093 MB, largest block: 4093 MB + Renderbuffer free memory - total: 4085 MB, largest block: 4085 MB + Renderbuffer free aux. memory - total: 4093 MB, largest block: 4093 MB Memory info (GL_NVX_gpu_memory_info): - Dedicated video memory: 4062 MB - Total available memory: 20109 MB - Currently available dedicated video memory: 4061 MB + Dedicated video memory: 4085 MB + Total available memory: 8178 MB + Currently available dedicated video memory: 4085 MB
Also it seems glxinfo was freezing printing this line:
GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add,
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #4 from Mike Lothian <[email protected]> --- Created attachment 126591
--> https://bugs.freedesktop.org/attachment.cgi?id=126591&action=edit
Working glxinfo
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Michel Dänzer <[email protected]> --- Mike, have you tested https://patchwork.freedesktop.org/patch/110851/ and possibly the more recent patches on
https://patchwork.freedesktop.org/project/amd-xorg-ddx/patches/?submitter=11066
?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #6 from Mike Lothian <[email protected]> --- Created attachment 126643
--> https://bugs.freedesktop.org/attachment.cgi?id=126643&action=edit
Error
I've just tested the latest wip-4.9 branch and now X won't even start
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #7 from Michel Dänzer <[email protected]> --- (In reply to Mike Lothian from comment #6)
Quoted 1 line
I've just tested the latest wip-4.9 branch and now X won't even start
Can you bisect which change caused that?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #8 from Mike Lothian <[email protected]> --- I'm headed off to work now, will test tonight
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[email protected]
Reviewed-by Alex Deucherhttps://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #9 from Mike Lothian <[email protected]> --- The first bad commit is:
abd0a5ee7a25d108e9d709a4f61ef58754b60919 is the first bad commit commit abd0a5ee7a25d108e9d709a4f61ef58754b60919
Author: Monk Liu <[email protected]> Date: Wed Sep 14 19:10:33 2016 +0800
drm/amdgpu:correct smc fw version error
original method get wrong smc fw version.
Reverting this one allows X to start again
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #10 from Mike Lothian <[email protected]> ---
Even with this reverted things aren't working correctly if I do a DRI_PRIME=1 glxgears the image is highly messed up
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #11 from Mike Lothian <[email protected]> --- Created attachment 126667
--> https://bugs.freedesktop.org/attachment.cgi?id=126667&action=edit
Glxgears corrupted
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #12 from Mike Lothian <[email protected]> --- Created attachment 126668
--> https://bugs.freedesktop.org/attachment.cgi?id=126668&action=edit
Dmesg with issues
This is the dmesg, when the system is still semi-responsive
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #13 from Michel Dänzer <[email protected]> --- Monk, any ideas? (See comment 6 and comment 9)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
--- Comment #14 from Christian König <[email protected]> --- Created attachment 126692
--> https://bugs.freedesktop.org/attachment.cgi?id=126692&action=edit
Part #1 of the fix.
First part of the fix. Might help with the white window, but there are clearly more bugs to fix.
Still working on this.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97840
Mike Lothian <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #15 from Mike Lothian <[email protected]> --- Might as well close this now
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel