From owner-freebsd-x11@FreeBSD.ORG Sat Dec 3 15:23:23 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 C9859106567E for ; Sat, 3 Dec 2011 15:23:23 +0000 (UTC) (envelope-from meowthink@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9181C8FC12 for ; Sat, 3 Dec 2011 15:23:23 +0000 (UTC) Received: by ghbg20 with SMTP id g20so5378485ghb.13 for ; Sat, 03 Dec 2011 07:23:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=hUc8wdJrCeLVRZqltkaPdEio+29f+xsVNdWF2NKeuPA=; b=AmvnYnf27pi9XAqEXjjg3rA4tYdkFkR9pIRVPwu6KTn3nMeUrmr71Cs2QzGM1SwssD vEGtozRHxMnElLcHR6JmiRhrSRav9yZ3AoASLXpDnjR7x62sHxIV1vr0Y6EdkOusr2kl nFU7BYIQEZQN3Jp/y55D8WJXgMxlkb96cGiTY= MIME-Version: 1.0 Received: by 10.236.181.231 with SMTP id l67mr4082663yhm.8.1322925803001; Sat, 03 Dec 2011 07:23:23 -0800 (PST) Received: by 10.236.66.76 with HTTP; Sat, 3 Dec 2011 07:23:22 -0800 (PST) Date: Sat, 3 Dec 2011 23:23:22 +0800 Message-ID: From: Meowthink To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problem with Intel GPU patch 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: Sat, 03 Dec 2011 15:23:23 -0000 Hello all, I doubt if there's anyone experienced with VirtualGL? I'm trying to use it on a freebsd box with Intel integrated GPU, but encourage some problems. 0. Everything runs fine(through vgl to another computer) when rendering using the software rasterizer. With DRI rendering, every function runs, except the result is weird: 1. glxshpere(the sample program shipped with vgl) keeps crashing until the default screen saver(no video output to main screen) starts. Of course, it runs fine when no video on screen, but core dumped immediately after main screen works(can be simply triggered by a mice/kb event). 2. most other apps run, but sometimes got "mixed" with on-screen contents. Here are 2 photos taken when rendering WebGL on Chromium, taken in sequence, https://picasaweb.google.com/lh/photo/14-YEYf6LAV1_NraJmO3ktMTjNZETYmyPJy0liipFm0?feat=directlink https://picasaweb.google.com/lh/photo/6hjaqF7OMnjKo31yxmp7a9MTjNZETYmyPJy0liipFm0?feat=directlink Yes, the screen blinks between these 2 states, about 3 Hz, for my eye can catch. 3. Running 2 or more instance of vgl apps will be much more unstable. Support by point 0, I guess this problem is caused by the hw/driver part. As far as I can understand, VirtualGL will cheat the target application to render into a Pbuffer, and then redirect it to client. So point 1 - 3 suggest that, something is wrong (with GEM?), resulting conflicts between real framebuffer and pbuffers. Any suggestions? ------------------------------ Config: i3-2100, H67 stable/9 kernel(svn r228226) with all.12.3.patch, xorg-dev port(svn r337), virtualgl svn r4766 - It's easy to merge kib's patch to stable/9 by tracing current commits (the patch after 12.x is not-so-easily applied mainly because of kib's patch on device pager. In case someone's in need, my patch is shared here: https://docs.google.com/open?id=0BxbPi2OX4_B-NDcwZGI1OTAtOTQxOC00YmMxLTg5ZjEtNmIxYTY0M2I0OWI5 (will be available until kib's next patch) meowthink