Skip to contentSkip to conversation

NVAC "No Signal"

PATCH poma 7 participants 21 messages Oct 18, 2016 – Jan 20, 2017 17 messages not in the archive

Subsystems (4)
lore
Share & tools
lore

poma

author
#0 lore raw

Fixes "No Signal" via HDMI from NVIDIA Corporation ION VGA (rev b1)

Ref.
"drm/nouveau/disp/g94: implement workaround for dvi issue on fx380"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a4bd8a

The last working Fedora kernel 4.8.0-0.rc0.git3.1.fc25

Patched and tested with:

$ modinfo -n nouveau
/lib/modules/4.8.2-300.fc25.x86_64/updates/nouveau.ko
---
 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c +2 -1
index fbb8c7d..c9e40e7 100644
@@ -434,7 +434,8 @@ nv50_disp_dptmds_war(struct nvkm_device *device)
 	case 0x96:
 	case 0x98:
 	case 0xaa:
-	case 0xac:
+/* NVIDIA MCP79/MCP7A "No Signal" */
+/*	case 0xac:                */
 		return true;
 	default:
 		break;
Signature · 5 lines
2.7.4
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1de93d48-bc1c-bab4-11c4-395bfdfba7bb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

how sure are you, that this is needed for _every_ nvac?

2016-10-18 5:55 GMT+02:00 poma <[email protected]>:

Quoted 32 lines

Fixes "No Signal" via HDMI from NVIDIA Corporation ION VGA (rev b1)

Ref.
"drm/nouveau/disp/g94: implement workaround for dvi issue on fx380"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a4bd8a

The last working Fedora kernel 4.8.0-0.rc0.git3.1.fc25

Patched and tested with:

$ modinfo -n nouveau
/lib/modules/4.8.2-300.fc25.x86_64/updates/nouveau.ko
---
 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c +2 -2
index fbb8c7d..c9e40e7 100644
@@ -434,7 +434,8 @@ nv50_disp_dptmds_war(struct nvkm_device *device)
        case 0x96:
        case 0x98:
        case 0xaa:
-       case 0xac:
+/* NVIDIA MCP79/MCP7A "No Signal" */
+/*     case 0xac:                */
                return true;
        default:
                break;
--
Quoted 5 lines

2.7.4
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAEXux-ZHdmop1c8F3FGRzAa_otwVjHUsT7OCVg6ObP_dg-Pcdw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#4 lore raw
Quoted 2 lines · Karol Herbst

how sure are you, that this is needed for _every_ nvac?

Thank you for asking.

If you consider, as relevant,
referring to the original commit:
"drm/nouveau/disp/g94: implement workaround for dvi issue on fx380"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a4bd8a
<quote>
Fixes the second DVI output on Quadro FX380.
Thanks to NVIDIA for providing the details on the full workaround.

[...]
+ switch (device->chipset) {
+ case 0x94:
+ case 0x96:
+ case 0x98:
+ case 0xaa:
+ case 0xac:
+ return true;
[...]
</quote>

and to Quadro FX380 as defined:

1. https://nouveau.freedesktop.org/wiki/CodeNames/#NV50
NV96 (G96) ...

2. https://en.wikipedia.org/wiki/Nvidia_Quadro
G96 ... GeForce 9400 based

3. https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units#Quadro_FX_.28x800.29_series
G96 ...

The right question would be,
for you Karol, Ben and perhaps the ones from the NVIDIA - those to which Ben refers,

whether device->chipset:
+ case 0x94:
+ case 0x98:
+ case 0xaa:
+ case 0xac:
are redundant, in the first place?

Moreover, even if case 0x96 applies only,
how sure are -you-, that this is needed for _every_ nv96?

And given that I am here only the user, who is only caring for my hardware, I can only appreciate your sense of humor. ;)

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 90c3d7fc-16c9-bc81-8812-a9a1e86415dc-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#6 lore raw

well, I just don't want that this fix breaks the same thing for other users, that's why I am asking.

2016-10-18 13:56 GMT+02:00 poma <[email protected]>:

Quoted 47 lines · Karol Herbst
Quoted 2 lines

how sure are you, that this is needed for _every_ nvac?

Thank you for asking.

If you consider, as relevant,
referring to the original commit:
"drm/nouveau/disp/g94: implement workaround for dvi issue on fx380"
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a4bd8a
<quote>
Fixes the second DVI output on Quadro FX380.
Thanks to NVIDIA for providing the details on the full workaround.

