<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't print: "Note: Buggy applications may crash, if they do please report to vendor""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99715#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Don't print: "Note: Buggy applications may crash, if they do please report to vendor""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99715">bug 99715</a>
              from <span class="vcard"><a class="email" href="mailto:rjklindsay@hotmail.com" title="Rene Lindsay <rjklindsay@hotmail.com>"> <span class="fn">Rene Lindsay</span></a>
</span></b>
        <pre> > Maybe just detect DRI2 but not DRI3?

That might work, assuming discreet GPU's don't show up as running in DRI2 mode?
Do you know of a way to do that?

As I said, I enable DRI3 using the "/etc/X11/xorg.conf.d/20-intel.conf" file,
and I use nvidia-prime to switch between NVIDIA and Intel GPU's.

This works fine on my Desktop PC, although I also have to move the HDMI cable
to a different socket when switching GPUs.

However, on my laptop, the proprietary NVIDIA drivers will not work when DRI3
is enabled, and I just get a black screen. If I delete the
"/etc/X11/xorg.conf.d/20-intel.conf" file, to disable DRI3, the NVIDIA drivers
work fine again.

So, my worry is, will Mesa detect DRI2 when running on NVIDIA?
If you have some code for detecting DRI2, I'll be happy to test it on my setup.</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>