From owner-freebsd-mobile@FreeBSD.ORG Sun Nov 23 00:18:30 2014 Return-Path: Delivered-To: freebsd-mobile@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 73D97B52; Sun, 23 Nov 2014 00:18:30 +0000 (UTC) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BBF582C; Sun, 23 Nov 2014 00:18:30 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id dc16so4912196qab.25 for ; Sat, 22 Nov 2014 16:18:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HLCEIVjXg3vav/KfVqPQJDyifWRQw/5xgKwsjv5uidE=; b=iO8ij/v63+2OZGS8xxcV3FPNo9nSOqYMQevXth+AclsYTQTyVvqrlFF7N3FTRtE3ga m8QZ73hXJVzCSSe6r3kLJX/3rg+k2CzQdrBfKs+XWJ11Rie0y4qYCr9w8CoxUitwIygu h40hCPvoTYFk6KPuMuOGdpz2BYN0K9C11rHdJLeqynr+tcRn1frJWK4SnkkZuNKoVS8m aLTa9ak7HXqA0IABTDaPfFuZmwn+OwG/wOv1XImARwWexz7my70pS+2gOPJztAfv95sR sotThsn94qhB1ZGJT8MdkNy695cHdHwR5vfelIzChMyiyun6f0IrPoeOQ9mm9EM7Vu7E lyiw== X-Received: by 10.224.166.131 with SMTP id m3mr3926000qay.6.1416701909345; Sat, 22 Nov 2014 16:18:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.22.170 with HTTP; Sat, 22 Nov 2014 16:17:49 -0800 (PST) In-Reply-To: References: From: Henry Hu Date: Sat, 22 Nov 2014 19:17:49 -0500 Message-ID: Subject: Re: Optimus support page To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 00:18:30 -0000 On Sat, Nov 22, 2014 at 4:05 PM, Adrian Chadd wrote: > On 22 November 2014 at 13:04, Adrian Chadd wrote: > > Hi! > > > > I've gathered some info from the #freebsd-xorg channel populace about > > the Optimus support. > > > > Here: > > https://wiki.freebsd.org/OptimusVideoSupport > > It's a work in progress: > > * there's some patches to the port - hopefully it gets set to build > the optimus support as a default option so the binary packages support > it; > * the process for enabling/disabling it is clunky; > * having kernel awareness of this arrangement so it can be > disabled/enabled without having to unload the driver and fumble with > pci space config registers would be nice. > > I don't have any Optimus hardware at the moment (but donations are > appreciated! :-) so I'd appreciate feedback from Optimus users. > Instead of using "ConnectedMonitor" to fake a connected monitor, would it be better to use "UseDisplayDevice" "none"? That clearly represents that no monitor is connected. I just tried it and it looks like it works. The output of vglrun: 1984 frames in 5.0 seconds = 396.682 FPS 2285 frames in 5.0 seconds = 456.836 FPS 2300 frames in 5.0 seconds = 459.870 FPS While a normal glxgears run is synchronized to vertical refresh. But the Xorg and glxgears are using a whole lot of cpu time. Even after glxgears exits, X still uses 100% of one core. Actually, my laptop has a hdmi output which seems to be connected to the NVidia card. I hope that I can use it in the same X server with other screens (internal / vga output), and have some 3d acceleration. > Thanks! > > > -adrian > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Cheers, Henry