Skip to contentSkip to conversation

New: Two GPU RV790, three screen setup locks up with dpm=1

Bug 70165 [email protected] 1 participant 10 messages Oct 5, 2013 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 70165
Assignee: [email protected]
Summary: Two GPU RV790, three screen setup locks up with dpm=1
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI

Hi,

I have here a dual radeon RV790 gpu, three screen setup. Tried this out with dpm=1 locks up the machine. The lockup happens either when X starts and lightdm starts to paint the login widget or, if the machine survives this, it usually occurs once the mouse crosses the borders of the two gpu's screens on the X display.

I run fedora 19 with a recent patch level.
The kernel that runs in dpm mode is 7dee8dff47734ee52da2cd8b8ea9736e42c5062f which is todays linus master tree and includes all of agd5f/drm-fixes-3.12.

Attached are, dmesg with and without dpm enabled, Xorg logs with these cases, the xorg configuraton file for these three screens, and the video bioses of these two only similar cards. The dpm variants are acquired logged in via ssh on a session where lightdm did not manage to lock up the machine at the first time but locked it when I moved the mouse across the screen borders.

Some observations when digging somehow into this problem:

1. The attached patch shows a minimal change to rv770_dpm_set_power_state that makes the machine run as normal. I think that already narrows down the problem a bit.

2. The pi->clk_regs.rv770.mpll_ss{1,2} values are set into the table that aims to be activated above, but are never initialized like the other values beneath on rv770. May be they need to be read initially from some gpu register?

3. Disabling aspm does not help.

4. Unplugging the second monitor on the second gpu makes the problem appear way more seldom if it stays unplugged. Hotplugging this screen results in the same reproducible lockup.

Greetings
Mathias

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

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

--- Comment #1 from Mathias Fröhlich <[email protected]> --- Created attachment 87153
--> https://bugs.freedesktop.org/attachment.cgi?id=87153&action=edit
xorg.conf

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #2 from Mathias Fröhlich <[email protected]> --- Created attachment 87154
--> https://bugs.freedesktop.org/attachment.cgi?id=87154&action=edit
dmesg with dpm enabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #3 from Mathias Fröhlich <[email protected]> --- Created attachment 87155
--> https://bugs.freedesktop.org/attachment.cgi?id=87155&action=edit
dmesg without dpm enabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #4 from Mathias Fröhlich <[email protected]> --- Created attachment 87156
--> https://bugs.freedesktop.org/attachment.cgi?id=87156&action=edit
Xorg.log with dpm enabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #5 from Mathias Fröhlich <[email protected]> --- Created attachment 87157
--> https://bugs.freedesktop.org/attachment.cgi?id=87157&action=edit
Xorg.log without dpm enabled

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #6 from Mathias Fröhlich <[email protected]> --- Created attachment 87158
--> https://bugs.freedesktop.org/attachment.cgi?id=87158&action=edit
Vidoe bios of one card.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #7 from Mathias Fröhlich <[email protected]> --- Created attachment 87159
--> https://bugs.freedesktop.org/attachment.cgi?id=87159&action=edit
Vidoe biso of the other card

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

--- Comment #8 from Mathias Fröhlich <[email protected]> --- Created attachment 87160
--> https://bugs.freedesktop.org/attachment.cgi?id=87160&action=edit
Patch hopefully narrowing down the problem.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 70165] Two GPU RV790, three screen setup locks up with dpm=1

In reply to [email protected]

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

Martin Peres <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #9 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/389.

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