[Bug 253801] graphics/drm-fbsd13-kmod panic when resuming from sleep

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Jun 2021 16:48:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253801

Maxnix <maxnix.bsd@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxnix.bsd@gmail.com

--- Comment #15 from Maxnix <maxnix.bsd@gmail.com> ---
Hello all. I'd like to report my experience as well:

OS: FreeBSD 13.0-RELEASE
Grpahics: Intel HD Graphics 4600
Driver: Modesetting

Initially I experienced the crash of my Xorg session whenever there was my
conky+dzen2 bar running.

Investigating the problem I noticed that even suspending while having Firefox
running, or VLC playing (even paused) a video Xorg crashed.

The common factor among dzen Firefox and VLC seemed OpenGL, so I tried this
steps to test and workaround the problem:

1. Since I use a script to lock my session at suspend too (launched by
/etc/rc.suspend), I added an if statement that terminate dzen2 before
suspending if running. The script that locks my session launches it back after
the resume and unlock.

2. Disabled Firefox hardware acceleration.

3. Tried to suspend while VLC was playing a video using the XCB (NOT XCB-X11)
output.

This led me to successfull suspend/resume cycles so far, so OpenGL use by a
running program seems the culprit of the crash.

HTH

-- 
You are receiving this mail because:
You are the assignee for the bug.