[...]

(quoted diff) +7 -0
+       switch (device->chipset) {
+       case 0x94:
+       case 0x96:
+       case 0x98:
+       case 0xaa:
+       case 0xac:
+               return true;
[...]

</quote>

and to Quadro FX380 as defined:

1. https://nouveau.freedesktop.org/wiki/CodeNames/#NV50
NV96 (G96) ...

2. https://en.wikipedia.org/wiki/Nvidia_Quadro
G96 ... GeForce 9400 based

3. https://en.wikipedia.org/wiki/List_of_Nvidia_graphics_processing_units#Quadro_FX_.28x800.29_series
G96 ...

The right question would be,
for you Karol, Ben and perhaps the ones from the NVIDIA - those to which Ben refers,

whether device->chipset:

(quoted diff) +4 -0
+       case 0x94:
+       case 0x98:
+       case 0xaa:
+       case 0xac:

are redundant, in the first place?

Quoted 8 lines

Moreover, even if case 0x96 applies only,
how sure are -you-, that this is needed for _every_ nv96?

And given that I am here only the user, who is only caring for my hardware, I can only appreciate your sense of humor. ;)

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAEXux-Zr9SaRgSoVGCJKGO59CNYqq1MEwTo1ib23dCD+rxebjw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#8 lore raw
Quoted 3 lines · Karol Herbst

well, I just don't want that this fix breaks the same thing for other users, that's why I am asking.

Affected device ID:
https://github.com/skeggsb/nouveau/blob/master/drm/nouveau/nvkm/engine/device/pci.c#L1229
can it be excluded from device->chipset case 0xac ?

Care to create a patch?
I'll test it.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1f02c18b-e472-e3bc-9302-646d20e59d46-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#10 lore raw

2016-10-19 16:47 GMT+02:00 poma <[email protected]>:

Quoted 5 lines · Karol Herbst
Quoted 3 lines

well, I just don't want that this fix breaks the same thing for other users, that's why I am asking.

Quoted 8 lines

Affected device ID:
https://github.com/skeggsb/nouveau/blob/master/drm/nouveau/nvkm/engine/device/pci.c#L1229
can it be excluded from device->chipset case 0xac ?

Care to create a patch?
I'll test it.

You don't get why I try to say. We have to actually find out when to apply this workaround, not to create some silly whitelist/blacklist. It's the last option, we never want to actually use.

And even if we would have to create such lists, who tells us, that if affects every GPU with your device id? Usually quirks are applied depending on the sub-vendor-id and sub-device-id if actually required.

In the end we need something like this: If byte X in table Y is set in the vbios or if bits A-B in reg Z in the MMIO space are set to whatever, we have to apply that workaround.

In the end we should also wait until Ben replies, because he might know the exact reasons why this workaround was actually needed.

We might have a GPU with the same chipset like yours and we might be able to verify the issue
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): CAEXux-a=F+AAr--rf8Dk_Cekcfk7yFF49mK4tW6MH4Xv=-2puA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

author
#12 lore raw
Quoted 4 lines · Karol Herbst

You don't get why I try to say. We have to actually find out when to apply this workaround, not to create some silly whitelist/blacklist. It's the last option, we never want to actually use.

Well if you do not say, who can understand!? :)
Besides, you can mock with "silly" whitelist/blacklist", however there is nothing wrong with the method as such, it is used practically everywhere.

Quoted 11 lines

And even if we would have to create such lists, who tells us, that if affects every GPU with your device id? Usually quirks are applied depending on the sub-vendor-id and sub-device-id if actually required.

In the end we need something like this: If byte X in table Y is set in the vbios or if bits A-B in reg Z in the MMIO space are set to whatever, we have to apply that workaround.

In the end we should also wait until Ben replies, because he might know the exact reasons why this workaround was actually needed.

If you eager to leave it broken even more than three months that have already been passed since the original commit ...

Quoted 3 lines

We might have a GPU with the same chipset like yours and we might be able to verify the issue

Ah, I see.
You do not have confidence in my test results, good to know.

Oh! Carol

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 07fa54e9-1a6f-de75-52ee-cc8aee96a541-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#14 lore raw

Hello,

Quoted 22 lines · poma
Quoted 4 lines · Karol Herbst

