[Nouveau] [Bug 30158] nouveau fails to display on external monitor

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 18 01:14:24 PDT 2010


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

--- Comment #14 from Pekka Paalanen <pq at iki.fi> 2010-09-18 01:14:23 PDT ---
(In reply to comment #13)
> 
> In the meanwhile I have clearly found that for the case when X throws an error
> and restarts, then all fine, nouveau actually IS running. hwinfo --gfx has an
> entry I had before overseen that says [ driver "nouveau" ] this entry is not
> present when running nv. Still, X log files don't have the slightest indication
> that nouveau was started, but it must be running. Which is also quite obvious,
> since with this case kernel mode setting is active and X cannot switch to any
> other driver.

See my previous post, why I think hwinfo gets it wrong.

If X log does not have a lot of lines from NOUVEAU, (accelerated) Nouveau is
*not* used by X.

It is quite possible to be able to start X with a user mode driver (that is,
one that pokes the hardware bypassing the kernel), while still having a kernel
mode driver active. This is a bug, and I recall some efforts have been made to
detect it, but I would not count on it yet. The situation leads to an unstable
system, where two drivers drive the same hardware without knowing about each
other.

What happens with Ubuntu: it first tries the normal config, and if X fails, it
will switch to a fail-safe config. I have no idea what drivers the fail-safe
config tries to use. Quite likely "vesafb" is one of those, and is incompatible
with Nouveau kernel mode driver, too.

The only X driver apart from "nouveau" that can work with the Nouveau kernel
driver, is "fbdev". If it gets used automatically, you are fine, you just do
not get any graphics acceleration whatsoever and probably lack other features,
too. "fbdev" uses the generic kernel framebuffer interface, which is very much
hardware agnostic.

I don't have the time to help you further now, or check your logs, but don't
give up. It could be nice to boot Ubuntu to text-mode (non-graphical), set up
Nouveau, and start X with the command 'startx'. When it fails, the fail-safe-X
should not kick in. In that situation, the complete (starting at current
boot-up) kernel and X logs would be most useful in debugging this.

More about KMS and checking if it is active:
http://nouveau.freedesktop.org/wiki/KernelModeSetting

Cheers.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list