<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 --- - [nv4e] [vdpau] causes hangs"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75464">75464</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[nv4e] [vdpau] causes hangs
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Component</th>
          <td>Driver/nouveau
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I saw this on IRC:

10:59 #nouveau: < mupuf> ok
11:00 #nouveau: < blackiner> imirkin: i know you were messing around a bit on
nv4x video decoding stuff a bit back, did you have any patches that would have
affected a nv43 recently?
11:00 #nouveau: < blackiner> just tried out arch on my other machine, any vdpau
video seems to freeze the machine on it
11:01 #nouveau: < blackiner> but xv works fine
11:01 #nouveau: < imirkin> blackiner: there is no vdpau support for nv4x. there
is xvmc support however.
11:01 #nouveau: < imirkin> blackiner: i do think that some distros recently
started including libvdpau_nouveau.so though
11:01 #nouveau: < imirkin> which is probably why you've just started seeing
issues
11:01 #nouveau: < blackiner> yeah it seems to install all the vdpau stuff by
default
11:02 #nouveau: < imirkin> it's probably the case that vdpau is somehow broken
for nv4x
11:02 #nouveau: < imirkin> there's definitely no video decoding support in
there
11:02 #nouveau: < blackiner> I wonder if there is some init function somewhere
where it should just tell vdpau: No, not possible, please go away
11:02 #nouveau: < imirkin> but the presentation layer probably tries to do some
timing thing
11:02 #nouveau: < imirkin> and i've seen the timer stuff be broken on nv4x
11:02 #nouveau: < imirkin> well, i added that for nv3x
11:03 #nouveau: < imirkin> (well, i added a requirement for NPOT textures) 

And I saw this in my dmesg with flash:

[14826.835439] nouveau E[  PGRAPH][0000:00:05.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[14826.835480] nouveau E[  PGRAPH][0000:00:05.0] ch 3 [0x00056000
plugin-containe[15953]] subc 7 class 0x4497 mthd 0x020
8 data 0x00000120
[14826.835832] nouveau E[  PGRAPH][0000:00:05.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[14826.836292] nouveau E[  PGRAPH][0000:00:05.0] ch 3 [0x00056000
plugin-containe[15953]] subc 7 class 0x4497 mthd 0x020
8 data 0x00000120
[14826.836355] nouveau E[  PGRAPH][0000:00:05.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[14826.836973] nouveau E[  PGRAPH][0000:00:05.0] ch 3 [0x00056000
plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120
[14826.837046] nouveau E[  PGRAPH][0000:00:05.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[14826.837607] nouveau E[  PGRAPH][0000:00:05.0] ch 3 [0x00056000
plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120
[14826.837724] nouveau E[  PGRAPH][0000:00:05.0]  ERROR nsource: DATA_ERROR
nstatus: BAD_ARGUMENT
[14826.838284] nouveau E[  PGRAPH][0000:00:05.0] ch 3 [0x00056000
plugin-containe[15953]] subc 7 class 0x4497 mthd 0x0208 data 0x00000120

I think this issue crashed my machine as I was opening something in Youtube.
The relevant output was this:

feb 24 13:39:00 Charlie kernel: nouveau E[plugin-containe[28001]] failed to
idle channel 0xcccc0000 [plugin-containe[2
feb 24 13:39:15 Charlie kernel: [sched_delayed] sched: RT throttling activated
feb 24 13:39:15 Charlie kernel: nouveau E[plugin-containe[28001]] failed to
idle channel 0xcccc0000 [plugin-containe[2
feb 24 13:42:18 Charlie kernel: nouveau E[  X[832]] failed to idle channel
0xcccc0000 [X[832]]
feb 24 13:42:18 Charlie kernel: nouveau E[  X[832]] failed to idle channel
0xcccc0000 [X[832]]</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>