You don't get why I try to say. We have to actually find out when to apply this workaround, not to create some silly whitelist/blacklist. It's the last option, we never want to actually use.

Well if you do not say, who can understand!? :)
Besides, you can mock with "silly" whitelist/blacklist", however there is nothing wrong with the method as such, it is used practically everywhere.

Quoted 11 lines

And even if we would have to create such lists, who tells us, that if affects every GPU with your device id? Usually quirks are applied depending on the sub-vendor-id and sub-device-id if actually required.

In the end we need something like this: If byte X in table Y is set in the vbios or if bits A-B in reg Z in the MMIO space are set to whatever, we have to apply that workaround.

In the end we should also wait until Ben replies, because he might know the exact reasons why this workaround was actually needed.

Quoted 8 lines

If you eager to leave it broken even more than three months that have already been passed since the original commit ...

Quoted 3 lines

We might have a GPU with the same chipset like yours and we might be able to verify the issue

Ah, I see.
You do not have confidence in my test results, good to know.

Testing on another GPU with the same chipset does not mean he does not trust your results. For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben’s patch landed, but only for some adapters. I haven’t tried Ben’s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

Regards,
Pierre

Quoted 8 lines

Oh! Carol

_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20161019175806.uqksdyiyr3dpkzu3-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org

#16 lore raw
Quoted 23 lines · Pierre Moreau

Hello,

Quoted 20 lines · poma
Quoted 4 lines · Karol Herbst

You don't get why I try to say. We have to actually find out when to apply this workaround, not to create some silly whitelist/blacklist. It's the last option, we never want to actually use.

Well if you do not say, who can understand!? :)
Besides, you can mock with "silly" whitelist/blacklist", however there is nothing wrong with the method as such, it is used practically everywhere.

Quoted 10 lines

And even if we would have to create such lists, who tells us, that if affects every GPU with your device id? Usually quirks are applied depending on the sub-vendor-id and sub-device-id if actually required.

In the end we need something like this: If byte X in table Y is set in the vbios or if bits A-B in reg Z in the MMIO space are set to whatever, we have to apply that workaround.

In the end we should also wait until Ben replies, because he might know the exact reasons why this workaround was actually needed.

I'd like to see a mmiotrace of the NVIDIA binary driver on a system where this WAR breaks things. I applied it to all the GPUs that NVIDIA told me required it.

Ben.

Quoted 11 lines
Quoted 10 lines
Quoted 1 line

If you eager to leave it broken even more than three months that have already been passed since the original commit ...

Quoted 3 lines

We might have a GPU with the same chipset like yours and we might be able to verify the issue

Ah, I see.
You do not have confidence in my test results, good to know.

Quoted 23 lines

Testing on another GPU with the same chipset does not mean he does not trust your results. For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben’s patch landed, but only for some adapters. I haven’t tried Ben’s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

Regards,
Pierre

Quoted 14 lines

Oh! Carol

_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): f1d2a80f-5911-9ec7-f61f-4c10fe2ad87f-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

author
#18 lore raw

On 20.10.2016 00:46, Ben Skeggs wrote:
[...]

Quoted 6 lines

I'd like to see a mmiotrace of the NVIDIA binary driver on a system where this WAR breaks things. I applied it to all the GPUs that NVIDIA told me required it.

Ben.

Still broken, more than four months,
tested with mainline 4.9-rc6.

According to Ben Skeggs,
since this is "told" by NVIDIA i.e. by you, or perhaps some other of your colleagues, what's more that I don't see progress in this regard,
would you guys from NVIDIA R&D mind help him to finally solve this?

Thanks.

Ref.
https://lists.freedesktop.org/archives/nouveau/2016-October/026242.html
http://goo.gl/Gm4ffO
mmiotrace-nouveau/
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): f372e6ef-a030-ef79-c72f-0b00fdc48ffe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#20 lore raw

I've observed this regression on my NVAC board; a 1920x1080 TV on HDMI (single monitor set-up) gets no signal with Fedora kernels from 4.8. Trace sent to the mmio dumps mailbox. A brief scan already revealed that register 0xe840 is never touched, so it appears that NVIDIA does something different. VBIOS for this board is in the usual place. Commenting out 0xac from the workaround seems to solve the problem, as tested on a Fedora 4.9 kernel. I hope that helps you get a little further with this issue. Cheers, and happy holidays!

Roy.

Op 22-11-16 om 15:04 schreef poma:

