← Back to team overview

kernel-packages team mailing list archive

[Bug 763052] Re: Ubuntu can't boot on nvidia GeForce GT240 with nouveau drivers

 

Launchpad has imported 41 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=33165.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-01-15T11:06:04+00:00 s47 wrote:

In most of the modern distros by default is loading nouveau for nvidia
cards. When it loading by default, it hangs completely, don`t response
on all known keys (example, Alt+SysRq+B). Logs was clear with 0 bytes.
Problem was solved by change card for an older nvidia 9x00 and
installing proprietary driver. After changing card was all fine. Card
was checked for problems with some tests, all were passed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/0

------------------------------------------------------------------------
On 2011-01-17T08:53:41+00:00 Daniel Wyatt wrote:

Yes, this is quite annoying.
I recall I upgraded Ubuntu and rebooted only to encounter this hang.
I can't even boot up some of the live CDs (Ubuntu, Linux Mint, ...) without bypassing nouveau.
I've switched back to the proprietary driver and everything is fine.
But we need to get to the bottom of this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/1

------------------------------------------------------------------------
On 2011-01-31T10:17:45+00:00 Agent-jdh wrote:

The nouveau driver does not appear to provide acceleration (at least for
the moment) with GT240 cards.  You can get X to start, however, by using

Option "NoAccel" "true"

In your X config.

It is painfully slow though, so the only real option is to use the
proprietary NVidia driver.

The KMS/Nouveau framebuffer works as well, but again without
acceleration, I have a copy of the dmesg output as it loads the driver
and will upload if it will be useful; I guess the devs know of this
issue with GT240's though.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/2

------------------------------------------------------------------------
On 2012-06-19T11:25:46+00:00 Eduard Gotwig wrote:

Still present :(

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/30

------------------------------------------------------------------------
On 2012-06-19T11:31:08+00:00 Eduard Gotwig wrote:

Created attachment 63234
VBIOS for NVIDIA GT ® 240

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/31

------------------------------------------------------------------------
On 2012-06-19T11:56:16+00:00 Maarten Maathuis wrote:

You might want to actually post a recent kernel log showing your
problem, because the developers won't get anywhere with vague
descriptions.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/32

------------------------------------------------------------------------
On 2012-06-19T14:05:20+00:00 Dev-gw08 wrote:

Also following up on your mailinglist post:
there is no general problem with nouveau and nv92, which is one of the most common chipsets and works without problems for the most of us.

So you have to be more specific about what problems you do encounter in
order to get real help.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/33

------------------------------------------------------------------------
On 2012-11-22T05:29:00+00:00 Dwu wrote:

I'm trying to customize a live system based on Debian and it has
encoutered the same issue with GT240 card. It seems that it works fine
with other nVidia cards. But only for GT240, it simply boots and freezes
when booting into X system.

If you need any logs, please let me know how to get them.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/36

------------------------------------------------------------------------
On 2012-11-22T19:22:27+00:00 Marcin Slusarz wrote:

Please follow http://nouveau.freedesktop.org/wiki/Bugs and open new bug
report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/37

------------------------------------------------------------------------
On 2013-02-20T18:50:15+00:00 Cybjit wrote:

Perhaps it would be better if the default for GT240 was noaccel? There
seems to be a lot of bugs reported against it not booting.

I posted here since this is the earliest bug I found at freedesktop. I
posted the details about my card in bug 41333 earlier.

I have so far found these other reports:
https://bugs.freedesktop.org/show_bug.cgi?id=41333
https://bugs.freedesktop.org/show_bug.cgi?id=43562
https://bugs.freedesktop.org/show_bug.cgi?id=50043
https://bugs.freedesktop.org/show_bug.cgi?id=52509
https://bugs.launchpad.net/ubuntu/+bug/661939
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/706063
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/574045
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/629667
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/763052
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/951331
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/993907
https://bugzilla.redhat.com/show_bug.cgi?id=704998
https://bugzilla.redhat.com/show_bug.cgi?id=753059
https://bugzilla.redhat.com/show_bug.cgi?id=891505

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/39

------------------------------------------------------------------------
On 2013-08-24T03:14:26+00:00 Ilia Mirkin wrote:

*** Bug 57211 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/41

------------------------------------------------------------------------
On 2013-08-24T03:14:40+00:00 Ilia Mirkin wrote:

*** Bug 49057 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/42

------------------------------------------------------------------------
On 2013-08-24T03:15:04+00:00 Ilia Mirkin wrote:

*** Bug 52509 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/43

------------------------------------------------------------------------
On 2013-08-24T03:15:34+00:00 Ilia Mirkin wrote:

*** Bug 41333 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/44

------------------------------------------------------------------------
On 2013-08-24T03:17:20+00:00 Ilia Mirkin wrote:

Please re-test with the latest kernel. There are reports of all nva3+
cards working fine for most people with current software.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/45

------------------------------------------------------------------------
On 2013-08-25T20:11:21+00:00 Andrius Štikonas wrote:

I can still reproduce it with kernel 3.11 rc6. Should I run different
kernel?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/46

------------------------------------------------------------------------
On 2013-08-25T22:23:40+00:00 Ilia Mirkin wrote:

(In reply to comment #15)
> I can still reproduce it with kernel 3.11 rc6. Should I run different kernel?

That is the right kernel. Can you describe exactly what it is that you
can reproduce? Logs? etc. See http://nouveau.freedesktop.org/wiki/Bugs/
for what we need.

[I know some of the bugs I marked as a dup of this one had that for old
versions, but I'd still like to see updated info.]

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/47

------------------------------------------------------------------------
On 2013-08-26T09:16:20+00:00 Andrius Štikonas wrote:

Created attachment 84637
kernel_log.txt

GPU locks up when nouveau module is started with KMS enabled. It is no
longer possible to start X in this case but the ttys are still usable.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/48

------------------------------------------------------------------------
On 2013-08-26T09:17:57+00:00 Andrius Štikonas wrote:

Created attachment 84638
kernel_log_drm_debug_14.txt

Kernel log with drm.debug=14

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/49

------------------------------------------------------------------------
On 2013-08-26T14:02:37+00:00 Ilia Mirkin wrote:

Wow, so right on boot:

[   15.639931] nouveau E[     DRM] GPU lockup - switching to software fbcon
[   15.643599] [drm] Initialized nouveau 1.1.1 20120801 for 0000:04:00.0 on minor 0

It locks up before the probe is even done! One thing to check -- do you
have any old firmware in /lib/firmware/nouveau? You shouldn't need any
firmware to run nva3 (except the video firmware if you want vdpau).

Also, could you produce a log with

drm.debug=14 nouveau.debug=trace

That might provide more info as to what's going on.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/50

------------------------------------------------------------------------
On 2013-08-26T14:49:55+00:00 Andrius Štikonas wrote:

Created attachment 84652
kernel_log_nouveau_drm_debug.txt

There is certainly no firmware in /lib/firmware/nouveau.
I've now attached a new dmesg output.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/51

------------------------------------------------------------------------
On 2013-08-26T15:46:08+00:00 Ilia Mirkin wrote:

*** Bug 61460 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/52

------------------------------------------------------------------------
On 2013-08-26T17:27:35+00:00 Ktmdms wrote:

I no longer have accel turned off but I have had to add:

        Option     "ShadowFB" "1"               # [<bool>]

to get mine to work.

Xorg.0.log:
[   140.225] Current Operating System: Linux ktmtoshiba 3.11.0-0.rc6.git2.1.fc21.x86_64 #1 SMP Thu Aug 22 21:02:34 UTC 2013 x86_
64
[   140.225] Kernel command line: BOOT_IMAGE=/vmlinuz-3.11.0-0.rc6.git2.1.fc21.x86_64 root=UUID=895ff4c3-db90-4071-aeab-a0ec2d6b
94cf ro rd.md=0 rd.lvm=0 rd.dm=0 rd.luks=0 ipv6.disable=1 rhgb quiet acpi_backlight=vendor acpi_osi=Linux
[   140.225] Build Date: 30 July 2013  06:10:29AM
[   140.225] Build ID: xorg-x11-server 1.14.2-9.fc20 
[   140.225] Current version of pixman: 0.30.0

[   140.567] (II) Module nouveau: vendor="X.Org Foundation"
[   140.567] 	compiled for 1.14.2, module version = 1.0.9
[   140.567] 	Module class: X.Org Video Driver
[   140.567] 	ABI class: X.Org Video Driver, version 14.1

dmesg:
[    4.516476] fbcon: nouveaufb (fb0) is primary device
[    6.059440] nouveau E[     DRM] GPU lockup - switching to software fbcon
[    6.072773] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    6.072776] nouveau 0000:01:00.0: registered panic notifier
[    6.072852] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/53

------------------------------------------------------------------------
On 2013-08-27T14:41:32+00:00 Martin-peres wrote:

So, Stikonas's bug is due to PGRAPH not processing any commands ....
ever.

I pushed his mmiotrace in the vbios repo for anyone willing to check
what is wrong in nouveau's way of setting up pgraph.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/54

------------------------------------------------------------------------
On 2013-08-27T22:15:46+00:00 Andrius Štikonas wrote:

*** Bug 52244 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/55

------------------------------------------------------------------------
On 2014-02-17T20:52:32+00:00 Oleg-3 wrote:

Still present in 3.13.2-gentoo. I found that -EBUSY returns from
nv50_fbcon_imageblit.

> what is wrong in nouveau's way of setting up pgraph.
Does it mean that the bug somewhere in nv50_grctx_generate? Just to be sure that bug in this function, is it possible to replace it using data from mmiotrace of nvidia driver? For me it is not obvious how to modificate nv50_grctx_fill in that case, what nv50_grctx_init should write to *size and, after all, may it help somehow?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/56

------------------------------------------------------------------------
On 2014-03-09T11:22:05+00:00 Ilia Mirkin wrote:

Created attachment 95408
initialize stuff for gddr5 ram

This patch is based on Andrew's mmiotrace. I saw a sequence of init that
I didn't see in other traces for working cards. Andrew -- would be
interesting if you could check it out and see if it helps. The algorithm
I came up with is insane -- there has to be some sort of data-driven
thing going on there, but I couldn't work it out.

For people having issues, please do a mmiotrace of the blob loading on
your card (see https://wiki.ubuntu.com/X/MMIOTracing for instructions),
and send it (xz -9'd) to mmio.dumps@xxxxxxxxx.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/57

------------------------------------------------------------------------
On 2014-03-09T11:25:03+00:00 Andrius Štikonas wrote:

(In reply to comment #26)
> Created attachment 95408 [details] [review]
> initialize stuff for gddr5 ram
> 
> This patch is based on Andrew's mmiotrace. I saw a sequence of init that I
> didn't see in other traces for working cards. Andrew -- would be interesting
> if you could check it out and see if it helps. The algorithm I came up with
> is insane -- there has to be some sort of data-driven thing going on there,
> but I couldn't work it out.
> 
> For people having issues, please do a mmiotrace of the blob loading on your
> card (see https://wiki.ubuntu.com/X/MMIOTracing for instructions), and send
> it (xz -9'd) to mmio.dumps@xxxxxxxxx.

I might be able to test this patch in the middle of April. Sorry, I
can't access that computer now.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/58

------------------------------------------------------------------------
On 2014-03-09T13:19:39+00:00 Oleg-3 wrote:

For me, with this patch the problem is still present. I sent my
mmiotrace (NVIDIA Corporation GT215 [GeForce GT 240]).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/59

------------------------------------------------------------------------
On 2014-03-09T16:27:28+00:00 Oleg-3 wrote:

Created attachment 95418
another patch for gddr5 ram

I made this patch using my mmiotrace, but it doesn't help either.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/60

------------------------------------------------------------------------
On 2014-03-09T16:34:36+00:00 Oleg-3 wrote:

Comment on attachment 95408
initialize stuff for gddr5 ram

Review of attachment 95408:
-----------------------------------------------------------------

::: drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c
@@ +365,5 @@
> +		/* XXX this algorithm is insane, find some sanity to it. */
> +		/* [1] MMIO32 R 0x100268 0x30030200 PFB.SUBPART_CONFIG => { SELECT_MASK = 0x2 | UNK16 = 0x3 | ENABLE_MASK = 0x3 } */
> +		nv_wr32(pfb, 0x10fcac, 0x00001f01);
> +		for (o = 0; o < 4; o++) {
> +			int off = offsets[i];

maybe int off = offsets[o]; ?

@@ +387,5 @@
> +			for (i = 0x20, idx = 0; i < 0x30; i++, idx++) {
> +				int pat = pattern[2 + (idx % 2)];
> +				if (i == 0x26)
> +					pat = 0;
> +				if (i == 0x1f)

looks like this condition is always false in this for-loop

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/61

------------------------------------------------------------------------
On 2014-03-09T22:53:42+00:00 Ilia Mirkin wrote:

(In reply to comment #29)
> Created attachment 95418 [details] [review]
> another patch for gddr5 ram
> 
> I made this patch using my mmiotrace, but it doesn't help either.

Oh well. Indeed the values in your mmiotrace are different, but your and
Andrew's mmiotrace are the only traces I've seen that actually have the
writes to those 0x10fxyz registers. (A few other traces have writes to
the similar-but-different DDR3 registers.)

And yes, I definitely did want to use offsets[o] in my patch.

Well, perhaps this 0x10f stuff has nothing to do with the issue. My
observation was that it seemed like for all the people it was broken for
had GDDR5 ram, which is why I went in this direction.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/62

------------------------------------------------------------------------
On 2014-04-12T02:11:33+00:00 jwhendy wrote:

I'm trying like crazy to figure out why I have GPU lockups, but all the
bugs seem to dead end. What is the current status of this? More
information, not going to fix, unconfirmed? I have an NVA3 card (Quadro
FX 1800M, GT215) which cannot startx with acceleration, even with
firmware.

Let me know if that's applicable to this bug and how I can provide
information, if so. For reference, I'm on Arch 64bit. Trying to track
down similar bugs to decide if I'm a duplicate issue or if I should
start a new report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/65

------------------------------------------------------------------------
On 2014-07-04T08:03:07+00:00 Ilia Mirkin wrote:

*** Bug 77371 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/66

------------------------------------------------------------------------
On 2014-10-15T03:50:28+00:00 Skeggsb wrote:

Could you guys give this patch a try?

http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=1205e927a835cf9d707bd558c067f4c00ed31ec5

Thanks,
Ben.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/67

------------------------------------------------------------------------
On 2014-10-16T20:03:02+00:00 Oleg-3 wrote:

Awesome, it works for me.

Linux 3.14.14-gentoo
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVA3
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.7
OpenGL core profile shading language version string: 3.30

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/68

------------------------------------------------------------------------
On 2014-10-17T08:06:08+00:00 Oleg-3 wrote:

Created attachment 107979
noise example

In glxgears on some frames appears color noise, and it disappears or changes on next frame.
Noise appears at some frames in glxgears, and it disappears or on next frame.
Same style noise may appear (shuffled pixels) while scrolling in Firefox or switching tabs.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/69

------------------------------------------------------------------------
On 2014-10-17T08:15:24+00:00 Oleg-3 wrote:

Created attachment 107980
kernel log for weston freeze

In weston at some time computer stops responding at keyboard and mouse
events.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/70

------------------------------------------------------------------------
On 2014-10-18T16:55:18+00:00 Cybjit wrote:

I applied that patch to Ubuntu Trusty 3.13.0-38.65, and it gives a huge
improvement. X no longer crashes on startup, and 3D acceleration works.

However I also get the glitchy noise a few times a second, except when
showing a static image. It is all over the screen, and sometimes appears
as triangles.

Running glxgears and Firefox at the same time also starts giving errors
in the kernel log pretty quickly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/71

------------------------------------------------------------------------
On 2014-10-18T16:58:04+00:00 Cybjit wrote:

Created attachment 108030
Firefox and glxgears at the same time

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/72

------------------------------------------------------------------------
On 2014-10-20T00:35:38+00:00 Ilia Mirkin wrote:

*** Bug 78570 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/763052/comments/73


** Changed in: nouveau
       Status: Unknown => Confirmed

** Changed in: nouveau
   Importance: Unknown => Medium

** Bug watch added: freedesktop.org Bugzilla #41333
   https://bugs.freedesktop.org/show_bug.cgi?id=41333

** Bug watch added: freedesktop.org Bugzilla #43562
   https://bugs.freedesktop.org/show_bug.cgi?id=43562

** Bug watch added: freedesktop.org Bugzilla #50043
   https://bugs.freedesktop.org/show_bug.cgi?id=50043

** Bug watch added: freedesktop.org Bugzilla #52509
   https://bugs.freedesktop.org/show_bug.cgi?id=52509

** Bug watch added: Red Hat Bugzilla #704998
   https://bugzilla.redhat.com/show_bug.cgi?id=704998

** Bug watch added: Red Hat Bugzilla #753059
   https://bugzilla.redhat.com/show_bug.cgi?id=753059

** Bug watch added: Red Hat Bugzilla #891505
   https://bugzilla.redhat.com/show_bug.cgi?id=891505

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/763052

Title:
  Ubuntu can't boot on nvidia GeForce GT240 with nouveau drivers

Status in The Linux Kernel:
  New
Status in Accelerated Xorg driver for nVidia cards:
  Confirmed
Status in linux package in Ubuntu:
  Incomplete
Status in Fedora:
  New

Bug description:
  Binary package hint: xserver-xorg-video-nouveau

  I can't boot Ubuntu 10.10 on my PC with NVIDIA GeForce GT 240 (PCIe 16x). Instead login screen I see [attachment DSC00391.JPG].
  Ctrl+Alt+Del and SysRq+B don't work.

  Why Ubuntu use experimental (nouveau) driver?!? :
  xserver-xorg-video-nouveau - X.Org X server -- Nouveau display driver (experimental)

  WORKAROUND: 
  I must install Ubuntu from alternate CD and boot to text mode and uninstall these packages: nouveau-firmware, xserver-xorg-video-nouveau and install nvidia-current package.

  WORKAROUND: Try boot live cd with "nomodeset" option. It works for me
  on GeForce GT 240.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/763052/+subscriptions