bugzilla-daemon at freedesktop.org
2011-Oct-29 12:40 UTC
[Nouveau] [Bug 42384] New: X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Bug #: 42384 Summary: X fails on NV11 with Error allocating scanout buffer: 0 Classification: Unclassified Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: chris at edesix.com QAContact: xorg-team at lists.x.org Created attachment 52902 --> https://bugs.freedesktop.org/attachment.cgi?id=52902 xorg log Hi, I have an old Geforce2Go card (NV11). The nouveau framebuffer is working fine (KMS enabled), but X won't start with the nouveau driver (it's okay with fbdev): [ 54.231] (II) NOUVEAU(0): Opened GPU channel 1 [ 54.231] (II) NOUVEAU(0): [DRI2] Setup complete [ 54.231] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau_vieux [ 54.231] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau_vieux [ 54.233] (EE) NOUVEAU(0): Error allocating scanout buffer: 0 [ 54.233] Fatal server error: [ 54.233] AddScreen/ScreenInit failed for driver 0 I'm on Fedora 15 and I have tried with the latest packaged driver and with a build of xf86-video-nouveau from git. xf86-video-nouveau: git 29 Oct 2011 libdrm-2.4.26-1.fc15.i686 xorg-x11-server-Xorg-1.10.4-1.fc15.i686 I'm not interested in 3D, but I can't work out if there's something I've failed to disable. If you need me to enable more debug, please point to some instructions on how to do this. dmesg, Xorg logs & cfg attached. Regards, Chris. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-29 12:43 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #2 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-29 12:43:04 UTC --- Created attachment 52904 --> https://bugs.freedesktop.org/attachment.cgi?id=52904 xorg config -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-29 13:10 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #3 from Marcin Slusarz <marcin.slusarz at gmail.com> 2011-10-29 13:10:12 UTC --- Does it work if you lower bpp/resolution for framebuffer and/or xserver? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-29 13:11 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52904|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-29 19:42 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #1 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-29 12:42:27 PDT --- Created attachment 52903 --> https://bugs.freedesktop.org/attachment.cgi?id=52903 kernel log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-29 19:59 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Marcin Slusarz <marcin.slusarz at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52902|text/x-log |text/plain mime type| | -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 10:55 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #4 from Marcin Slusarz <marcin.slusarz at gmail.com> 2011-10-30 03:55:48 PDT --- On Sat, Oct 29, 2011 at 11:26:59PM +0100, Chris Paulson-Ellis wrote:> On 29/10/11 22:06, Chris Paulson-Ellis wrote: > > On 29/10/11 14:10, bugzilla-daemon at freedesktop.org wrote: > >> https://bugs.freedesktop.org/show_bug.cgi?id=42384 > >> > >> --- Comment #3 from Marcin Slusarz<marcin.slusarz at gmail.com> > >> 2011-10-29 13:10:12 UTC --- > >> Does it work if you lower bpp/resolution for framebuffer and/or xserver? > >> > > > > Can't get bugzilla to work for this comment at present,...Then please CC bugzilla-daemon at freedesktop.org - mails will be automatically appended to bugreport.> > Yes. It works if I reduce the framebuffer and the X server to 800x600 > > 16bpp. Just reducing to 16bpp doesn't work. Just changing the X server > > doesn't work, I have to change the framebuffer too. > > > > The card has 64MiB.Nouveau detects only 16 MB of VRAM. Can you verify it by looking at the card? According to http://www.nvidia.com/page/geforce2go.html there were 16, 32 and 64 MB versions of GeForce2 Go. Very similar bug was reported few months ago: http://lists.freedesktop.org/archives/nouveau/2011-July/008631.html Can you test patch (hack) posted there?> I can also get it to work using "NoAccel", including at full 1600x1200, > depth 24, although obviously with fbdev-like performance.Note: that's almost half of your VRAM. Marcin -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 16:06 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #5 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-30 09:06:24 PDT --- You're absolutely right. The VRAM is 16Mb. I was misled by the GART aperture being 64Mb. No need for the hack. I managed to get it working by setting the framebuffer to 8bpp at the lowest resolution listed in the modelines from the Xorg log (640x350). I can then get X working at full resolution as long as I use 16bpp. These together account for <4Mb, so something is being profligate with the VRAM, but it works, so I'm happy. Thankyou for your help. For the record, I put the following on the end of the kernel line in grub.conf: video=LVDS-1:640x350-8 and my xorg.conf looks like this: Section "Device" Identifier "n" Driver "nouveau" EndSection Section "Screen" Identifier "n" Device "n" DefaultDepth 16 SubSection "Display" Depth 16 Modes "1600x1200" EndSubSection EndSection I'll attach new logs. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 16:07 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Chris Paulson-Ellis <chris at edesix.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52903|0 |1 is obsolete| | --- Comment #6 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-30 09:07:22 PDT --- Created attachment 52921 --> https://bugs.freedesktop.org/attachment.cgi?id=52921 dmesg for working config -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 16:08 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Chris Paulson-Ellis <chris at edesix.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52902|0 |1 is obsolete| | --- Comment #7 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-30 09:08:24 PDT --- Created attachment 52922 --> https://bugs.freedesktop.org/attachment.cgi?id=52922 xorg log for working config -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 16:09 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Chris Paulson-Ellis <chris at edesix.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #52904|0 |1 is obsolete| | --- Comment #8 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-30 09:09:11 PDT --- Created attachment 52923 --> https://bugs.freedesktop.org/attachment.cgi?id=52923 working xorg config -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Oct-30 16:12 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #9 from Chris Paulson-Ellis <chris at edesix.com> 2011-10-30 09:12:14 PDT --- I'm willing to do testing if you want to make changes to make cards such as mine work out of the box, but I'm guessing you've got bigger fish to fry than to worry about such ancient hardware! Many thanks for your efforts on the driver. Chris. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Nov-06 20:57 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Francisco Jerez <currojerez at riseup.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #10 from Francisco Jerez <currojerez at riseup.net> 2011-11-06 12:57:05 PST --- (In reply to comment #9)> I'm willing to do testing if you want to make changes to make cards such as > mine work out of the box, but I'm guessing you've got bigger fish to fry than > to worry about such ancient hardware! > > Many thanks for your efforts on the driver. > > Chris.Thanks for reporting, this should be fixed now with the latest nouveau kernel module (commit http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=787ffe1f651ce3af0d90040ec1c93f0ad177b3de). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Nov-08 04:00 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 Chris Paulson-Ellis <chris at edesix.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #11 from Chris Paulson-Ellis <chris at edesix.com> 2011-11-07 20:00:39 PST --- I can confirm that with this fix (and everything else in the current nouveau linux git tree), I can now boot without a kernel command line video= parameter and without an xorg.conf. Both the framebuffer and the X server use the full 1600x1200 of my laptop panel and X creates a 24 bit depth display. Many thanks again, Chris. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2011-Nov-28 20:14 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #12 from David Mackenzie <dmackenz1981 at gmail.com> 2011-11-28 12:14:20 PST --- I have this same problem. How can I install this patch? Do you know when it will make it into the ubuntu edgers binaries? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2012-Jan-12 22:13 UTC
[Nouveau] [Bug 42384] X fails on NV11 with Error allocating scanout buffer: 0
https://bugs.freedesktop.org/show_bug.cgi?id=42384 --- Comment #13 from Florian Mickler <florian at mickler.org> 2012-01-12 14:13:16 PST --- A patch referencing this bug report has been merged in Linux v3.2-rc2: commit 4beb116a454867cc3a98d02d906e0f0459aefe72 Author: Francisco Jerez <currojerez at riseup.net> Date: Sun Nov 6 21:21:28 2011 +0100 drm/nv10: Change the BO size threshold determining the memory placement range. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
Apparently Analagous Threads
- [Bug 56461] New: NV11 black screen & kernel hang on loading nouveaufb
- [Bug 65576] New: [NV11] no EGL with nouveau_vieux_dri - no DRI_IMAGE
- [Bug 33999] New: 2.6.37 - NV11 crashes X if glxgears maximised
- [Bug 14393] New: NV11 card is not detected properly by nouveau on big-endian box
- [Bug 36422] New: unable to hibernate with nouveau and NV11 [bisected]