All of lore.kernel.org
 help / color / mirror / Atom feed
From: younes.m-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
To: Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	George Spelvin <linux-gpGsJRJZ3PBBDgjK7y7TUQ@public.gmane.org>
Subject: Re: nouveaufb problems with NV18
Date: Fri, 01 Jul 2011 17:13:49 +0000	[thread overview]
Message-ID: <90e6ba6135a819446804a705242e@google.com> (raw)
In-Reply-To: <20110701163521.GA3162-OI9uyE9O0yo@public.gmane.org>


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

On , Marcin Slusarz <marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Fri, Jul 01, 2011 at 01:16:49AM -0400, George Spelvin wrote:

> > I mentioned these problems back in March, but went back to the nv driver

> > and ignored it. Since I need to reboot for another reason, I gave  
> nouveau a try again,

> >

> > This time, I'm using the kernel git tip, off of 3.0-rc5:

> > 181888bfeea73b2ec756b83fd590fd3a62d4171d: drm/nv50/dp: fix hack to work  
> for macbooks booted via EFI

> >

> > The X server is Debian's xserver-xorg-video-nouveau, version

> > 1:0.0.16+git20110411+8378443-1+b1

> >

> > The good news is that my screen "tearing" problem during system activity

> > appears to be fixed!

> > Hooray. But I still have two other problems I mentioned at the time:

> >

> > 1) The text console, although connected via DVI, appears to be about

> > half a line of text low. Tall characters (^ and $) on the top line

> > have their top row of pixels "stretched" upward, apparently replicated

> > quite a few times.

> > The bottom row of characters is only partially visible.



> Screenshot might be useful.



> >

> > 2) I can't start X. The X server fails to initialize with:

> > [ 6151.976] (II) NOUVEAU(0): Opened GPU channel 1

> > [ 6151.976] (II) NOUVEAU(0): [DRI2] Setup complete

> > [ 6151.976] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau_vieux



> Can you uninstall 3d driver and check how will it behave?



> > [ 6151.977] (EE) NOUVEAU(0): Error allocating scanout buffer: 0

> > [ 6151.977]

> > Fatal server error:

> > [ 6151.977] AddScreen/ScreenInit failed for driver 0

> > [ 6151.977]

> >

> > If I can get problem 2 fixed, problem 1 will become less important.

> >

> > As mentioned in my old email, it's a uniprocessor Athlon XP system,  
> with a

> > Geforce 4 MX video adapter:

> > 04:00.0 VGA compatible controller [0300]: nVidia Corporation NV18  
> [GeForce4 MX - nForce GPU] [10de:01f0] (rev a3)



> FYI, nouveau finds it as NV1F.



> > The display is a 1920x1080 LCD, connected via DVI. No other outputs are  
> connected.



> 1920x1080x4 is almost 8MB and you have only 32MB of VRAM. It might be a  
> problem with memory allocation.

> You could verify it by applying this patch to xf86-video-nouveau and  
> checking xorg.log:



> diff --git a/src/nv_accel_common.cb/src/nv_accel_common.c

> index 735f47f..1eac357 100644

> --- a/src/nv_accel_common.c

> +++ b/src/nv_accel_common.c

> @@ -116,8 +116,10 @@ nouveau_allocate_surface(ScrnInfoPtr scrn, int  
> width, int height, int bpp,



> ret = nouveau_bo_new_tile(pNv->dev, flags, 0, *pitch * height,

> tile_mode, tile_flags, bo);

> - if (ret)

> + if (ret) {

> + xf86DrvMsg(scrn->scrnIndex, X_ERROR, "nouveau_bo_new_tile  
> returned: %d, %s\n", ret, strerror(ret));

> return FALSE;

> + }



> return TRUE;

> }



> -



> Lowering bpp/resolution for framebuffer and/or X might help. At least  
> temporarily.

Likely low on VRAM. I don't see why it would be able to create the 1st  
frame buffer for fbcon but not a 2nd for X unless it was tight on memory.

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

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

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

  parent reply	other threads:[~2011-07-01 17:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 20:06 nouveaufb problems with NV18 George Spelvin
     [not found] ` <20110309200656.23070.qmail-FT9nftu9LUyCkawlElnc8EEOCMrvLtNR@public.gmane.org>
2011-03-10 19:48   ` younes.m-Re5JQEeQqe8AvxtiuMwx3w
     [not found]     ` <000e0cd488aa1f9936049e26203c-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2011-03-11 15:27       ` George Spelvin
     [not found]         ` <20110311152718.19243.qmail-FT9nftu9LUyCkawlElnc8EEOCMrvLtNR@public.gmane.org>
2011-03-11 20:16           ` younes.m-Re5JQEeQqe8AvxtiuMwx3w
     [not found]             ` <20cf304346f0aae407049e3aa3fa-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2011-07-01  5:16               ` George Spelvin
     [not found]                 ` <20110701051649.22615.qmail-FT9nftu9LUyCkawlElnc8EEOCMrvLtNR@public.gmane.org>
2011-07-01 16:35                   ` Marcin Slusarz
     [not found]                     ` <20110701163521.GA3162-OI9uyE9O0yo@public.gmane.org>
2011-07-01 17:13                       ` younes.m-Re5JQEeQqe8AvxtiuMwx3w [this message]
2011-07-01 19:22                       ` George Spelvin
     [not found]                         ` <20110701192238.7169.qmail-FT9nftu9LUyCkawlElnc8EEOCMrvLtNR@public.gmane.org>
2011-07-01 20:15                           ` Marcin Slusarz
     [not found]                             ` <20110701201516.GB3162-OI9uyE9O0yo@public.gmane.org>
2011-07-01 23:11                               ` George Spelvin
2011-08-08 15:04                               ` George Spelvin

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=90e6ba6135a819446804a705242e@google.com \
    --to=younes.m-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-gpGsJRJZ3PBBDgjK7y7TUQ@public.gmane.org \
    --cc=marcin.slusarz-Re5JQEeQqe8AvxtiuMwx3w@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.