Quoted 19 lines · Ben Skeggs

[...]

Quoted 6 lines

I'd like to see a mmiotrace of the NVIDIA binary driver on a system where this WAR breaks things. I applied it to all the GPUs that NVIDIA told me required it.

Ben.

Still broken, more than four months,
tested with mainline 4.9-rc6.

According to Ben Skeggs,
since this is "told" by NVIDIA i.e. by you, or perhaps some other of your colleagues, what's more that I don't see progress in this regard,
would you guys from NVIDIA R&D mind help him to finally solve this?

Thanks.

Quoted 8 lines

Ref.
https://lists.freedesktop.org/archives/nouveau/2016-October/026242.html
http://goo.gl/Gm4ffO
mmiotrace-nouveau/
_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 4940241f-aadc-0277-a8c8-62879a41fc77-NQbd8FSOZ1kdnm+yROfE0A@public.gmane.org

#22 lore raw
Quoted 9 lines · Roy Spliet

I've observed this regression on my NVAC board; a 1920x1080 TV on HDMI (single monitor set-up) gets no signal with Fedora kernels from 4.8. Trace sent to the mmio dumps mailbox. A brief scan already revealed that register 0xe840 is never touched, so it appears that NVIDIA does something different.
VBIOS for this board is in the usual place. Commenting out 0xac from the workaround seems to solve the problem, as tested on a Fedora 4.9 kernel. I hope that helps you get a little further with this issue. Cheers, and happy holidays!

Thanks Roy,

NVIDIA told me that it applied to these boards, but, I can't see NVIDIA attempting the workaround in your trace, so until there's evidence to the contrary, I've disabled it for MCP7x for now.

Ben.

Quoted 32 lines

Roy.

Op 22-11-16 om 15:04 schreef poma:

Quoted 27 lines · Ben Skeggs

[...]

Quoted 6 lines

I'd like to see a mmiotrace of the NVIDIA binary driver on a system where this WAR breaks things. I applied it to all the GPUs that NVIDIA told me required it.

Ben.

Still broken, more than four months,
tested with mainline 4.9-rc6.

According to Ben Skeggs,
since this is "told" by NVIDIA i.e. by you, or perhaps some other of your colleagues, what's more that I don't see progress in this regard,
would you guys from NVIDIA R&D mind help him to finally solve this?

Thanks.

Ref.
https://lists.freedesktop.org/archives/nouveau/2016-October/026242.html
http://goo.gl/Gm4ffO
mmiotrace-nouveau/
_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): be304bb1-621d-0e3a-3435-0430aa98a507-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

Tested-by
#24 lore raw

Op 09-01-17 om 00:24 schreef Ben Skeggs:

Quoted 10 lines · Roy Spliet
Quoted 9 lines

I've observed this regression on my NVAC board; a 1920x1080 TV on HDMI (single monitor set-up) gets no signal with Fedora kernels from 4.8. Trace sent to the mmio dumps mailbox. A brief scan already revealed that register 0xe840 is never touched, so it appears that NVIDIA does something different.
VBIOS for this board is in the usual place. Commenting out 0xac from the workaround seems to solve the problem, as tested on a Fedora 4.9 kernel. I hope that helps you get a little further with this issue. Cheers, and happy holidays!

Quoted 7 lines

Thanks Roy,

NVIDIA told me that it applied to these boards, but, I can't see NVIDIA attempting the workaround in your trace, so until there's evidence to the contrary, I've disabled it for MCP7x for now.

Ben.

Thanks. Since your patch is the exact modification I made to verify the workaround was bugging me, consider it:

Given "no display on HDMI since 4.8" is quite a serious regression (albeit for a small userbase), please consider submitting this to 4.10 as well as a "back-port" to the upstream 4.8 and 4.9 trees. Thanks again! Cheers,

Roy

Quoted 23 lines
Quoted 23 lines

Roy.

Op 22-11-16 om 15:04 schreef poma:

Quoted 19 lines · Ben Skeggs

[...]

Quoted 6 lines

I'd like to see a mmiotrace of the NVIDIA binary driver on a system where this WAR breaks things. I applied it to all the GPUs that NVIDIA told me required it.

Ben.

Still broken, more than four months,
tested with mainline 4.9-rc6.

According to Ben Skeggs,
since this is "told" by NVIDIA i.e. by you, or perhaps some other of your colleagues, what's more that I don't see progress in this regard,
would you guys from NVIDIA R&D mind help him to finally solve this?

