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: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0199441287==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0199441287== Content-Type: multipart/alternative; boundary="1360745997.db2cb5c01.21638"; charset="us-ascii" --1360745997.db2cb5c01.21638 Date: Wed, 13 Feb 2013 08:59:57 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=60772 Priority: medium Bug ID: 60772 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: xf86-video-nouveau fails to modprobe nouveau: KMS not enabled QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: hkmaly-jG/AHqQBv7lBDgjK7y7TUQ@public.gmane.org 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. -- You are receiving this mail because: You are the assignee for the bug. --1360745997.db2cb5c01.21638 Date: Wed, 13 Feb 2013 08:59:57 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
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.


You are receiving this mail because:
  • You are the assignee for the bug.
--1360745997.db2cb5c01.21638-- --===============0199441287== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0199441287==--