[bionic] drm/i915: softpin broken, needs to be fixed for 32bit mesa
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mesa |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Timo Aaltonen | ||
Cosmic |
Won't Fix
|
Medium
|
Unassigned | ||
mesa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Timo Aaltonen | ||
Cosmic |
Fix Released
|
Medium
|
Timo Aaltonen |
Bug Description
[Impact]
Several schools reported black screens after normally updating their Ubuntu boxes from 18.0.5-
Downgrading mesa fixes the problem.
lspci: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06) Subsystem: ASUSTeK Computer Inc. HD Graphics 530 [1043:8694] Kernel modules: i915
Unfortunately I can't find a lot of useful information, here are some bits:
* systemctl --failed says "gpu-manager" and "lightdm" have failed
* Xorg.log is clean: https:/
* dmesg too: https:/
* It happens on lightdm/MATE, I don't know about Ubuntu GNOME.
* If one runs `xinit` from ssh, it fails with:
i965: Failed to submit batchbuffer: Invalid argument
This is caused by mesa assuming that soft-pinning on GEN8+ is working since kernel 4.5, but in fact this issue wasn't fixed until 4.19.3. So a proper fix would be to backport commits from 4.19.3/4.20 to fix GTT sizes/pin flags, but that's left for future.
[Test case]
install fixed mesa or kernel, check that the regression is fixed
[Regression potential]
mesa: shouldn't be any, it just reverts the change to always soft-pin
(TODO kernel: adds commits from upstream stable, which have been well tested upstream by now)
CVE References
Changed in mesa (Ubuntu Bionic): | |
assignee: | nobody → Timo Aaltonen (tjaalton) |
Changed in mesa (Ubuntu Cosmic): | |
assignee: | nobody → Timo Aaltonen (tjaalton) |
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: | added: bjf-tracking |
Changed in mesa: | |
status: | Confirmed → Fix Released |
Changed in mesa (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in mesa (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in mesa (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in mesa (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
tags: |
added: verification-done verification-done-bionic verification-done-cosmic removed: verification-needed verification-needed-bionic verification-needed-cosmic |
Changed in linux (Ubuntu Cosmic): | |
status: | New → Won't Fix |
summary: |
- Black screen on skylake after 18.0 => 18.2 update + [bionic] drm/i915: softpin broken, needs to be fixed for 32bit mesa |
Changed in mesa (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in mesa (Ubuntu Bionic): | |
status: | Fix Committed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Fix Released → Fix Committed |
Several schools reported black screens after normally updating their Ubuntu boxes from 18.0.5- 0ubuntu0~ 18.04.1 to 18.2.2- 0ubuntu1~ 18.04.1.
Downgrading mesa fixes the problem.
lspci: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06) Subsystem: ASUSTeK Computer Inc. HD Graphics 530 [1043:8694] Kernel modules: i915
Unfortunately I can't find a lot of useful information, here are some bits: /termbin. com/6l2b /termbin. com/ip4e
* systemctl --failed says "gpu-manager" and "lightdm" have failed
* Xorg.log is clean: https:/
* dmesg too: https:/
* It happens on lightdm/MATE, I don't know about Ubuntu GNOME.
* If one runs `xinit` from ssh, it fails with:
i965: Failed to submit batchbuffer: Invalid argument