<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </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 - Wine game needs GLSL override for fullscreen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101145">101145</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wine game needs GLSL override for fullscreen
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wyrex@openmailbox.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=131437" name="attach_131437" title="bug">attachment 131437</a> <a href="attachment.cgi?id=131437&action=edit" title="bug">[details]</a></span>
bug

I have wine game that corrupts monitor after entering fullscreen. Windowed uses
GDI but fullscreen is DirectX. Overriding GL versions help as workaround.

MESA_GLSL_VERSION_OVERRIDE=110 (MUST be 110)
MESA_GL_VERSION_OVERRIDE=3.0 (must be <= 3.0)

This happens with softpipe and llvmpipe too and without override they show
black screen and output:

fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000
(using GL_RENDERER "Gallium 0.4 on softpipe").

Game enters fullscreen with something like IDirectDraw2::SetCooperativeLevel ->
IDirectDraw2::SetVideoMode.
Original bug: bugs.winehq.org/show_bug.cgi?id=41283.

Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380]
           Display Server: X.Org 1.19.3 driver: amdgpu Resolution:
<a href="mailto:1920x1080@60.00hz">1920x1080@60.00hz</a>, <a href="mailto:1920x1080@60.00hz">1920x1080@60.00hz</a>
           GLX Renderer: Gallium 0.4 on AMD TONGA (DRM 3.15.0 /
4.12.0-rc1-g2ea659a9ef48, LLVM 5.0.0)
           GLX Version: 3.0 Mesa 17.2.0-devel (git-1586768e74)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>