All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 61731] Nouveau not working on second monitor
Date: Wed, 25 Feb 2015 16:34:05 +0000	[thread overview]
Message-ID: <bug-61731-8800-QZGET9QrNN@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-61731-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>


[-- Attachment #1.1: Type: text/plain, Size: 2406 bytes --]

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

--- Comment #16 from Kyle Auble <kyle.auble-ytc+IHgoah0@public.gmane.org> ---
(In reply to Tobias Klausmann from comment #15)
> Is this still a problem with a recent kernel? (3.17/3.18)

I was actually trying to debug this driver-loading problem on & off for a
while, and while I won't be running any more tests, I'd still like to see it
resolved, if only for a sense of closure.

The last test I ran was with v3.17-rc2 of the PAE kernel on Ubuntu 12.04, and
the problem was still there at that point in time. I can't vouch for more
recent changes though. One thing I eventually found out is that there's an even
simpler workaround than unplugging the laptop during boot: try passing the
"pci=bios" boot parameter to the kernel.

I was keeping track of the tests at a Launchpad account, and I eventually sent
a couple emails to the linux-pci mail list. You can tell I'm an amateur at
systems debugging, especially in the beginning, but all those records are here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1009312
http://thread.gmane.org/gmane.linux.kernel.pci/33181
http://thread.gmane.org/gmane.linux.kernel.pci/34437

As for what causes it, I made several guesses that all eventually turned out
wrong. It's just one more guess, but based on everything I figured out through
the tests, I think there's some kind of race happening in or between the kernel
& the BIOS pci initialization code. The earliest symptom in the logs is that
there will be a ~30 ms gap between these two lines in dmesg (from the original
reporter's in this thread):
> [    0.379459] pci 0000:01:00.0: reg 30: [mem 0x00000000-0x0001ffff pref]
> [    0.408041] pci 0000:00:01.0: PCI bridge to [bus 01-01]

I think that's due to a timeout in pci link-retraining, but using an initscript
to dump the GPU's pci config, I was able to find out that something is
accidentally resetting or turning off the GPU prior to that. A race condition
in the pci initialization might explain why the bug is intermittent and also
why it's much more common in the x32 kernel (the smaller word length leading to
more machine instructions something could wedge between?) I think the
unplugging trick works by putting the PCI bus into a power-saving mode, which
slows down the initialization enough to avoid a race.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3478 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2015-02-25 16:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 10:08 [Bug 61731] New: Nouveau not working on second monitor bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-61731-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-03-03 10:08   ` [Bug 61731] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 10:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 10:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 11:50   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 12:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 12:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 12:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 12:45   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-03 15:53   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-08 16:33   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-08 16:52   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-08 18:00   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-04-17 16:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-04-17 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-01-16 23:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2015-02-25 16:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
2019-12-04  8:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-61731-8800-QZGET9QrNN@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.