Skip to contentSkip to conversation

When positioning a monitor output above or below initial configuration with xrandr, hard freeze with graphics artifacts 4.16.2+

Bug 106193 [email protected] 1 participant 11 messages Apr 23, 2018 – Apr 26, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 106193
Summary: When positioning a monitor output above or below
initial configuration with xrandr, hard freeze with graphics artifacts 4.16.2+
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

I'm unable to position my monitors outside of an inline configuration. I have 5 monitors, and if I try to position one outside of an inline configuration with xrandr, it results in a hard lock.

Steps to replicate the process:

$ xrandr --fb 7680x2160

xrandr --screen 0 output shows that the virtual desktop is set to 7680x2160

$ xrandr --output DP-6 --pos 0x1080

At that point, mouse and keyboard become unresponsive. After about 30 seconds, monitor output shows artifacting. I'll see if I can post an image of what I see.

It appears this also causes all network activity to stop. The system cannot be pinged, and SSH server stops functioning. Seems to have the same issues as
https://bugs.freedesktop.org/show_bug.cgi?id=106159 which freezes the system when connecting or disconnecting a displayport cable.

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=106193

--- Comment #1 from Joel Sass <[email protected]> --- Created attachment 139012
--> https://bugs.freedesktop.org/attachment.cgi?id=139012&action=edit
A picture of the monitor output on failure.

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=106193

--- Comment #2 from Harry Wentland <[email protected]> --- Created attachment 139013
--> https://bugs.freedesktop.org/attachment.cgi?id=139013&action=edit
[PATCH] drm/amd/display: Disallow enabling CRTC without primary plane with FB

Does this help?

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=106193

--- Comment #3 from Harry Wentland <[email protected]> --- If the patch doesn't help are you able to capture the dmesg log and post it?

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=106193

--- Comment #4 from Joel Sass <[email protected]> --- Hey Harry,

Thanks for your help.

Should I be using my current kernel, or just download the newest source to apply these patches against?

Some of the other patches didn't really have the context useful to patch against, and I am not sure if these kernels will have the amdgpu.dc kernel switches.

Thanks!

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=106193

--- Comment #5 from Harry Wentland <[email protected]> --- I recommend using drm-next-4.18-wip from Alex's tree:
https://cgit.freedesktop.org/~agd5f/linux/?h=amd-staging-drm-next

git clone git://people.freedesktop.org/~agd5f/linux
cd linux
git checkout drm-next-4.18-wip

The patch should land on that branch in a couple days.

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

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Joel Sass <[email protected]> --- Harry,

as I had mentioned here https://bugs.freedesktop.org/show_bug.cgi?id=106159 I had to manually apply the patches you'd given me, so I'm including the diff here as well. This has both of the patches in it, so I figured I'd attach it to this bug as well.

Thanks!

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

#7 lore raw
In reply to [email protected]

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

--- Comment #7 from Joel Sass <[email protected]> --- Created attachment 139102
--> https://bugs.freedesktop.org/attachment.cgi?id=139102&action=edit
amdgpu_dm.c patch I had to manually apply

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

#8 lore raw
In reply to [email protected]

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

--- Comment #8 from Harry Wentland <[email protected]> --- Hi Joel,

does the patch fix the issue?

Thanks for your bug report and testing.

Harry

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

#9 lore raw
In reply to [email protected]

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

Joel Sass <[email protected]> changed:

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

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

--- Comment #9 from Joel Sass <[email protected]> ---
I can confirm the patch fixed the issue. I installed drm-next-4.17 from
git://people.freedesktop.org/~agd5f/linux and the problem is solved.

Good work, and thanks!

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

#10 lore raw
In reply to [email protected]

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

--- Comment #10 from Harry Wentland <[email protected]> --- Thanks for reporting, testing, and quick feedback. It's greatly appreciated.

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