[Nouveau] Help needed for bug 58556
Ilia Mirkin
imirkin at alum.mit.edu
Fri Jan 31 12:16:40 PST 2014
On Fri, Jan 31, 2014 at 8:09 AM, <pierre.morrow at free.fr> wrote:
> Hello List,
>
> I am trying to solve bug 58556 [1], but I will need some help as I don't
> understand all that is going on.
Unfortunately this is a *massive* bug... and confused by the "other"
very similar but apparently not identical bug in the system.
>
> The system is composed of an NV96 (9600 GT) and an NVAC (9400 M) card;
> acceleration is disabled, otherwise the system hangs at boot after
> initialising the NV96 card.
> The problem consist of a complete garbage screen in console mode, and a
> one-third gabage screen in GUI.
What happens if you only enable acceleration on the NVAC card? (e.g.
by hacking up nouveau to ignore the other one entirely). Wasn't there
some thing where the NV96 card was effectively disabled but still
appearing in PCI space? Or I might be thinking of a different mac
situation...
>
> It appeared in commit 20abd1634a6e2eedb84ca977adea56b8aa06cc3e, as it was
> initialising some structures only when acceleration was on, even if it was
> later used in both cases. These structures changed in commit
> ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69, solving the initial issue but the
> problem still remains.
As you probably saw, this is a MASSIVE commit. What exactly was the
problem with 20abd1634a?
>
> After a few tests, it seems nouveau_channel_new is key to get a correct
> screen, though it is only called when acceleration is on; I didn't find
> which structures initialised by nouveau_channel_new are needed to get a
> clean screen, nor did I find any clues in debug messages.
Can you go into some detail on what these tests were that yielded a
successful outcome? IIRC nouveau_channel_new is called to create a
new... channel, which is used by drm clients. If you don't have
acceleration, that whole api is disabled, so it shouldn't come up. I
guess accel_init also initializes drm->channel which is the kernel
channel for doing stuff. [Although TBH I'm not entirely sure how
things work without acceleration enabled... but I think there's a
non-fifo way to show images on the screen.]
-ilia
More information about the Nouveau
mailing list