X does not start on GT240

Bug #951331 reported by Daniel Nicoletti
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nouveau Xorg driver
Invalid
Critical
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Hi,
I've installed 12.04 and decided to try nouveau since I'm coding colord-kde
which requires XRandR 1.3 (NVIDIA proprietary only supports 1.2), on my wife's
laptop the nouveau driver worked fine which is a GT230M iirc, but
my GT240 failed, If I ssh and kill KDM I'm able to use the ttyX
otherwise the screen is black...

Here is what I have on syslog:
Mar 9 17:15:33 Hommer kdm[1373]: X server startup timeout, terminating
Mar 9 17:15:35 Hommer kernel: [ 45.949506] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:37 Hommer kernel: [ 47.985846] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:37 Hommer kernel: [ 50.097667] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro,commit=0
Mar 9 17:15:37 Hommer kernel: [ 50.169289] EXT4-fs (sda1): re-mounted. Opts: commit=0
Mar 9 17:15:39 Hommer kernel: [ 49.986244] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:41 Hommer kernel: [ 51.987480] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:43 Hommer kernel: [ 53.988622] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:45 Hommer kernel: [ 55.989725] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:15:47 Hommer kernel: [ 57.990810] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:03 Hommer kdm[1373]: X server termination timeout, killing
Mar 9 17:16:06 Hommer kernel: [ 79.356009] [drm] nouveau 0000:01:00.0: Failed to idle channel 2.
Mar 9 17:16:08 Hommer kernel: [ 79.360372] [drm] nouveau 0000:01:00.0: Ctxprog is still running
Mar 9 17:16:10 Hommer kernel: [ 81.361439] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:13 Hommer kdm[1373]: X server is stuck in D state; leaving it alone
Mar 9 17:16:13 Hommer kdm[1373]: Failed to start X server. Starting failsafe X server.
Mar 9 17:16:13 Hommer kernel: [ 86.356022] [drm] nouveau 0000:01:00.0: Failed to idle channel 3.
Mar 9 17:16:13 Hommer kdm[2023]: Cannot execute "/etc/gdm/failsafeXServer": No such file or directory
Mar 9 17:16:15 Hommer kernel: [ 86.360002] [drm] nouveau 0000:01:00.0: Ctxprog is still running
Mar 9 17:16:17 Hommer kernel: [ 88.361085] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:19 Hommer kernel: [ 90.363170] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:21 Hommer kernel: [ 92.364439] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:23 Hommer kernel: [ 94.365573] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:25 Hommer kernel: [ 96.366699] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:27 Hommer kernel: [ 98.367828] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:28 Hommer kdm[1373]: X server died during startup
Mar 9 17:16:28 Hommer kdm[1373]: Failed to start X server. Starting failsafe X server.
Mar 9 17:16:28 Hommer kdm[2027]: Cannot execute "/etc/gdm/failsafeXServer": No such file or directory
Mar 9 17:16:29 Hommer kernel: [ 100.368962] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:31 Hommer kernel: [ 102.370406] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:33 Hommer kernel: [ 104.371116] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:35 Hommer kernel: [ 106.371769] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:37 Hommer kernel: [ 108.372000] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:39 Hommer kernel: [ 110.372048] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:41 Hommer kernel: [ 112.372539] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:43 Hommer kernel: [ 114.372658] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000
Mar 9 17:16:43 Hommer kdm[1373]: X server died during startup
Mar 9 17:16:43 Hommer kdm[1373]: X server for display :0 cannot be started, session disabled
Mar 9 17:16:45 Hommer kernel: [ 116.372788] [drm] nouveau 0000:01:00.0: PGRAPH TLB flush idle timeout fail: 0x011e0101 0x00000000 0x0000002d 0x00348000

bugbot (bugbot)
tags: added: kubuntu
Revision history for this message
In , Daniel Nicoletti (dantti) wrote :

Created attachment 61743
dmesg run from ssh

Hi,
my card is unfortunately useless with nouveau
when I bootup a "corrupted" screen shows up
and stay there, after everything is loaded
and X is supposed to start it doesn't start
so either X and console doesn't work with it.

I'm using xorg-edgers drivers from ubuntu PPA,
that use to be quite new, just in case a fedora
live cd also doesn't boot.

Please ask if so can provide more info

Thanks.

Revision history for this message
In , Maarten Maathuis (madman2003) wrote :

Two things, it's an NVA3, not NV40.

Secondly i notice the word "Optimus" in your log, which to the best of knowledge means that you have a mixed intel/nvidia system and the nvidia gpu doesn't have any outputs/monitors attached, only the intel.

As far as i know optimus is not (well) supported under linux, but others might know more about that.

In the meantime, the intel driver in principle should work (although the nvidia gpu may still be consuming energy and doing nothing) if this is really an optimus system.

Revision history for this message
In , Peter Wu (lekensteyn) wrote :

That optimus message is a mistake that is fixed in newer kernels:

commit f24f9104f70cabc2534b16f94149d33127d249d5
Author: Dave Airlie <email address hidden>
Date: Wed May 2 20:26:24 2012 +0100

    nouveau: initialise has_optimus variable.

    commit addde4ec31456c5f1e9b61aae3edcfeb0f338f87 upstream.

    We should initialise this to 0 really to avoid getting false positives.

    Signed-off-by: Dave Airlie <email address hidden>
    Signed-off-by: Greg Kroah-Hartman <email address hidden>

Revision history for this message
In , Daniel Nicoletti (dantti) wrote :

Ok I didn't know it was NVA3.

And as the last comment says it's a mistake message,
since I run a desktop with an off board PCI-E card.

Is it possible that a newer kernel don't think I have
an intel? Or there might be another issue not
related to this?

Thanks.

Revision history for this message
In , Daniel Nicoletti (dantti) wrote :

Created attachment 61823
kernel 3.4-rc6 dmesg log

Revision history for this message
In , Daniel Nicoletti (dantti) wrote :

I have some news, I belive the commit shown here
actually disabled this optimus feature that is not
really available here, so using a kernel 3.4-rc6
shows kubuntu logo at 1920.1080 and allows me to
use the console, however the X still doesn't start.
Since I got a kernel patch upstream I did the test
to see if it was working fine and ended up noticing
nouveau starting to work here...

I'm adding a new dmesg log

madbiologist (me-again)
tags: added: precise
Changed in nouveau:
importance: Unknown → Critical
status: Unknown → Confirmed
Revision history for this message
In , Emil-l-velikov (emil-l-velikov) wrote :

*** This bug has been marked as a duplicate of bug 41333 ***

Changed in nouveau:
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Daniel Nicoletti, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc5

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

affects: xserver-xorg-video-nouveau (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-kernel-logs needs-upstream-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.