From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 97840] [regression] [tonga] Freeze since new memory manager
enabled
Date: Sat, 17 Sep 2016 11:12:35 +0000
Message-ID:
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
dri-devel@lists.freedesktop.org
Reporter
mike@fireburn.co.uk
Created attachment 126589 [details]<=
/a>
Glxinfo
Regression since:
drm/amdgpu: add a custom GTT memory manager v2
5b03b7a0f28d68ca4015b1b5ad27cb70641b7ebd
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
| What | Removed | Added |
|---|---|---|
| CC | mike@fireburn.co.uk |
Created attachment 126590 [details]<=
/span>
Dmesg
Reverting 5b03b7a0f28d68ca4015b1b5ad27cb70641b7ebd fixes this = for me, I should also make clear this is a Skylake/Tonga laptop
The amount of video memory on the card is being reported diffe=
rently 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,
Created attachment 126591 [details]
Working glxinfo
| What | Removed | Added |
|---|---|---|
| CC | deathsimple@vodafone.de |
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/p= atches/?submitter=3D11066 ?
Created attachment 126643 [details]<=
/span>
Error
I've just tested the latest wip-4.9 branch and now X won't even start
(In reply to Mike Lothian from comment #6) > I've just tested the latest wip-4.9 branch and n= ow X won't even start Can you bisect which change caused that?
The first bad commit is: abd0a5ee7a25d108e9d709a4f61ef58754b60919 is the first bad commit commit abd0a5ee7a25d108e9d709a4f61ef58754b60919 Author: Monk Liu <Monk.Liu@a= md.com> Date: Wed Sep 14 19:10:33 2016 +0800 drm/amdgpu:correct smc fw version error original method get wrong smc fw version. Signed-off-by: Monk Liu <Mon= k.Liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reverting this one allows X to start again
Even with this reverted things aren't working correctly if I d= o a DRI_PRIME=3D1 glxgears the image is highly messed up
Created attachment 126667=
[details]
Glxgears corrupted
Created attachment 126668 =
[details]
Dmesg with issues
This is the dmesg, when the system is still semi-responsive
| What | Removed | Added |
|---|---|---|
| CC | monk.liu@amd.com |
Monk, any ideas? (See c= omment 6 and comment 9)
Created attachment 126692 [details] [review] Part #1 of the fix. First part of the fix. Might help with the white window, but there are clea= rly more bugs to fix. Still working on this.
| What | Removed | Added |
|---|---|---|
| Status | NEW | RESOLVED |
| Resolution | --- | FIXED |