<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-text-html" lang="x-western"> <br>
      I apologize if this is a repost.  My impression is that this
      didn't get through the first time.<br>
      <br>
      I am having a problem with suspend and resume.  I suspect that
      this is a nouveau issue but I don't know this for sure. <br>
      <br>
      I have a Thinkpad W520 and it has both an NVidia card (lshw
      reports GF108GLM [Quadro 1000M]) and an Intel integrated graphics
      controller.  I can switch modes in the bios and I do this on
      occasion because they have different advantages.  I am running
      Xubuntu 13.10 and I use the nouveau drivers with the NVidia card.
      <br>
      <br>
      My problem only happens when I set the graphics card to use NVidia
      and this is why I suspect that this might be a nouveau problem. 
      If I suspend the machine and resume it then at first glance,
      everything seems ok.  My X session generally looks fine and most
      applications still work.  However after the suspend and resume,
      three of my applications (quakespasm, mathematica and virtualbox)
      no longer work.  Two of them (mathematica and virtualbox) cause X
      system to freeze and I am not even able to go to a different
      console window with C-Alt-F1.  After some time X will shutdown and
      restart.  After X restarts, I am fine again as long as I don't use
      the three programs. <br>
      <br>
      The problem with quake is a bit different.  X is still frozen but
      I can go to a different console with C-Alt-F1 and kill quake from
      there.  After killing quake X is unstuck and I can continue doing
      things. <br>
      <br>
      In the period while X is frozen and crashing there are some
      messages that show up in the syslog which say:<br>
      <br>
      <pre>      nouveau E[Xorg[1680]] failed to idle channel 0xcccc0001 [Xorg[1680]]</pre>
      <br>
      I can replicate this problem fairly consistently with mathematica
      and I have also replicated this on a fresh xubuntu install. <br>
      <br>
      I don't know enough about Linux to know what additional
      information to post.   I put some logs on the web page here:<br>
      <br>
      <pre>     <a class="moz-txt-link-freetext" href="http://mousey.synology.me/2013-12-23-logs">http://mousey.synology.me/2013-12-23-logs</a>
</pre>
      <br>
      The last messages in the Xorg.0.log look like this:<br>
      <blockquote>
        <pre>[  1053.741] nouveau_exa_upload_to_screen:384 - falling back to memcpy ignores tiling
[  1068.740] nouveau_exa_download_from_screen:299 - falling back to memcpy ignores tiling
[  1068.740] (EE) 
[  1068.740] (EE) Backtrace:
[  1068.740] (EE) 0: /usr/bin/X (xorg_backtrace+0x3d) [0x7ffe727fb02d]
[  1068.740] (EE) 1: /usr/bin/X (0x7ffe72659000+0x1a5d99) [0x7ffe727fed99]
[  1068.741] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7ffe71759000+0xfbb0) [0x7ffe71768bb0]
[  1068.741] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (0x7ffe70373000+0x14f559) [0x7ffe704c2559]
[  1068.741] (EE) 4: /usr/lib/xorg/modules/libexa.so (0x7ffe6b696000+0x53d6) [0x7ffe6b69b3d6]
[  1068.741] (EE) 5: /usr/lib/xorg/modules/libexa.so (0x7ffe6b696000+0x5893) [0x7ffe6b69b893]
[  1068.741] (EE) 6: /usr/lib/xorg/modules/libexa.so (0x7ffe6b696000+0x7f12) [0x7ffe6b69df12]
[  1068.741] (EE) 7: /usr/lib/xorg/modules/libexa.so (0x7ffe6b696000+0x10222) [0x7ffe6b6a6222]
[  1068.741] (EE) 8: /usr/lib/xorg/modules/libexa.so (0x7ffe6b696000+0x8599) [0x7ffe6b69e599]
[  1068.741] (EE) 9: /usr/bin/X (0x7ffe72659000+0x51f59) [0x7ffe726aaf59]
[  1068.741] (EE) 10: /usr/bin/X (0x7ffe72659000+0x5500e) [0x7ffe726ae00e]
[  1068.741] (EE) 11: /usr/bin/X (0x7ffe72659000+0x4456a) [0x7ffe7269d56a]
[  1068.741] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7ffe70394de5]
[  1068.742] (EE) 13: /usr/bin/X (0x7ffe72659000+0x448af) [0x7ffe7269d8af]
[  1068.742] (EE) 
[  1068.742] (EE) Segmentation fault at address 0x1a8
[  1068.742] (EE) 
Fatal server error:
[  1068.742] (EE) Caught signal 11 (Segmentation fault). Server aborting
[  1068.742] (EE) 
[  1068.742] (EE) 
Please consult the The X.Org Foundation support 
         at <a class="moz-txt-link-freetext" href="http://wiki.x.org">http://wiki.x.org</a>
 for help. 
[  1068.742] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1068.742] (EE) 
[  1068.742] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1068.742] (II) NOUVEAU(0): NVLeaveVT is called.
[  1068.782] (EE) Server terminated with error (1). Closing log file.
</pre>
      </blockquote>
      <br>
      Is there any advice you can give on this?  Is this a known
      problem? <br>
      <br>
      Thanks much, <br>
      <br>
      -Timothy<br>
      <br>
    </div>
  </body>
</html>