Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 06:04:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212640] FreeBSD 10.3-RELEASE does not resume after suspend with specific options set in /boot/loader.conf
Message-ID:  <bug-212640-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212640

            Bug ID: 212640
           Summary: FreeBSD 10.3-RELEASE does not resume after suspend
                    with specific options set in /boot/loader.conf
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: vermaden@interia.pl
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Hi,

the hardware is laptop ThinkPad W530 with two graphics cards:
 - NVIDIA QUADRO K2000M
 - INTEL HD 4000 (i7-3630QM CPU)

When I set DISCRETE (nvidia) card to be used in BIOS and have these setting=
s in
/boot/loader.conf, then FreeBSD freezes on resume:

----------------------------------------
/boot/loader.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# BOOT OPTIONS | INTEL ONLY
hw.vga.textmode=3D0
kern.vty=3Dvt
kern.vt.kbd_reboot=3D1
kern.vt.fb.default_mode=3D"1920x1080"

# MODULES | INTEL ONLY
i915kms_load=3DYES

# MODULES | NVIDIA ONLY
nvidia_load=3DYES
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

... but when I disable them (#) the resume works like a charm:

----------------------------------------
/boot/loader.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# BOOT OPTIONS | INTEL ONLY
# hw.vga.textmode=3D0
# kern.vty=3Dvt
# kern.vt.kbd_reboot=3D1
# kern.vt.fb.default_mode=3D"1920x1080"

# MODULES | INTEL ONLY
# i915kms_load=3DYES

# MODULES | NVIDIA ONLY
nvidia_load=3DYES
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

... also, when I set graphics card to INTEL in BIOS (Integrated) and these
modules are loaded the suspend/resume works ok (in other words, loaded NVID=
IA
binary driver does not break anything):

----------------------------------------
/boot/loader.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# BOOT OPTIONS | INTEL ONLY
hw.vga.textmode=3D0
kern.vty=3Dvt
kern.vt.kbd_reboot=3D1
kern.vt.fb.default_mode=3D"1920x1080"

# MODULES | INTEL ONLY
i915kms_load=3DYES

# MODULES | NVIDIA ONLY
nvidia_load=3DYES
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

It just looks like the new VT breaks that suspend/resume but that is only a
wild guess.

Regards,
vermaden

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212640-8>