Bug 16176 - X fails to start with GeForce 9600 with ``Failed to allocate memory for framebuffer!"
Summary: X fails to start with GeForce 9600 with ``Failed to allocate memory for frame...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-31 12:00 UTC by Adam Petaccia
Modified: 2009-03-17 20:52 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
2008 05 31 X log (82.23 KB, application/octet-stream)
2008-05-31 12:01 UTC, Adam Petaccia
no flags Details
Kernel log (360.75 KB, application/octet-stream)
2008-06-03 20:39 UTC, Adam Petaccia
no flags Details
X log 2008 07 31 (81.84 KB, application/octet-stream)
2008-07-31 14:35 UTC, Adam Petaccia
no flags Details
2008 07 31 Kernel log (300.31 KB, text/plain)
2008-07-31 14:36 UTC, Adam Petaccia
no flags Details
2008 10 07 Xorg log (72.55 KB, text/x-log)
2008-10-08 17:39 UTC, Adam Petaccia
no flags Details
2008 11 04 Xorg log (15.60 KB, text/x-log)
2008-11-04 15:41 UTC, Adam Petaccia
no flags Details
2008 11 04 Kernel Log (234.60 KB, text/x-log)
2008-11-04 15:43 UTC, Adam Petaccia
no flags Details
2008 12 03 Xorg log (72.76 KB, text/x-log)
2008-12-03 20:03 UTC, Adam Petaccia
no flags Details
2008 12 03 Kernel log (477.11 KB, text/x-log)
2008-12-03 20:05 UTC, Adam Petaccia
no flags Details
A small change. (505 bytes, application/octet-stream)
2008-12-18 16:20 UTC, Maarten Maathuis
no flags Details
2009 01 01 Xorg log (75.14 KB, text/x-log)
2009-01-01 01:48 UTC, Adam Petaccia
no flags Details
2009 01 01 Kernel log (340.61 KB, text/x-log)
2009-01-01 01:49 UTC, Adam Petaccia
no flags Details
Working Xorg log (231.40 KB, text/x-log)
2009-02-13 16:01 UTC, Adam Petaccia
no flags Details

Description Adam Petaccia 2008-05-31 12:00:30 UTC
I know that G50+ is not expected to work, but I'm reporting what happens with my card.
Comment 1 Adam Petaccia 2008-05-31 12:01:14 UTC
Created attachment 16844 [details]
2008 05 31 X log
Comment 2 Maarten Maathuis 2008-06-01 02:20:32 UTC
Anything in the kernel log?
Comment 3 Adam Petaccia 2008-06-03 20:39:58 UTC
Created attachment 16906 [details]
Kernel log

Ignore the installing nvidia part at the bottom (nv won't pick up my monitor correctly).
Comment 4 Adam Petaccia 2008-07-31 14:35:37 UTC
Created attachment 18046 [details]
X log 2008 07 31

Updated X log
Comment 5 Adam Petaccia 2008-07-31 14:36:16 UTC
Created attachment 18047 [details]
2008 07 31 Kernel log
Comment 6 Maarten Maathuis 2008-07-31 14:39:37 UTC
I think the lack of voodoo is the issue. This can be extracted from a mmio-trace. So the first step would be to get a mmio-trace, if you haven't already got one.
Comment 7 Adam Petaccia 2008-07-31 22:30:02 UTC
Sending an MMIO trace now.
Comment 8 Vedran Miletić 2008-09-14 14:21:46 UTC
Also happens on my 8400 GS.

(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) NOUVEAU(0): [drm] Using the DRM lock SAREA also for drawables.
(II) NOUVEAU(0): [drm] framebuffer handle = 0xd0000000
(II) NOUVEAU(0): [drm] added 1 reserved context for kernel
(II) NOUVEAU(0): X context handle = 0x1
(II) NOUVEAU(0): [drm] installed DRM signal handler
(EE) NOUVEAU(0): Failed to allocate memory for framebuffer!

Fatal server error:
AddScreen/ScreenInit failed for driver 0

Can I help?
Comment 9 Adam Petaccia 2008-10-08 17:39:17 UTC
Created attachment 19503 [details]
2008 10 07 Xorg log

I've sent the MMIO trace, is there any progress on this? Should I resend?
Comment 10 Adam Petaccia 2008-11-04 15:41:23 UTC
Created attachment 20046 [details]
2008 11 04 Xorg log

This log seems less noisy than before.
Comment 11 Adam Petaccia 2008-11-04 15:43:02 UTC
Created attachment 20047 [details]
2008 11 04 Kernel Log

Updated Kernel log
Comment 12 Paul Trautrim 2008-11-07 18:02:21 UTC
I had the same problem with a 7900 GS and fixed it by removing frame buffer support from the kernel. Is there any chance that doing so works for you?
Comment 13 Maarten Maathuis 2008-11-08 02:11:14 UTC
Nov  4 18:24:16 belthazor-saved kernel: [27911.257328] [drm:nv50_graph_init_ctxctl] *ERROR* no ctxprog for chipset NV94

This means someone needs to extract one from a mmio-trace.
Comment 14 Adam Petaccia 2008-11-08 09:08:32 UTC
I've already sent one (Comment #7). What should I do to make sure this one gets picked up? Will just mentioning the bug report number be enough?
Comment 15 Ben Skeggs 2008-11-23 02:00:33 UTC
Can you update to latest DRM git and try again, I just added the necessary data to get NV94 up and running.
Comment 16 Adam Petaccia 2008-12-03 20:03:27 UTC
Created attachment 20800 [details]
2008 12 03 Xorg log

It displays some garbage on the screen as well as the X cursor (which I can move) but then it crashes.
Comment 17 Adam Petaccia 2008-12-03 20:05:45 UTC
Created attachment 20801 [details]
2008 12 03 Kernel log
Comment 18 Maarten Maathuis 2008-12-16 14:00:13 UTC
Did you send that mmio-trace to mmio.dumps@gmail.com?

Because i can't find it.
Comment 19 Adam Petaccia 2008-12-16 20:15:21 UTC
I've just sent another trace, but nVidia's driver seemed to act strange while traced. It never displays it's splash screen, for example, but while mmiotrace was enabled it did (linux 2.6.27.9-custom). X also didn't last that long, once it came up.
Comment 20 Maarten Maathuis 2008-12-18 16:20:49 UTC
Created attachment 21285 [details]
A small change.

Try this patch, maybe it helps.
Comment 21 Adam Petaccia 2009-01-01 01:48:27 UTC
Created attachment 21608 [details]
2009 01 01 Xorg log

Tried your patch, X still opens up and crashes.  Nothing else but the initial garabage is ever drawn. It seems that the resolution appears to be the correct one though, as I can kind of tell from the X mouse I get.
Comment 22 Adam Petaccia 2009-01-01 01:49:26 UTC
Created attachment 21609 [details]
2009 01 01 Kernel log
Comment 23 Ben Skeggs 2009-02-10 17:57:13 UTC
Can you please retry with latest drm git.
Comment 24 Adam Petaccia 2009-02-13 16:01:30 UTC
Created attachment 22918 [details]
Working Xorg log

Starts up perfectly now. Switching to VT and back fails, and changing resolutions sort of works, but leaves artifacts and displaces the mouse. I will open up new bugs :-)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.