Thanks.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Ref.
https://lists.freedesktop.org/archives/nouveau/2016-October/026242.html
http://goo.gl/Gm4ffO
mmiotrace-nouveau/
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

Tested-by
#25 lore raw
Quoted 21 lines · Roy Spliet

Op 09-01-17 om 00:24 schreef Ben Skeggs:

Quoted 10 lines · Roy Spliet
Quoted 9 lines

I've observed this regression on my NVAC board; a 1920x1080 TV on HDMI (single monitor set-up) gets no signal with Fedora kernels from 4.8. Trace sent to the mmio dumps mailbox. A brief scan already revealed that register 0xe840 is never touched, so it appears that NVIDIA does something different.
VBIOS for this board is in the usual place. Commenting out 0xac from the workaround seems to solve the problem, as tested on a Fedora 4.9 kernel. I hope that helps you get a little further with this issue. Cheers, and happy holidays!

Quoted 7 lines

Thanks Roy,

NVIDIA told me that it applied to these boards, but, I can't see NVIDIA attempting the workaround in your trace, so until there's evidence to the contrary, I've disabled it for MCP7x for now.

Ben.

Thanks. Since your patch is the exact modification I made to verify the workaround was bugging me, consider it:

Quoted 9 lines

Given "no display on HDMI since 4.8" is quite a serious regression (albeit for a small userbase), please consider submitting this to 4.10 as well as a "back-port" to the upstream 4.8 and 4.9 trees. Thanks again! Cheers,

Roy

Thanks Roy

Hello Dave, Greg

If it is not already, please push for:
- stable 4.9.6
- mainline 4.10-rc5

Also:

Ref.
https://lists.freedesktop.org/archives/nouveau/2016-October/026242.html
https://github.com/skeggsb/nouveau/commit/2e5fba2.patch

#26 lore raw
In reply to a message not in the archive
Quoted 4 lines · Pierre Moreau

For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben???s patch landed, but only for some adapters. I haven???t tried Ben???s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

The external DP port on your MBP5,3 is switchable between GPUs and the apple-gmux driver switches it in unison with the panel. Thus the NVAC cannot drive external displays when gmux is switched to the MCP79. (You probably were aware of this, just wanted to mention it in case you weren't.) (In theory we could change vga_switcheroo and apple-gmux to support switching the panel and the external port separately rather than in unison if there is demand. It's only supported on MBPs introduced from 2008 to 2010 though, the 2011+ models can only drive external ports with the discrete GPU.)

Best regards,

Lukas
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20161020080828.GA3285-JFq808J9C/[email protected]

#28 lore raw
Quoted 10 lines · Lukas Wunner
Quoted 4 lines · Pierre Moreau

For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben???s patch landed, but only for some adapters. I haven???t tried Ben???s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

The external DP port on your MBP5,3 is switchable between GPUs and the apple-gmux driver switches it in unison with the panel. Thus the NVAC cannot drive external displays when gmux is switched to the MCP79. (You probably were aware of this, just wanted to mention

      ^^^^^

I meant G96, sorry I mixed it up.

Lukas

Quoted 5 lines

it in case you weren't.) (In theory we could change vga_switcheroo and apple-gmux to support switching the panel and the external port separately rather than in unison if there is demand. It's only supported on MBPs introduced from 2008 to 2010 though, the 2011+ models can only drive external ports with the discrete GPU.)

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20161020231507.GA3857-JFq808J9C/[email protected]

#30 lore raw
Quoted 7 lines · Lukas Wunner
Quoted 6 lines · Lukas Wunner
Quoted 4 lines · Pierre Moreau

For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben???s patch landed, but only for some adapters. I haven???t tried Ben???s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

Quoted 8 lines
Quoted 4 lines

The external DP port on your MBP5,3 is switchable between GPUs and the apple-gmux driver switches it in unison with the panel. Thus the NVAC cannot drive external displays when gmux is switched to the MCP79. (You probably were aware of this, just wanted to mention

      ^^^^^

I meant G96, sorry I mixed it up.

Lukas

Yes, that bit had stayed in my memory, that switching between the two GPUs would not only switch them for the laptop screen, but for the external ones as well. IIRC, I am getting the no signal in both cases, but I need to retest.

Pierre

Quoted 6 lines
Quoted 6 lines

it in case you weren't.) (In theory we could change vga_switcheroo and apple-gmux to support switching the panel and the external port separately rather than in unison if there is demand. It's only supported on MBPs introduced from 2008 to 2010 though, the 2011+ models can only drive external ports with the discrete GPU.)

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20161021085626.uoo33n6dvbkygwrg-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org

