Skip to contentSkip to conversation

Kernel Hung when starting X while detecting outputs

Bug 96278 [email protected] 1 participant 7 messages May 30, 2016 – Aug 8, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 96278
Summary: Kernel Hung when starting X while detecting outputs
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

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

Hardware: Dell Precision Laptop 7710 with Intel HD P530 and AMD FirePro W7170M (Amethyst XT)

Kernel: 4.6 and 4.7rc1
xf86-video-amdgpu: 1.1.0

Description:
When X is started, it accepts no connections ("waiting for X server to accept connections") forever.
There is another bugreport over here [1] that has the same problem with the radeon driver. Dmesg is attached.

The stacktrace seems to be nearly the same:

schedule
rpm_resume
wake_atomic_t_function
__pm_runtime_resume [amdgpu_connector_dp_detect/radeon_dvi_detect] (output detection) drm_helper_hpd_irq_event
[amdgpu/radeon]_resume_kms [amdgpu/radeon]_pmops_runtime_resume pci_pm_runtime_resume
vga_switcheroo_set_dynamic_switch vga_switcheroo_runtime_resume
...
...
...

[1]
http://unix.stackexchange.com/questions/269223/lightdm-fails-to-load-after-system-upgrade-in-arch-x64

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

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

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

 Attachment #124177|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

#2 lore raw
In reply to [email protected]

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

JohnDoe <[email protected]> changed:

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

            Summary|Kernel Hung when starting X |[amdgpu][tonga]Kernel Hung
                   |while detecting outputs     |when starting X while
                   |                            |detecting outputs
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=96278

--- Comment #1 from Alex Deucher <[email protected]> --- Does adding amdgpu.runpm=0 to the kernel command line in grub 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

#4 lore raw
In reply to [email protected]

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

--- Comment #2 from JohnDoe <[email protected]> ---
Yes, with that arg there are no hungs anymore. Are there patches for the power management I can test?

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

--- Comment #3 from Alex Deucher <[email protected]> --- Please try my drm-next-4.8-wip branch which contains a number of fixes for PX systems:
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.8-wip

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

JohnDoe <[email protected]> changed:

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

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

--- Comment #4 from JohnDoe <[email protected]> --- Fixed with 4.8rc1

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