From owner-freebsd-current@FreeBSD.ORG Sat Nov 22 11:57:30 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E5DFA3D for ; Sat, 22 Nov 2014 11:57:30 +0000 (UTC) Received: from st11p00mm-asmtp003.mac.com (st11p00mm-asmtpout003.mac.com [17.172.81.2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34EB08AD for ; Sat, 22 Nov 2014 11:57:29 +0000 (UTC) Received: from andersbo-mac.local (ti0025a400-7294.bb.online.no [85.167.207.148]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7.0.5.33.0 64bit (built Aug 27 2014)) with ESMTPSA id <0NFF00GSKVVLYP10@st11p00mm-asmtp003.mac.com> for freebsd-current@freebsd.org; Sat, 22 Nov 2014 11:57:23 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.28,0.0.0000 definitions=2014-11-22_01:2014-11-21,2014-11-21,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1408290000 definitions=main-1411220099 Message-id: <54707A20.7060708@icloud.com> Date: Sat, 22 Nov 2014 12:57:20 +0100 From: Anders Bolt-Evensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-version: 1.0 To: freebsd-current@freebsd.org Subject: Starting intel driver fails on boot Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 11:57:30 -0000 Hello. A few months ago I sent an e-mail to this mailing list and reported about problems related to starting X on FreeBSD when using EFI mode. I "fixed" that problem by using the "scfb" driver from ports. Today I, using "Xorg -configure", was playing around with the intel driver, since my Mac has a built-in Intel HD 3000 graphics card as well as a Radeon HD 6770M. For some reason, when I attempt to start X with the intel driver, the screen freezes. However, if I start X using scfb and then manually load the i915kms kernel module, the system works perfectly fine until I leave X (at that time the screen freezes again). When using the xorg.conf.new file generated by Xorg -configure, the system prefers to use the intel driver rather than the radeon driver (neither of which seem to work). Taking a look at the output of dmesg -a from a verbose boot, I noted the following messages: info: [drm] Initialized drm 1.1.0 20060810 drmn1: on vgapci1 vgapci1: attempting to allocate 1 MSI vectors (1 supported) msi: routing MSI IRQ 268 to local APIC 2 vector 50 vgapci1: using IRQ 268 for MSI info: [drm] MSI enabled 1 message(s) info: [drm] AGP at 0xa0000000 256MB iicbus0: on iicbb0 addr 0xff iic0: on iicbus0 iic1: on iicbus1 iicbus2: on iicbb1 addr 0x0 iic2: on iicbus2 iic3: on iicbus3 iicbus4: on iicbb2 addr 0x0 iic4: on iicbus4 iic5: on iicbus5 iicbus6: on iicbb3 addr 0x0 iic6: on iicbus6 iic7: on iicbus7 iicbus8: on iicbb4 addr 0x0 iic8: on iicbus8 iic9: on iicbus9 iicbus10: on iicbb5 addr 0x0 iic10: on iicbus10 iic11: on iicbus11 iicbus12: on iicbb6 addr 0x0 iic12: on iicbus12 iic13: on iicbus13 iicbus14: on iicbb7 addr 0x0 iic14: on iicbus14 iic15: on iicbus15 info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. info: [drm] Enabling RC6 states: RC6 off, RC6p off, RC6pp off drmn1: taking over the fictitious range 0xa0000000-0xb0000000 info: [drm] Connector LVDS-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.LVDS-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector VGA-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.VGA-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector HDMI-A-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.HDMI-A-1 info: [drm] - kern.vt.fb.default_mode info: [drm] Connector DP-1: get mode from tunables: info: [drm] - kern.vt.fb.modes.DP-1 info: [drm] - kern.vt.fb.default_mode fbd1 on drmn1 VT: Replacing driver "efifb" with new "fb". info: [drm] Changing LVDS panel from (+hsync, +vsync) to (-hsync, -vsync) info: [drm] Initialized i915 1.6.0 20080730 error: [drm:pid0:intel_lvds_enable] *ERROR* timed out waiting for panel to power off Can someone please tell me what those messages (especially the last 4 messages) mean? Are they somehow related to the reason why the screen freezes when the intel driver is loaded during the launch of X? Output of uname -a: FreeBSD andersbo-mac.local 11.0-CURRENT FreeBSD 11.0-CURRENT #11 r274793M: Fri Nov 21 16:26:45 CET 2014 root@andersbo-mac.local:/usr/obj/usr/src/sys/KERNEL amd64