From owner-freebsd-x11@FreeBSD.ORG Mon Feb 20 11:07:20 2012 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 E096D1065677 for ; Mon, 20 Feb 2012 11:07:20 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CEE2E8FC1B for ; Mon, 20 Feb 2012 11:07:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1KB7KcV090322 for ; Mon, 20 Feb 2012 11:07:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1KB7KZ7090320 for freebsd-x11@FreeBSD.org; Mon, 20 Feb 2012 11:07:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Feb 2012 11:07:20 GMT Message-Id: <201202201107.q1KB7KZ7090320@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org 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: Mon, 20 Feb 2012 11:07:21 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/165254 x11 [PATCH] fixes to x11-fonts/xorg-fonts makefile to hand p ports/164349 x11 [PATCH] x11/libXinerama :1 LeftOf or Above :0 mouse is o ports/161480 x11 [patch] x11/luit: don't depend on pty(4), use openpty( o ports/161021 x11 [patch] x11/xkeyboard-config: orphaned dirs when WITHO o ports/160968 x11 [patch] ports/x11/libXi broken manpages o ports/160963 x11 [patch] x11/bigreqsproto: disable specs p ports/160357 x11 x11/dri2proto port update o ports/160354 x11 x11-drivers/xf86-video-intel29 port update o ports/159792 x11 [patch] USB HID devices support for x11-drivers/xf86-i o ports/158529 x11 [patch] x11-servers/xorg-server: conditionalize --with o ports/158513 x11 Broken Xvideo in x11-drivers/xf86-video-intel drivers o ports/157282 x11 [MAINTAINER PATCH] net/xrdp: effective login name is n o ports/156949 x11 x11-drivers/xf86-video-ati 6.14.1 produce black blank f ports/156424 x11 8.2R xrandr & xf86-video-intel & xorg-server packages o ports/156405 x11 x11-drivers/xf86-video-ati driver: no hardware renderi o ports/156369 x11 x11-drivers/xf86-video-vmware: DPI value wrong calcula o ports/156368 x11 x11-drivers/xf86-video-vmware: pwcview does not work o ports/156042 x11 x11/xorg hang in combination with KWin-Tiling o ports/155696 x11 [patch] x11-servers/xorg-server: chase AIGLX altered d o ports/155683 x11 x11/xdm [patch] Enabling IPv6 support breaks IPv4 o ports/154651 x11 [PATCH] graphics/dri: make it possible to choose which f ports/154510 x11 [patch] x11/xorg: xorg servers have Motif-crippling bu o ports/154502 x11 x11/xdm authorization failure when used with E17 windo o ports/154449 x11 x11/xorg: missing manpage (7) Xsecurity o ports/154423 x11 x11-drivers/xf86-video-radeonhd: radeon xorg driver ca o ports/153593 x11 graphics/dri: clutter segfault, something to do with i o ports/153495 x11 x11-drivers/xf86-video-ati wavy line problem for lenov o ports/153358 x11 x11-drivers/xf86-video-intel: Intel driver freeze with o ports/152159 x11 [hang] xorg/x11: X11 freezes with Intel Mobile 965 and o ports/151596 x11 x11/xorg: wacom bamboo button 1 no longer works o ports/150633 x11 x11-servers/xorg-server: KVM switching causing X serve o ports/150155 x11 x11/xorg hangs after xrandr(1) usage o ports/149743 x11 x11/xorg: garbled window since Xorg-7.5 o ports/149636 x11 x11/xorg: buffer overflow in pci_device_freebsd_read_r o ports/148591 x11 information note for x11-drivers/xf86-input-synaptics o ports/148444 x11 [hang] x11-drivers/xf86-video-intel: intel driver free f ports/148340 x11 x11-drivers/xf86-video-neomagic: unresolved symbol xf8 o ports/147318 x11 [Patch]graphics/libdrm:Fix the PLIST when define WITHO o ports/147149 x11 x11/xorg: Xorg 7.5 hangs o ports/146460 x11 x11/xorg: crash after upgrade to v7.5 with radeon driv o ports/146321 x11 x11/libSM picks the wrong uuid.h o ports/146256 x11 x11/xorg does fails to start after upgrade from 7.4 to o ports/145649 x11 x11/xorg: X server crashes when starting opengl compos o ports/142069 x11 x11/xorg: After adding on a laptop Toshiba Sattelite L o ports/141660 x11 x11/xorg: X can't determine amount of video memory on o ports/139011 x11 [patch] Add options to support GLX TLS in x11-servers o ports/135276 x11 x11/xorg: GUI running first time only while using Free o ports/134132 x11 x11-servers/xorg-server: Intel i845 - xorg.conf with U o ports/131930 x11 [PATCH] x11-servers/xorg-server coredumps on exit o ports/131726 x11 x11-servers/xorg-server: xorg server messes with my eh s kern/130478 x11 [request] Port Linux kernel stub of nouveau to FreeBSD o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/120947 x11 x11/xsm ignores system.xsm and .xsmstartup s ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) 54 problems total. From owner-freebsd-x11@FreeBSD.ORG Wed Feb 22 22:26:00 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 482401065676; Wed, 22 Feb 2012 22:26:00 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0BD8FC14; Wed, 22 Feb 2012 22:26:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1MMPxiM065582; Wed, 22 Feb 2012 22:25:59 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1MMPxqf065581; Wed, 22 Feb 2012 22:25:59 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Wed, 22 Feb 2012 23:25:45 +0100 From: Baptiste Daroussin To: danfe@FreeBSD.org, x11@FreeBSD.org, ports@FreeBSD.org Message-ID: <20120222222544.GA88092@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Fix nvidia-like ports, help needed 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: Wed, 22 Feb 2012 22:26:00 -0000 --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, this mail is also sent to ports@ has the problem we have with nvidia-driver might also occur elsewhere and we need a general fix for that. First what is the failure: nvidia driver overwrite libGL.so provided by another package which is broken by design because the package database isn't consistent anymore. however this nvidia-driver needs to replace libGL.so. In that case we definitely need to have a tool allowing us to safely provide libGL.so and switch between the mesa one and the nvidia one. currently this kind of bugs silently occurs with pkg_install, but pkgng is more strict about that and refuses it. We then need a tool like gentoo's eselect, redhat alternative and I don't remember the name for debian. We need it the FreeBSD way, not sure we need something as complex as what the linux distribution does, maybe yes. I wrote a quick and dirty script named alternative: http://people.freebsd.org/~bapt/alternative.txt That get informations about the alternatives in ${LOCALBASE}/etc/alternative.d ${LOCALBASE}/etc/alternative.d/libgl ${LOCALBASE}/etc/alternative.d/libgl/nvidia ${LOCALBASE}/etc/alternative.d/libgl/nvidia/nvidia.cf ${LOCALBASE}/etc/alternative.d/libgl/libgl.cf ${LOCALBASE}/etc/alternative.d/libgl/current ${LOCALBASE}/etc/alternative.d/libgl/mesa ${LOCALBASE}/etc/alternative.d/libgl/mesa/mesa.cf current behing a symlink to either nvidia or mesa cat libgl.cf: NAME="libgl" DESCRIPTION="Default OpenGL library" cat mesa/mesa.cf NAME=mesa DESCRIPTION="libGL provided by the mesa project" cat nvidia/nvidia.cf NAME=nvidia DESCRIPTION="libGL provided by the nvidia driver" with that nvidia could have libgl-nvidia.so and mesa libgl-mesa.so the script alternative might change the libgl.so symlink to point on nvidia or mesa depending on the user choices. this script is just an idea definitly not an implementation. nvidia case is just an example but the script should try to be more general. (handle binaries scripts etc.) I don't have time to work on this currently hope someone will takle this task. regards, Bapt --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9Fa2gACgkQ8kTtMUmk6ExHvQCfc/GTRtUifFYGdNIhEkC/uo/v ynoAn2rHUaiKFw0mFj1GlQAEmgmsxmZo =DvoU -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- From owner-freebsd-x11@FreeBSD.ORG Wed Feb 22 23:51:23 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B4011065672; Wed, 22 Feb 2012 23:51:23 +0000 (UTC) (envelope-from jhein@symmetricom.com) Received: from duck.timing.com (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 2AD9E8FC22; Wed, 22 Feb 2012 23:51:22 +0000 (UTC) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by duck.timing.com (8.14.5/8.14.4) with ESMTP id q1MNaCor077576; Wed, 22 Feb 2012 16:36:12 -0700 (MST) (envelope-from jhein@symmetricom.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.5/8.14.5) with ESMTP id q1MNa8d1001506; Wed, 22 Feb 2012 16:36:08 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.5/8.14.5/Submit) id q1MNa8uA001504; Wed, 22 Feb 2012 16:36:08 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20293.31720.350021.74506@gromit.timing.com> Date: Wed, 22 Feb 2012 16:36:08 -0700 From: John Hein To: Baptiste Daroussin In-Reply-To: <20120222222544.GA88092@azathoth.lan> References: <20120222222544.GA88092@azathoth.lan> X-Mailer: VM 8.2.0b-8.2.x-reddyuday.r1325 under 23.3.1 (i386-portbld-freebsd7.3) Cc: ports@FreeBSD.org, danfe@FreeBSD.org, x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Wed, 22 Feb 2012 23:51:23 -0000 Baptiste Daroussin wrote at 23:25 +0100 on Feb 22, 2012: > Hi all, > > this mail is also sent to ports@ has the problem we have with nvidia-driver > might also occur elsewhere and we need a general fix for that. > > First what is the failure: nvidia driver overwrite libGL.so provided by another > package which is broken by design because the package database isn't consistent > anymore. however this nvidia-driver needs to replace libGL.so. > > In that case we definitely need to have a tool allowing us to safely provide > libGL.so and switch between the mesa one and the nvidia one. > > currently this kind of bugs silently occurs with pkg_install, but pkgng is more > strict about that and refuses it. > > We then need a tool like gentoo's eselect, redhat alternative and I don't > remember the name for debian. > > We need it the FreeBSD way, not sure we need something as complex as what the > linux distribution does, maybe yes. > > I wrote a quick and dirty script named alternative: > http://people.freebsd.org/~bapt/alternative.txt > > That get informations about the alternatives in ${LOCALBASE}/etc/alternative.d > > ${LOCALBASE}/etc/alternative.d/libgl > ${LOCALBASE}/etc/alternative.d/libgl/nvidia > ${LOCALBASE}/etc/alternative.d/libgl/nvidia/nvidia.cf > ${LOCALBASE}/etc/alternative.d/libgl/libgl.cf > ${LOCALBASE}/etc/alternative.d/libgl/current > ${LOCALBASE}/etc/alternative.d/libgl/mesa > ${LOCALBASE}/etc/alternative.d/libgl/mesa/mesa.cf > > current behing a symlink to either nvidia or mesa > > cat libgl.cf: > NAME="libgl" > DESCRIPTION="Default OpenGL library" > > cat mesa/mesa.cf > NAME=mesa > DESCRIPTION="libGL provided by the mesa project" > > cat nvidia/nvidia.cf > NAME=nvidia > DESCRIPTION="libGL provided by the nvidia driver" > > with that nvidia could have libgl-nvidia.so and mesa libgl-mesa.so > > the script alternative might change the libgl.so symlink to point on nvidia or > mesa depending on the user choices. > > this script is just an idea definitly not an implementation. > > nvidia case is just an example but the script should try to be more general. > (handle binaries scripts etc.) > > I don't have time to work on this currently hope someone will takle this task. One of the issues with 'alternatives' implementations is that they are not selectable per-user (including non superuser). In this particular case (libGL), also what about the native X server vs. virtual X servers that support using the mesa lib (per-application selection)? In addition to something like alternatives, another option is to allow installation of conflicting files (like libGL.so in this case) to separate directories and specify which to use using a path (like LD_LIBRARY_PATH or rpath at compile time). That can help with the aforementioned per-user and per-application variation. Personally, I prefer the "path" method over something like alternative sym links (e.g., debian/redhat alternatives). There can still be a front-end tool to get at the "alternates" configuration information, but I like the ability to set a path rather than a sym link. From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 01:35:02 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id B72751065673; Thu, 23 Feb 2012 01:35:02 +0000 (UTC) Date: Thu, 23 Feb 2012 01:35:02 +0000 From: Alexey Dokuchaev To: John Hein Message-ID: <20120223013502.GA78308@FreeBSD.org> References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20293.31720.350021.74506@gromit.timing.com> User-Agent: Mutt/1.4.2.1i Cc: ports@FreeBSD.org, Baptiste Daroussin , x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 01:35:02 -0000 On Wed, Feb 22, 2012 at 04:36:08PM -0700, John Hein wrote: > One of the issues with 'alternatives' implementations is that they are > not selectable per-user (including non superuser). > > In this particular case (libGL), also what about the native X server > vs. virtual X servers that support using the mesa lib (per-application > selection)? > > In addition to something like alternatives, another option is to allow > installation of conflicting files (like libGL.so in this case) to > separate directories and specify which to use using a path (like > LD_LIBRARY_PATH or rpath at compile time). That can help with the > aforementioned per-user and per-application variation. > > Personally, I prefer the "path" method over something like alternative > sym links (e.g., debian/redhat alternatives). There can still be a > front-end tool to get at the "alternates" configuration information, > but I like the ability to set a path rather than a sym link. I tend to agree. While I currently do not see clearly the best solution to the problem, when I see "etc/alternative.d" I want to unsee it ASAP. For nvidia driver, it might be easier to simply provide a knob in xorg-server and libGL and perhaps register a dependency on nvidia-driver; no need to invent some cumbersome framework. ./danfe From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 03:13:48 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835521065670; Thu, 23 Feb 2012 03:13:48 +0000 (UTC) (envelope-from rflynn@acsalaska.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 497D58FC15; Thu, 23 Feb 2012 03:13:48 +0000 (UTC) Received: from [127.0.0.1] (squeeze.lan.rachie.is-a-geek.net [192.168.2.30]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 479A37E854; Wed, 22 Feb 2012 17:55:44 -0900 (AKST) Message-ID: <4F45AA9C.5080303@acsalaska.net> Date: Thu, 23 Feb 2012 03:55:24 +0100 From: Mel Flynn User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Alexey Dokuchaev References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> In-Reply-To: <20120223013502.GA78308@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, Baptiste Daroussin , x11@freebsd.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 03:13:48 -0000 On 2/23/2012 02:35, Alexey Dokuchaev wrote: > On Wed, Feb 22, 2012 at 04:36:08PM -0700, John Hein wrote: >> One of the issues with 'alternatives' implementations is that they are >> not selectable per-user (including non superuser). >> >> In this particular case (libGL), also what about the native X server >> vs. virtual X servers that support using the mesa lib (per-application >> selection)? >> >> In addition to something like alternatives, another option is to allow >> installation of conflicting files (like libGL.so in this case) to >> separate directories and specify which to use using a path (like >> LD_LIBRARY_PATH or rpath at compile time). That can help with the >> aforementioned per-user and per-application variation. >> >> Personally, I prefer the "path" method over something like alternative >> sym links (e.g., debian/redhat alternatives). There can still be a >> front-end tool to get at the "alternates" configuration information, >> but I like the ability to set a path rather than a sym link. > > I tend to agree. While I currently do not see clearly the best solution to > the problem, when I see "etc/alternative.d" I want to unsee it ASAP. > > For nvidia driver, it might be easier to simply provide a knob in > xorg-server and libGL and perhaps register a dependency on nvidia-driver; > no need to invent some cumbersome framework. Years ago, I suggested to have nvidia-driver conflict with Mesa libGL and select nvidia through WITH_NVIDIA_GL knob. At the time the consensus was that end users shouldn't be left with a non-working system if they uninstall the driver. So maybe the solution it to have a "restore" mechanism in place (/usr/local/lib/pkg/restore?) that puts replaced files back. This is essentially what nvidia-driver is doing, not just with libGL. The challenge will to update the pkg that it replaced files for and to know that it should not install the files that are replaced in case of an upgrade of that package. This will also make things easier for users, because the current situation is that after an upgrade of Mesa, users will need to forcibly reinstall nvidia-driver to overwrite the libGL. -- Mel From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 07:21:37 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 918E51065674; Thu, 23 Feb 2012 07:21:37 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 59AA98FC08; Thu, 23 Feb 2012 07:21:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1N7Lb27072026; Thu, 23 Feb 2012 07:21:37 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1N7Lb5v071999; Thu, 23 Feb 2012 07:21:37 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Thu, 23 Feb 2012 08:21:33 +0100 From: Baptiste Daroussin To: Alexey Dokuchaev Message-ID: <20120223072132.GB88092@azathoth.lan> References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0eh6TmSyL6TZE2Uz" Content-Disposition: inline In-Reply-To: <20120223013502.GA78308@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 07:21:37 -0000 --0eh6TmSyL6TZE2Uz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2012 at 01:35:02AM +0000, Alexey Dokuchaev wrote: > On Wed, Feb 22, 2012 at 04:36:08PM -0700, John Hein wrote: > > One of the issues with 'alternatives' implementations is that they are > > not selectable per-user (including non superuser). > >=20 > > In this particular case (libGL), also what about the native X server > > vs. virtual X servers that support using the mesa lib (per-application > > selection)? > >=20 > > In addition to something like alternatives, another option is to allow > > installation of conflicting files (like libGL.so in this case) to > > separate directories and specify which to use using a path (like > > LD_LIBRARY_PATH or rpath at compile time). That can help with the > > aforementioned per-user and per-application variation. > >=20 > > Personally, I prefer the "path" method over something like alternative > > sym links (e.g., debian/redhat alternatives). There can still be a > > front-end tool to get at the "alternates" configuration information, > > but I like the ability to set a path rather than a sym link. >=20 > I tend to agree. While I currently do not see clearly the best solution = to > the problem, when I see "etc/alternative.d" I want to unsee it ASAP. >=20 > For nvidia driver, it might be easier to simply provide a knob in > xorg-server and libGL and perhaps register a dependency on nvidia-driver; > no need to invent some cumbersome framework. Why not but which package will provide the libGL.so file? in all case the u= sers might need to be able to switch the libGL.so file from the nvidia one to the mesa one, what would a user have to do for that, in particular a user using= only binary packages where a file can't belong to 2 different packages without conflicting? if someone have a better solution than a framework for that I'm open but no= the knob is not a solution for package people. regards, Bapt --0eh6TmSyL6TZE2Uz Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9F6PwACgkQ8kTtMUmk6Ewd/QCfXxbHBhX91uwFVWvIab/bZ0nP +qcAn3gzdWdRYeAmVR+N32WBALERK7fJ =gYLG -----END PGP SIGNATURE----- --0eh6TmSyL6TZE2Uz-- From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 09:08:15 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C86C6106566B; Thu, 23 Feb 2012 09:08:15 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BF0AE8FC08; Thu, 23 Feb 2012 09:08:14 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so1103485bkc.13 for ; Thu, 23 Feb 2012 01:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=soNzDPB44P4eYky5zkcEUCHPskmuD+WakVBvbJYkAk8=; b=wl6Si0vZrJYmZ748oiNwmo8BJlgTZwF3eA9cVNdlbeZoOuz2SJe0bS2B++FL9CCJUm 9ruoQ1UCJ9CAtHWJGnkyhtU4il2tn/EQusSwaQqdi4xz1PXHIM6VTYe7GCzPc4Es1+8Q 00IyeMLwAReyZqKkZ7Rb8l5vO5Joy1A73SSV0= Received: by 10.204.173.11 with SMTP id n11mr186752bkz.120.1329988093552; Thu, 23 Feb 2012 01:08:13 -0800 (PST) Received: from woodstock.peanuts (host230-120-dynamic.51-79-r.retail.telecomitalia.it. [79.51.120.230]) by mx.google.com with ESMTPS id y9sm1336531bkw.5.2012.02.23.01.08.12 (version=SSLv3 cipher=OTHER); Thu, 23 Feb 2012 01:08:12 -0800 (PST) Sender: Alberto Villa From: Alberto Villa Organization: The FreeBSD Project To: freebsd-x11@freebsd.org Date: Thu, 23 Feb 2012 10:08:09 +0100 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <20120222222544.GA88092@azathoth.lan> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> In-Reply-To: <20120223072132.GB88092@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2950548.8OVHH1h8pe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201202231008.09849.avilla@freebsd.org> Cc: ports@freebsd.org, Baptiste Daroussin , x11@freebsd.org, Alexey Dokuchaev Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 09:08:15 -0000 --nextPart2950548.8OVHH1h8pe Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Thursday 23 February 2012 08:21:33 Baptiste Daroussin wrote: > Why not but which package will provide the libGL.so file? in all case the > users might need to be able to switch the libGL.so file from the nvidia > one to the mesa one, what would a user have to do for that, in particular > a user using only binary packages where a file can't belong to 2 different > packages without conflicting? Something like splitting libGL.so and making a mesa-libgl-whatever port?=20 Then mark CONFLICTS, and replacing that with nvidia-driver will be easy.=20 Won't it? =2D-=20 Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla Dear Lord: I just want *_=08o_=08n_=08e* one-armed manager so I never have to hear=20 "On the other hand", again. --nextPart2950548.8OVHH1h8pe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iJwEAAECAAYFAk9GAfkACgkQ3xiC6kQ1CotuFAP/VesZC+ulxbnZ63VeKUtFz0yU YOFoRhQ5wZOsDNgK7T7JEfMOYSkX6qYbdq4j80KUKfqPN/xBMWN0veygy3li+115 2x0wPj/4VectN+2tpyIutX0Hm67a4Dt0OjZGAPKvCcB0hbZeR2/Xlyb9+HDX54tI GmllDjHOluxTGVDsjJY= =UL6E -----END PGP SIGNATURE----- --nextPart2950548.8OVHH1h8pe-- From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 09:32:27 2012 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 9CFC5106566C; Thu, 23 Feb 2012 09:32:27 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E988C8FC18; Thu, 23 Feb 2012 09:32:26 +0000 (UTC) Received: by bkcjg1 with SMTP id jg1so1123331bkc.13 for ; Thu, 23 Feb 2012 01:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=soNzDPB44P4eYky5zkcEUCHPskmuD+WakVBvbJYkAk8=; b=wl6Si0vZrJYmZ748oiNwmo8BJlgTZwF3eA9cVNdlbeZoOuz2SJe0bS2B++FL9CCJUm 9ruoQ1UCJ9CAtHWJGnkyhtU4il2tn/EQusSwaQqdi4xz1PXHIM6VTYe7GCzPc4Es1+8Q 00IyeMLwAReyZqKkZ7Rb8l5vO5Joy1A73SSV0= Received: by 10.204.173.11 with SMTP id n11mr186752bkz.120.1329988093552; Thu, 23 Feb 2012 01:08:13 -0800 (PST) Received: from woodstock.peanuts (host230-120-dynamic.51-79-r.retail.telecomitalia.it. [79.51.120.230]) by mx.google.com with ESMTPS id y9sm1336531bkw.5.2012.02.23.01.08.12 (version=SSLv3 cipher=OTHER); Thu, 23 Feb 2012 01:08:12 -0800 (PST) Sender: Alberto Villa From: Alberto Villa Organization: The FreeBSD Project To: freebsd-x11@freebsd.org Date: Thu, 23 Feb 2012 10:08:09 +0100 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <20120222222544.GA88092@azathoth.lan> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> In-Reply-To: <20120223072132.GB88092@azathoth.lan> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2950548.8OVHH1h8pe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201202231008.09849.avilla@freebsd.org> Cc: ports@freebsd.org, Baptiste Daroussin , x11@freebsd.org, Alexey Dokuchaev Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 09:32:27 -0000 --nextPart2950548.8OVHH1h8pe Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Thursday 23 February 2012 08:21:33 Baptiste Daroussin wrote: > Why not but which package will provide the libGL.so file? in all case the > users might need to be able to switch the libGL.so file from the nvidia > one to the mesa one, what would a user have to do for that, in particular > a user using only binary packages where a file can't belong to 2 different > packages without conflicting? Something like splitting libGL.so and making a mesa-libgl-whatever port?=20 Then mark CONFLICTS, and replacing that with nvidia-driver will be easy.=20 Won't it? =2D-=20 Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla Dear Lord: I just want *_=08o_=08n_=08e* one-armed manager so I never have to hear=20 "On the other hand", again. --nextPart2950548.8OVHH1h8pe Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iJwEAAECAAYFAk9GAfkACgkQ3xiC6kQ1CotuFAP/VesZC+ulxbnZ63VeKUtFz0yU YOFoRhQ5wZOsDNgK7T7JEfMOYSkX6qYbdq4j80KUKfqPN/xBMWN0veygy3li+115 2x0wPj/4VectN+2tpyIutX0Hm67a4Dt0OjZGAPKvCcB0hbZeR2/Xlyb9+HDX54tI GmllDjHOluxTGVDsjJY= =UL6E -----END PGP SIGNATURE----- --nextPart2950548.8OVHH1h8pe-- From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 11:44:04 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41E40106566C; Thu, 23 Feb 2012 11:44:04 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from xiurhn.etoilebsd.net (xiurhn.etoilebsd.net [94.23.37.58]) by mx1.freebsd.org (Postfix) with ESMTP id F22B18FC13; Thu, 23 Feb 2012 11:44:03 +0000 (UTC) Received: by xiurhn.etoilebsd.net (Postfix, from userid 80) id 4EDD87E830; Thu, 23 Feb 2012 12:28:48 +0100 (CET) To: Alexander Leidinger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 23 Feb 2012 11:28:48 +0000 From: Baptiste Daroussin In-Reply-To: <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> Message-ID: X-Sender: bapt@FreeBSD.org User-Agent: Roundcube Webmail/0.7.1 Cc: ports@freebsd.org, Alexey Dokuchaev , x11@freebsd.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 11:44:04 -0000 On 23.02.2012 08:34, Alexander Leidinger wrote: > Quoting Baptiste Daroussin (from Thu, 23 Feb 2012 > 08:21:33 +0100): > >> On Thu, Feb 23, 2012 at 01:35:02AM +0000, Alexey Dokuchaev wrote: >>> On Wed, Feb 22, 2012 at 04:36:08PM -0700, John Hein wrote: >>> > One of the issues with 'alternatives' implementations is that >>> they are >>> > not selectable per-user (including non superuser). >>> > >>> > In this particular case (libGL), also what about the native X >>> server >>> > vs. virtual X servers that support using the mesa lib >>> (per-application >>> > selection)? >>> > >>> > In addition to something like alternatives, another option is to >>> allow >>> > installation of conflicting files (like libGL.so in this case) to >>> > separate directories and specify which to use using a path (like >>> > LD_LIBRARY_PATH or rpath at compile time). That can help with >>> the >>> > aforementioned per-user and per-application variation. >>> > >>> > Personally, I prefer the "path" method over something like >>> alternative >>> > sym links (e.g., debian/redhat alternatives). There can still be >>> a >>> > front-end tool to get at the "alternates" configuration >>> information, >>> > but I like the ability to set a path rather than a sym link. >>> >>> I tend to agree. While I currently do not see clearly the best >>> solution to >>> the problem, when I see "etc/alternative.d" I want to unsee it >>> ASAP. >>> >>> For nvidia driver, it might be easier to simply provide a knob in >>> xorg-server and libGL and perhaps register a dependency on >>> nvidia-driver; >>> no need to invent some cumbersome framework. >> >> Why not but which package will provide the libGL.so file? in all >> case the users >> might need to be able to switch the libGL.so file from the nvidia >> one to the >> mesa one, what would a user have to do for that, in particular a >> user using only >> binary packages where a file can't belong to 2 different packages >> without >> conflicting? >> >> if someone have a better solution than a framework for that I'm open >> but no the >> knob is not a solution for package people. > > Do you havea list of packages which overzrite something, respectively > do you have a list of files which are overwriten? > > If we just talk about the nvidia lib, installing the mesa and nvidia > ones into subdirectories and asking to add (or adding > automatically/optionally) ldconfig_paths="$ldconfig_paths > /usr/local/lib/-gl/" to rc.conf could be an option. > > Bye, > Alexander. Currently, no I don't have a list of packages that overwrite things, anyway way I do really like this kind of solution, I don't know yet how this can be automated, it really looks the right way. regards, Bapt From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 08:51:48 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48AEE106564A; Thu, 23 Feb 2012 08:51:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A302E8FC12; Thu, 23 Feb 2012 08:51:47 +0000 (UTC) Received: from outgoing.leidinger.net (p5796DADA.dip.t-dialin.net [87.150.218.218]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id DF25D8443F3; Thu, 23 Feb 2012 09:34:26 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::3:102]) by outgoing.leidinger.net (Postfix) with ESMTPS id 347195878; Thu, 23 Feb 2012 09:34:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1329986064; bh=Jf5kJKSP2f8Hk3zFwKY85nmPvu3sZFj4c526zOIW2Nk=; h=Date:Message-ID:From:To:Cc:Subject:References:In-Reply-To: Content-Type:MIME-Version; b=c1uVnCpyOTlDsiUU/hNR+6GHa8tyvZTmGViIHKHazvoYa/G/TNscztCst979A77MA ytPtHAF2Tz/cQqp14/oFHcJHLSvHsjE2SXvnyrZD2+iZgvVBr1wXYEX50yzRYssZj+ 1r6R8ulkVsn4VojwkGFtBnRzM/NkXxu3ey78vpjduZ0/Hmklmv7p4GaypAdawDcyNm Bhhg1KUIFHrf3JrQ8+VBQ2y+X7itQzzicTO/lM8NC0/11o5NeCRU5hjYxCg1X4Ns/2 UFQAf9COYAkNSHlCGBIgqYp3NlIITwwz6BfBvum1FVFODpg8GnhDOA8UHGXaX7RBi2 vwCSU5FJ1fjzg== Received: (from www@localhost) by webmail.leidinger.net (8.14.5/8.14.4/Submit) id q1N8YNY0066926; Thu, 23 Feb 2012 09:34:23 +0100 (CET) (envelope-from Alexander@Leidinger.net) X-Authentication-Warning: webmail.leidinger.net: www set sender to Alexander@Leidinger.net using -f Received: from 85.94.224.20 ([85.94.224.20]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 23 Feb 2012 09:34:23 +0100 Date: Thu, 23 Feb 2012 09:34:21 +0100 Message-ID: <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> From: Alexander Leidinger To: Baptiste Daroussin References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> In-Reply-To: <20120223072132.GB88092@azathoth.lan> User-Agent: Internet Messaging Program (IMP) H4 (5.0.18) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: DF25D8443F3.A6463 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.183, required 6, autolearn=disabled, AWL -2.17, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, J_CHICKENPOX_52 0.60, RCVD_IN_BL_SPAMCOP_NET 1.25, RCVD_IN_SORBS 1.00, RCVD_IN_SORBS_WEB 0.61, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1330590867.41416@nRSZJgNcV8UkjWUu2wHKjw X-EBL-Spam-Status: No X-Mailman-Approved-At: Thu, 23 Feb 2012 12:36:40 +0000 Cc: ports@FreeBSD.org, Alexey Dokuchaev , x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 08:51:48 -0000 Quoting Baptiste Daroussin (from Thu, 23 Feb 2012 08:21:33 +0100): > On Thu, Feb 23, 2012 at 01:35:02AM +0000, Alexey Dokuchaev wrote: >> On Wed, Feb 22, 2012 at 04:36:08PM -0700, John Hein wrote: >> > One of the issues with 'alternatives' implementations is that they are >> > not selectable per-user (including non superuser). >> > >> > In this particular case (libGL), also what about the native X server >> > vs. virtual X servers that support using the mesa lib (per-application >> > selection)? >> > >> > In addition to something like alternatives, another option is to allow >> > installation of conflicting files (like libGL.so in this case) to >> > separate directories and specify which to use using a path (like >> > LD_LIBRARY_PATH or rpath at compile time). That can help with the >> > aforementioned per-user and per-application variation. >> > >> > Personally, I prefer the "path" method over something like alternative >> > sym links (e.g., debian/redhat alternatives). There can still be a >> > front-end tool to get at the "alternates" configuration information, >> > but I like the ability to set a path rather than a sym link. >> >> I tend to agree. While I currently do not see clearly the best solution to >> the problem, when I see "etc/alternative.d" I want to unsee it ASAP. >> >> For nvidia driver, it might be easier to simply provide a knob in >> xorg-server and libGL and perhaps register a dependency on nvidia-driver; >> no need to invent some cumbersome framework. > > Why not but which package will provide the libGL.so file? in all > case the users > might need to be able to switch the libGL.so file from the nvidia one to the > mesa one, what would a user have to do for that, in particular a > user using only > binary packages where a file can't belong to 2 different packages without > conflicting? > > if someone have a better solution than a framework for that I'm open > but no the > knob is not a solution for package people. Do you havea list of packages which overzrite something, respectively do you have a list of files which are overwriten? If we just talk about the nvidia lib, installing the mesa and nvidia ones into subdirectories and asking to add (or adding automatically/optionally) ldconfig_paths="$ldconfig_paths /usr/local/lib/-gl/" to rc.conf could be an option. Bye, Alexander. -- What we cannot speak about we must pass over in silence. -- Wittgenstein http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 18:23:44 2012 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 E60031065673 for ; Thu, 23 Feb 2012 18:23:44 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 745478FC23 for ; Thu, 23 Feb 2012 18:23:44 +0000 (UTC) Received: by eaan10 with SMTP id n10so721528eaa.13 for ; Thu, 23 Feb 2012 10:23:43 -0800 (PST) Received-SPF: pass (google.com: domain of gelraen.ua@gmail.com designates 10.213.34.16 as permitted sender) client-ip=10.213.34.16; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gelraen.ua@gmail.com designates 10.213.34.16 as permitted sender) smtp.mail=gelraen.ua@gmail.com; dkim=pass header.i=gelraen.ua@gmail.com Received: from mr.google.com ([10.213.34.16]) by 10.213.34.16 with SMTP id j16mr11309ebd.124.1330021423677 (num_hops = 1); Thu, 23 Feb 2012 10:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=CaZK89w7YI3PviltC8f8NPVJKtI+u48Rm4ZN6NfP0cA=; b=mRsqmP6/xdLRSo1pVOqbBfVAm4V0t5/A848XMOJvOFOIegBmLWUHQi946S4cpIGu6X Yix3W4DXECy2ItzRJLMNmqyaS9ZZHKtzk46iIEf7vK8kyGz3579YIFSJbf9o4s5nvI5y 78th48b4tr7EAnji2FOEHveTxgLgO84gtBjHA= Received: by 10.213.34.210 with SMTP id m18mr563011ebd.124.1330019583472; Thu, 23 Feb 2012 09:53:03 -0800 (PST) Received: from imax.localnet (217-130-133-95.pool.ukrtel.net. [95.133.130.217]) by mx.google.com with ESMTPS id n17sm7764655eei.3.2012.02.23.09.53.01 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 23 Feb 2012 09:53:02 -0800 (PST) From: Maxim Ignatenko To: freebsd-x11@freebsd.org Date: Thu, 23 Feb 2012 19:52:53 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.3; i386; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201202231952.53863.gelraen.ua@gmail.com> Subject: xorg-server blocks on /dev/sysmouse 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: Thu, 23 Feb 2012 18:23:45 -0000 Hello -x11@, I have xorg-server with staticaly configured input devices (USB mouse configured via sysmouse+moused). Sometimes picture and all GUI threads of running processes freezes until I move mouse. This issue appeared long time ago (I've noticed it more than year ago http://juick.com/gelraen/966367 (russian)), but I'm reporting it only now, sorry :( This patch seems to solve the problem: http://paste.org.ru/?rgm0m6 This patch does the same, but for xorg-server 1.10.6: http://dpaste.com/707312/ From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 19:33:29 2012 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 48614106564A for ; Thu, 23 Feb 2012 19:33:29 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 063868FC12 for ; Thu, 23 Feb 2012 19:33:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1NJXSfk087479; Thu, 23 Feb 2012 12:33:28 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1NJXSiA087476; Thu, 23 Feb 2012 12:33:28 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 23 Feb 2012 12:33:28 -0700 (MST) From: Warren Block To: Maxim Ignatenko In-Reply-To: <201202231952.53863.gelraen.ua@gmail.com> Message-ID: References: <201202231952.53863.gelraen.ua@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 23 Feb 2012 12:33:28 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse 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: Thu, 23 Feb 2012 19:33:29 -0000 On Thu, 23 Feb 2012, Maxim Ignatenko wrote: > Hello -x11@, > > I have xorg-server with staticaly configured input > devices (USB mouse configured via sysmouse+moused). > Sometimes picture and all GUI threads of running > processes freezes until I move mouse. This issue appeared > long time ago (I've noticed it more than year ago > http://juick.com/gelraen/966367 (russian)), but I'm > reporting it only now, sorry :( > > This patch seems to solve the problem: > http://paste.org.ru/?rgm0m6 > > This patch does the same, but for xorg-server 1.10.6: > http://dpaste.com/707312/ Are you disabling AllowEmptyInput? http://www.wonkity.com/~wblock/docs/html/aei.html From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 19:56:35 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C6251065673; Thu, 23 Feb 2012 19:56:35 +0000 (UTC) (envelope-from jhein@symmetricom.com) Received: from duck.timing.com (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id F416A8FC08; Thu, 23 Feb 2012 19:56:34 +0000 (UTC) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by duck.timing.com (8.14.5/8.14.4) with ESMTP id q1NJuYj8090317; Thu, 23 Feb 2012 12:56:34 -0700 (MST) (envelope-from jhein@symmetricom.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.5/8.14.5) with ESMTP id q1NJuXep014132; Thu, 23 Feb 2012 12:56:33 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.5/8.14.5/Submit) id q1NJuMmF014129; Thu, 23 Feb 2012 12:56:22 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20294.39398.620930.217619@gromit.timing.com> Date: Thu, 23 Feb 2012 12:56:22 -0700 From: John Hein To: Baptiste Daroussin In-Reply-To: References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> X-Mailer: VM 8.2.0b-8.2.x-reddyuday.r1325 under 23.3.1 (i386-portbld-freebsd7.3) Cc: ports@FreeBSD.org, Alexander Leidinger , Alexey Dokuchaev , x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 19:56:35 -0000 Baptiste Daroussin wrote at 11:28 +0000 on Feb 23, 2012: > On 23.02.2012 08:34, Alexander Leidinger wrote: > > Do you havea list of packages which overzrite something, respectively > > do you have a list of files which are overwriten? > > > > If we just talk about the nvidia lib, installing the mesa and nvidia > > ones into subdirectories and asking to add (or adding > > automatically/optionally) ldconfig_paths="$ldconfig_paths > > /usr/local/lib/-gl/" to rc.conf could be an option. > > Currently, no I don't have a list of packages that overwrite things, > anyway way I do really like this kind of solution, I don't know yet how > this can be automated, it really looks the right way. If the nvidia libGL can be dynamically linked with, say, a vnc server, and have it be a drop in replacement for the mesa libGL, then ldconfig_paths would be fine. If not, then those apps which need the mesa libGL would need to link with -rpath perhaps to point at the "right" libGL (or pass appropriate path info to those apps that might use dlopen(3)). From owner-freebsd-x11@FreeBSD.ORG Thu Feb 23 21:14:11 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92425106566B; Thu, 23 Feb 2012 21:14:11 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5AE9A8FC15; Thu, 23 Feb 2012 21:14:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1NLEBVB071901; Thu, 23 Feb 2012 21:14:11 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1NLEAXx071898; Thu, 23 Feb 2012 21:14:10 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Thu, 23 Feb 2012 22:14:07 +0100 From: Baptiste Daroussin To: John Hein Message-ID: <20120223211406.GA14803@azathoth.lan> References: <20120222222544.GA88092@azathoth.lan> <20293.31720.350021.74506@gromit.timing.com> <20120223013502.GA78308@FreeBSD.org> <20120223072132.GB88092@azathoth.lan> <20120223093421.Horde.oN2FMZjmRSRPRfoNKQ4BA-g@webmail.leidinger.net> <20294.39398.620930.217619@gromit.timing.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20294.39398.620930.217619@gromit.timing.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, Alexander Leidinger , Alexey Dokuchaev , x11@FreeBSD.org Subject: Re: Fix nvidia-like ports, help needed 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: Thu, 23 Feb 2012 21:14:11 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 23, 2012 at 12:56:22PM -0700, John Hein wrote: > Baptiste Daroussin wrote at 11:28 +0000 on Feb 23, 2012: > > On 23.02.2012 08:34, Alexander Leidinger wrote: > > > Do you havea list of packages which overzrite something, respectively > > > do you have a list of files which are overwriten? > > > > > > If we just talk about the nvidia lib, installing the mesa and nvidia > > > ones into subdirectories and asking to add (or adding > > > automatically/optionally) ldconfig_paths=3D"$ldconfig_paths > > > /usr/local/lib/-gl/" to rc.conf could be an option. > >=20 > > Currently, no I don't have a list of packages that overwrite things,= =20 > > anyway way I do really like this kind of solution, I don't know yet ho= w=20 > > this can be automated, it really looks the right way. >=20 > If the nvidia libGL can be dynamically linked with, say, a vnc server, and > have it be a drop in replacement for the mesa libGL, then ldconfig_paths > would be fine. If not, then those apps which need the mesa libGL would > need to link with -rpath perhaps to point at the "right" libGL (or > pass appropriate path info to those apps that might use dlopen(3)). > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" Another solution could be to add an entry (and drop it in deinstallation to libmap.conf) when installing the nvidia driver, in that case installing it = ad libGL-nvidia.so.1 and adding: libGL.so.1 libGL-nvidia.so.1 or something like that. regards, Bapt --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9GrB4ACgkQ8kTtMUmk6EyzwQCgjLUDAkysMPPCPf6RY/BTmNN/ xrEAoLVX1gZaLFQBbC4JnznmLQsZihIP =ZJ1q -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 12:29:33 2012 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 773031065670 for ; Fri, 24 Feb 2012 12:29:33 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4962B8FC0A for ; Fri, 24 Feb 2012 12:29:33 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1S0uHE-0007JH-EB for freebsd-x11@freebsd.org; Fri, 24 Feb 2012 04:29:32 -0800 Date: Fri, 24 Feb 2012 04:29:32 -0800 (PST) From: Jakub Lach To: freebsd-x11@freebsd.org Message-ID: <1330086572371-5512611.post@n5.nabble.com> In-Reply-To: <20120215020052.GA31688@server.vk2pj.dyndns.org> References: <20120206014536.7ece944b.miwi@FreeBSD.org> <20120215020052.GA31688@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [CFT] Xorg Upgrade 7.5.2 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: Fri, 24 Feb 2012 12:29:33 -0000 Hi, Any nifty patches for intel xorg-server 1.10.6 on 9-STABLE? (As it's default now on xorg_7_5_2 repo.) -- View this message in context: http://freebsd.1045724.n5.nabble.com/CFT-Xorg-Upgrade-7-5-2-tp5458293p5512611.html Sent from the freebsd-x11 mailing list archive at Nabble.com. From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 16:08:27 2012 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 2070D106564A for ; Fri, 24 Feb 2012 16:08:27 +0000 (UTC) (envelope-from galbrig@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A67228FC13 for ; Fri, 24 Feb 2012 16:08:26 +0000 (UTC) Received: by werm13 with SMTP id m13so2313364wer.13 for ; Fri, 24 Feb 2012 08:08:25 -0800 (PST) Received-SPF: pass (google.com: domain of galbrig@googlemail.com designates 10.180.99.7 as permitted sender) client-ip=10.180.99.7; Authentication-Results: mr.google.com; spf=pass (google.com: domain of galbrig@googlemail.com designates 10.180.99.7 as permitted sender) smtp.mail=galbrig@googlemail.com; dkim=pass header.i=galbrig@googlemail.com Received: from mr.google.com ([10.180.99.7]) by 10.180.99.7 with SMTP id em7mr6625514wib.7.1330099705647 (num_hops = 1); Fri, 24 Feb 2012 08:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=BohFoFSTqKauciX7iWMN6G2EoG4yTq+F2K5ZgnK1mlk=; b=BRm2xHNXfjxCwT80zcFVCAPGj72GR0+ji/0Pf3HQfNFEf4FKKMKXhvu7TFyYQAte2S Ukr9gy30zlNLjOawI1D7tL1DQ9qOXR1VqXzzfYQnZAsUoTVGgBUDBDDu0oIgeRYB2nIj fDPENaPtubrAK/j1SqCOUuPZYjHCbpzTH1D7g= MIME-Version: 1.0 Received: by 10.180.99.7 with SMTP id em7mr5160713wib.7.1330098317947; Fri, 24 Feb 2012 07:45:17 -0800 (PST) Received: by 10.223.61.80 with HTTP; Fri, 24 Feb 2012 07:45:17 -0800 (PST) Date: Fri, 24 Feb 2012 16:45:17 +0100 Message-ID: From: albri To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [CFT] Xorg Upgrade 7.5.2 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: Fri, 24 Feb 2012 16:08:27 -0000 Please do not answer this mail directly as I am no member of this list. In reply to CFT there is successful KMS on a semi productive desktop box. Thanks to ~kib, ~miwi and all contributors who develop a pretty alternative to VESA mode :) ~kib's all.13.2.patch was used for KMS.=A0 No error messages on console. Tests where made with xorg-7.5.2 and xorg-server-1.10.6,1. x11-servers/xorg-server was compiled a) with craptastic hald(8) b) without hald(8).=A0 Both versions are okay. Windowmanagers tested: x11-wm/windowmaker and x11-wm/xfce4. Not tested: real GL apps. Switching from tty to xorg display lasts roundabout 3s.=A0 Desktop feels fa= st enough for development. Installation path: * fresh installed R9 upgraded to HEAD * svn co xorg/xorgmerge # cd /ports/x11/xorg && make install clean # uname -a FreeBSD xxx 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r231972M: Tue Feb 21 15:31:25 CET 2012=A0=A0=A0=A0 root@xxx:/usr/obj/usr/src/sys/GENERIC=A0 a= md64 # dmesg -a|grep vga vgapci0: port 0xf000-0xf03f mem 0xfe000000- 0xfe3fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 # pciconf -lv|grep -A4 vga vgapci0@pci0:0:2:0:=A0 class=3D0x030000 card=3D0x01021849 chip=3D0x01028086 rev=3D0x09 hdr=3D0x00 =A0=A0=A0 vendor=A0=A0=A0=A0 =3D 'Intel Corporation' =A0=A0=A0 device=A0=A0=A0=A0 =3D '2nd Generation Core Processor Family Inte= grated =A0=A0=A0 Graphics Controller' =A0=A0=A0 class=A0=A0=A0=A0=A0 =3D display =A0=A0=A0 subclass=A0=A0 =3D VGA From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 17:22:57 2012 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 AF8741065672 for ; Fri, 24 Feb 2012 17:22:57 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3531F8FC15 for ; Fri, 24 Feb 2012 17:22:56 +0000 (UTC) Received: by werm13 with SMTP id m13so2379497wer.13 for ; Fri, 24 Feb 2012 09:22:56 -0800 (PST) Received-SPF: pass (google.com: domain of gelraen.ua@gmail.com designates 10.180.92.165 as permitted sender) client-ip=10.180.92.165; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gelraen.ua@gmail.com designates 10.180.92.165 as permitted sender) smtp.mail=gelraen.ua@gmail.com; dkim=pass header.i=gelraen.ua@gmail.com Received: from mr.google.com ([10.180.92.165]) by 10.180.92.165 with SMTP id cn5mr7316262wib.2.1330104176189 (num_hops = 1); Fri, 24 Feb 2012 09:22:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=SE2sHasOwllObzQzIx2Yjqhd1e423l5KyvTfqG/yntQ=; b=cqwTDOmCeiPu+SPaBhqgPk9WzzEmArDFRRjFY5/oU6pPhF6mTmTn6J08hQ1cieWIl2 4YZrvzF3xHQP27PR3rAadDCZZn3wX1Wjaol30oONCrT8oYJIBsKb0kPv7cNQK9rxCqOE uz7fmARv4a3RtffpB4eH8lIkOgtkChRCtRux4= Received: by 10.180.92.165 with SMTP id cn5mr5854770wib.2.1330104176121; Fri, 24 Feb 2012 09:22:56 -0800 (PST) Received: from imax.localnet (196-112-201-46.pool.ukrtel.net. [46.201.112.196]) by mx.google.com with ESMTPS id s4sm3651992wiy.5.2012.02.24.09.22.52 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Feb 2012 09:22:53 -0800 (PST) From: Maxim Ignatenko To: Warren Block Date: Fri, 24 Feb 2012 19:22:43 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.3; i386; ; ) References: <201202231952.53863.gelraen.ua@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201202241922.44909.gelraen.ua@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse 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: Fri, 24 Feb 2012 17:22:57 -0000 On =D1=87=D1=82, 23 =D0=BB=D1=8E=D1=82 2012 21:33:28 Warren Block wrote: > On Thu, 23 Feb 2012, Maxim Ignatenko wrote: > > Hello -x11@, > >=20 > > I have xorg-server with staticaly configured input > > devices (USB mouse configured via sysmouse+moused). > > Sometimes picture and all GUI threads of running > > processes freezes until I move mouse. This issue=20 appeared > > long time ago (I've noticed it more than year ago > > http://juick.com/gelraen/966367 (russian)), but I'm > > reporting it only now, sorry :( > >=20 > > This patch seems to solve the problem: > > http://paste.org.ru/?rgm0m6 > >=20 > > This patch does the same, but for xorg-server=20 1.10.6: > > http://dpaste.com/707312/ >=20 > Are you disabling AllowEmptyInput? > http://www.wonkity.com/~wblock/docs/html/aei.html Yes, all input devices configured statically.=20 AutoAddDevices is also turned off. hald is used only=20 for removable media detection in KDE. Also I tried to=20 use /dev/ums0 instead of /dev/sysmouse - then it works=20 fine, but, obviously, USB mouse cannot be=20 plugged/unplugged while xorg-server is running. So=20 problem appears only with sysmouse. From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 18:13:15 2012 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 4AE5A106566B for ; Fri, 24 Feb 2012 18:13:15 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C3E578FC12 for ; Fri, 24 Feb 2012 18:13:14 +0000 (UTC) Received: by eekd17 with SMTP id d17so376466eek.13 for ; Fri, 24 Feb 2012 10:13:13 -0800 (PST) Received-SPF: pass (google.com: domain of gelraen.ua@gmail.com designates 10.14.124.69 as permitted sender) client-ip=10.14.124.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gelraen.ua@gmail.com designates 10.14.124.69 as permitted sender) smtp.mail=gelraen.ua@gmail.com; dkim=pass header.i=gelraen.ua@gmail.com Received: from mr.google.com ([10.14.124.69]) by 10.14.124.69 with SMTP id w45mr2195430eeh.6.1330107193692 (num_hops = 1); Fri, 24 Feb 2012 10:13:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:date:user-agent:subject:to:references:content-type :lines:mime-version; bh=FAL+SqpGsoePO/nT87NsOiJbNavL8uFa4sR7LPbFsWA=; b=I/LeNrlMpGicPMCdYP1aGRzZq1eVcxBZtdxz9nlDgMqN6/vCGKuN1T8I1+H3M3e3R1 WC7l6tsSKZC4qhCZsHica7heoH5YBwAXpirJ/XvZV1tzYSaNiRv/NT7Z6omUBDngGtRW E2zGCivoZj4oTfguHUJTONCrJOGNLDv1+/jCM= Received: by 10.14.124.69 with SMTP id w45mr1639228eeh.6.1330107193589; Fri, 24 Feb 2012 10:13:13 -0800 (PST) Received: from imax.localnet (196-112-201-46.pool.ukrtel.net. [46.201.112.196]) by mx.google.com with ESMTPS id v51sm20763597eef.2.2012.02.24.10.13.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Feb 2012 10:13:13 -0800 (PST) Message-ID: <4f47d339.cb620e0a.7f4c.fffff2ec@mx.google.com> From: Maxim Ignatenko Date: Fri, 24 Feb 2012 20:13:01 +0200 User-Agent: KNode/4.4.11 To: freebsd-x11@freebsd.org References: <20120206014536.7ece944b.miwi__28039.3639499836$1328464102$gmane$org@FreeBSD.org> Content-Type: multipart/mixed; boundary="nextPart4058333.bk9IZqNHxO" Lines: 211 MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: [CFT] Xorg Upgrade 7.5.2 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: Fri, 24 Feb 2012 18:13:15 -0000 --nextPart4058333.bk9IZqNHxO Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Yesterday I've updated Xorg to 7.5.2. All seems to work fine, and even after 30 minutes of linux-ut my system does not hanged, like with previous Xorg (thanks for this). But Minecraft now crashes after showing window: failed to create drawable # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x51bbfd4e, pid=3392, tid=1370815376 # # JRE version: 6.0_30-b12 # Java VM: Java HotSpot(TM) Server VM (20.5-b03 mixed mode linux-x86 ) # Problematic frame: # C [libGL.so.1+0x16d4e] __float128+0x31e # # An error report file with more information is saved as: # /usr/home/imax/minecraft/bin/hs_err_pid3392.log Log attached. libGL.so is from linux-dri-7.4_1 (since Minecraft runs with linux-sun-jdk-1.6.0.30_1, because it uses some native libraries which we don't have in ports). I have stable/9 r232044 installed, ATI Mobility Radeon X1350 as graphic adapter. And, again, linux-ut, which also uses linux emulation layer, runs fine. I will be glad to supply any additional details if needed. --nextPart4058333.bk9IZqNHxO-- From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 18:23:19 2012 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 3C3BA106566B for ; Fri, 24 Feb 2012 18:23:19 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id EC5808FC13 for ; Fri, 24 Feb 2012 18:23:18 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1OINIOj097701; Fri, 24 Feb 2012 11:23:18 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1OINI72097698; Fri, 24 Feb 2012 11:23:18 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 24 Feb 2012 11:23:18 -0700 (MST) From: Warren Block To: Maxim Ignatenko In-Reply-To: <201202241922.44909.gelraen.ua@gmail.com> Message-ID: References: <201202231952.53863.gelraen.ua@gmail.com> <201202241922.44909.gelraen.ua@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 24 Feb 2012 11:23:18 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse 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: Fri, 24 Feb 2012 18:23:19 -0000 On Fri, 24 Feb 2012, Maxim Ignatenko wrote: > On ??, 23 ??? 2012 21:33:28 Warren Block wrote: >> On Thu, 23 Feb 2012, Maxim Ignatenko wrote: >>> Hello -x11@, >>> >>> I have xorg-server with staticaly configured input >>> devices (USB mouse configured via sysmouse+moused). >>> Sometimes picture and all GUI threads of running >>> processes freezes until I move mouse. This issue > appeared >>> long time ago (I've noticed it more than year ago >>> http://juick.com/gelraen/966367 (russian)), but I'm >>> reporting it only now, sorry :( >>> >>> This patch seems to solve the problem: >>> http://paste.org.ru/?rgm0m6 >>> >>> This patch does the same, but for xorg-server > 1.10.6: >>> http://dpaste.com/707312/ >> >> Are you disabling AllowEmptyInput? >> http://www.wonkity.com/~wblock/docs/html/aei.html > > Yes, all input devices configured statically. > AutoAddDevices is also turned off. Sorry, I was not clear enough. If AllowEmptyInput is set to Off, it can cause this exact problem--nothing runs until the mouse is moved. The solution in that case is to not set AEI at all, let it default. From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 19:04:07 2012 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 1FDB6106566C for ; Fri, 24 Feb 2012 19:04:07 +0000 (UTC) (envelope-from gelraen.ua@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 980378FC18 for ; Fri, 24 Feb 2012 19:04:06 +0000 (UTC) Received: by eekd17 with SMTP id d17so393625eek.13 for ; Fri, 24 Feb 2012 11:04:05 -0800 (PST) Received-SPF: pass (google.com: domain of gelraen.ua@gmail.com designates 10.14.48.77 as permitted sender) client-ip=10.14.48.77; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gelraen.ua@gmail.com designates 10.14.48.77 as permitted sender) smtp.mail=gelraen.ua@gmail.com; dkim=pass header.i=gelraen.ua@gmail.com Received: from mr.google.com ([10.14.48.77]) by 10.14.48.77 with SMTP id u53mr2293659eeb.0.1330110245742 (num_hops = 1); Fri, 24 Feb 2012 11:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=0l5ejrrh7j+AEJ9T1ECrL2h4GUN5hsb2Z2LDWHAoPkA=; b=RIIW4NFF0C6xF2XK+AnqnTHhDbZ7i33/Lsz2ymrRgybYkZR2mZ18OKKEzu0So/vm03 GSTR2tfgRAqBkaEjzvMB2X9y0DDu94IvNXv6Xaj8JDDdcIZncCer2XLZF5HntKqkbzFG M4PNo4tMzbuwM+Gk6vwtpFXHvEDC4+EDnsH8Y= Received: by 10.14.48.77 with SMTP id u53mr1716315eeb.0.1330110245603; Fri, 24 Feb 2012 11:04:05 -0800 (PST) Received: from imax.localnet (196-112-201-46.pool.ukrtel.net. [46.201.112.196]) by mx.google.com with ESMTPS id u11sm13931476eeb.1.2012.02.24.11.04.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Feb 2012 11:04:04 -0800 (PST) From: Maxim Ignatenko To: Warren Block Date: Fri, 24 Feb 2012 21:03:57 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-PRERELEASE; KDE/4.7.3; i386; ; ) References: <201202231952.53863.gelraen.ua@gmail.com> <201202241922.44909.gelraen.ua@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201202242103.57461.gelraen.ua@gmail.com> Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse 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: Fri, 24 Feb 2012 19:04:07 -0000 On =D0=BF=D1=82, 24 =D0=BB=D1=8E=D1=82 2012 20:23:18 Warren Block wrote: > On Fri, 24 Feb 2012, Maxim Ignatenko wrote: > > On ??, 23 ??? 2012 21:33:28 Warren Block wrote: > >> On Thu, 23 Feb 2012, Maxim Ignatenko wrote: > >>> Hello -x11@, > >>>=20 > >>> I have xorg-server with staticaly configured=20 input > >>> devices (USB mouse configured via=20 sysmouse+moused). > >>> Sometimes picture and all GUI threads of running > >>> processes freezes until I move mouse. This issue > >=20 > > appeared > >=20 > >>> long time ago (I've noticed it more than year ago > >>> http://juick.com/gelraen/966367 (russian)), but=20 I'm > >>> reporting it only now, sorry :( > >>>=20 > >>> This patch seems to solve the problem: > >>> http://paste.org.ru/?rgm0m6 > >>>=20 > >>> This patch does the same, but for xorg-server > >=20 > > 1.10.6: > >>> http://dpaste.com/707312/ > >>=20 > >> Are you disabling AllowEmptyInput? > >> http://www.wonkity.com/~wblock/docs/html/aei.html > >=20 > > Yes, all input devices configured statically. > > AutoAddDevices is also turned off. >=20 > Sorry, I was not clear enough. If AllowEmptyInput is=20 set to Off, it can > cause this exact problem--nothing runs until the=20 mouse is moved. The > solution in that case is to not set AEI at all, let=20 it default. Just tried to rebuild xorg-server without mentioned=20 patch and commented AllowEmptyInput in xorg.conf - now=20 it hangs. Also, I cannot find AllowEmptyInput in=20 xorg.conf(5) now, is it removed? From owner-freebsd-x11@FreeBSD.ORG Fri Feb 24 19:29:00 2012 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 73208106566C for ; Fri, 24 Feb 2012 19:29:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 149DC8FC08 for ; Fri, 24 Feb 2012 19:28:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1OJSxsZ098416; Fri, 24 Feb 2012 12:28:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1OJSx8j098413; Fri, 24 Feb 2012 12:28:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 24 Feb 2012 12:28:59 -0700 (MST) From: Warren Block To: Maxim Ignatenko In-Reply-To: <201202242103.57461.gelraen.ua@gmail.com> Message-ID: References: <201202231952.53863.gelraen.ua@gmail.com> <201202241922.44909.gelraen.ua@gmail.com> <201202242103.57461.gelraen.ua@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 24 Feb 2012 12:28:59 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: xorg-server blocks on /dev/sysmouse 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: Fri, 24 Feb 2012 19:29:00 -0000 On Fri, 24 Feb 2012, Maxim Ignatenko wrote: > On ??, 24 ??? 2012 20:23:18 Warren Block wrote: >> On Fri, 24 Feb 2012, Maxim Ignatenko wrote: >>> On ??, 23 ??? 2012 21:33:28 Warren Block wrote: >>>> On Thu, 23 Feb 2012, Maxim Ignatenko wrote: >>>>> Hello -x11@, >>>>> >>>>> I have xorg-server with staticaly configured > input >>>>> devices (USB mouse configured via > sysmouse+moused). >>>>> Sometimes picture and all GUI threads of running >>>>> processes freezes until I move mouse. This issue >>> >>> appeared >>> >>>>> long time ago (I've noticed it more than year ago >>>>> http://juick.com/gelraen/966367 (russian)), but > I'm >>>>> reporting it only now, sorry :( >>>>> >>>>> This patch seems to solve the problem: >>>>> http://paste.org.ru/?rgm0m6 >>>>> >>>>> This patch does the same, but for xorg-server >>> >>> 1.10.6: >>>>> http://dpaste.com/707312/ >>>> >>>> Are you disabling AllowEmptyInput? >>>> http://www.wonkity.com/~wblock/docs/html/aei.html >>> >>> Yes, all input devices configured statically. >>> AutoAddDevices is also turned off. >> >> Sorry, I was not clear enough. If AllowEmptyInput is > set to Off, it can >> cause this exact problem--nothing runs until the > mouse is moved. The >> solution in that case is to not set AEI at all, let > it default. > > Just tried to rebuild xorg-server without mentioned > patch and commented AllowEmptyInput in xorg.conf - now > it hangs. Also, I cannot find AllowEmptyInput in > xorg.conf(5) now, is it removed? Don't know about the latest xorg. The best explanation of AEI that I could get is in that article under What AllowEmptyInput Really Means: Option "AllowEmptyInput" "On" means the server may start without any input devices. Option "AllowEmptyInput" "Off" means the server must have configured input devices at startup. Later versions of xorg may have removed it, or merely removed it from the man page. From owner-freebsd-x11@FreeBSD.ORG Sat Feb 25 03:55:21 2012 Return-Path: Delivered-To: x11@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 975) id 54B15106566B; Sat, 25 Feb 2012 03:55:21 +0000 (UTC) Date: Sat, 25 Feb 2012 03:55:21 +0000 From: "Sergey A. Osokin" To: x11@FreeBSD.org Message-ID: <20120225035521.GI56253@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="uh9ZiVrAOUUm9fzH" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: [PATCH] xf86-video-intel update (for xorg-dev) 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, 25 Feb 2012 03:55:21 -0000 --uh9ZiVrAOUUm9fzH Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Hi, could you review/commit changes for update x11-drivers/xf86-video-intel from 2.17.0 to latest 2.18.0. Thank you. -- Sergey A. Osokin osa@FreeBSD.ORG --uh9ZiVrAOUUm9fzH Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename=patch-intel Index: distinfo =================================================================== --- distinfo (revision 424) +++ distinfo (working copy) @@ -1,4 +1,4 @@ SHA256 (xorg/driver/xf86-video-intel-2.7.1.tar.bz2) = 255c0d54249cc0132f743254a43c21fac695fab2139c8ed96a07cf3c628e5f42 SIZE (xorg/driver/xf86-video-intel-2.7.1.tar.bz2) = 780625 -SHA256 (xorg/driver/xf86-video-intel-2.17.0.tar.bz2) = 8b8450f2a2cc52ef31a83414e2f290e748a956690e11b41759d5650aaedc4387 -SIZE (xorg/driver/xf86-video-intel-2.17.0.tar.bz2) = 1339717 +SHA256 (xorg/driver/xf86-video-intel-2.18.0.tar.bz2) = dce63e33ccfada39ef1e1e6768dfd8edd4c525670dfe56d1c42b2f9570039ffc +SIZE (xorg/driver/xf86-video-intel-2.18.0.tar.bz2) = 1424467 Index: Makefile =================================================================== --- Makefile (revision 424) +++ Makefile (working copy) @@ -22,7 +22,7 @@ MAN4= intel.4x .if defined(WITH_NEW_XORG) -INTEL_VERSION= 2.17.0 +INTEL_VERSION= 2.18.0 INTEL_REVISION= 0 MAKE_JOBS_UNSAFE=yes PLIST_SUB+= OLD="@comment " --uh9ZiVrAOUUm9fzH-- From owner-freebsd-x11@FreeBSD.ORG Sat Feb 25 09:44:18 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF327106566C; Sat, 25 Feb 2012 09:44:18 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 439A78FC08; Sat, 25 Feb 2012 09:44:17 +0000 (UTC) Received: by werm13 with SMTP id m13so2801424wer.13 for ; Sat, 25 Feb 2012 01:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=E5sm6gLP1js3p0Eu44/opVIRuKcVXaUpuKMIKqmzWJY=; b=KXmbga9t7Q1/3rE5We0KtvkMOFBM9JTd2sj8OSswqnm+G3oEEMTwcMVJKJP014q94g xEVF9qC2skaxmKNqccF1ttzeiHMqDwlogs/lyhw4TrpYtClYe/k4pEGzILIe75OWh6t7 1HdYvlcOFhdBN4P2nJWNHOA73mbAn03+fa2tY= Received: by 10.180.107.169 with SMTP id hd9mr1927159wib.0.1330163057167; Sat, 25 Feb 2012 01:44:17 -0800 (PST) MIME-Version: 1.0 Sender: villa.alberto@gmail.com Received: by 10.227.62.201 with HTTP; Sat, 25 Feb 2012 01:43:56 -0800 (PST) In-Reply-To: <20120206014536.7ece944b.miwi@FreeBSD.org> References: <20120206014536.7ece944b.miwi@FreeBSD.org> From: Alberto Villa Date: Sat, 25 Feb 2012 10:43:56 +0100 X-Google-Sender-Auth: DevhWf-Yd2_EKlJhpGktfsCIo5g Message-ID: To: miwi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: x11@freebsd.org Subject: Re: [CFT] Xorg Upgrade 7.5.2 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, 25 Feb 2012 09:44:18 -0000 I don't know if this has been reported already, but libGL now requires glproto as run dependency too: $ grep glproto /usr/local/libdata/pkgconfig/gl.pc Requires.private: glproto >= 1.4.11 libdrm >= 2.4.24 dri2proto >= 2.1 x11 xext xdamage xfixes xxf86vm x11-xcb xcb-glx I checked an old package, and this wasn't the case. As a result, pkgconfig fails on every package depending - even remotely - on gl.pc (thus breaking some builds - at least one for me): $ pkg-config --cflags swfdec-0.8 Package glproto was not found in the pkg-config search path. Perhaps you should add the directory containing `glproto.pc' to the PKG_CONFIG_PATH environment variable Package 'glproto', required by 'gl', not found Installing glproto fixes the issue. -- Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla From owner-freebsd-x11@FreeBSD.ORG Sat Feb 25 19:34:48 2012 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 86091106564A for ; Sat, 25 Feb 2012 19:34:48 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 12F978FC0C for ; Sat, 25 Feb 2012 19:34:47 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so278004wib.13 for ; Sat, 25 Feb 2012 11:34:47 -0800 (PST) Received-SPF: pass (google.com: domain of kayasaman@gmail.com designates 10.180.80.40 as permitted sender) client-ip=10.180.80.40; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kayasaman@gmail.com designates 10.180.80.40 as permitted sender) smtp.mail=kayasaman@gmail.com; dkim=pass header.i=kayasaman@gmail.com Received: from mr.google.com ([10.180.80.40]) by 10.180.80.40 with SMTP id o8mr14706666wix.10.1330198487023 (num_hops = 1); Sat, 25 Feb 2012 11:34:47 -0800 (PST) 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:subject :content-type:content-transfer-encoding; bh=GV/12AenqIeTU0DUPRZhSx6mAp5TOFtqfBeAFi2+nmU=; b=CE41KqvdEq6RnegNq3VYHo+mXr9mT+ojB9JosAgK/j1GYFfAD2TzUl7eEUkyugnULq G/c1FvlZttQFoqOfK42Kf2et3jp9whCFLe9X3CHHKsPAv9iVi9YAlp7Ggb898RPlq8AF xvchMsntlkJKdpCMPXLHd50JTxpW9WotZgDzw= Received: by 10.180.80.40 with SMTP id o8mr11605851wix.10.1330196777752; Sat, 25 Feb 2012 11:06:17 -0800 (PST) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id dw7sm11181647wib.4.2012.02.25.11.06.16 (version=SSLv3 cipher=OTHER); Sat, 25 Feb 2012 11:06:16 -0800 (PST) Message-ID: <4F493127.8060207@gmail.com> Date: Sat, 25 Feb 2012 19:06:15 +0000 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Intel X3000 black screen using Vesa 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: Sat, 25 Feb 2012 19:34:48 -0000 Hi, I'm running FreeBSD 9.0 x64 Release on a Lenovo X220 notebook. So far everything seems to work but for whatever reason I can't seem to start X properly! I ran: Xorg -configure xorg.conf.new -retro which worked and I got the Xorg grey fuzzy screen with X cursor in it. The rest of the steps I took from the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html I have a .xinitrc file containing: exec xterm & exec fluxbox/jwm (I set to either option) But to no luck :-( I think it's because Xorg has changed and the .xinitrc seems to be deprecated/depreciated and not used any more. Currently am using the Vesa driver as none of the Intel drivers seem to work for me: Screen not found Error coming up each time. I tried with both these drivers: xf86-driver-intel xf86-driver-intel29 Also my screen is 720p half HD so res supported is 1366x768 which standard Vesa driver doesn't like the mode of either. Can anyone help me out? Will post the Xorg.log and other output if necessary but am stuck using virtual terminals so had to reboot into Fedora 16 to be able to send email. Will need to get Alpine coupled with my .pinerc files working so that I can use my Gmail account but that's not an issue - it's something I have to do regardless :-) Regards, Kaya From owner-freebsd-x11@FreeBSD.ORG Sat Feb 25 20:31:22 2012 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 E5A5C106564A for ; Sat, 25 Feb 2012 20:31:21 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 75E408FC14 for ; Sat, 25 Feb 2012 20:31:21 +0000 (UTC) Received: by pbcxa7 with SMTP id xa7so4178482pbc.13 for ; Sat, 25 Feb 2012 12:31:20 -0800 (PST) Received-SPF: pass (google.com: domain of sendtomatt@gmail.com designates 10.68.211.166 as permitted sender) client-ip=10.68.211.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sendtomatt@gmail.com designates 10.68.211.166 as permitted sender) smtp.mail=sendtomatt@gmail.com; dkim=pass header.i=sendtomatt@gmail.com Received: from mr.google.com ([10.68.211.166]) by 10.68.211.166 with SMTP id nd6mr20526647pbc.137.1330201880968 (num_hops = 1); Sat, 25 Feb 2012 12:31:20 -0800 (PST) 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:x-enigmail-version:content-type :content-transfer-encoding; bh=OmrPyiMYBg4TyMvfAxmfo3Eh/4/xkm9JuInVtvsATdo=; b=SpIMPCTj/kqMlQ7ox5+xUmhDknEYHxvxYyol0v2I9o/vCGqubuIc6jDYzW/BJYx2cV MAir3kJfJaq4oo6NkbxiKKD0xzwCDuLYIjUHs965nbTxW9HXW6KtIkTz9a5t7F8t4xPP Dh3D9MQ3kvlO4oHIRiltb9uK5S7cc2oP8szNQ= Received: by 10.68.211.166 with SMTP id nd6mr17130147pbc.137.1330200456093; Sat, 25 Feb 2012 12:07:36 -0800 (PST) Received: from bakeneko.local ([74.195.19.178]) by mx.google.com with ESMTPS id h3sm7920162pbr.75.2012.02.25.12.07.33 (version=SSLv3 cipher=OTHER); Sat, 25 Feb 2012 12:07:34 -0800 (PST) Message-ID: <4F493F3D.5090609@gmail.com> Date: Sat, 25 Feb 2012 12:06:21 -0800 From: matt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120217 Thunderbird/10.0.1 MIME-Version: 1.0 To: Kaya Saman References: <4F493127.8060207@gmail.com> In-Reply-To: <4F493127.8060207@gmail.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-x11@freebsd.org Subject: Re: Intel X3000 black screen using Vesa 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: Sat, 25 Feb 2012 20:31:22 -0000 On 02/25/12 11:06, Kaya Saman wrote: > Hi, > > I'm running FreeBSD 9.0 x64 Release on a Lenovo X220 notebook. > > > So far everything seems to work but for whatever reason I can't seem > to start X properly! > > > I ran: Xorg -configure xorg.conf.new -retro > > which worked and I got the Xorg grey fuzzy screen with X cursor in it. > > The rest of the steps I took from the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html= > > > I have a .xinitrc file containing: > > exec xterm & > exec fluxbox/jwm (I set to either option) > > > But to no luck :-( > > > I think it's because Xorg has changed and the .xinitrc seems to be > deprecated/depreciated and not used any more. > > > Currently am using the Vesa driver as none of the Intel drivers seem > to work for me: > > Screen not found > > > Error coming up each time. > > > I tried with both these drivers: > > xf86-driver-intel > xf86-driver-intel29 > > > Also my screen is 720p half HD so res supported is 1366x768 which > standard Vesa driver doesn't like the mode of either. > > > Can anyone help me out? > > > Will post the Xorg.log and other output if necessary but am stuck > using virtual terminals so had to reboot into Fedora 16 to be able to > send email. > > Will need to get Alpine coupled with my .pinerc files working so that > I can use my Gmail account but that's not an issue - it's something I > have to do regardless :-) > > > Regards, > > > Kaya > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" =2Exinitrc works fine. I use it all the time...maybe try commenting out all items and just put "xterm -rv"? I haven't tried the vesa drivers, but xorg should work after using the patches for intel graphics KMS. VESA only supports resolutions exposed by the video bios, which are often "wrong". Meowthink has been posting patches from head backported to 9, my understanding is you'll want to merge the xorg-dev port from here: http://wiki.freebsd.org/Intel_GPU (after the long list of individual ports, or...) and then apply Meowthink's patch. The xorg-dev merge will add some ports including a kms enabled intel driver (3d, native resolution) Matt From owner-freebsd-x11@FreeBSD.ORG Sat Feb 25 21:28:01 2012 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 51BDA106564A for ; Sat, 25 Feb 2012 21:28:01 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CFB158FC0C for ; Sat, 25 Feb 2012 21:28:00 +0000 (UTC) Received: by werm13 with SMTP id m13so3057925wer.13 for ; Sat, 25 Feb 2012 13:28:00 -0800 (PST) Received-SPF: pass (google.com: domain of kayasaman@gmail.com designates 10.180.94.68 as permitted sender) client-ip=10.180.94.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kayasaman@gmail.com designates 10.180.94.68 as permitted sender) smtp.mail=kayasaman@gmail.com; dkim=pass header.i=kayasaman@gmail.com Received: from mr.google.com ([10.180.94.68]) by 10.180.94.68 with SMTP id da4mr15688954wib.22.1330205280007 (num_hops = 1); Sat, 25 Feb 2012 13:28:00 -0800 (PST) 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=YUNA5rb34oCyzVmLiEaVpa4Yh8Qv8QNZhWinicGHwdc=; b=G0WJFoibU6sH8i0Rrf6AZbq+D+0CtoxEf3JUG7/oaMsE1Q2xcxmOA7X93DLqyJ7Y9+ Aydwx3P+o4mmuPHt0uSoYBijT+tVuxs13nWjArSs5FKDOA7MU9H5+sI0TjBMMGDNUZCs USy41tnCai5V1i8uspSpwi7+UXhvU1F4Iy3sw= Received: by 10.180.94.68 with SMTP id da4mr12514274wib.22.1330205279961; Sat, 25 Feb 2012 13:27:59 -0800 (PST) Received: from X220.optiplex-networks.com (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id n5sm29377162wiw.7.2012.02.25.13.27.58 (version=SSLv3 cipher=OTHER); Sat, 25 Feb 2012 13:27:58 -0800 (PST) Message-ID: <4F49525D.5090102@gmail.com> Date: Sat, 25 Feb 2012 21:27:57 +0000 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: matt References: <4F493127.8060207@gmail.com> <4F493F3D.5090609@gmail.com> In-Reply-To: <4F493F3D.5090609@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: Intel X3000 black screen using Vesa 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: Sat, 25 Feb 2012 21:28:01 -0000 > .xinitrc works fine. I use it all the time...maybe try commenting out > all items and just put "xterm -rv"? Tried that now but still plain black screen? I do realize that most "black screen" issues are because a window manager hasn't been chosen but have done that above as directed by the text-book. > I haven't tried the vesa drivers, but xorg should work after using the > patches for intel graphics KMS. VESA only supports resolutions exposed > by the video bios, which are often "wrong". Yeah, I get that and would have been happy with 1024x768 displaying so that I could work on getting things better later. > > Meowthink has been posting patches from head backported to 9, my > understanding is you'll want to merge the xorg-dev port from here: > http://wiki.freebsd.org/Intel_GPU (after the long list of individual > ports, or...) > and then apply Meowthink's patch. > > The xorg-dev merge will add some ports including a kms enabled intel > driver (3d, native resolution) Am gona try this now as I seriously feel that my card is too new for BSD, even the sound card doesn't work which is same problem I had with Slackware Linux before moving to Fedora which is more Bleeding edge or should that be unstable :-P > > Matt > > Regards, Kaya