[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 Fri, 22 May 2015 00:34:41 +0000
with message-id <E1YvavB-0006TQ-NU@franck.debian.org>
and subject line Bug#740719: fixed in xserver-xorg-video-intel 2:2.21.15-2+kbsd8u1
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: xserver-xorg-video-intel
Source-Version: 2:2.21.15-2+kbsd8u1

We believe that the bug you reported is fixed in the latest version of
xserver-xorg-video-intel, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 740719@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steven Chamberlain <steven@pyro.eu.org> (supplier of updated xserver-xorg-video-intel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 21 May 2015 23:58:08 +0000
Source: xserver-xorg-video-intel
Binary: xserver-xorg-video-intel xserver-xorg-video-intel-dbg
Architecture: source
Version: 2:2.21.15-2+kbsd8u1
Distribution: jessie-kfreebsd
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Steven Chamberlain <steven@pyro.eu.org>
Description:
 xserver-xorg-video-intel - X.Org X server -- Intel i8xx, i9xx display driver
 xserver-xorg-video-intel-dbg - X.Org X server -- Intel i8xx, i9xx display driver (debug symbols)
Closes: 740719
Changes:
 xserver-xorg-video-intel (2:2.21.15-2+kbsd8u1) jessie-kfreebsd; urgency=medium
 .
   * Autoload i915kms module on kfreebsd (Closes: #740719).
Checksums-Sha1:
 c545f1a543ce0aaf66f63ee817d217f0eb8c7873 2599 xserver-xorg-video-intel_2.21.15-2+kbsd8u1.dsc
 d23ec1ff95f811e13aaa17116a2aa66f910510f9 769009 xserver-xorg-video-intel_2.21.15-2+kbsd8u1.diff.gz
Checksums-Sha256:
 bd8b76e27be47a7dd7bdd0d9426ba49fa7b21f1963deef3ce9090c03752a0954 2599 xserver-xorg-video-intel_2.21.15-2+kbsd8u1.dsc
 a5ac2e2a4ab37f62a35a04ea4dfe603cb6dc5d29eda51c89f5dbe8e98f014945 769009 xserver-xorg-video-intel_2.21.15-2+kbsd8u1.diff.gz
Files:
 4eda760899f776accf2f3ccbdc7bbaee 2599 x11 optional xserver-xorg-video-intel_2.21.15-2+kbsd8u1.dsc
 c4c198733f92d376a566534a7e7cdb32 769009 x11 optional xserver-xorg-video-intel_2.21.15-2+kbsd8u1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVXnLJAAoJELrpzbaMAu5TLKoIALzQNpEKaldi+8ZEWQAWqdIU
Rh1C62xvJvqREPlJN+bfRu76pZP2c2X2ZDRgTczysXAieCpkPyRppGL21ArYidCf
5ok+y8eyaRq1VY8J1/HeIVkmnlTUU9DDlUBAS1/DF+pFZA9DpCIDiF8p19pCel7d
FtdiAbn1pO0IQ3AUTmN4I6uy164kxOu1LC/hN1mIGn9hQZUXMdqg2BO8SKqPYHu5
m2FbYDikG7St47MoXlCvd52YYClTuCRgf7MsgouxSZCk3ksTI1DXC54ZBGSYpftq
Z3MiRbb+z+hutAhYsfrcbG/XKf8IBKhQJCu/Sh4SZV6W9Jee/FMg6y5oHOa2ZOU=
=WKuB
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: