blob: 4f1af8abaa2cfd44e8d0cb257f541d1c53965dc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
+++
title = "FreeBSD: Fixing Resume on ThinkPad X1 Extreme G2 due to integrated graphic card"
author = ["Michał Sapka"]
date = 2023-03-16T23:02:00+01:00
categories = ["bsd"]
draft = false
weight = 3005
primary_menu = "bsd-thinkpad"
abstract = "you need to load the driver"
[menu]
[menu.bsd-thinkpad]
weight = 3005
identifier = "freebsd-fixing-resume-on-thinkpad-x1-extreme-g2-due-to-integrated-graphic-card"
name = "Fixing resume due to Intel driver"
+++
**This applies to FreeBSD 13.1**
Recently I [posted](/2023/freebsd-on-thinkpad-x1-extreme-g2) about my problems with FreeBSD.
One of them was resume.
After installing FreeBSD, I was able to put my laptop to sleep via
```shell
acpiconf -s 3
```
And this worked fine.
However, I was not able to resume it back from sleep.
After pressing the power button laptop woke, but the screen was still black.
I could `reboot`, and it would work, so only the screen was the problem.
After asking about this on [FreeBSD Forums](https://forums.freebsd.org/threads/resume-on-thinkpad-x1-extreme-g2-ends-in-black-screen.88162/), [bsdduck](https://forums.freebsd.org/members/bsduck.61635/) and [smithi](https://forums.freebsd.org/members/smithi.71028/) pointed me to dedicated drivers for the integrated Intel GPU.
And it worked like a charm.
All I had to do was:
```shell
pkg install drm-kmod
sysrc -f /etc/rc.conf kld_list+=i915kms
reboot
```
(via [FreeBSD Wiki](https://wiki.freebsd.org/Graphics#Intel_Integrated_Graphics_.28aka_HD_Graphics.29)).
Now the computer can sleep and resume without any problems. At least when using [sleep mode 3](https://man.freebsd.org/cgi/man.cgi?acpiconf(8)).
The 4th doesn't work for me at all.
|