<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 - `override_redirect` windows are not visible on amdgpu"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109207">109207</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>`override_redirect` windows are not visible on amdgpu
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Driver/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>wacossusca34@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>`InputOutput` windows with the `override_redirect` flag set in the
`XSetWindowAttributes` structure, alongside the `CWOverrideRedirect` mask set
when calling `XCreateWindow` should display a window after mapping (parent to
root window).

This is not the case on amdgpu, the window receives a single
`VisibilityFullyObscured` event and is never seen. The `map_state` attribute is
always `IsViewable`, raising the window has no effect, focusing the window
grabs input focus but does not show the window.

All other drivers behave accordingly here by providing a visible window. This
flag is essential for allowing certain window behavior independent of an active
window manager, including an application I maintain.

Affected system info:

$ pacman -Ss xorg-server
extra/xorg-server 1.20.3-1 (xorg) [installed]
    Xorg X server
...
$ pacman -Ss amdgpu
extra/xf86-video-amdgpu 18.1.0-1 (xorg-drivers) [installed]
    X.org amdgpu video driver
$ glxinfo | grep "renderer string"
OpenGL renderer string: Radeon RX 560 Series (POLARIS11, DRM 3.27.0,
4.19.2-arch1-1-ARCH, LLVM 7.0.0)

Tested with nouveau, nvidia, intel, llvmpipe to assert that the behavior is
consistent. Feel free to ask for additional details.</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>