From owner-freebsd-mobile@FreeBSD.ORG Sun May 31 19:47:02 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96741065679 for ; Sun, 31 May 2009 19:47:02 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 616138FC23 for ; Sun, 31 May 2009 19:47:02 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by qyk3 with SMTP id 3so10388930qyk.3 for ; Sun, 31 May 2009 12:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GlVoI2s+jNG4UZkgEKZ7wwes5bVVSqVmJdREWAnd448=; b=IhOIllvB/M0Kk+q1/Qrn2Ba4vk8YfcXyI//xlAcKQunTnu0e7PzGBsc1tptvk7MQQ+ YG5VE6gieEqI/+dcCsLLZuChRsYKqCnahOzAUcI/mTG01kjWGo/TSqY7kpwmkAh/rJml 5aPJ1VETbJvfdT00tiNF8LmPe0+HDh8cyeARw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=fPyx11Rid3uRZ6kAqhswYJ+aj3EgBS7wvTHMR1fjp5GgCXbRPYxLKix91SDDnDUGZC ybeepWDeD50vtCLcXewe+2qmf8PtOylj2cH9WrgBZ8hdbFit5zoe3F5qh1nlSUfa1LYB adeJB64qxEzzinSqjvabdL+8VWUWF9jVLjZKo= MIME-Version: 1.0 Received: by 10.229.70.141 with SMTP id d13mr1474753qcj.70.1243797589783; Sun, 31 May 2009 12:19:49 -0700 (PDT) In-Reply-To: <20090530140335.GA4500@current.Sisis.de> References: <20090530140335.GA4500@current.Sisis.de> Date: Mon, 1 Jun 2009 03:19:49 +0800 Message-ID: <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> From: Henry Hu To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mobile@freebsd.org Subject: Re: X.org nv driver (xf86-video-nv-2.1.13) && Quadro FX 770M && dual screens X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hu.henry9@gmail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 19:47:03 -0000 On Sat, May 30, 2009 at 10:03 PM, Matthias Apitz wrote: > > Hello > > I'd like to use the external display of my Dell M4400 as a second X displ= ay > screen, with lower resolution, to connect a beamer to it and to be able t= o direct > X applications to use it with ... -display :0.1 or even just to drag the > application to the second display. I have no idea how to configure this. > Anyone has any pointer for me where to start reading about this? Is > this possible at all with the Quadro FX 770M and the xf86-video-nv > driver? The main display on LCD runs with 1920x1200 and I don't have a > beamer supporting this resolution. You may try the nvidia driver, since I know that you can use nvidia-settings to setup such things easily. > > Thanks in advance. > > =A0 =A0 =A0 =A0matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > People who hate Microsoft Windows use Linux but people who love UNIX use = FreeBSD. > _______________________________________________ > 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" > From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 1 05:33:06 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D95F106564A for ; Mon, 1 Jun 2009 05:33:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 08FFB8FC12 for ; Mon, 1 Jun 2009 05:33:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from localhost.my.domain (ppp-93-104-101-42.dynamic.mnet-online.de [93.104.101.42]) by dd12710.kasserver.com (Postfix) with ESMTP id 88012184FD3DE; Mon, 1 Jun 2009 07:33:05 +0200 (CEST) Received: (from guru@localhost) by localhost.my.domain (8.14.3/8.14.3/Submit) id n515X6Uh001829; Mon, 1 Jun 2009 07:33:06 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 1 Jun 2009 07:33:06 +0200 From: Matthias Apitz To: hu.henry9@gmail.com Message-ID: <20090601053306.GA1801@current.Sisis.de> References: <20090530140335.GA4500@current.Sisis.de> <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-mobile@freebsd.org Subject: Re: X.org nv driver (xf86-video-nv-2.1.13) && Quadro FX 770M && dual screens X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 05:33:06 -0000 El día Monday, June 01, 2009 a las 03:19:49AM +0800, Henry Hu escribió: > On Sat, May 30, 2009 at 10:03 PM, Matthias Apitz wrote: > > > > Hello > > > > I'd like to use the external display of my Dell M4400 as a second X display > > screen, with lower resolution, to connect a beamer to it and to be able to direct > > X applications to use it with ... -display :0.1 or even just to drag the > > application to the second display. I have no idea how to configure this. > > Anyone has any pointer for me where to start reading about this? Is > > this possible at all with the Quadro FX 770M and the xf86-video-nv > > driver? The main display on LCD runs with 1920x1200 and I don't have a > > beamer supporting this resolution. > > You may try the nvidia driver, since I know that you can use > nvidia-settings to setup such things easily. Thanks for your feedback. But I'm running 8-CURRENT and it seems that the drivers at http://www.nvidia.com/object/unix.html (the latest version is 180.51 there) doesn not support -CURRENT and the kmod of the version in the port /usr/ports/x11/nvidia-driver (180.44) let X create a confi file fine with X -configure but if you launch X with the created config file it hardlocks the system. Thx matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 1 12:26:51 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF23B1065676 for ; Mon, 1 Jun 2009 12:26:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4AA8FC24 for ; Mon, 1 Jun 2009 12:26:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from localhost.my.domain (ppp-93-104-101-42.dynamic.mnet-online.de [93.104.101.42]) by dd12710.kasserver.com (Postfix) with ESMTP id 417E9184F105B; Mon, 1 Jun 2009 14:26:52 +0200 (CEST) Received: (from guru@localhost) by localhost.my.domain (8.14.3/8.14.3/Submit) id n51CQnOC002987; Mon, 1 Jun 2009 14:26:49 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 1 Jun 2009 14:26:49 +0200 From: Matthias Apitz To: hu.henry9@gmail.com, freebsd-mobile@freebsd.org Message-ID: <20090601122649.GA2902@current.Sisis.de> References: <20090530140335.GA4500@current.Sisis.de> <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> <20090601053306.GA1801@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090601053306.GA1801@current.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: Subject: Re: X.org nv driver (xf86-video-nv-2.1.13) && Quadro FX 770M && dual screens X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 12:26:52 -0000 El día Monday, June 01, 2009 a las 07:33:06AM +0200, Matthias Apitz escribió: > El día Monday, June 01, 2009 a las 03:19:49AM +0800, Henry Hu escribió: > > > You may try the nvidia driver, since I know that you can use > > nvidia-settings to setup such things easily. > > Thanks for your feedback. But I'm running 8-CURRENT and it seems that > the drivers at http://www.nvidia.com/object/unix.html (the latest > version is 180.51 there) doesn not support -CURRENT and the kmod of the > version in the port /usr/ports/x11/nvidia-driver (180.44) let X create a > config file fine with X -configure but if you launch X with the created > config file it hardlocks the system. I've searched a while the FreeBSD forum of the nvidia driver at http://www.nvnews.net/vbulletin/forumdisplay.php?f=47 and learned that the lock is caused by the huge amount of memory my laptop has (4 GByte) and one needs a setting in /boot/loader.conf of machdep.disable_mtrrs=1 with this all is fine and X comes up as it should. The actual version is 180.60 and does not compile on CURRENT. One must disable the check for this version in NVIDIA-FreeBSD-x86-180.60/src/nv-freebsd.h: /* #if __FreeBSD_version >= 800000 #error This driver does not support FreeBSD 8.x/-CURRENT! #endif */ then it compiles and installs fine. As well the nvidia-settings must be compiled directly from the source because the one in the ports has some library conflict. Thanks for your hint again matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ People who hate Microsoft Windows use Linux but people who love UNIX use FreeBSD. From owner-freebsd-mobile@FreeBSD.ORG Mon Jun 1 12:36:04 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72EBD1065674 for ; Mon, 1 Jun 2009 12:36:04 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 2A00F8FC1E for ; Mon, 1 Jun 2009 12:36:03 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by qyk3 with SMTP id 3so10873230qyk.3 for ; Mon, 01 Jun 2009 05:36:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wgD6S15Wgo+dZcSWRWNjaiAxtAj9gg4FWLC9QgbLbWM=; b=Cy89OUCW/RXxfx4E84YWN8dDuhnvBgY94eoxPrNQFUhuvHvqv7gSBXKLWLp0wwCTur exZbicVc26fRJCSt5daPz/XDtw4Cg/560RziFkL1ZCrChtfkT3tnLZA8pr2Ti9FcAwyP 6F9M5my1qZNsClFvYsp8IQdE01GvI5bQQEV2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=ZvFYYOtsSJCbztvKZLjweUeHf/pb+Pfm6rdXgC4UAnyOeXaKUPAzT5HvnXaPj4sqac 83jPqOL/Juv+eHRzTvpaT/JwkX4x1BhH6eHTYUekRb0M2jpKmPVE5LkIlt/rm5e4bSVq i5Dr7VLghRd/oBluEfmRjFhfTVw7uZh/YCSl8= MIME-Version: 1.0 Received: by 10.229.99.69 with SMTP id t5mr1630673qcn.30.1243859763545; Mon, 01 Jun 2009 05:36:03 -0700 (PDT) In-Reply-To: <20090601122649.GA2902@current.Sisis.de> References: <20090530140335.GA4500@current.Sisis.de> <53a1e0710905311219h2e7fe9c5o4ffb913e4902226f@mail.gmail.com> <20090601053306.GA1801@current.Sisis.de> <20090601122649.GA2902@current.Sisis.de> Date: Mon, 1 Jun 2009 20:36:03 +0800 Message-ID: <53a1e0710906010536r2f6c7dc4u502335f6f3e4bacc@mail.gmail.com> From: Henry Hu To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mobile@freebsd.org Subject: Re: X.org nv driver (xf86-video-nv-2.1.13) && Quadro FX 770M && dual screens X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hu.henry9@gmail.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 12:36:04 -0000 On Mon, Jun 1, 2009 at 8:26 PM, Matthias Apitz wrote: > El d=EDa Monday, June 01, 2009 a las 07:33:06AM +0200, Matthias Apitz esc= ribi=F3: > >> El d=EDa Monday, June 01, 2009 a las 03:19:49AM +0800, Henry Hu escribi= =F3: >> >> > You may try the nvidia driver, since I know that you can use >> > nvidia-settings to setup such things easily. >> >> Thanks for your feedback. But I'm running 8-CURRENT and it seems that >> the drivers at http://www.nvidia.com/object/unix.html (the latest >> version is 180.51 there) doesn not support -CURRENT and the kmod of the >> version in the port /usr/ports/x11/nvidia-driver (180.44) let X create a >> config file fine with X -configure but if you launch X with the created >> config file it hardlocks the system. > > I've searched a while the FreeBSD forum of the nvidia driver at > http://www.nvnews.net/vbulletin/forumdisplay.php?f=3D47 > and learned that the lock is caused by the huge amount of memory my > laptop has (4 GByte) and one needs a setting in /boot/loader.conf of > > machdep.disable_mtrrs=3D1 > > with this all is fine and X comes up as it should. > > The actual version is 180.60 and does not compile on CURRENT. One must > disable the check for this version in > NVIDIA-FreeBSD-x86-180.60/src/nv-freebsd.h: > > /* > #if __FreeBSD_version >=3D 800000 > #error This driver does not support FreeBSD 8.x/-CURRENT! > #endif > */ > > then it compiles and installs fine. Oh, I've forgotten the problem about large memory. By the way, since you said that the nvidia driver works well on 8-CURRENT, maybe I would upgrade to 8-CURRENT soon as it seems that there are many new features there. Have you tried 3D applications? Do they work well? > > As well the nvidia-settings must be compiled directly from the source > because the one in the ports has some library conflict. > > Thanks for your hint again > > =A0 =A0 =A0 =A0matthias > -- > Matthias Apitz > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.unixarea.de/ > People who hate Microsoft Windows use Linux but people who love UNIX use = FreeBSD. > _______________________________________________ > 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 From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 3 08:48:31 2009 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4870D1065677; Wed, 3 Jun 2009 08:48:31 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7176C8FC19; Wed, 3 Jun 2009 08:48:29 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id n538mJhi003185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Jun 2009 12:48:21 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MBm8x-0006m9-Aa; Wed, 03 Jun 2009 12:48:19 +0400 From: Vladimir Grebenschikov To: "YAMAMOTO, Taku" In-Reply-To: <20090528201844.7df2e164.taku@tackymt.homeip.net> References: <20090528191311.b68ab3b7.taku@tackymt.homeip.net> <200905281022.n4SAMdxr065296@sana.init-main.com> <20090528201844.7df2e164.taku@tackymt.homeip.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 03 Jun 2009 12:48:19 +0400 Message-Id: <1244018899.1784.45.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: acpi@freebsd.org, Takanori Watanabe , mobile@freebsd.org Subject: Re: Any success with Lenovo T60 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 08:48:31 -0000 Hi > I'll attach the patch in a Triaez fashion :) > though I don't think this is the way to go. > # We need to implement suspend_cpus() for i386 and utilize it. Just tested patch with modem suggestion on my T60. Kind of success, If I boot kernel without modules and then do suspend It resumes, and kind of 'lived' after that (everything expect display). If I had X on another vt I can switch here and it works fine. On switch back to console I get again black screen (no even backlight). hw.acpi.reset_video=1 makes difference, now after wake-up there is backlight, even sometimes just after wake-up it shows previous screen for a moment then makes it black again (but with backlight). Only switching to X reconfigures video mode again. If I try to suspend with modules loaded it does not wake up. (need to dig what module is problem) Any hints are very appreciated. PS. fresh 8-CURRENT, recent ports, patch from this thread. -- Vladimir B. Grebenschikov vova@fbsd.ru