<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 --- - UVD acceleration does not properly detect kernel support"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63714">63714</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>UVD acceleration does not properly detect kernel support
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ryszardzonk@yahoo.com
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=78220" name="attach_78220" title="udv_fix.patch">attachment 78220</a> <a href="attachment.cgi?id=78220&action=edit" title="udv_fix.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=63714&attachment=78220'>[review]</a>
udv_fix.patch

Hardware: AMD E-350
00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI
Wrestler [Radeon HD 6310]

1)    Kernel 3.9.0-rc7 + uvd v3 patches  (Gentoo self compiled)
2)    Libdrm-2.4.44
3)    Mesa master git:     e87015f5089a2c4a99e0288e1adeeabb5a7ca7e3
4)    Xorg-server-1.13.4
5)    ddx: xf86-video-ati git: 6e74aacc5e5da3b51744153dad1645caa6ea4ce3

I have been able to use UVD acceleration when it first appeared using mesa v2
of UVD code, but from the time it has been introduced in the mesa mainline with
v5 it does not work anymore. I believe it has to do with mesa not properly
detecting kernel support "[    1.638460] [drm] UVD initialized successfully."
and reverting to the vdpau support in shaders. Could it be that it requires
some kernel option I am missing?

As I have been trying to find exact reason I revered some changes that has been
introduced in mesa after v2 and it works again. I am not sure if all of those
are needed or which change in particular by itself would be enough but any way
it gets it working again so it is in there somewhere</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>