<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [LLVM 3.6 and 3.7 git] LLVM break opengl drivers"
   href="https://llvm.org/bugs/show_bug.cgi?id=23003">23003</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[LLVM 3.6 and 3.7 git] LLVM break opengl drivers
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-as
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>spupazza@hotmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I found out LLVM 3.6 might have some sort of regression breaking opengl with
radeonsi drivers at least.

I use genymotion (android emulator) which relies on virtualbox and make use of
opengl acceleration.
On 2 different machines with 2 different distros (ubuntu 14.10/15.04 and
manjaro 0.9 pre4) I had the same problem: as soon as LLVM 3.6 or 3.7git (the
latter with utopic when I added paulo dias ppa)
genymotion stop working (the screen of the vm disappear 1-2 seconds after the
machine gets started, and while the screen disappear the machine keeps running
in the background).

On the terminal I get this error:
Port 22468 will be used for OpenGL data connections
Unknown TCPCLI command 1003
LLVM ERROR: 'main' label emitted multiple times to assembly file

With LLVM 3.5 genymotion (with the same distros and machines) was working just
fine.
Another proof that the issue is with LLVM is that as to temporarily sort this
problem out, I installed the proprietary drivers (fgrlx) and the issue vanished
(since proprietary drivers do not make use of LLVM).

To reproduce the bug, you need a radeon vga (possibly one using the radeonsi
drivers so with GCN architecture) , install vitualbox and genymotion, Setup a
virtual device and having installed LLVM 3.6 or newer. Then start the device
you created.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>