author
#32 lore raw
Quoted 15 lines · Pierre Moreau
Quoted 14 lines · Lukas Wunner
Quoted 10 lines · Lukas Wunner
Quoted 4 lines · Pierre Moreau

For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben???s patch landed, but only for some adapters. I haven???t tried Ben???s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

The external DP port on your MBP5,3 is switchable between GPUs and the apple-gmux driver switches it in unison with the panel. Thus the NVAC cannot drive external displays when gmux is switched to the MCP79. (You probably were aware of this, just wanted to mention

      ^^^^^

I meant G96, sorry I mixed it up.

Quoted 7 lines
Quoted 1 line

Lukas

Yes, that bit had stayed in my memory, that switching between the two GPUs would not only switch them for the laptop screen, but for the external ones as well. IIRC, I am getting the no signal in both cases, but I need to retest.

Pierre

Any news related on your side?

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 43b17bb3-7b12-b1be-c608-702ebdfd8522-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#34 lore raw

I retested with both 4.8.4, Ben’s linux-4.9 and linux-4.10 branches (so only the linux-4.10 branch had the atomic+MST patches).
For all branches, if I bootplug the external screen, I get nothing on the external screen, and the laptop screen is frozen with some mix of images (but the laptop itself is not locked up), nothing in dmesg. If I hotplug the screen, the laptop screen is not frozen, but starting with linux-4.10, I get an EVO timeout when turning off the external monitor. Adding your patch did not change anything for me.
Looks like I’ll need to spend some more time testing and bisecting those issues…

Pierre

Quoted 18 lines · poma
Quoted 17 lines · Pierre Moreau
Quoted 15 lines · Lukas Wunner
Quoted 10 lines · Lukas Wunner
Quoted 4 lines · Pierre Moreau

For example, my laptop (which also has an NVAC) has been triggering the no-signal message on external monitors way before Ben???s patch landed, but only for some adapters. I haven???t tried Ben???s patch yet, nor yours, but I will certainly do it, and see what effect each of them has.

The external DP port on your MBP5,3 is switchable between GPUs and the apple-gmux driver switches it in unison with the panel. Thus the NVAC cannot drive external displays when gmux is switched to the MCP79. (You probably were aware of this, just wanted to mention

      ^^^^^

I meant G96, sorry I mixed it up.

Lukas

Quoted 10 lines
Quoted 5 lines

Yes, that bit had stayed in my memory, that switching between the two GPUs would not only switch them for the laptop screen, but for the external ones as well. IIRC, I am getting the no signal in both cases, but I need to retest.

Pierre

Any news related on your side?

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): a29ccb42-c280-98de-2387-51d591a894e3-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

author
#37 lore raw
Quoted 4 lines · poma

http://goo.gl/Gm4ffO
mmiotrace-nouveau/

$ uname -r
4.9.0-0.rc4.git0.1.fc26.x86_64+debug
$ dmesg -t | grep -P '(?=.*nouveau)(?=.*MMIO)'
nouveau 0000:01:00.0: bus: MMIO write of 80150000 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO read of 00000010 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000007 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO write of 80150000 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO read of 000007ff FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO write of 00100180 FAULT at 61a80c
nouveau 0000:01:00.0: bus: MMIO read of 80550000 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO read of 00000007 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO write of 80150000 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO read of 00000001 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO write of 00100180 FAULT at 61a80c
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO write of fb08d1ff FAULT at 61a804
nouveau 0000:01:00.0: bus: MMIO read of 00000001 FAULT at 641000
nouveau 0000:01:00.0: bus: MMIO write of 00000020 FAULT at 641000
nouveau 0000:01:00.0: bus: MMIO read of 00000001 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000030 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000014 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 0000006c FAULT at 641000
nouveau 0000:01:00.0: bus: MMIO read of 00000007 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000010 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080
nouveau 0000:01:00.0: bus: MMIO write of 00000008 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000014 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000007 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080
nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO read of 00000014 FAULT at 640000
nouveau 0000:01:00.0: bus: MMIO write of 00000000 FAULT at 647080

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau