Bug 20857

Summary: Xorg hangs when starting with nouveau
Product: xorg Reporter: Martin Ketzer <martin.ketzer>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
the Xorg.0.log
none
kernel log none

Description Martin Ketzer 2009-03-25 04:12:04 UTC
Created attachment 24231 [details]
the Xorg.0.log

i can't get nouveau to start, the screen just stays dark and i have to hard-reset the computer. I am using Debian unstable/experimental and the git-version of nouveau & drm. Details see attached Xorg.log.
Comment 1 Danny 2009-03-25 04:15:00 UTC
How about kernel logs? (with drm debug=1)

danny
Comment 2 Martin Ketzer 2009-03-25 04:30:41 UTC
Created attachment 24233 [details]
kernel log
Comment 3 Stuart Bennett 2009-04-02 15:52:05 UTC
I've recently made several changes that ought to improve the behaviour on geforce2 cards to not lock-up the chip, so if you can update nouveau and try again (new log if it's still not working) that would help.

If you find it is still hanging, mounting as "sync" the partition containing your logs (ie if /var/log is in the partition mounted at /, do "mount / -o remount,sync", will get a log with info right up to the crash.
Comment 4 Stuart Bennett 2009-04-04 12:53:25 UTC
Also, an mmiotrace of this card using the nvidia proprietary driver would be very interesting.  Detailed instructions are at http://nouveau.freedesktop.org/wiki/MmioTrace , but for a sufficiently new kernel:

mount -t debugfs debugfs <somewhere>
echo mmiotrace > <somewhere>/tracing/current_tracer
modprobe nvidia
cat <somewhere>/tracing/trace_pipe > ~/mmiotrace
startx

before starting X will suffice (assuming the nvidia proprietary driver to previously be installed and working).
Comment 5 Martin Ketzer 2009-04-05 12:30:34 UTC
The current nouveau is claiming when trying to load drm:

/usr/bin/X: symbol lookup error: /usr/lib/modules/drivers//nouveau_drv.so: undefined symbol: NVReadVgaCrtc

which i can, btw, not find in any log but only in the error-screen when x does not load.

it could take a while before i have time to do a mmiotrace.
Comment 6 Stuart Bennett 2009-04-05 15:04:17 UTC
Some Makefiles changed, you need to re-run autogen.sh on your checkout or start over with a new checkout.
Comment 7 Stuart Bennett 2009-04-05 15:18:08 UTC
If you have time to do a register dump while using the proprietary driver, that would be useful too (I'm guessing the kernel compilation for mmiotrace is the cause of the time problem).  Simply:
git clone git://anongit.freedesktop.org/~stuart/radeontool; cd radeontool; make

then run "./radeontool regs > dump" in an xterm while using the nvidia driver.
Comment 8 Ilia Mirkin 2013-08-18 18:10:00 UTC
It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/ for what we need to see, and re-open this one.

Thanks,

The Nouveau Team

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.