Bug 27049

Summary: fails to start - drm open issue?
Product: xorg Reporter: Michal Suchanek <hramrach>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
X log
none
dmesg excerpt
none
drm dmesg excerpt none

Description Michal Suchanek 2010-03-12 06:32:32 UTC
Created attachment 33996 [details]
X log

X does not start.

I am running 
linux 2.6.33, 
libdrm 2.4.18 
nouveau git
X 1.7.5
Mesa 7.7

It opens the drm device and then says it failed to open it.

I suspect I have kernel module 0.0.15 and libdrm module 0.0.16 but it is not mentioned anywhere in the log that the versions do not match.
Comment 1 Michal Suchanek 2010-03-12 06:34:45 UTC
Created attachment 33997 [details]
dmesg excerpt
Comment 2 Marcin Slusarz 2010-03-12 09:28:26 UTC
[    7.189551] [drm] nouveau 0000:03:00.0: No ctxprog for NVac

you need to install the firmware

http://nouveau.freedesktop.org/wiki/TroubleShooting
Comment 3 Michal Suchanek 2010-03-12 09:59:59 UTC
Created attachment 34004 [details]
drm dmesg excerpt

Installing the firmware changes dmesg output slightly but the X server fails in the same way producing the same log.
Comment 4 David Heidelberg (okias) 2010-03-12 10:05:29 UTC
Update to lastest git, there is no need to install firmware (nouveau tree or kernel 2.6.34-rc1+).
Comment 5 Michal Suchanek 2010-03-14 09:14:47 UTC
With 2.6.34-rc1 the X server starts.
The kernel also says in the log that it has version 0.0.16 of the nouveau drm module.

Is it possible that when the kernel drm version does not match the driver version it just quietly exits instead of reporting a meaningful error?
Comment 6 Lucas Stach 2011-02-10 06:13:11 UTC
Closing this since the issue is fixed.

And no nouveau doesn't silently fails, it always prints "(EE) [drm] failed to open device".
Comment 7 Michal Suchanek 2011-02-10 06:24:31 UTC
That's not exactly helpful output as that same message is output on various occasions and does not point at the actual issue at hand.

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.