Skip to contentSkip to conversation

R9 m265x doesn't work with experimental kernel driver

Bug 98924 [email protected] 1 participant 6 messages Dec 1, 2016 – Jul 17, 2017

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 98924
Summary: [AMDGPU][SI] R9 m265x doesn't work with experimental
kernel driver
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 128297
--> https://bugs.freedesktop.org/attachment.cgi?id=128297&action=edit
dmesg

My laptop has an Intel CPU/iGPU + AMD dGPU
I compiled both the current master of 4.9 and drm-next-4.10-wip, I have the same problem, when I try to use the m265x with "DRI_PRIME=1 glxgears" everything freezes for about 5~10 seconds, then glxgears appears but the gears are either frozen or I just get a black window.
Then when I try to shutdown it never completely turn off and I have to force the power off
I tried both with and without amdgpu.runpm=0 but I get the same behaviour.

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

#1 lore raw

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

--- Comment #1 from Stefano Cipriani <[email protected]> --- Created attachment 128298
--> https://bugs.freedesktop.org/attachment.cgi?id=128298&action=edit
Xorg log

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

#2 lore raw
In reply to [email protected]

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

Michel Dänzer <[email protected]> changed:

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

 Attachment #128298|text/x-log                  |text/plain
          mime type|                            |
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

#3 lore raw
In reply to [email protected]

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

--- Comment #2 from Stefano Cipriani <[email protected]> --- Created attachment 129431
--> https://bugs.freedesktop.org/attachment.cgi?id=129431&action=edit
dmesg when glxgears runs once

Small update, on drm-next-4.11-wip sometimes glxgears starts correctly the first time, but it freezes on subsequent runs.
On dmesg I get:

asynchronous wait on fence amd_sched:gfx:19 timed out

Full dmesg attached

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

#4 lore raw
In reply to [email protected]

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

--- Comment #3 from Jeroen Bollen <[email protected]> --- I can confirm this bug also.

Hardware:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265] (rev 81)
Subsystem: Hewlett-Packard Company Device 814f
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpu

My dmesg error is mildly different though:

[  156.940353] amdgpu 0000:03:00.0: PCIE GART of 1024M enabled (table at
0x0000000000040000).
[  157.159282] [drm] ring test on 0 succeeded in 9 usecs
[  157.161319] [drm] ring test on 1 succeeded in 1 usecs
[  157.161331] [drm] ring test on 2 succeeded in 1 usecs
[  157.161346] [drm] ring test on 3 succeeded in 3 usecs
[  157.161355] [drm] ring test on 4 succeeded in 4 usecs
[  168.384040] asynchronous wait on fence amd_sched:gfx:13 timed out

Also tested with glxgears. Doing so crashes the application into a state it cannot be killed in, and often also takes down the rest of the system by freezing the entire gui.

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

#5 lore raw
In reply to [email protected]

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

Stefano Cipriani <[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Stefano Cipriani <[email protected]> --- The GPU now works with AMDGPU driver on latest linux master. Playing some Rocket League I had a couple of crashes, but the game was just updated so I don't know if it was the kernel. Anyways, marking as fixed as it works 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