Created attachment 340214 [details] Emerge Info With gentoo-sources-3.7.9, the nouveau kernel driver outputs the following error when resuming from suspend: "failed to idle channel 0xcccc0000". This leads to a X Server crash. On my machine, X restarts and I'm back at the login screen.
Created attachment 340216 [details] Dmesg output Dmesg output showing the nouveau error message during resume
Created attachment 340218 [details] Xorg logfile Xorg logfile showing a segfault caused by nouveau during resume
nouveau nastiness in 3.7. Can you try 3.7.10, which is actually the last 3.7 version. (eol)
Hi, sry for the late response. I recently tried kernel 3.7.10 and also the 3.8 branch. The problem is still present.
Launchpad bug #1097178 suggests that this has already been fixed upstream. If it is not too much trouble, would you build from nouveau git head master to see if the problem has been fixed in the latest upstream kernels? git://anongit.freedesktop.org/nouveau/linux-2.6
Mike, Richard: Do you remember this one from #gentoo-dev? ^^ http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=c684cef795cb5356ae7f6a7ad613946eef14265f Andreas: Could you try this patch on the latest gentoo-sources you have? cd /usr/src/linux wget http://cgit.freedesktop.org/nouveau/linux-2.6/patch/?id=c684cef795cb5356ae7f6a7ad613946eef14265f -O nouveau_suspend.patch patch -p1 < nouveau_suspend.patch
Thanks Tom, I will apply the patch and report back if it works. I already thought of building the kernel from nouveau git head master and see if that helps. If the patch doesn't work, i will try that too.
Ok, it seems like gentoo-sources-3.8.2 already has the patch applied. Just compiling the kernel ...
With gentoo-sources-3.2.8 (patch from Comment 6 already included), the "failed to idle channel ..." messages are gone, but my display remains black after resuming from suspend. No error messages in Xorg.log or dmesg, weird! I can switch from X to VT exactly once. When switching back to X, the screen remains black forever, not VT and no X. I think i will try nouveau git now.
I tried the latest nouveau-git kernel, but the issue still exists. Somehow suspend is broken on this machine with nouveau since 3.5 kernel series i think.
(In reply to comment #10) > I tried the latest nouveau-git kernel, but the issue still exists. Somehow > suspend is broken on this machine with nouveau since 3.5 kernel series i > think. Apart from a patch that fixed another issue for me related to a black display when starting X (we have the same family, NV50, so this may or may not result in a difference for you), I saw nothing specific to your case. You may try nouveau-git to get the last month of changes (includes above patch) to see if it has been fixed yet, otherwise I would suggest you to file a bug at https://bugs.freedesktop.org/ for them to look into it. Since you get no output, increasing the debug options for Nouveau in the kernel may be an option.
Please try a more recent kernel and their latest development kernel. Thank you in advance.