On , Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt; wrote:<br />&gt; On Fri, Jul 01, 2011 at 01:16:49AM -0400, George Spelvin wrote:<br />&gt; <br />&gt; &gt; I mentioned these problems back in March, but went back to the nv driver<br />&gt; <br />&gt; &gt; and ignored it.  Since I need to reboot for another reason, I gave nouveau a try again,<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; This time, I&#39;m using the kernel git tip, off of 3.0-rc5:<br />&gt; <br />&gt; &gt; 181888bfeea73b2ec756b83fd590fd3a62d4171d: drm/nv50/dp: fix hack to work for macbooks booted via EFI<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; The X server is Debian&#39;s xserver-xorg-video-nouveau, version<br />&gt; <br />&gt; &gt; 1:0.0.16+git20110411+8378443-1+b1<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; The good news is that my screen &quot;tearing&quot; problem during system activity<br />&gt; <br />&gt; &gt; appears to be fixed!<br />&gt; <br />&gt; &gt; Hooray.  But I still have two other problems I mentioned at the time:<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; 1) The text console, although connected via DVI, appears to be about<br />&gt; <br />&gt; &gt;    half a line of text low.  Tall characters (^ and $) on the top line<br />&gt; <br />&gt; &gt;    have their top row of pixels &quot;stretched&quot; upward, apparently replicated<br />&gt; <br />&gt; &gt;    quite a few times.<br />&gt; <br />&gt; &gt;    The bottom row of characters is only partially visible.<br />&gt; <br />&gt; <br />&gt; <br />&gt; Screenshot might be useful.<br />&gt; <br />&gt; <br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; 2) I can&#39;t start X.  The X server fails to initialize with:<br />&gt; <br />&gt; &gt; [  6151.976] (II) NOUVEAU(0): Opened GPU channel 1<br />&gt; <br />&gt; &gt; [  6151.976] (II) NOUVEAU(0): [DRI2] Setup complete<br />&gt; <br />&gt; &gt; [  6151.976] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau_vieux<br />&gt; <br />&gt; <br />&gt; <br />&gt; Can you uninstall 3d driver and check how will it behave?<br />&gt; <br />&gt; <br />&gt; <br />&gt; &gt; [  6151.977] (EE) NOUVEAU(0): Error allocating scanout buffer: 0<br />&gt; <br />&gt; &gt; [  6151.977]<br />&gt; <br />&gt; &gt; Fatal server error:<br />&gt; <br />&gt; &gt; [  6151.977] AddScreen/ScreenInit failed for driver 0<br />&gt; <br />&gt; &gt; [  6151.977]<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; If I can get problem 2 fixed, problem 1 will become less important.<br />&gt; <br />&gt; &gt;<br />&gt; <br />&gt; &gt; As mentioned in my old email, it&#39;s a uniprocessor Athlon XP system, with a<br />&gt; <br />&gt; &gt; Geforce 4 MX video adapter:<br />&gt; <br />&gt; &gt; 04:00.0 VGA compatible controller [0300]: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] [10de:01f0] (rev a3)<br />&gt; <br />&gt; <br />&gt; <br />&gt; FYI, nouveau finds it as NV1F.<br />&gt; <br />&gt; <br />&gt; <br />&gt; &gt; The display is a 1920x1080 LCD, connected via DVI.  No other outputs are connected.<br />&gt; <br />&gt; <br />&gt; <br />&gt; 1920x1080x4 is almost 8MB and you have only 32MB of VRAM. It might be a problem with memory allocation.<br />&gt; <br />&gt; You could verify it by applying this patch to xf86-video-nouveau and checking xorg.log:<br />&gt; <br />&gt; <br />&gt; <br />&gt; diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c<br />&gt; <br />&gt; index 735f47f..1eac357 100644<br />&gt; <br />&gt; --- a/src/nv_accel_common.c<br />&gt; <br />&gt; +++ b/src/nv_accel_common.c<br />&gt; <br />&gt; @@ -116,8 +116,10 @@ nouveau_allocate_surface(ScrnInfoPtr scrn, int width, int height, int bpp,<br />&gt; <br />&gt; <br />&gt; <br />&gt;         ret = nouveau_bo_new_tile(pNv-&gt;dev, flags, 0, *pitch * height,<br />&gt; <br />&gt;                                   tile_mode, tile_flags, bo);<br />&gt; <br />&gt; -       if (ret)<br />&gt; <br />&gt; +       if (ret) {<br />&gt; <br />&gt; +               xf86DrvMsg(scrn-&gt;scrnIndex, X_ERROR, &quot;nouveau_bo_new_tile returned: %d, %s\n&quot;, ret, strerror(ret));<br />&gt; <br />&gt;                 return FALSE;<br />&gt; <br />&gt; +       }<br />&gt; <br />&gt; <br />&gt; <br />&gt;         return TRUE;<br />&gt; <br />&gt;  }<br />&gt; <br />&gt; <br />&gt; <br />&gt; -<br />&gt; <br />&gt; <br />&gt; <br />&gt; Lowering bpp/resolution for framebuffer and/or X might help. At least temporarily.<br /><br />Likely low on VRAM. I don&#39;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.