* [Bug 37669] New: [NVAC] problem when disabling external monitor
@ 2011-05-27 16:24 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
0 siblings, 1 reply; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-05-27 16:24 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
Summary: [NVAC] problem when disabling external monitor
Product: xorg
Version: unspecified
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
ReportedBy: a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
QAContact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
Created an attachment (id=47232)
--> (https://bugs.freedesktop.org/attachment.cgi?id=47232)
Dmesg after external monitor disabled
I have a macbook 5,1 with an NVAC card (02:00.0 VGA compatible controller:
nVidia Corporation C79 [GeForce 9400M] (rev b1))
When I unplug my external monitor (plugged through a mini display port -> dvi
adapter) my window manager tries to disable the external screen resulting in my
main screen flickering and being unusable (only the cursor moves).
Attached is the output of dmesg after it has happened (I was still able to
access the machine through ssh).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when disabling external monitor
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2011-12-06 19:11 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 19:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-06 19:11 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #47232|text/x-log |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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when disabling external monitor
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2011-12-06 19:11 ` [Bug 37669] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-06 19:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 19:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-06 19:44 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
--- Comment #1 from Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-12-06 11:44:37 PST ---
So I started looking deeper into this issue and it's probably somewhat
low-level as if I boot my computer into a console and load the nouveau driver
then unplug DP-1 the same flickering happens (but re-pluging the monitor on
DP-1 stops the flickering). I'll attach a demsg output with drm.debug=0x07
there's some interresting things specialy (I think) these lines :
checking generic (c0010000 640000) vs hw (c0000000 10000000)
and then
Dec 6 10:55:25 antoine-MacBook kernel: [ 15.878616] [drm] nouveau
0000:02:00.0: Register 0x00004028 not found in PLL limits table
Dec 6 10:55:25 antoine-MacBook kernel: [ 15.878622] [drm] nouveau
0000:02:00.0: Register 0x00004008 not found in PLL limits table
Dec 6 10:55:25 antoine-MacBook kernel: [ 15.878630] [drm] nouveau
0000:02:00.0: Register 0x00004030 not found in PLL limits table
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when disabling external monitor
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2011-12-06 19:11 ` [Bug 37669] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 19:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-06 19:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 20:51 ` [Bug 37669] [NVAC] problem when unplugging DP-1 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-06 19:47 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
--- Comment #2 from Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-12-06 11:47:24 PST ---
Created attachment 54156
--> https://bugs.freedesktop.org/attachment.cgi?id=54156
Dmesg with drm.debug=0x07 with several connect/disconnect
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when unplugging DP-1
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (2 preceding siblings ...)
2011-12-06 19:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-06 20:51 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-08 16:31 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-06 20:51 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[NVAC] problem when |[NVAC] problem when
|disabling external monitor |unplugging DP-1
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when unplugging DP-1
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (3 preceding siblings ...)
2011-12-06 20:51 ` [Bug 37669] [NVAC] problem when unplugging DP-1 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-08 16:31 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-15 15:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-08 16:31 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
--- Comment #3 from Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-12-08 08:31:34 PST ---
Created attachment 54243
--> https://bugs.freedesktop.org/attachment.cgi?id=54243
dmesg with drm.debug=15 and nouveau.reg_debug=0x200 1 unplug/replug
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when unplugging DP-1
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (4 preceding siblings ...)
2011-12-08 16:31 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-15 15:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-15 15:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-18 18:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-15 15:38 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
--- Comment #4 from Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-12-15 07:38:18 PST ---
Created attachment 54465
--> https://bugs.freedesktop.org/attachment.cgi?id=54465
vbios
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when unplugging DP-1
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (5 preceding siblings ...)
2011-12-15 15:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2011-12-15 15:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-18 18:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2011-12-15 15:47 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
https://bugs.freedesktop.org/show_bug.cgi?id=37669
--- Comment #5 from Antoine Reversat <a.reversat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2011-12-15 07:47:52 PST ---
So I've gotten a bit further.
I tracked down the code that triggers the issue : it's this part of nv50_sor.c
:
if (!nv_wait(dev, NV50_PDISPLAY_SOR_DPMS_CTRL(or),
NV50_PDISPLAY_SOR_DPMS_CTRL_PENDING, 0)) {
NV_ERROR(dev, "timeout: SOR_DPMS_CTRL_PENDING(%d) == 0\n", or);
NV_ERROR(dev, "SOR_DPMS_CTRL(%d) = 0x%08x\n", or,
nv_rd32(dev, NV50_PDISPLAY_SOR_DPMS_CTRL(or)));
}
val = nv_rd32(dev, NV50_PDISPLAY_SOR_DPMS_CTRL(or));
if (mode == DRM_MODE_DPMS_ON)
val |= NV50_PDISPLAY_SOR_DPMS_CTRL_ON;
else
val &= ~NV50_PDISPLAY_SOR_DPMS_CTRL_ON;
nv_wr32(dev, NV50_PDISPLAY_SOR_DPMS_CTRL(or), val |
NV50_PDISPLAY_SOR_DPMS_CTRL_PENDING);
if (!nv_wait(dev, NV50_PDISPLAY_SOR_DPMS_STATE(or),
NV50_PDISPLAY_SOR_DPMS_STATE_WAIT, 0)) {
NV_ERROR(dev, "timeout: SOR_DPMS_STATE_WAIT(%d) == 0\n", or);
NV_ERROR(dev, "SOR_DPMS_STATE(%d) = 0x%08x\n", or,
nv_rd32(dev, NV50_PDISPLAY_SOR_DPMS_STATE(or)));
}
If I add an if to skip the code if the sor is going to DPMS off and the encoder
type is tmds then the bug doesn't happen anymore. I don't understand how this
affects sor0 (which the LVDS output is using) as the code seems pretty sane.
I also noted something and am not sure whether it's correct or not. My flat
panel is connected through a DP-DVI adapter but nv_encoder->dcb->type is
OUTPUT_TMDS not OUTPUT_DP. Is this due to the fact that it's "DVI over DP" ? Or
is this not normal ?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 37669] [NVAC] problem when unplugging DP-1
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
` (6 preceding siblings ...)
2011-12-15 15:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-08-18 18:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-08-18 18:10 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1289 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=37669
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
It appears that this bug report has laid dormant for quite a while. Sorry we
haven't gotten to it. Since we fix bugs all the time, chances are pretty good
that your issue has been fixed with the latest software. Please give it a shot.
(Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git
versions.) If upgrading to the latest isn't an option for you, your distro's
bugzilla is probably the right destination for your bug report.
In an effort to clean up our bug list, we're pre-emptively closing all bugs
that haven't seen updates since 2011. If the original issue remains, please
make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/
for what we need to see, and re-open this one.
Thanks,
The Nouveau Team
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2716 bytes --]
[-- Attachment #2: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-08-18 18:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-27 16:24 [Bug 37669] New: [NVAC] problem when disabling external monitor bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
[not found] ` <bug-37669-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2011-12-06 19:11 ` [Bug 37669] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 19:44 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 19:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-06 20:51 ` [Bug 37669] [NVAC] problem when unplugging DP-1 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-08 16:31 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-15 15:38 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-12-15 15:47 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-18 18:10 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.