xenial: invalid opcode when using llvmpipe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Undecided
|
Unassigned | ||
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
System76 |
Fix Released
|
Critical
|
Jason Gerard DeRose | ||
llvm-toolchain-3.8 (Ubuntu) |
Fix Released
|
Critical
|
Timo Aaltonen | ||
Xenial |
Fix Released
|
Critical
|
Timo Aaltonen |
Bug Description
[Description updated to reflect state of 16.04 release ISO]
== In summary ==
If you have an Intel Skylake (6th gen) CPU and an NVIDIA GPU (or possibly other GPUs that likewise require use of the llvmpipe opengl software fallback), a work-around is needed to install Ubuntu 16.04 desktop.
To work-around this, you'll need to:
1) Choose "Install Ubuntu" in the pre-boot menu (rather than "Try Ubuntu without installing")
2) Check "Download updates while installing Ubuntu"
** Note: "Download updates while installing Ubuntu" doesn't currently seem to be working. If after installing 16.04 on effected Skylake hardware you find that Unity/Compiz is broken, switch to a VT with Control+Alt+F1, login, and then run:
sudo apt-get update
sudo apt-get dist-upgrade
You should see the `libllvm3.8` package get updated. After a reboot, Unity/Compiz should be working.
== In detail ==
The Ubuntu 16.04 desktop ISOs include libllvm3.8 1:3.8-2ubuntu1, which has a bug that results in invalid JIT code generation when using the mesa llvmpipe opengl software fallback on Skylake CPUs.
When you encounter this bug, Unity/Compiz will fail to start, and you'll see something like this in dmesg:
[ 2092.557913] traps: compiz[10155] trap invalid opcode ip:7efc940030d4 sp:7ffccd914ea0 error:0
libllvm3.8 1:3.8-2ubuntu3 fixes this issue, but the fix did not make it onto the 16.04 release ISOs. It will be included on the 16.04.1 ISOs.
description: | updated |
Changed in system76: | |
status: | New → Triaged |
assignee: | nobody → Jason Gerard DeRose (jderose) |
importance: | Undecided → Critical |
description: | updated |
affects: | mesa (Ubuntu) → oem-priority |
description: | updated |
description: | updated |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
Changed in oem-priority: | |
status: | New → Fix Committed |
Changed in llvm-toolchain-3.8 (Ubuntu): | |
importance: | Undecided → Critical |
Changed in llvm-toolchain-3.8 (Ubuntu Xenial): | |
importance: | Undecided → Critical |
description: | updated |
Changed in system76: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
Changed in oem-priority: | |
status: | Fix Committed → Fix Released |
Changed in mesa (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
Changed in mesa (Ubuntu): | |
status: | Confirmed → Invalid |
no longer affects: | mesa (Ubuntu Xenial) |
no longer affects: | mesa (Ubuntu) |
moving to mesa until it's better known, might be triggered by llvm 3.8 and related to bug #1553174