From owner-freebsd-x11@FreeBSD.ORG Tue Jul 12 11:00:50 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41EBE106566B for ; Tue, 12 Jul 2011 11:00:50 +0000 (UTC) (envelope-from andrey.kosachenko@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id B8E228FC13 for ; Tue, 12 Jul 2011 11:00:49 +0000 (UTC) Received: by bwa20 with SMTP id 20so5380162bwa.13 for ; Tue, 12 Jul 2011 04:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3n77ZhY1J26xJjwg5z6/CGWgMsO7NX3STesGIiBO6LI=; b=SFiQv3r462Dcw2fU39yr1P5bv2IKX+8CyvJAJy0PwajU/8w/TLevXMW2GyHpeKBcPK 6eOhoCbHIBFewwIJLR9zPPiGFlwSmCTvCX75DqLvyLa8Bxoygx6Yw7GffKzzAtiNTztz 1qRbKt4nV+SJcE2R4rE0V4OQLWmu107Rt84OA= Received: by 10.204.38.80 with SMTP id a16mr3158282bke.213.1310468448469; Tue, 12 Jul 2011 04:00:48 -0700 (PDT) Received: from beastie.lan (cn-bgp-nat.portaone.com [193.28.87.242]) by mx.google.com with ESMTPS id k13sm1326382bkd.58.2011.07.12.04.00.46 (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 04:00:47 -0700 (PDT) Message-ID: <4E1C295D.2080008@gmail.com> Date: Tue, 12 Jul 2011 14:00:45 +0300 From: Andrey Kosachenko User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101218 Thunderbird/3.0.11 MIME-Version: 1.0 To: Kostik Belousov References: <20110708182040.GC48734@deviant.kiev.zoral.com.ua> <20110708184413.GD48734@deviant.kiev.zoral.com.ua> <20110709174612.GN48734@deviant.kiev.zoral.com.ua> <4E1A0362.8050808@gmail.com> <20110710212339.GO43872@deviant.kiev.zoral.com.ua> <4E1B56E7.4090801@gmail.com> <20110712081704.GB43872@deviant.kiev.zoral.com.ua> In-Reply-To: <20110712081704.GB43872@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: Intel GPU kernel driver X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2011 11:00:50 -0000 On 12.07.2011 11:17, Kostik Belousov wrote: >>>> - switching between vts (Ctrl+Alt+F[1-9]) doesn't work over here, >>>> attempt to switch to consoles within range [1-8] leads to garbled screen >>>> (https://lh4.googleusercontent.com/-WmDhn1X-Ze0/Thn-O5dfeiI/AAAAAAAAABM/WIX3co3DQaM/s720/20110710_003-1.jpeg) >>>> though 9-th (occupied by X) is always displayed properly; > Yes, VT switch handling is not implemented. Okay, got it (just expressed my observations) >> Also not sure that X actually operates w/o acceleration: the following >> output makes me think so: >> >> # env LIBGL_DEBUG=verbose sh -c 'glxinfo 2>&1' | egrep '(render|Driver)' >> direct rendering: Yes >> OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile >> GL_EXT_vertex_array_bgra, GL_NV_conditional_render, > If OpenGL apps work, and not cause the X server to die with SIGBUS, > then yes, most likely acceleration works. Yeap, agree. Unfortunately I hadn't appropriate apps at my hand at that very moment. Though freaking artificial glxgears ran w/o issues (sorry for my ignorance... I'm not a fan of games, GL neat features/effects and stuff like that, so if you can recommend smth. to test it thoroughly I'll do it and report the results) >> >> Additional information: >> - pciconf -lvb: http://pastebin.com/YT8wUBiZ > So this is another Ironlake. Hm... not sure if I got this properly. In the first post I mentioned that there is a laptop "with integrated Intel graphics card (Ironlake, 0x00468086)". pciconf -lvb output also reports "chip=0x00468086". AFAIK there are two types of chips: 0x00428086 (a.k.a. "D" (desktop?)) and 0x00468086 (a.k.a. "M" (mobile?)). And I've got exactly the second one. >> >> - dmesg output (with DE effects enabled, leads to garbled screen): >> http://pastebin.com/DU3RvzTi >> >> - dmesg output (failsafe DE session): http://pastebin.com/f4gghA6E > No useful information there. yeap, the second dmesg's output (failsafe) is clean and mentioned just for comparison. However the first one (http://pastebin.com/DU3RvzTi) contains suspicious entries (for instance line #333, #340, #367 and so forth). So I thought it could be helpful (though you considered it useless... let me know if you want to acquire more info) >> >> - and just in case X logs (with ModeDebug="true"): >> http://pastebin.com/iEPxm8ib > When did the X server segfaulted ? X segfaulted on attempt to enable desktop effects (presumes usage of composite extension). Both aforementioned logs (Xorg.log (http://pastebin.com/iEPxm8ib) and first dmesg output (http://pastebin.com/DU3RvzTi) were collected within 2-5 seconds right after X segfaulted. Also, forgot to mention that hw.dri.0.info.i915_error_state didn't contain any errors. -- WBR, Andrey Kosachenko.