<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - System starts with LLVM driver sometimes"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56159">56159</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>System starts with LLVM driver sometimes
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cosimoc@gnome.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I have a laptop with a very fast SSD - on this machine sometimes (I'd say 1 out
of 5 boot attempts) it happens that the system starts up using the LLVM driver
instead of the Intel driver.
I asked Ray if he had any idea how this could happen, and he has a possible
explaination:
- logind is the component being responsible to set the right ACLs on the drm
device, by reading the uaccess tag, and it seems to check for it at startup and
on VT change
- it might happen that logind is pulled in very early in the boot process,
possibly before the drm device has been tagged at all
- under these circumstances, the ACLs won't be set (as there's no tag yet) and
as there's no VT switch, the drm device won't have the right permissions once X
starts, causing the fallback to LLVM
- this also seems to be consistent with the fact that it doesn't happen at
every boot, as the timings between different runs might differ
I have only seen the bug on my laptop with an SSD. Other machines I have with
rotating drives have never been affected.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>