bugzilla-daemon at freedesktop.org
2011-Aug-24 07:16 UTC
[Nouveau] [Bug 40336] New: Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 Summary: Nouveau: Kernel oops when unplugging external monitor Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: marco at lusi.uni-sb.de QAContact: xorg-team at lists.x.org Created an attachment (id=50518) --> (https://bugs.freedesktop.org/attachment.cgi?id=50518) lspci Hi everybody. I encountered a bug that is kind of annoying. It is my first bug report, so please be patient. ;) When I use an external monitor and either (a) just unplug the cable or (b) change the xrandr settings and use ctrl-alt f1 to get a terminal the screen stays black. Fortunately, I could save the log files with the help of a ssh session. I use a GeForce Go 7300. The command sequence is the following: * To use the monitor: xrandr --output VGA-1 --auto --right-of LVDS-1 * To deactivate the monitor: xrandr --output VGA-1 --off The problems also occurs when I use a much smaller monitor. I attached all the log files (dmesg, /var/log/messages, kernel configs ...). Because I am abroad and this computer is my only way to work here, I try to avoid using the current git HEAD of nouveau. # uname -a Linux samson 3.0.1-gentoo #1 SMP Fri Aug 12 09:59:57 IDT 2011 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux I use mesa-7.11, libdrm-2.4.26, and xf86-video-nouveau-0.0.16_pre20110801, xorg-server-1.10.2 I am very eager to help fixing this bug. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:17 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #1 from marco at lusi.uni-sb.de 2011-08-24 00:17:08 PDT --- Created an attachment (id=50519) --> (https://bugs.freedesktop.org/attachment.cgi?id=50519) emerge --info output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:18 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #2 from marco at lusi.uni-sb.de 2011-08-24 00:18:06 PDT --- Created an attachment (id=50520) --> (https://bugs.freedesktop.org/attachment.cgi?id=50520) Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:18 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #3 from marco at lusi.uni-sb.de 2011-08-24 00:18:50 PDT --- Created an attachment (id=50521) --> (https://bugs.freedesktop.org/attachment.cgi?id=50521) dmesg after kernel oops -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:19 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #4 from marco at lusi.uni-sb.de 2011-08-24 00:19:26 PDT --- Created an attachment (id=50522) --> (https://bugs.freedesktop.org/attachment.cgi?id=50522) glxinfo output -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:19 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #5 from marco at lusi.uni-sb.de 2011-08-24 00:19:51 PDT --- Created an attachment (id=50523) --> (https://bugs.freedesktop.org/attachment.cgi?id=50523) lsmod -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:20 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #6 from marco at lusi.uni-sb.de 2011-08-24 00:20:40 PDT --- Created an attachment (id=50524) --> (https://bugs.freedesktop.org/attachment.cgi?id=50524) xrandr verbose output before unplugging monitor -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:21 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #7 from marco at lusi.uni-sb.de 2011-08-24 00:21:35 PDT --- Created an attachment (id=50525) --> (https://bugs.freedesktop.org/attachment.cgi?id=50525) /var/log/messages -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:23 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50518|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:24 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50519|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:24 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50521|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:24 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50522|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:25 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50523|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:25 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50524|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:25 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 marco at lusi.uni-sb.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #50525|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 07:47 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #8 from marco at lusi.uni-sb.de 2011-08-24 00:47:18 PDT --- I should mention that I use suspend2ram from time to time. But it seems that this bug also occur after a reboot without suspend2ram involved. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-24 21:36 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #9 from Emil Velikov <emil.l.velikov at gmail.com> 2011-08-24 14:36:37 PDT --- Created an attachment (id=50547) View: https://bugs.freedesktop.org/attachment.cgi?id=50547 Review: https://bugs.freedesktop.org/review?bug=40336&attachment=50547 fix Hi Marco Thanks for the comprehensive bug report Regarding your issue - I believe it's similar to bug 40005 Although in your case the nv04 codepath has been used Can you please try the patch provided Cheers Emil -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-25 06:29 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #10 from marco at lusi.uni-sb.de 2011-08-24 23:29:27 PDT --- (In reply to comment #9)> Created an attachment (id=50547)View: https://bugs.freedesktop.org/attachment.cgi?id=50547 Review: https://bugs.freedesktop.org/review?bug=40336&attachment=50547> fix > > Hi Marco > > Thanks for the comprehensive bug report > > Regarding your issue - I believe it's similar to bug 40005 > > Although in your case the nv04 codepath has been used > > Can you please try the patch provided > > Cheers > EmilHi Emil, it worked!! Thank you very much for your work. I am very satisfied with nouveau. I just have one bug on my list. Unfortunately, it is very hard to trigger this bug. It happens sometimes with mplayer2, but not mplayer. And it is somehow connected to a huge number of messages like (EE) NOUVEAU(0): [DRI2] DRI2SwapBuffers: drawable has no back or front? I will open a new bug if I have more reliable information and maybe log files. Can be marked as fixed. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Aug-26 17:50 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 Emil Velikov <emil.l.velikov at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #11 from Emil Velikov <emil.l.velikov at gmail.com> 2011-08-26 10:50:53 PDT --- Thanks for testing Marking as FIXED -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-06 12:50 UTC
[Nouveau] [Bug 40336] Nouveau: Kernel oops when unplugging external monitor
https://bugs.freedesktop.org/show_bug.cgi?id=40336 --- Comment #12 from Florian Mickler <florian at mickler.org> 2011-10-06 05:50:22 PDT --- A patch referencing this bug report has been merged in Linux v3.1-rc6: commit 0e83bb4eee1c504ab98367b4f7d1bc337ab213d2 Author: Emil Velikov <emil.l.velikov at gmail.com> Date: Thu Aug 25 21:36:51 2011 +0100 drm/nv04/crtc: Bail out if FB is not bound to crtc -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.