[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2019-12-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

Martin Peres  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #17 from Martin Peres  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/201.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #16 from Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk ---
Ben - thanks for the patch!

I managed to find a few minutes to test the patch at comment #11 today and
unfortunately it didn't fix the issue for me. I'll post the updated information
back over at bug #56615 so it's all in one place.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #15 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Corey Ashford from comment #13)
 (In reply to Ben Skeggs from comment #11)
  Created attachment 117123 [details] [review] [review]
  potential fix for issue
  
  Yeah, in both those logs it's definitely the something is turning on the
  cursor without a mode set issue.
  
  Completely untested patch attached.
 
 Ok, I will see if I can build the code with this patch.  Thanks :)

Well, I was able to apply the patch to the kernel and build it, but after I
installed the new kernel, and rebooted, I wasn't able to get past the luks disk
decryption.  So I don't know what I did wrong, but in any case that kernel will
not boot.  I'm sure it's not related to the patch; it's that I don't know how
to correctly build the kernel.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #14 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Corey Ashford from comment #12)
...
 Tonight I will see if I can use just the integrated video (i915, I guess)
 for both external displays.

I tried using just the integrated driver, and it seems to only know about the
LVDS display.  So that's out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #8 from Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk ---
Apologies for jumping in on another bug report, however this sounds exactly
like the problem I've been struggling with for years on my Lenovo T420s:

https://bugs.freedesktop.org/show_bug.cgi?id=56615

I see the same symptoms in that the kernel hangs with an external DisplayPort
connected in discrete mode when trying to use the internal LVDS with the
external monitor. It seems the message I get in the kernel log is similar too:

nouveau E[   PDISP][:01:00.0] chid 1 mthd 0x0080 data 0x 0x5080
0x000

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #10 from Ilia Mirkin imir...@alum.mit.edu ---
A few people who have had these PDISP errors were due to gnome toggling cursor
state when a CRTC had not been enabled, and nouveau not properly protecting
against it. There was a (lost) patch that fixed it, unfortunately I don't
remember where the place was. Ben should be able to come up with that patch
fairly easily.

However for the user in question, while the PDISP error dumps went away, the
underlying problems remained. Just a thought.

[As an aside, Corey, with reverse-prime you should also be able to get all 3
screens up... see http://nouveau.freedesktop.org/wiki/Optimus/ . Of course
nothing is perfect, this also introduces tons of problem for some people. But
not others.]

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #9 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Mark Cave-Ayland from comment #8)
 Apologies for jumping in on another bug report, however this sounds exactly
 like the problem I've been struggling with for years on my Lenovo T420s:
 
 https://bugs.freedesktop.org/show_bug.cgi?id=56615
 
 I see the same symptoms in that the kernel hangs with an external
 DisplayPort connected in discrete mode when trying to use the internal LVDS
 with the external monitor. It seems the message I get in the kernel log is
 similar too:
 
 nouveau E[   PDISP][:01:00.0] chid 1 mthd 0x0080 data 0x
 0x5080 0x000

Yeah, it does seem similar.  However, in my case, a single external monitor
along with the internal LVDS works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #11 from Ben Skeggs skeg...@gmail.com ---
Created attachment 117123
  -- https://bugs.freedesktop.org/attachment.cgi?id=117123action=edit
potential fix for issue

Yeah, in both those logs it's definitely the something is turning on the
cursor without a mode set issue.

Completely untested patch attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #13 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Ben Skeggs from comment #11)
 Created attachment 117123 [details] [review]
 potential fix for issue
 
 Yeah, in both those logs it's definitely the something is turning on the
 cursor without a mode set issue.
 
 Completely untested patch attached.

Ok, I will see if I can build the code with this patch.  Thanks :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #2 from Ilia Mirkin imir...@alum.mit.edu ---
While going crazy is rarely the right thing to do, I'd like to point out that
a GF108 only has 2 CRTC's and thus can only ever power 2 different screens at a
time. (There might be a way to drive 2 identical screens at once from a single
CRTC, not sure.)

I suspect a negative interactions with gnome which might get confused about
such a restriction.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #3 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Ilia Mirkin from comment #2)
 While going crazy is rarely the right thing to do, I'd like to point out
 that a GF108 only has 2 CRTC's and thus can only ever power 2 different
 screens at a time. (There might be a way to drive 2 identical screens at
 once from a single CRTC, not sure.)

Yeah, I realize that.  Just as a reference point, two external monitors works
fine with Windows 7, even with just the Nvidia chip enabled (discrete
graphics).  With Optimus enabled, I can actually drive all three monitors
simultaneously.

 
 I suspect a negative interactions with gnome which might get confused about
 such a restriction.

Maybe so.

Thanks for your input :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #6 from Corey Ashford cjash...@us.ibm.com ---
Created attachment 117105
  -- https://bugs.freedesktop.org/attachment.cgi?id=117105action=edit
Similar as first log, but this time I disable the laptop's display before
adding the second monitor

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #4 from Ilia Mirkin imir...@alum.mit.edu ---
I bet it works if you first disable one of the screens before plugging a third
one in.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #7 from Corey Ashford cjash...@us.ibm.com ---
In both of these log files is a line like the following:

 48.693955] nouveau E[   PDISP][:01:00.0] INVALID_STATE [UNK05] chid 0 mthd
0x0080 data 0x

Followed by a dump of what appears to be internal Nouveau driver state:

[   48.693960] nouveau E[   PDISP][:01:00.0] Core:
[   48.693966] nouveau E[   PDISP][:01:00.0] 0x0084: 0x019e02e2 -
0x
[   48.693972] nouveau E[   PDISP][:01:00.0] 0x0088: 0xf000 
[   48.693973] nouveau E[   PDISP][:01:00.0] Core - DAC 0:
[   48.693978] nouveau E[   PDISP][:01:00.0] 0x0400: 0x 
[   48.693984] nouveau E[   PDISP][:01:00.0] 0x0404: 0x 
[   48.693989] nouveau E[   PDISP][:01:00.0] 0x0420: 0x0001 
[   48.693990] nouveau E[   PDISP][:01:00.0] Core - DAC 1:
[   48.693995] nouveau E[   PDISP][:01:00.0] 0x0480: 0x 


Is this normal behavior?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #5 from Corey Ashford cjash...@us.ibm.com ---
(In reply to Ilia Mirkin from comment #4)
 I bet it works if you first disable one of the screens before plugging a
 third one in.

I had tried that experiment before, but I just now tried it again.  Same bad
result.  Here are the steps I took.

1) Boot laptop with no external monitors connected.
2) Attach Displayport-connected monitor.  All is well.
3) Disable internal monitor.  All is still well... now using only the external
monitor.
4) Plug in VGA monitor.
5) Nothing happens.
6) I bring up the Gnome Displays setting (not clicking anything yet), then the
system starts with its display resetting (or whatever it's doing), and becomes
unresponsive to keyboard input.
7) The only way to get back to a usable system is to disconnect the VGA
display, which after 5-10 seconds gets me back to the Gnome login, and after
logging in I was able to capture the dmesg output (will attach).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 91333] Connecting second of two monitors to a Lenovo W520 causes displays to go crazy

2015-07-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91333

--- Comment #1 from Corey Ashford cjash...@us.ibm.com ---
xorg-x11-drv-nouveau-1.0.11-2.fc22.x86_64

is what I have installed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau