[Bug 254472] graphics/drm-fbsd13-kmod Xorg crash on resume

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254472

--- Comment #9 from Maurizio <[email protected]> ---
(In reply to fred.ha11 from comment #8)
Thank you for testing the patch. 
Try this command:
$ grep -B16 ' rtsx0: Resume' /var/log/messages 

Apr 24 15:23:55 NomadBSD kernel: uhub0: detached
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested
pci_set_powerstate
Apr 24 15:23:55 NomadBSD kernel: pci0: failed to set ACPI power state D3 on
\_SB_.PCI0.VID_: AE_BAD_PARAMETER
Apr 24 15:23:55 NomadBSD kernel: pcib0: failed to set ACPI power state D2 on
\_SB_.PCI0: AE_BAD_PARAMETER
Apr 24 15:23:55 NomadBSD kernel: acpi0: cleared fixed power button status
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested
pci_set_powerstate
Apr 24 15:23:55 NomadBSD kernel: vgapci0: child drmn0 requested pci_enable_io
Apr 24 15:23:55 NomadBSD syslogd: last message repeated 1 times
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 15:23:55 NomadBSD kernel: flags=12 (locked), timeout=200
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 15:23:55 NomadBSD kernel: flags=12 (locked), timeout=2147483647
(forever)
Apr 24 15:23:55 NomadBSD kernel:
Apr 24 15:23:55 NomadBSD kernel: End of i915_gem_wait_for_idle() in 0 tick(s)
Apr 24 15:23:55 NomadBSD kernel: rtsx0: Resume
--
Apr 24 16:08:51 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 16:08:51 NomadBSD kernel: flags=12 (locked), timeout=200
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 16:08:51 NomadBSD kernel: drmn0: Resetting rcs0 for hang on rcs0
Apr 24 16:08:51 NomadBSD kernel: flags=12 (locked), timeout=2147483647
(forever)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: End of i915_gem_wait_for_idle() in 4136
tick(s)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Start of i915_gem_wait_for_idle()
Apr 24 16:08:51 NomadBSD kernel: flags=12 (locked), timeout=200
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: Calling wait_for_timelines()
Apr 24 16:08:51 NomadBSD kernel: flags=12 (locked), timeout=2147483647
(forever)
Apr 24 16:08:51 NomadBSD kernel:
Apr 24 16:08:51 NomadBSD kernel: End of i915_gem_wait_for_idle() in 0 tick(s)
Apr 24 16:08:51 NomadBSD kernel: rtsx0: Resume

At 15:23:55 suspend/resume worked, there is only one line of ‘End of
i915_gem_wait_for_idle() in 0 tick(s)’.
At 16:08:51 there was an error in the suspend/resume cycle: ‘drmn0: Resetting
rcs0 for hang on rcs0’ and the i915_gem_wait_for_idle function takes 4136
ticks. The function i915_gem_wait_for_idle is recalled without error. In the
messages log file there are two lines of the ‘End of i915_gem_wait_for_idle()
in N tick(s)’ message in the same second.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.