From owner-freebsd-x11@FreeBSD.ORG Mon Dec 24 11:06:54 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 3B9A4689 for ; Mon, 24 Dec 2012 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 16B8C8FC1F for ; Mon, 24 Dec 2012 11:06:54 +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 qBOB6rNe066264 for ; Mon, 24 Dec 2012 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBOB6rAD066262 for freebsd-x11@FreeBSD.org; Mon, 24 Dec 2012 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Dec 2012 11:06:53 GMT Message-Id: <201212241106.qBOB6rAD066262@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 Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 24 Dec 2012 11:06:54 -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/174524 x11 [PATCH] devel/gccmakedep o ports/174446 x11 [patch] fix hang on startup in x11-drivers/xf86-video- o ports/173492 x11 X --configure dies when using 2 video cards but only 1 o ports/173406 x11 [PATCH] Update x11-drivers/xorg-drivers to use options o ports/173304 x11 libxcb breaks other applications runtine/build o ports/172379 x11 x11/Xorg errors: drmOpenDevice, /dev/dri/, /dev/dri/ca o ports/172102 x11 [PATCH] devel/gccmakedep build error with clang-cpp o ports/172101 x11 [PATCH] devel/imake build error with clang-cpp o ports/171422 x11 graphics/libGL build error with python3.2 o ports/171242 x11 x11-drivers/xf86-input-mouse: fail to detect moused(8) o ports/170852 x11 [PATCH] x11-fonts/encodings: encodings.dir includes bo o ports/170690 x11 x11-servers/xorg-server eats memory 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/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/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 f 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/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 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/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 69 problems total. From owner-freebsd-x11@FreeBSD.ORG Mon Dec 24 17:47:22 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 446BE446 for ; Mon, 24 Dec 2012 17:47:22 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.lysator.liu.se (mail.lysator.liu.se [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id 958718FC0A for ; Mon, 24 Dec 2012 17:47:21 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 46BE540012 for ; Mon, 24 Dec 2012 18:47:20 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 3157040009; Mon, 24 Dec 2012 18:47:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bernadotte.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.3.1 X-Spam-Score: 0.0 Received: from mx.daemonic.se (h-45-105.a163.priv.bahnhof.se [94.254.45.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 88B4140005; Mon, 24 Dec 2012 18:47:18 +0100 (CET) Received: from mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) by mx.daemonic.se (Postfix) with ESMTPS id 3YVSZG2DXRz8hVn; Mon, 24 Dec 2012 18:47:18 +0100 (CET) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mx.daemonic.se ([IPv6:2001:470:dca9:0:1::3]) (using TLS with cipher CAMELLIA256-SHA) by mailscanner.daemonic.se (mailscanner.daemonic.se [IPv6:2001:470:dca9:0:1::6]) (amavisd-new, port 10025) with ESMTPS id f4IIk_vzq2ha; Mon, 24 Dec 2012 18:47:15 +0100 (CET) Received: from mail.daemonic.se (mail.daemonic.se [10.1.0.4]) by mx.daemonic.se (Postfix) with ESMTPS id 3YVSZC3VWWz8hVm; Mon, 24 Dec 2012 18:47:15 +0100 (CET) Received: from tifa.daemonic.se (h85-8-27-136.dynamic.se.alltele.net [85.8.27.136]) by mail.daemonic.se (Postfix) with ESMTPSA id 3YVSZC1BrMz9Ctj; Mon, 24 Dec 2012 18:47:15 +0100 (CET) Received: from tifa.daemonic.se (localhost [127.0.0.1]) by tifa.daemonic.se (Postfix) with ESMTP id 3DB522281B; Mon, 24 Dec 2012 18:47:14 +0100 (CET) Message-ID: <50D89522.7070103@freebsd.org> Date: Mon, 24 Dec 2012 18:47:14 +0100 From: Niclas Zeising User-Agent: Mutt/1.5.21 MIME-Version: 1.0 To: AN Subject: Re: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 24 Dec 2012 17:47:22 -0000 [CC x11@ to get more eyes on this] On 12/24/12 16:37, AN wrote: > Hi Nik: > > I know this is not your port, but could you take a look at this problem? > Is it easily fixable? > > Thanks in advance. > > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r244643: Sun Dec 23 > 19:05:06 EST 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > > > # cd /usr/ports/net/ssvnc/ && make install clean > ===> License GPLv2 accepted by the user > ===> Found saved configuration for ssvnc-1.0.29 > ===> ssvnc-1.0.29 depends on file: /usr/local/sbin/pkg - found > ===> Extracting for ssvnc-1.0.29 > => SHA256 Checksum OK for ssvnc-1.0.29.src.tar.gz. > ===> Patching for ssvnc-1.0.29 > ===> Applying FreeBSD patches for ssvnc-1.0.29 > ===> ssvnc-1.0.29 depends on executable: imake - found > ===> ssvnc-1.0.29 depends on executable: gmake - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/xi.pc > - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/xmu.pc > - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/xt.pc > - found > ===> ssvnc-1.0.29 depends on file: > /usr/local/libdata/pkgconfig/xaw7.pc - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/ice.pc > - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/xpm.pc > - found > ===> ssvnc-1.0.29 depends on file: > /usr/local/libdata/pkgconfig/xext.pc - found > ===> ssvnc-1.0.29 depends on file: /usr/local/libdata/pkgconfig/sm.pc > - found > ===> ssvnc-1.0.29 depends on shared library: jpeg.11 - found > ===> Configuring for ssvnc-1.0.29 > sh -c 'type xmkmf' > xmkmf is /usr/local/bin/xmkmf > if [ "Xultraftp" != "X" ]; then :; fi > if [ "Xultraftp" != "X" ]; then :; fi > > cd vnc_unixsrc/libvncauth; pwd; xmkmf > /usr/ports/net/ssvnc/work/ssvnc-1.0.29/vnc_unixsrc/libvncauth > mv -f Makefile Makefile.bak > imake -DUseInstalled -I/usr/local/lib/X11/config > In file included from Imakefile.c:16: > In file included from /usr/local/lib/X11/config/Imake.tmpl:109: > /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed > by a macro parameter > #define IncludeMakefile(file) @@# dependencies are in .depend > ^ > In file included from Imakefile.c:16: > In file included from /usr/local/lib/X11/config/Imake.tmpl:316: > /usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty character > constant [-Winvalid-pp-token] > for flag in ${MAKEFLAGS} ''; do \ @@\ > ^ > /usr/local/lib/X11/config/Imake.rules:1897:35: error: '#' is not > followed by a macro parameter > #define IncludeMakefile(file) @@# dependencies are in .depend > ^ > In file included from Imakefile.c:16: > /usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' > file not found > #include ProjectRulesFile > ^ > /usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro > 'ProjectRulesFile' > # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) > ^ > /usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro > 'Concat3' > #define Concat3(a,b,c)a/**/b/**/c > ^ > 1 warning and 3 errors generated. > imake: Exit code 1. > Stop. > cd vnc_unixsrc/vncviewer; pwd; xmkmf > /usr/ports/net/ssvnc/work/ssvnc-1.0.29/vnc_unixsrc/vncviewer > mv -f Makefile Makefile.bak > imake -DUseInstalled -I/usr/local/lib/X11/config > In file included from Imakefile.c:16: > In file included from /usr/local/lib/X11/config/Imake.tmpl:109: > /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed > by a macro parameter > #define IncludeMakefile(file) @@# dependencies are in .depend > ^ > In file included from Imakefile.c:16: > In file included from /usr/local/lib/X11/config/Imake.tmpl:316: > /usr/local/lib/X11/config/Imake.rules:1674:27: warning: empty character > constant [-Winvalid-pp-token] > for flag in ${MAKEFLAGS} ''; do \ @@\ > ^ > /usr/local/lib/X11/config/Imake.rules:1897:35: error: '#' is not > followed by a macro parameter > #define IncludeMakefile(file) @@# dependencies are in .depend > ^ > In file included from Imakefile.c:16: > /usr/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' > file not found > #include ProjectRulesFile > ^ > /usr/local/lib/X11/config/Imake.tmpl:2142:35: note: expanded from macro > 'ProjectRulesFile' > # define ProjectRulesFile Concat3(<,TopLevelProject,.rules>) > ^ > /usr/local/lib/X11/config/Imake.rules:256:23: note: expanded from macro > 'Concat3' > #define Concat3(a,b,c)a/**/b/**/c > ^ > 1 warning and 3 errors generated. > imake: Exit code 1. > Stop. > > Now run: 'make all' > ===> Building for ssvnc-1.0.29 > cd vnc_unixsrc/libvncauth; gmake > gmake[1]: Entering directory > `/usr/ports/net/ssvnc/work/ssvnc-1.0.29/vnc_unixsrc/libvncauth' > Makefile:11: *** missing separator. Stop. > gmake[1]: Leaving directory > `/usr/ports/net/ssvnc/work/ssvnc-1.0.29/vnc_unixsrc/libvncauth' > gmake: *** [all] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/net/ssvnc. > *** [install] Error code 1 > > Stop in /usr/ports/net/ssvnc. > Hi! This is a problem with imake abusing cpp -traditional. clang cpp does not support this rather undocumented and arcane version of cpp that exists in gcc. The best course of action is to switch the build system of ssvnc to use a more modern build system, otherwise you can try and experiment with imake using other cpps, such as ucpp. Regards! -- Niclas Zeising From owner-freebsd-x11@FreeBSD.ORG Tue Dec 25 03:20:01 2012 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6059438C for ; Tue, 25 Dec 2012 03:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 451DA8FC12 for ; Tue, 25 Dec 2012 03:20:01 +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 qBP3K0Pt041758 for ; Tue, 25 Dec 2012 03:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBP3K0s4041757; Tue, 25 Dec 2012 03:20:00 GMT (envelope-from gnats) Date: Tue, 25 Dec 2012 03:20:00 GMT Message-Id: <201212250320.qBP3K0s4041757@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org Cc: From: Jan Beich Subject: Re: ports/174524: [PATCH] devel/gccmakedep X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jan Beich List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 03:20:01 -0000 The following reply was made to PR ports/174524; it has been noted by GNATS. From: Jan Beich To: Nikolai Lifanov Cc: bug-followup@FreeBSD.org Subject: Re: ports/174524: [PATCH] devel/gccmakedep Date: Tue, 25 Dec 2012 13:12:13 +1000 Nikolai Lifanov writes: > This has been resolved in some other x11/ ports, notably libX11, xdm, > etc. by removing this check post patch. > > @${REINPLACE_CMD} 's/test.*-traditional.*;/true;/' ... clang-cpp should be safe with x11/xdm/files/patch-config-Makefile.in. - only one .cpp file i.e., gccmdep.cpp (the program itself) - syntax breakage is minimal (ucpp is no better) [1] - doesn't invoke "cpp" during runtime (unlike imake) [1] here're a few examples #! line must be first, see execve(2) --- gccmdep.cpp47 +++ gccmdep.clang-cpp @@ -1,3 +1,5 @@ + + #!/bin/sh # whitespace around `=' is not allowed by sh(1) --- gccmdep.cpp47 +++ gccmdep.ucpp @@ -7,10 +8,10 @@ # Based on mdepend.cpp and code supplied by Hongjiu Lu # TMP=mdep$$.tmp -CC=cc -RM="rm -f" -LN=ln -MV=mv +CC= cc +RM= "rm -f" +LN= ln +MV= mv ${RM} ${TMP} trap "${RM} ${TMP}*; exit 1" 1 2 15 trap "${RM} ${TMP}*; exit 0" 1 2 13 From owner-freebsd-x11@FreeBSD.ORG Tue Dec 25 23:38:18 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 DDE4E52B; Tue, 25 Dec 2012 23:38:18 +0000 (UTC) (envelope-from bas_vermin@hotmail.com) Received: from dub0-omc2-s12.dub0.hotmail.com (dub0-omc2-s12.dub0.hotmail.com [157.55.1.151]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADDB8FC0A; Tue, 25 Dec 2012 23:38:18 +0000 (UTC) Received: from DUB002-W120 ([157.55.1.136]) by dub0-omc2-s12.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 25 Dec 2012 15:37:10 -0800 X-EIP: [faafRZohAba2GVXqRJbj60NQGIiRr93u] X-Originating-Email: [bas_vermin@hotmail.com] Message-ID: From: Bas Vermin To: "freebsd-hackers@freebsd.org" , "freebsd-x11@freebsd.org" Subject: Your thoughts on a buffer sharing mechanism for FreeBSD (dma-buf for drm2) Date: Wed, 26 Dec 2012 00:37:10 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 25 Dec 2012 23:37:10.0061 (UTC) FILETIME=[C22565D0:01CDE2F8] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2012 23:38:18 -0000 Hi Guys=2C Today I decided to do something useful for the FreeBSD community=2C working= on the TTM and KMS for the AMD graphics cards which I think a lot of peopl= e could use. As most of us know Intel KMS support was added to FreeBSD a few months ago= =2C and as far as I know this code was based on the Linux 3.1 kernel. The F= AQ in the wiki states that in order to keep this code up to date the Linux = commit log would be checked and changes merged into FreeBSD. Then came Linu= x 3.3 which added support for dma-buf=2C the buffer sharing mechanism to be= used by PRIME for offloading work to different GPU's=2C a feature we obvio= usly want. The problem with dma-buf is that it is licensed under the GPL an= d has now littered all over the otherwise MIT licensed drm code (even nVidi= a wasn't allowed to use dma-buf for their propietary driver). My question is=2C does such a buffer sharing mechanism exist in FreeBSD? And if so=2C would it be somewhat compatible with what dma-buf is doing in = the PRIME code? If not I think such a mechanism should be created=2C prehaps part of the vm= system (not separate as dma-buf is). Or am I just being stupid and is ther= e a much better way of solving this problem? I'd like your thoughts on this. Bas = From owner-freebsd-x11@FreeBSD.ORG Wed Dec 26 23:00:08 2012 Return-Path: Delivered-To: freebsd-x11@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F94EB10; Wed, 26 Dec 2012 23:00:08 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6CAD68FC13; Wed, 26 Dec 2012 23:00:08 +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 qBQN08H0081155; Wed, 26 Dec 2012 23:00:08 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBQN08QN081151; Wed, 26 Dec 2012 23:00:08 GMT (envelope-from edwin) Date: Wed, 26 Dec 2012 23:00:08 GMT Message-Id: <201212262300.qBQN08QN081151@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/174725: graphics/libGL graphics/libGLU graphics/libGLw: disable-gallium-intel bug X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 26 Dec 2012 23:00:08 -0000 Synopsis: graphics/libGL graphics/libGLU graphics/libGLw: disable-gallium-intel bug Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Wed Dec 26 23:00:07 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=174725 From owner-freebsd-x11@FreeBSD.ORG Thu Dec 27 17:20:12 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 4D028AB3 for ; Thu, 27 Dec 2012 17:20:12 +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 27DDA8FC0C for ; Thu, 27 Dec 2012 17:20:11 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1ToH7q-0000E2-Rh for freebsd-x11@freebsd.org; Thu, 27 Dec 2012 09:20:10 -0800 Date: Thu, 27 Dec 2012 09:20:10 -0800 (PST) From: Jakub Lach To: freebsd-x11@freebsd.org Message-ID: <1356628810849-5772630.post@n5.nabble.com> In-Reply-To: <3D0D2A63-4710-4BB7-A4A7-37F9493011E4@gmail.com> References: <3D0D2A63-4710-4BB7-A4A7-37F9493011E4@gmail.com> Subject: Re: reporting problem while compiling KDE3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 27 Dec 2012 17:20:12 -0000 Preserving whitespace. Looks like the same problem xorg had earlier when CC=clang. Look up that solution maybe. http://www.freebsd.org/cgi/query-pr.cgi?pr=166373 -- View this message in context: http://freebsd.1045724.n5.nabble.com/reporting-problem-while-compiling-KDE3-tp5769987p5772630.html Sent from the freebsd-x11 mailing list archive at Nabble.com. From owner-freebsd-x11@FreeBSD.ORG Fri Dec 28 15:25:47 2012 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8856F11 for ; Fri, 28 Dec 2012 15:25:47 +0000 (UTC) (envelope-from portscout@portscout.freebsd.org) Received: from null.zi0r.com (null.zi0r.com [71.245.171.204]) by mx1.freebsd.org (Postfix) with ESMTP id 7B1608FC21 for ; Fri, 28 Dec 2012 15:25:47 +0000 (UTC) Received: from null.zi0r.com (localhost [127.0.0.1]) by null.zi0r.com (8.14.5/8.14.5) with ESMTP id qBSFPfxv062105 for ; Fri, 28 Dec 2012 10:25:41 -0500 (EST) (envelope-from portscout@null.zi0r.com) Received: (from portscout@localhost) by null.zi0r.com (8.14.5/8.14.5/Submit) id qBSFPfak061907; Fri, 28 Dec 2012 10:25:41 -0500 (EST) (envelope-from portscout) Message-Id: <201212281525.qBSFPfak061907@null.zi0r.com> MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain Date: Fri, 28 Dec 2012 10:25:41 -0500 From: portscout@portscout.freebsd.org To: x11@freebsd.org Subject: FreeBSD ports you maintain which are out of date X-Mailer: portscout/0.8.1 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 28 Dec 2012 15:25:47 -0000 Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/x11@freebsd.org.html Port | Current version | New version ------------------------------------------------+-----------------+------------ x11/inputproto | 2.0.2 | 2.2.99.1 ------------------------------------------------+-----------------+------------ x11/libXi | 1.4.5 | 1.6.99.1 ------------------------------------------------+-----------------+------------ x11-drivers/xf86-video-intel | 2.7.1 | 2.20.17 ------------------------------------------------+-----------------+------------ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt If wish to stop receiving portscout reminders, please contact portscout@portscout.freebsd.org Thanks. From owner-freebsd-x11@FreeBSD.ORG Fri Dec 28 17:12:52 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 988E03DC; Fri, 28 Dec 2012 17:12:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) by mx1.freebsd.org (Postfix) with ESMTP id 06BF58FC08; Fri, 28 Dec 2012 17:12:51 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id qBSHCEK1007973; Fri, 28 Dec 2012 18:12:14 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 02CCD1231D; Fri, 28 Dec 2012 18:12:13 +0100 (CET) Date: Fri, 28 Dec 2012 18:12:13 +0100 From: Roland Smith To: Bas Vermin Subject: Re: Your thoughts on a buffer sharing mechanism for FreeBSD (dma-buf for drm2) Message-ID: <20121228171213.GA4522@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: "freebsd-hackers@freebsd.org" , "freebsd-x11@freebsd.org" X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 28 Dec 2012 17:12:52 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 26, 2012 at 12:37:10AM +0100, Bas Vermin wrote: > Hi Guys, >=20 > Today I decided to do something useful for the FreeBSD community, working= on > the TTM and KMS for the AMD graphics cards which I think a lot of people > could use. Great!=20 > As most of us know Intel KMS support was added to FreeBSD a few months ag= o, > and as far as I know this code was based on the Linux 3.1 kernel. The FAQ= in > the wiki states that in order to keep this code up to date the Linux comm= it > log would be checked and changes merged into FreeBSD. Then came Linux 3.3 > which added support for dma-buf, the buffer sharing mechanism to be used = by > PRIME for offloading work to different GPU's, a feature we obviously > want. The problem with dma-buf is that it is licensed under the GPL and h= as > now littered all over the otherwise MIT licensed drm code (even nVidia > wasn't allowed to use dma-buf for their propietary driver). The license would not be a problem as long as we don't copy the code, but j= ust provide the same interface. > My question is, does such a buffer sharing mechanism exist in FreeBSD? I may be off-base here, but what about buf(9)? > And if so, would it be somewhat compatible with what dma-buf is doing in = the PRIME code? >=20 > If not I think such a mechanism should be created, prehaps part of the vm= system (not separate as dma-buf is). Or am I just being stupid and is ther= e a much better way of solving this problem? Since the develompent of Xorg (and other systems like Wayland) is driven by Linux, it would probably make porting less painful if the FreeBSD kernel co= uld supply the same interfaces to drivers as Linux does. But I don't see most graphics chips vendors implement dma-buf in their (proprietary) drivers, because of its license. I do hope that in the end th= is will lead to more and better open-source drivers! Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDd0u0ACgkQEnfvsMMhpyWGUwCgk8fspL8hrpxKXMX99Jz0VFSm RoQAmgNE1BkbEJV56K7ezqGQRN/PUBtT =KdyC -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- From owner-freebsd-x11@FreeBSD.ORG Sat Dec 29 20:56:47 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 A6155259 for ; Sat, 29 Dec 2012 20:56:47 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0C18FC08 for ; Sat, 29 Dec 2012 20:56:46 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id 75A0A637176 for ; Sat, 29 Dec 2012 21:27:27 +0100 (CET) Received: from soth.ventu (adsl-ull-13-147.41-151.net24.it [151.41.147.13]) (authenticated bits=0) by ns2.biolchim.it (8.14.5/8.14.5) with ESMTP id qBTKRHqP052998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 29 Dec 2012 21:27:19 +0100 (CET) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.6/8.14.5) with ESMTP id qBTKR3e3052207 for ; Sat, 29 Dec 2012 21:27:03 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <50DF5217.5060408@netfence.it> Date: Sat, 29 Dec 2012 21:27:03 +0100 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Radeon and OpenGL version Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns2.biolchim.it [192.168.2.203]); Sat, 29 Dec 2012 21:27:19 +0100 (CET) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Dec 2012 20:56:47 -0000 Hello. Just a curiosity... On a 9.0/i386 box I have: > #pciconf -lv > ... > vgapci0@pci0:1:5:0: class=0x030000 card=0x17041565 chip=0x97101002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc' > device = 'RS880 [Radeon HD 4200]' > class = display > subclass = VGA > %glxinfo |grep -i render > IRQ's not enabled, falling back to busy waits: 2 0 > direct rendering: Yes > OpenGL renderer string: Mesa DRI R600 (RS880 9710) 20090101 x86/MMX+/3DNow!+/SSE2 TCL Some 3D programs work, others are too slow. Recently I got: >Your system supports OpenGL version "1.2 Mesa 7.6.1..." AFAICT my card should provide a much higher OpenGL version and the radeon driver should cope. Why this 1.2? I tried looking around, but I tend to get completely lost in the maze when I get to investigate the X.org driver and the ATI chipsets... bye & Thanks av. From owner-freebsd-x11@FreeBSD.ORG Sat Dec 29 22:56:33 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 AB6C1FCA for ; Sat, 29 Dec 2012 22:56:33 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 3664F8FC08 for ; Sat, 29 Dec 2012 22:56:32 +0000 (UTC) Received: from server.rulingia.com (c220-239-254-207.belrs5.nsw.optusnet.com.au [220.239.254.207]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id qBTMuNTT021662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 30 Dec 2012 09:56:24 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id qBTMuIc1050368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Dec 2012 09:56:18 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id qBTMuIHV050367; Sun, 30 Dec 2012 09:56:18 +1100 (EST) (envelope-from peter) Date: Sun, 30 Dec 2012 09:56:18 +1100 From: Peter Jeremy To: Andrea Venturoli Subject: Re: Radeon and OpenGL version Message-ID: <20121229225618.GJ82100@server.rulingia.com> References: <50DF5217.5060408@netfence.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XuV1QlJbYrcVoo+x" Content-Disposition: inline In-Reply-To: <50DF5217.5060408@netfence.it> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 29 Dec 2012 22:56:33 -0000 --XuV1QlJbYrcVoo+x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Dec-29 21:27:03 +0100, Andrea Venturoli wrote: >Some 3D programs work, others are too slow. >Recently I got: >>Your system supports OpenGL version "1.2 Mesa 7.6.1..." > >AFAICT my card should provide a much higher OpenGL version and the=20 >radeon driver should cope. >Why this 1.2? Have you compiled Xorg & GL with "WITH_NEW_XORG"? If not, that explains the old OpenGL version. BTW, are you seeing any kernel messages like: WARNING: A device driver has set "memattr" inconsistently. --=20 Peter Jeremy --XuV1QlJbYrcVoo+x Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlDfdRIACgkQ/opHv/APuIf37QCgtsRJQJGsZ8oP8q7vr73Dne+i 4+wAn1PGJ4/95l45I21sXt4Qnk3yobfw =K21T -----END PGP SIGNATURE----- --XuV1QlJbYrcVoo+x--