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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #1 from [email protected] 2011-08-24 00:17:08 PDT --- Created an attachment (id=50519)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50519)
emerge --info output
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #2 from [email protected] 2011-08-24 00:18:06 PDT --- Created an attachment (id=50520)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50520)
Xorg.0.log
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #3 from [email protected] 2011-08-24 00:18:50 PDT --- Created an attachment (id=50521)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50521)
dmesg after kernel oops
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #4 from [email protected] 2011-08-24 00:19:26 PDT --- Created an attachment (id=50522)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50522)
glxinfo output
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #5 from [email protected] 2011-08-24 00:19:51 PDT --- Created an attachment (id=50523)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50523)
lsmod
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #6 from [email protected] 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
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #7 from [email protected] 2011-08-24 00:21:35 PDT --- Created an attachment (id=50525)
--> (https://bugs.freedesktop.org/attachment.cgi?id=50525)/var/log/messages
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50518|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50519|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50521|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50522|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50523|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50524|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50525|application/octet-stream |text/plain
mime type| |Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #8 from [email protected] 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #9 from Emil Velikov <[email protected]> 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
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #10 from [email protected] 2011-08-24 23:29:27 PDT --- (In reply to comment #9)
Quoted 1 line
Created an attachment (id=50547)
View: https://bugs.freedesktop.org/attachment.cgi?id=50547
Review: https://bugs.freedesktop.org/review?bug=40336&attachment=50547
Quoted 6 lines
fix
Hi Marco
Thanks for the comprehensive bug report
Quoted 8 lines
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
Hi 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.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
Emil Velikov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #11 from Emil Velikov <[email protected]> 2011-08-26 10:50:53 PDT --- Thanks for testing
Marking as FIXED
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 40336] Nouveau: Kernel oops when unplugging external monitor
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=40336
--- Comment #12 from Florian Mickler <[email protected]> 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 <[email protected]> Date: Thu Aug 25 21:36:51 2011 +0100
drm/nv04/crtc: Bail out if FB is not bound to crtc
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.