Bug 96278 - [amdgpu][tonga]Kernel Hung when starting X while detecting outputs
Summary: [amdgpu][tonga]Kernel Hung when starting X while detecting outputs
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-30 16:53 UTC by frederik
Modified: 2016-08-08 20:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
bad dmesg (120.75 KB, text/plain)
2016-05-30 16:53 UTC, frederik
no flags Details

Description frederik 2016-05-30 16:53:50 UTC
Created attachment 124177 [details]
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
Comment 1 Alex Deucher 2016-06-06 13:59:54 UTC
Does adding amdgpu.runpm=0 to the kernel command line in grub help?
Comment 2 frederik 2016-06-06 14:55:31 UTC
Yes, with that arg there are no hungs anymore. Are there patches for the power management I can test?
Comment 3 Alex Deucher 2016-06-06 15:04:11 UTC
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
Comment 4 frederik 2016-08-08 20:47:34 UTC
Fixed with 4.8rc1


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.