From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 60772] New: xf86-video-nouveau fails to modprobe
nouveau: KMS not enabled
Date: Wed, 13 Feb 2013 08:59:57 +0000
Message-ID:
Priority
medium
Bug ID
60772
Assignee
nouveau@lists.freedesktop.org
Summary
xf86-video-nouveau fails to modprobe nouveau: KMS not enabled
QA Contact
xorg-team@lists.x.org
Severity
normal
Classification
Unclassified
OS
Linux (All)
Reporter
hkmaly@bigfoot.com
Hardware
x86 (IA32)
Status
NEW
Version
unspecified
Component
Driver/nouveau
Product
xorg
When nouveau kernel module is build as module and not inserted manually, X
server won't start with message "[drm] KMS not enabled".
Older versions (like xf86-video-nouveau-0.0.16) didn't have that problem.
Reason is in function NVHasKMS, where you FIRST call
drmCheckModesettingSupported and THEN nouveau_device_open, meaning
drmCheckModesettingSupported will fail.
When the calls are switched, nouveau_device_open will call modprobe and insert
the nouveau module, so later drmCheckModesettingSupported works correctly.