From owner-freebsd-x11@FreeBSD.ORG Mon Aug 13 11:07:24 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 C1E701065672 for ; Mon, 13 Aug 2012 11:07:24 +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 A2BC38FC1C for ; Mon, 13 Aug 2012 11:07:24 +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 q7DB7Owc007315 for ; Mon, 13 Aug 2012 11:07:24 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7DB7NSn007313 for freebsd-x11@FreeBSD.org; Mon, 13 Aug 2012 11:07:23 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 13 Aug 2012 11:07:23 GMT Message-Id: <201208131107.q7DB7NSn007313@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, 13 Aug 2012 11:07:24 -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/170506 x11 [PATCH] graphics/libGL: Don't link to -lpthread direct o ports/170232 x11 x11-drivers/xf86-video-intel package building error wi o ports/170108 x11 x11-fonts/libfontenc: library in the package searches o ports/169875 x11 x11/xorg: vesa on 9-BETA1/Xorg 7.7 with radeon 6450 ca o ports/169794 x11 x11/xdm, several /usr/local/lib/X11/xdm/ files missing o ports/169701 x11 [patch] graphics/libGL: add runtime dependency on glpr o ports/169561 x11 [patch] x11-toolkits/libXmu: disable specs o ports/169560 x11 [patch] x11/libICE: disable specs o ports/169559 x11 [patch] x11-fonts/fontsproto: disable specs o ports/168938 x11 x11/xorg: moused(8) enabled causes xorg startx to fail o ports/168901 x11 New port: textproc/xorg-sgml-doctools o ports/168645 x11 [UPDATE] x11/luit to 1.1.1 f ports/167797 x11 graphics/gthumb crashes, dumps core o ports/167654 x11 x11-wm/twm - no mouse cursor o ports/167596 x11 [patch] I have rolled back x11-drivers/xf86-video-vmwa o ports/167228 x11 x11-drivers/xf86-video-intel : Missing dependency (x1 o ports/167194 x11 x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENO o ports/166163 x11 graphics/dri: gthumb port crashes (SIGSEGV) within the o ports/165981 x11 devel/imake doesn't play nice with current xorg o ports/165599 x11 [x11/xkeyboard-config] x11/xkbcomp as a RUN_DEPENDS f power/165585 x11 x11-servers/xorg-server: Both Xorg and Xorg-server por 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/160968 x11 [patch] ports/x11/libXi broken manpages o ports/160963 x11 [patch] x11/bigreqsproto: disable specs 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/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/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/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 o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/120947 x11 x11/xsm ignores system.xsm and .xsmstartup 63 problems total. From owner-freebsd-x11@FreeBSD.ORG Wed Aug 15 00:38:09 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 8A17E1065764; Wed, 15 Aug 2012 00:38:09 +0000 (UTC) (envelope-from saper@saper.info) Received: from l.saper.info (l.saper.info [IPv6:2001:41d0:1:d467::1000]) by mx1.freebsd.org (Postfix) with ESMTP id 10CC58FC15; Wed, 15 Aug 2012 00:38:08 +0000 (UTC) Received: from l.saper.info (uucp@localhost [127.0.0.1]) by l.saper.info (8.14.5/8.14.5) with ESMTP id q7F0c6FM086049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 00:38:07 GMT (envelope-from saper@saper.info) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=saper.info; s=Mar2008; t=1344991087; bh=hPl+GOTz4q7loM1mKZNK2wMfCx7Uj6lg+2DpoFWJgaY=; h=Date:To:Subject:From:Reply-To:Cc; b=GxyFca4cMe5U+dvLwRwtXjSXn4Z0HIJtSOraXmybeKXE1tYe91j5GKHeaLjGGe9cG QEXIa+vHT9T92ubfzmoCPQXmxTus2DQuCHmc1/afZU1ARafYZcJEucvvthD/7bDKeA stPO7wFGxhGQxYNHMve+kZ28c5c/THKGi2q86UZI= Received: (from uucp@localhost) by l.saper.info (8.14.5/8.14.5/Submit) with UUCP id q7F0c62s086048; Wed, 15 Aug 2012 00:38:06 GMT (envelope-from saper@saper.info) Received: from radziecki.saper.info (saper@localhost [127.0.0.1]) by radziecki.saper.info (8.14.5/8.14.5) with ESMTP id q7F0bltv072679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 00:37:47 GMT (envelope-from saper@saper.info) Received: (from saper@localhost) by radziecki.saper.info (8.14.5/8.14.5/Submit) id q7F0blDx072678; Wed, 15 Aug 2012 00:37:47 GMT (envelope-from saper) Date: Wed, 15 Aug 2012 00:37:47 GMT Message-Id: <201208150037.q7F0blDx072678@radziecki.saper.info> To: FreeBSD-gnats-submit@freebsd.org From: Marcin Cieslak X-send-pr-version: 3.113 X-GNATS-Notify: Cc: freebsd-x11@freebsd.org Subject: x11-toolkits/open-motif: need mkcatdefs utility X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcin Cieslak List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 00:38:09 -0000 >Submitter-Id: current-users >Originator: Marcin Cieslak >Organization: >Confidential: no >Synopsis: x11-toolkits/open-motif: need mkcatdefs utility >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 9.0-BETA1 amd64 >Environment: System: FreeBSD radziecki.saper.info 9.0-BETA1 FreeBSD 9.0-BETA1 #0 r224912M: Mon Aug 6 13:01:28 CEST 2012 saper@radziecki.saper.info:/a/icybox/obj/usr/src/sys/VAIO amd64 open-motif-2.3.3_1 >Description: Out current port (x11-toolkits/open-motif) does not install mkcatdefs utility and message catalogs. >How-To-Repeat: Compile and install the port. I have added CONFIGURE_ARGS+= --enable-message-catalog to the port Makefile, but the build stops at: libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/local/lib/X11/bindings\" -DINCDIR=\"/usr/local/include/X11\" -DLIBDIR=\"/usr/local/lib/X11\" -I/usr/local/include -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/local/include -I/usr/local/include -O2 -pipe -march=nocona -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/freetype2 -MT DataF.lo -MD -MP -MF .deps/DataF.Tpo -c DataF.c -fPIC -DPIC -o .libs/DataF.o DataF.c: In function 'df_Validates': DataF.c:8642: error: 'MS_DataF' undeclared (first use in this function) DataF.c:8642: error: (Each undeclared identifier is reported only once DataF.c:8642: error: for each function it appears in.) DataF.c:8642: error: 'MSG_DataF_0000' undeclared (first use in this function) DataF.c:8647: error: 'MSG_DataF_0001' undeclared (first use in this function) DataF.c: In function 'df_LoadFontMetrics': DataF.c:8697: error: 'MS_DataF' undeclared (first use in this function) DataF.c:8697: error: 'MSG_DataF_0002' undeclared (first use in this function) DataF.c:8751: error: 'MSG_DataF_0003' undeclared (first use in this function) DataF.c:8777: warning: passing argument 3 of '_XmXftFontAverageWidth' from incompatible pointer type DataF.c: In function 'df_ValidateString': DataF.c:8849: error: 'MS_DataF' undeclared (first use in this function) DataF.c:8849: error: 'MSG_DataF_0004' undeclared (first use in this function) DataF.c:8923: error: 'MS_DataFWcs' undeclared (first use in this function) DataF.c:8923: error: 'MSG_DatFWcs_0000' undeclared (first use in this function) DataF.c: In function 'df_InitializeTextStruct': DataF.c:9124: warning: cast from pointer to integer of different size DataF.c: In function 'df_SetValues': DataF.c:10583: error: 'MS_DataF' undeclared (first use in this function) DataF.c:10583: error: 'MSG_DataF_0000' undeclared (first use in this function) DataF.c:10634: warning: cast from pointer to integer of different size DataF.c:10803: error: 'MSG_DataF_0006' undeclared (first use in this function) DataF.c: In function 'XmDataFieldSetEditable': DataF.c:11780: warning: cast from pointer to integer of different size gmake[3]: *** [DataF.lo] Error 1 gmake[3]: Leaving directory `/.amd_mnt/radziecki/a/icybox/tmp/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib/Xm' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/.amd_mnt/radziecki/a/icybox/tmp/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib/Xm' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/.amd_mnt/radziecki/a/icybox/tmp/usr/ports/x11-toolkits/open-motif/work/openmotif-2.3.3/lib' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/x11-toolkits/open-motif. It is needed to build a recently open sourced Common Desktop Environment (CDE). >Fix: From owner-freebsd-x11@FreeBSD.ORG Wed Aug 15 03:04:45 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 79C5B1065672; Wed, 15 Aug 2012 03:04:45 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 254288FC14; Wed, 15 Aug 2012 03:04:45 +0000 (UTC) Received: by ggnk4 with SMTP id k4so1577114ggn.13 for ; Tue, 14 Aug 2012 20:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nYgymJsoqxn07I31oPkWb6Lb4SXs0XWEd4KUIpdry5g=; b=V6vw+XuWHfFokB6r8F4zBG/EYRL7F9ReUOhCFMUisQscCxrDHmBHqHxMjJzr5YZJKm pXYuzV2t4FOoTDGd9gP52o1RHJVSFHQAxQ5Eun+EdfSZVUoe4ikpCcF8N5ZbuSe3AFQS 6MiB+mT/9pGIdtV7B7gMxYNIuKRtG393WirSeP1exc7FVKMAyGDaoQZkLkT6+PPIYuSk M8qcKEZcB2iEDSv+q1wR1H6v+F/P0SywseAb7a4BO2eazDmPsU/WHDTqVmrj36PMdG6b GGNnAikd5QsmxksRT1136t8e0mBWKNTr6I1uqUfXK+GhP8AzgYc+BzGo6oTONiWLosDS dQ4Q== MIME-Version: 1.0 Received: by 10.50.158.164 with SMTP id wv4mr15325963igb.12.1344999883884; Tue, 14 Aug 2012 20:04:43 -0700 (PDT) Received: by 10.64.48.7 with HTTP; Tue, 14 Aug 2012 20:04:43 -0700 (PDT) Date: Tue, 14 Aug 2012 23:04:43 -0400 Message-ID: From: Aryeh Friedman To: freebsd-x11@freebsd.org, FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: (i)frame based sites cause horrible performence in firefox 14.0.1 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, 15 Aug 2012 03:04:45 -0000 Sites that are based on frames or iframes (such as google mail and most of google's non-search services) kill the performance of www/firefox [firefox-14.0.1_1,1] (last updated yesterday on a 9.1 built at the same time) here is the uname: FreeBSD XXX 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2: Thu Aug 9 15:54:37 EDT 2012 root@XXX:/usr/obj/usr/src/sys/GENERIC i386 From owner-freebsd-x11@FreeBSD.ORG Wed Aug 15 07:50:10 2012 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6E4D1065690 for ; Wed, 15 Aug 2012 07:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 976668FC16 for ; Wed, 15 Aug 2012 07:50:10 +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 q7F7oAmX092811 for ; Wed, 15 Aug 2012 07:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7F7oAoE092810; Wed, 15 Aug 2012 07:50:10 GMT (envelope-from gnats) Date: Wed, 15 Aug 2012 07:50:10 GMT Message-Id: <201208150750.q7F7oAoE092810@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Takashi matsubara Cc: Subject: Re: ports/167194: x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENOVO) does not move X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Takashi matsubara List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2012 07:50:10 -0000 The following reply was made to PR ports/167194; it has been noted by GNATS. From: Takashi matsubara To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/167194: x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENOVO) does not move Date: Wed, 15 Aug 2012 07:44:00 GMT >Submitter-Id: current-users >Originator: Takashi matsubara >Organization: >Confidential: no >Synopsis: Re: ports/167194: x11-drivers/xf86-input-synaptics 1.5.0 trackpoint(LENOVO) does not move >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 9 STABLE >Environment: FreeBSD tamago-two.tamago.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Tue Aug 7 20:42:53 JST 2012 root@tamago-two.tamago.local:/usr/obj/usr/src/sys/TAMAGO-TWO amd64 >Description: Since it cannot send a reply from my mail address(t-matubara@miracle.ocn.ne.jp), it sends using http://www.freebsd.org/ja/send-pr.html. does it carry out without being able to respond so that it can send? postmaster@FreeBSD.org freebsd-x11@freebsd.org bug-followup@FreeBSD.org -- Re: ports/167194 -- Dear Brandon. Thanks. It moved. OS:9.1-PRERELEASE (Aug 7 2012) xorg-server:1.7.7 kbd_drv.so:1.6.1 mouse_drv.so:1.7.1 It was able to do in the following setup 1)/boot/loader.conf hw.psm.synaptics_support=1 2)/etc/rc.conf moused_enable="YES" 3)delete x11-drivers/xf86-input-synaptics 1.5.0 Not need xf86-input-synaptics. 4)/etc/X11/xorg.conf (A change portion is extracted.Moreover,HAL is changed so that it may not use.) Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "ServerFlags" Option "AllowEmptyInput" "false" Option "AutoAddDevices" "false" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "Emulate3Buttons" "false" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "Protocol" "standard" Option "XkbRules" "xorg" Option "XkbModel" "jp106" Option "XkbLayout" "jp" EndSection Since the solution was found, please give this bug report(ports/167194) to an end. Best regards. >How-To-Repeat: >Fix: From owner-freebsd-x11@FreeBSD.ORG Thu Aug 16 05:22:25 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D4791106564A for ; Thu, 16 Aug 2012 05:22:25 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A0B178FC15 for ; Thu, 16 Aug 2012 05:22:25 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so1056208pbb.13 for ; Wed, 15 Aug 2012 22:22:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=RjRozQTiXvnBVKHbT+xRqKYWUTUsX4oJYz+2ERtMMGg=; b=lLJoYZ0TephxwzjOe6XbVjxFbUm46BeAufwWKa9SKtDrKDKkm1yLwROAdmxkH4ccQW dk1SmZMRd98XUZF5Opqipor5e+1F33IHGlEwqyh7LprAFnmJ2snM2FiExFWuR7vFo2z3 XHkiPP2fZgCYv3vVZo9RtJfCVjJcP2B17mIILK/IFwb4a1XtLE6zJsxfdqW+l4iuMSOZ qyTAsU6/3jAekpqb18xq5yHI1DM/KNSO9NubZh9jrSJt0jXey5qMg8Ns9TzRhm7O64Yq zH/qFdPVK/g1NNCXZSt+hQW8vElMP+rzmkizKgOkGb28WhdBbs6nDuwmvP5pzIaCVk+m Tnrw== Received: by 10.68.131.71 with SMTP id ok7mr968186pbb.9.1345094544762; Wed, 15 Aug 2012 22:22:24 -0700 (PDT) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id ns7sm1900363pbc.40.2012.08.15.22.22.22 (version=SSLv3 cipher=OTHER); Wed, 15 Aug 2012 22:22:23 -0700 (PDT) Message-ID: <502C8383.4090801@gmail.com> Date: Wed, 15 Aug 2012 22:22:11 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120809 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org References: <5021CA0E.6080608@gmail.com> <5021CBD6.6010607@gmail.com> <5021FABF.9040802@gmail.com> In-Reply-To: <5021FABF.9040802@gmail.com> Content-Type: multipart/mixed; boundary="------------040407000104090506050207" Subject: Re: Problem with new Xorg, radeon & compiz/Kwin revisited 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, 16 Aug 2012 05:22:25 -0000 This is a multi-part message in MIME format. --------------040407000104090506050207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 08/07/12 22:35, matt wrote: > On 08/07/12 19:15, matt wrote: >> >> A while back, I was having a strange issue with the new Xorg and compiz. >> In a nutshell, closing certain windows caused Xorg to exit on nasty >> signals. At the same time, a few users with Radeon cards were having >> issues with Kwin disabling opengl for no apparent reason. >> >> After some research, I had posted a patch seen in a debian mailing list >> as a possible solution, and it did indeed solve the immediate problem of >> crashing Xorg (and later I found out Kwin worked with OpenGL effects >> when the patch is applied). >> >> It was requested I file a PR but first investigate what issues such a >> patch might cause. I'm glad I waited, because there are a few. The >> medicine is a little worse than the disease. First, with Compiz & Xfce4, >> if X was told to shutdown while the previously affected programs >> (xfce4-terminal running under compiz & xfce4 was obvious), the machine >> would immediately reboot. This is obviously not good. So usually I would >> only logout after closing all windows (except Xfce4-panel and the root >> window). This would work, and the machine could be shut down from the >> TTY. >> >> Recently, I installed KDE4. I was so impressed that I was trying to use >> it as my "daily desktop". OpenGL Kwin was working fine. However, >> engaging the screen lock would reboot the machine, as well as the >> machine occasionally spontaneously rebooting. This was much worse than >> the above issue. >> >> The patch had one other odd effect, which was that Dri2 was disabled for >> some reason. >> >> I reverted the patch to xorg-server I had been running, and now Kwin >> will not start OpenGL mode, because it can't find an ARGBGLX visual. If >> Kwin is started alone, OpenGL suprisingly works. Xfce4+compiz crashes >> Xorg as before, however Dri2 is now enabled. The signal is a segfault at >> 0x0. AIGLX on/off have no effect. >> >> Here was the patch (I applied it manually looking at the file, the >> offsets are wrong for us): >> >> diff --git a/glx/glxdri.c b/glx/glxdri.c >> index 326f539..f6ef784 100644 >> --- a/glx/glxdri.c >> +++ b/glx/glxdri.c >> @@ -230,7 +230,7 @@ __glXDRIdrawableDestroy(__GLXdrawable *drawable) >> >> /* If the X window was destroyed, the dri DestroyWindow hook will >> * aready have taken care of this, so only call if pDraw isn't >> NULL. */ >> - if (drawable->pDraw != NULL) { >> + if (drawable->pDraw != NULL&& drawable->pDraw->type == >> DRAWABLE_WINDOW) { >> screen = (__GLXDRIscreen *) glxGetScreen(drawable->pDraw->pScreen); >> (*screen->core->destroyDrawable)(private->driDrawable); >> >> It seems like this shouldn't be having as much effect as it does. I can >> only guess the reboots are from memory problems resulting from lingering >> drawables? I can't explain the Dri2 interaction, nor can I explain >> Kwin's behavior (fairly new to KDE, last time I used it was last century >> :) ). >> >> For what it's worth, my driver is xf86-video-ati on a Radeon HD4650. >> I'm thoroughly confused by this problem and I'd welcome some help trying >> to solve the bug. Anyone else seeing problems with RV710 radeons and >> OpenGL compositing? >> >> Matt >> >> >> >> > A quick follow up...dri2 issue was something else, it works with the > patch. I've tried base gcc as well as gcc47 no difference for > xorg-server and the above behavior. The initial check for pDraw != > NULL was to prevent a double free, and the patch adds a check to > prevent an instance. My best guess now is that there is a double free > situation that passes the DRAWABLE_WINDOW check. > > Matt I fixed the issues for radeon using WITH_NEW_XORG (at least for me) 1. The attached patch from Andriy Gaipon fixes an issue with refcounting when releasing pixmaps 2. Apply the other patch that checks for pDraw->type == DRAWABLE_WINDOW that I posted before This has been stable with both KWin and compiz. Was Gaipon's patch previously applied in FreeBSD's xorg? Matt --------------040407000104090506050207 Content-Type: text/plain; charset=us-ascii; name="gaipon.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gaipon.patch" --- glx/glxdrawable.h.orig 2011-06-11 19:55:47.000000000 +0300 +++ glx/glxdrawable.h 2011-07-30 14:52:16.730791751 +0300 @@ -53,6 +53,7 @@ struct __GLXdrawable { DrawablePtr pDraw; XID drawId; + XID otherId; /* for glx1.3 we need to track the original Drawable as well */ /* ** Either GLX_DRAWABLE_PIXMAP, GLX_DRAWABLE_WINDOW or --- glx/glxcmds.c.orig 2011-06-11 19:55:47.000000000 +0300 +++ glx/glxcmds.c 2011-07-30 14:51:33.374788616 +0300 @@ -1095,6 +1095,7 @@ __glXDrawableInit(__GLXdrawable *drawabl drawable->pDraw = pDraw; drawable->type = type; drawable->drawId = drawId; + drawable->otherId = 0; drawable->config = config; drawable->eventMask = 0; @@ -1131,10 +1132,13 @@ DoCreateGLXDrawable(ClientPtr client, __ * Windows aren't refcounted, so track both the X and the GLX window * so we get called regardless of destruction order. */ - if (drawableId != glxDrawableId && type == GLX_DRAWABLE_WINDOW && - !AddResource(pDraw->id, __glXDrawableRes, pGlxDraw)) { - pGlxDraw->destroy (pGlxDraw); - return BadAlloc; + if (drawableId != glxDrawableId && + (type == GLX_DRAWABLE_WINDOW || type == GLX_DRAWABLE_PIXMAP)) { + if (!AddResource(drawableId, __glXDrawableRes, pGlxDraw)) { + pGlxDraw->destroy (pGlxDraw); + return BadAlloc; + } + pGlxDraw->otherId = drawableId; } return Success; --- glx/glxext.c.orig 2011-06-11 19:55:47.000000000 +0300 +++ glx/glxext.c 2011-07-30 14:51:03.306788511 +0300 @@ -124,14 +124,16 @@ static Bool DrawableGone(__GLXdrawable * { __GLXcontext *c, *next; - if (glxPriv->type == GLX_DRAWABLE_WINDOW) { + if (glxPriv->type == GLX_DRAWABLE_WINDOW || glxPriv->type == GLX_DRAWABLE_PIXMAP) { /* If this was created by glXCreateWindow, free the matching resource */ - if (glxPriv->drawId != glxPriv->pDraw->id) { - if (xid == glxPriv->drawId) - FreeResourceByType(glxPriv->pDraw->id, __glXDrawableRes, TRUE); - else - FreeResourceByType(glxPriv->drawId, __glXDrawableRes, TRUE); - } + if (glxPriv->otherId) { + XID other = glxPriv->otherId; + glxPriv->otherId = 0; + if (xid == other) + FreeResourceByType(glxPriv->drawId, __glXDrawableRes, TRUE); + else + FreeResourceByType(other, __glXDrawableRes, TRUE); + } /* otherwise this window was implicitly created by MakeCurrent */ } --------------040407000104090506050207-- From owner-freebsd-x11@FreeBSD.ORG Fri Aug 17 09:46:43 2012 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 949F81065672; Fri, 17 Aug 2012 09:46:43 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 689118FC18; Fri, 17 Aug 2012 09:46:43 +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 q7H9khRI015694; Fri, 17 Aug 2012 09:46:43 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7H9kh1T015690; Fri, 17 Aug 2012 09:46:43 GMT (envelope-from linimon) Date: Fri, 17 Aug 2012 09:46:43 GMT Message-Id: <201208170946.q7H9kh1T015690@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: ports/170690: x11-servers/xorg-server eats memory 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, 17 Aug 2012 09:46:43 -0000 Synopsis: x11-servers/xorg-server eats memory Responsible-Changed-From-To: freebsd-bugs->freebsd-x11 Responsible-Changed-By: linimon Responsible-Changed-When: Fri Aug 17 09:46:25 UTC 2012 Responsible-Changed-Why: reclassify and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=170690 From owner-freebsd-x11@FreeBSD.ORG Fri Aug 17 15:49:25 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BBCA7106566B; Fri, 17 Aug 2012 15:49:25 +0000 (UTC) (envelope-from melifaro@ipfw.ru) Received: from mail.ipfw.ru (unknown [IPv6:2a01:4f8:120:6141::2]) by mx1.freebsd.org (Postfix) with ESMTP id 504AB8FC0C; Fri, 17 Aug 2012 15:49:25 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=dhcp170-36-red.yandex.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1T2OqI-000OmJ-Kx; Fri, 17 Aug 2012 19:52:10 +0400 Message-ID: <502E67FA.2050107@ipfw.ru> Date: Fri, 17 Aug 2012 19:49:14 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120627 Thunderbird/13.0.1 MIME-Version: 1.0 To: Aryeh Friedman References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org, FreeBSD Current Subject: Re: (i)frame based sites cause horrible performence in firefox 14.0.1 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, 17 Aug 2012 15:49:25 -0000 On 15.08.2012 07:04, Aryeh Friedman wrote: > Sites that are based on frames or iframes (such as google mail and > most of google's non-search services) kill the performance of > www/firefox [firefox-14.0.1_1,1] (last updated yesterday on a 9.1 > built at the same time) here is the uname: Same for me, downgrading to 12.0.X makes things work as expected. FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #3 r237606: Tue Jun 26 23:45:44 MSK 2012 root@dhcp170-36-red.yandex.net:/usr/obj/usr/src/sys/BIRDIE amd64 > > FreeBSD XXX 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2: Thu Aug 9 > 15:54:37 EDT 2012 root@XXX:/usr/obj/usr/src/sys/GENERIC i386 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- WBR, Alexander From owner-freebsd-x11@FreeBSD.ORG Sat Aug 18 19:02:36 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 CED5B1065670; Sat, 18 Aug 2012 19:02:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 45CF38FC14; Sat, 18 Aug 2012 19:02:35 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q7IJ2crv044817; Sat, 18 Aug 2012 22:02:38 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q7IJ2PJm074319; Sat, 18 Aug 2012 22:02:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q7IJ2PPi074318; Sat, 18 Aug 2012 22:02:25 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 18 Aug 2012 22:02:25 +0300 From: Konstantin Belousov To: Meowthink Message-ID: <20120818190225.GF33100@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kR3zbvD4cgoYnS/6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-x11@freebsd.org, freebsd-emulation@freebsd.org Subject: Re: [CFT]Patch for dri / drm interoperability i386 world / amd64 kernel 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, 18 Aug 2012 19:02:36 -0000 --kR3zbvD4cgoYnS/6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 11, 2012 at 09:25:09AM +0800, Meowthink wrote: > Hello all, >=20 > So long FreeBSD's DRI implementation lacks of i386/amd64 > interoperability, as discussed [0] [1]. This breaks wine, linuxulator > etc. drawing using DRI-based OpenGL. > Paul Mackerras et al. actually did that part for Linux implementation, > so I simply translated their work to FreeBSD. Due to my poor > programming skills, there's some limitations: > 0. I tried to split compatible codes into separate files, like under > Linux. But as a result of the difference between FreeBSD and Linux, > the code is integrated in a "#include ...ioc32.c" form which is not > so elegant. > 1. For same reason, struct drm_driver_info has to be changed. I fixed 0 and 1 to my liking and committed the patch. Thank you. > 2. There should be some assertions if a 64-bit pointer failed to fit > in a 32-bit space. Linux implementation didn't do this either, but > they're guaranteed by user-space ioctl structures. This may result > unstable under heavy load. I am not sure what do you mean exactly. Can you elaborate, please ? --kR3zbvD4cgoYnS/6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAlAv5ooACgkQC3+MBN1Mb4j2aQCgnBI9boW2+ygqqGhLWxo6bGez wEkAoNMpSaL+HhERdVPu9onnB26/1Ne+ =67i6 -----END PGP SIGNATURE----- --kR3zbvD4cgoYnS/6--