Bug 23672 - Nouveau KMS fails with error: Failed to fence channel 0
Summary: Nouveau KMS fails with error: Failed to fence channel 0
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 23:38 UTC by Brandon Ehle
Modified: 2013-08-18 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Kernel log of nouveau KMS failure with drm debug enabled (436.61 KB, text/plain)
2009-09-02 23:38 UTC, Brandon Ehle
no flags Details

Description Brandon Ehle 2009-09-02 23:38:56 UTC
Created attachment 29162 [details]
Kernel log of nouveau KMS failure with drm debug enabled

While loading the nouveau module with KMS enabled, I get an ton of unhandled interrupt messages followed by the error "Failed to fence channel 0" at which point the driver fails to setup the device.  This is with nouveau git at c9071b39d2612ef3d5a634ce54cddb122def2fdf which incorporates the INIT_LIST_HEAD fix which prevents the kernel from oopsing after the initialization failure.

Even with the oops fix from git, attempting to start xorg and xf86-video-nouveau on the primary card after the secondary fails results in a partial system lock.  The kernel still responds to Alt-SysRQ requests, but of the rest of the operating system is unresponsive to network or keybaord events at this point.



There are two cards in the system, the 9800 is the primary and the secondary card is the 7800.  Modesetting appears to work for the 9800 device and then fail on the 7800 device from looking in the log.

03:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2)
06:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7800 GTX] (rev a1)

Loading the nouveau module without modesetting enabled succeeds and successfully sets up the 9800 as the primary card and is usable by xf86-video-nouveau and xorg from git head.  I haven't yet attempted to see if the secondary 7800 is also usable without modesetting enabled.
Comment 1 Maarten Maathuis 2009-09-03 05:09:39 UTC
Problem 1: we don't recognize if the card is posted or not for your 7800, so it doesn't even attempt to post it.

Not quite sure how to solve this.
Comment 2 Ben Skeggs 2009-09-03 05:20:42 UTC
I looked at kmmio traces, it looks like NVIDIA detect it the same way as on G8x for NV4x.  I'll check the earlier cards too and detect this correctly for earlier chips, but this detection will cause the drm to fail to initialise for those chips, we can't currently POST them from scratch.
Comment 3 Ilia Mirkin 2013-08-18 18:09:14 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.