[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#740719: marked as done (xserver-xorg-video-intel: requires KMS but loads non-KMS i915.ko on kfreebsd)



Your message dated Thu, 23 Oct 2014 11:35:58 +0100
with message-id <20141023103557.GB22681@squeeze.pyro.eu.org>
and subject line Re: Bug#740719: xserver-xorg-video-intel: requires KMS but loads non-KMS i915.ko on kfreebsd
has caused the Debian Bug report #740719,
regarding xserver-xorg-video-intel: requires KMS but loads non-KMS i915.ko on kfreebsd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
740719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740719
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-video-intel
Version: 2.21.15
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

On 04/03/2014 10:43, Christoph Egger wrote:
> Robert Millan <rmh@debian.org> writes:
>> With latest kfreebsd-11 manual "kldload drm2" shouldn't be required anymore, just
>> "kldload i915kms". Does this work for you too?
> 
> Is there a recomended way to do that automatically? I have had i915kms
> loaded from /etc/modules for a long time now and it works well on my
> kfreebsd-10. However when I boot into kfreebsd-11 it seems to load
> i915.ko. Unloading i915 and loading i915kms later on works fine and I
> get a nice newcons and proper X after that but I'd like to have it
> activated on boot!

The intel driver is supposed to load the KMS version of the module (i915kms) instead of
the non-KMS one (i915).

Attached patch should fix this.

(please CC the bug number if you followup)

-- 
Robert Millan
diff -ur xserver-xorg-video-intel-2.21.15.old/src/intel_device.c xserver-xorg-video-intel-2.21.15/src/intel_device.c
--- xserver-xorg-video-intel-2.21.15.old/src/intel_device.c	2013-08-21 13:20:29.000000000 +0200
+++ xserver-xorg-video-intel-2.21.15/src/intel_device.c	2014-03-04 12:41:21.998263738 +0100
@@ -135,7 +135,11 @@
 
 		ret = drmCheckModesettingSupported(id);
 		if (ret) {
+#ifdef __FreeBSD_kernel__
+			if (xf86LoadKernelModule("i915kms"))
+#else
 			if (xf86LoadKernelModule("i915"))
+#endif
 				ret = drmCheckModesettingSupported(id);
 			if (ret)
 				return -1;

--- End Message ---
--- Begin Message ---
Source-Version: 2:2.21.15-2

Christoph Egger wrote:
> Christoph Egger <christoph@debian.org> writes:
> >> I assume this patch to xserver-xorg-video-intel is still needed, in
> >> order to autoload i915kms+drm2 instead of i915?
> 
> I have xserver-xorg-video-intel=2:2.21.15-2+b2 which is fine.

Hopefully you're not loading i915kms on boot;  if someone tries a
clean jessie install with i915 graphics please let us know if KMS
is working out-of-the-box.

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

--- End Message ---

Reply to: