[ANNOUNCE] xf86-video-intel 2.21.1
Release 2.21.1 (2013-02-10) === A fix for a potential GPU hang on 945gm (GMA3100) and earlier chipsets, along with backporting SNA to the packages found in stable distributions like Debian 6.0 (Squeeze). * Cleanup compilation warnings from deblint, thanks to Paul Menzel * Minor build improvements by Damien Lespiau. * Disable generating span geometry for non-rectilinear spans on gen4 in order to work around and prevent one class of render corruption. * Prevent cache thrashing and severe performance degradation on LLC machines for streaming texture updates. However, note the effect was only observed on just one particular laptop. * Fix alignment of subsurface proxies for old chipsets. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel * Repair build against Xorg-1.6 and contemporary packages. Complete list of changes since 2.21.0 - Chris Wilson (36): sna: Do not add the INPLACE hint if we have the ASYNC hint set sna: Drop bogus refcnt assertion during kgem_bo_retire() sna/gen4: Disable non-rectilinear GPU span compositing sna/gen4: Remove old single-thread SF w/a NEWS: Trivial typo s/utilile/utilise/ man: Fix a typo s/debuging/debugging/ intel: add more ValleyView PCI IDs sna: ValleyView uses the same scanline registers as SandyBridge test: Add a very basic blt benchmark sna: Tidy buffer allocation size assertions xvmc: Add the complementary XCB_CFLAGS configure: XvMC support is optional, so make failure to find xcb non-fatal sna: Make sure we always replace io buffers before inserting into the cache sna: Relax the buffer size assertion to only be larger than required sna: Handle mapped buffer allocation failure for LLC sna: Correctly handle failure to CPU map a new allocation sna: Flush our caches if we fail to mmap an object sna: Free the handle after pwrite buffer allocation failure intel: Becareful not to match UMS against future generations sna: Fallback to non-LLC paths after an allocation failure for an LLC buffer sna: Correctly align used buffers to the following page boundary sna: Only try the SRC fixup into the buffer if it is CPU mapped sna: Allow inplace uploads to utilise GTT on LLC machines sna: Force GTT readback if the GPU is wedged sna: Also assert that the GPU is not wedged before continuing a batch sna: Fixup an invalid assertion sna: Remove the bogus assertions on buffer domains sna/gen4: Split the have_render flag in separate prefer_gpu hints sna: Force the fallback path for unaccelerated randr damage sna/gen6: Use GT2 settings for both GT2 and GT2+ sna: Randomly perturb 'wedged' to hunt for faults sna: Promote to GPU is only partially damaged on the CPU but busy on the GPU sna: Fix alignment of the base of partial buffers for pre-G33 chipsets sna: Backport to squeeze - Xorg-1.6, pixman-0.16, libdrm-2.4.21 configure: Fix typo in checking for libdrm_intel sna: Reorder some includes so that compat-api.h comes after the headers it wraps Damien Lespiau (3): build: Make autoreconf honour ACLOCAL_FLAGS build: Use $(AM_V_GEN) to silence the assembly of gen programs build: Make generation of gen code depend on intel-gen4asm Paul Menzel (3): configure.ac: Do not include `xext` and `xfixes` in `XVMCLIB` NEWS: Fix a typo: a*n* inadvertent configure.ac: Split out XCB libraries from `XVMCLIB` into `XCB` git tag: 2.21.1 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.1.tar.bz2 MD5: c9901fc73ce9ff74a079d4c6b4b4a43d xf86-video-intel-2.21.1.tar.bz2 SHA1: fd5984868244962c9b0e40605987d2bdeb1fcf27 xf86-video-intel-2.21.1.tar.bz2 SHA256: 9145ac8a6df09cc35cd2322d09e0cf0c3b2ede701263b9a64581a7a55db7dbfc xf86-video-intel-2.21.1.tar.bz2 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.1.tar.gz MD5: 1bed249ba34e19c61b7c7eefcfcda407 xf86-video-intel-2.21.1.tar.gz SHA1: ddb95054374189c97195658a24398cc7b42f99a9 xf86-video-intel-2.21.1.tar.gz SHA256: 8c0809fef924e5a509b30e9b75d430469143e0a13b904acc1a7af12dc42c783e xf86-video-intel-2.21.1.tar.gz -- Chris Wilson, Intel Open Source Technology Centre signature.asc Description: Digital signature ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
intel pixmap sharing bug on i915/kms
hi, why is INTEL_PIXMAP_SHARING defined by default and not finding the correct PixmapStartDirtyTracking symbol in src/intel_driver.c? I have built xf86-video-intel (2.21.1) with xorg-server (2.12.4) by doing one small change in src/intel.h: [patch start] --- ../xf86-video-intel-2.21.2/src/intel.h 2013-01-16 14:26:23.0 -0500 +++ src/intel.h 2013-02-10 11:26:02.637639585 -0500 @@ -81,9 +81,14 @@ #define MONITOR_EDID_COMPLETE_RAWDATA EDID_COMPLETE_RAWDATA #endif -#if XF86_CRTC_VERSION = 5 -#define INTEL_PIXMAP_SHARING 1 -#endif +/* XXX incompatible with xserver 1.12.4 see intel_driver.c */ +/* + * #if XF86_CRTC_VERSION = 5 + * #define INTEL_PIXMAP_SHARING 1 + * #endif + */ +/* # undef INTEL_PIXMAP_SHARING */ + struct intel_pixmap { dri_bo *bo; -[end of patch] configure arguments used for the intel 2.21.1 driver: ./configure --prefix=/usr --sysconfdir=/etc --disable-maintainer-mode --enable-kms-only --enable-static=yes xserver 1.12.4 configured with dh build: ./configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/xorg-server --disable-maintainer-mode --disable-dependency-tracking cheers E ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: intel pixmap sharing bug on i915/kms
On Sun, Feb 10, 2013 at 08:49:36AM -0800, Etienne Robillard wrote: hi, why is INTEL_PIXMAP_SHARING defined by default and not finding the correct PixmapStartDirtyTracking symbol in src/intel_driver.c? You have a mismash of headers installed. xorg-1.12 only defines XF86_CRTC_VERSION 4. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
Re: intel pixmap sharing bug on i915/kms
On Sun, 10 Feb 2013 16:55:38 + Chris Wilson ch...@chris-wilson.co.uk wrote: On Sun, Feb 10, 2013 at 08:49:36AM -0800, Etienne Robillard wrote: hi, why is INTEL_PIXMAP_SHARING defined by default and not finding the correct PixmapStartDirtyTracking symbol in src/intel_driver.c? You have a mismash of headers installed. xorg-1.12 only defines XF86_CRTC_VERSION 4. -Chris Thank you... I removed the content of the /usr/local/include/X11 directory and it resolved that issue. however i had another unexpected issue in building the glx module (xorg-server 1.12.4) erob@nguns:~/work/x11/debian/xorg-server-1.12.4/glx$ make CC glxdri.lo In file included from glxdri.c:50:0: ../hw/xfree86/dri/dri.h:41:21: fatal error: xf86dri.h: No such file or directory compilation terminated. make: *** [glxdri.lo] Error 1 To work around this bug I changed the line in hw/xfree86/dri/dri.h from: #include xf86dri.h to : #include X11/dri/xf86dri.h -- Chris Wilson, Intel Open Source Technology Centre cheers -E ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] xfsinfo 1.0.4
xfsinfo is a utility for displaying information about an X font server. This minor maintenance release includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (5): config: Add missing AC_CONFIG_SRCDIR Mark usage() as _X_NORETURN Remove CVS/RCS id tags Print normalized version for X.Org servers, the way xdpyinfo does xfsinfo 1.0.4 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory git tag: xfsinfo-1.0.4 http://xorg.freedesktop.org/archive/individual/app/xfsinfo-1.0.4.tar.bz2 MD5: 76149e6c6d77c5c7252b8fb5b24bcac5 SHA1: f382a7e3fcd9908496454d10c73709bf543d0c7b SHA256: 407998305428c10715e148f110711c580a48c9a0fe49d7819b89835dc0df2f53 http://xorg.freedesktop.org/archive/individual/app/xfsinfo-1.0.4.tar.gz MD5: ca2f9a01930565f7d608882108d4d1c6 SHA1: 35c4ba0b20bc432dd85fa91cb6244b72ae948a1d SHA256: 3d7cc3efc893aa07341c6c82b0070a41fb6c00f9e56ac7fa546e0184c3112662 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpBTqQKmofxO.pgp Description: PGP signature ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] xkbutils 1.0.4
xkbutils is a collection of small utilities utilizing the XKeyboard (XKB) extension to the X11 protocol. It includes: xkbbell - generate XKB bell events xkbvleds - display the state of LEDs on an XKB keyboard in a window xkbwatch - reports changes in the XKB keyboard state This minor maintenance release includes several years of build improvements, cleanups, dead code removal, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (18): Convert to X.Org standard coding style Remove CVS version tags Remove unused #ifdef notyet typedef Remove unused streq() macro unifdef CRAY config: Add missing AC_CONFIG_SRCDIR Declare utils.c functions as taking const char * arguments Add printf attributes to utils.c printing functions Mark uFatalError as _X_NORETURN Remove unused debug function tracing infrastructure from utils.c Make configure actually check for strcasecmp Remove unused uStringDup function Remove unused u*alloc functions from utils.c Delete more unused macros from utils.h Combine usage message strings/calls Add -version flags to all three commands Declare bit to shift as unsigned to clear compiler warning xkbutils 1.0.4 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory Jeremy Huddleston (1): Fix typo in SetValues which could fail to detect a change if only width/height changed git tag: xkbutils-1.0.4 http://xorg.freedesktop.org/archive/individual/app/xkbutils-1.0.4.tar.bz2 MD5: 502b14843f610af977dffc6cbf2102d5 SHA1: b09aef7cc3853eb12dbda332f55adec3add4447b SHA256: d2a18ab90275e8bca028773c44264d2266dab70853db4321bdbc18da75148130 http://xorg.freedesktop.org/archive/individual/app/xkbutils-1.0.4.tar.gz MD5: 6b898346b84e07c2f13b097193ca0413 SHA1: b74bca79c57f123008eafaf8c9d9a08862c25782 SHA256: cf31303cbdd6a86c34cab46f4b6e0c7acd2e84578593b334a146142894529bca -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpKF6pTyxxJb.pgp Description: PGP signature ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] xsm 1.0.3
xsm is a simple X11 session manager for users not using a desktop environment that provides its own session management functionality for saving the set of currently running clients and restoring them on the next login. Note that this release changes the default location for the system provided configuration files from $(libdir)/X11/xsm to $(sysconfdir)/X11/xsm (on most systems that will be from /usr/lib/X11/xsm to /etc/X11/xsm, though results may vary depending on configure arguments). This minor maintenance release also includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (12): Make System() prototype for Solaris in xsm.h actually a prototype Convert XtMalloc + sprintf to XtAsprintf Convert a couple last sprintf calls to snprintf Terminate execl() arguments with NULL instead of 0 Fix some gcc -Wwrite-strings warnings Add size limit to scanf string specifier unifdef -U__UNIXOS2__ config: Add missing AC_CONFIG_SRCDIR Use standard autoconf defines for mkstemp putenv instead of imake leftovers Use mode_t, not int, for umask return/argument value unifdef ISC xsm 1.0.3 Egbert Eich (1): install: Use sysconfdir instead of libdir for config files. Gaetan Nadon (5): config: replace deprecated AC_HELP_STRING with AS_HELP_STRING config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs man: replace hard coded man page section with substitution strings config: move man pages into their own directory git tag: xsm-1.0.3 http://xorg.freedesktop.org/archive/individual/app/xsm-1.0.3.tar.bz2 MD5: 2a9818eba05556e6e99be87d9b3974c4 SHA1: 3bb51cdea219729cbdaa491afe90f1d33fe64c40 SHA256: ad9dee2847a683841f73518a83014b0accae60e9eff7e96752a0dbc412867b4a http://xorg.freedesktop.org/archive/individual/app/xsm-1.0.3.tar.gz MD5: 60a2e5987d8e49a568599ba8fe59c8db SHA1: f50342d94aae2404fecdce202326569b60fadf6a SHA256: f70815139d62416dbec5915ec37db66f325932a69f6350bb1a74c0940cdc796a -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgp70vaglqUAd.pgp Description: PGP signature ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
[ANNOUNCE] rstart 1.0.5
This package includes both the client and server sides of rstart, a program for remotely starting X11 clients on other hosts via rsh. This software has been deprecated in favor of the X11 forwarding provided in common ssh implementations. Note that this release changes the default location for the configuration files from $(libdir)/X11/rstart to $(sysconfdir)/X11/rstart (on most systems that will be from /usr/lib/X11/rstart to /etc/X11/rstart, though results may vary depending on configure arguments). This minor maintenance release also includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (2): Make Makefile.am's compatible with Solaris make rstart 1.0.5 Egbert Eich (2): install: Use sysconfdir instead of libdir for config files. man: Set correct config file location in man page Eric S. Raymond (1): Eliminate use of tab stops. Use real TBL markup. Gaetan Nadon (18): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory config: use a single directory variable to represent $lib/X11/rstart config: -DSERVERNAME not required in client.cc and server.cpp config: -DBINDIR not required in server.cpp config: use sed rather than cpp to substitute directory values config: use sed rather than cpp to substitute rsh command value config: use sed rather than cpp to substitute config values config: -DPACKAGEname and -DENVPREFIX not required in config.in config: install commands using Automake config: install contexts files using Automake config: let the samples directory handle the samples config: let the specs directory handle the specs files config: add links from x and x11 from @Aliases config: move scripts into their own directory config: rstartd.real does not require linking to any library config: upgrade configure.ac git tag: rstart-1.0.5 http://xorg.freedesktop.org/archive/individual/app/rstart-1.0.5.tar.bz2 MD5: 960f4fa5e7e87ae05febd02e9e96d158 SHA1: 97fad3686b4687104a58b3f2b7b387d316b26b92 SHA256: 29134e9fdffc8d6ac6904c293b392ba6a493ce571fbd2015485b19a8e4d0ffeb http://xorg.freedesktop.org/archive/individual/app/rstart-1.0.5.tar.gz MD5: 32db3625cb5e841e17d6bc696f21edfb SHA1: dc4096fa4a011db5422da586d3cbdc42211e5739 SHA256: 5271c0c2675b4ad09aace7edddfdd137af10fc754afa6260d8eb5d0bba7098c7 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgp3xg789Syc6.pgp Description: PGP signature ___ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: arch...@mail-archive.com
XFixesGetCursorImage returning NULL?
Hi, I've recently had an issue with the function XFixesGetCursorImage. I was using a program (screenclone) that assumed this function never returns NULL. The program worked fine from the moment I started a KDE session (I'm using Mint 13 KDE with kde 4.8.5) until something happened, most likely a sleep/resume cycle. After that point, XFixesGetCursorImage would occasionally (but not always) return NULL, causing that program to crash. After logout/login, again the function would stop returning NULL. In the meantime, the maintainer of the program fixed it to prevent the crash. However, I wonder if this behaviour of XFixesGetCursorImage is expected, or whether it indicates something else might be wrong under the hood. Ref: https://github.com/liskin/hybrid-screenclone/issues/10 Thanks! Matei ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH 1/2] XQuartz: Ensure dix-config.h is included in capabilities.c
On 02/ 9/13 08:41 PM, Jeremy Huddleston Sequoia wrote: Signed-off-by: Jeremy Huddleston Sequoia jerem...@apple.com --- hw/xquartz/GL/capabilities.c | 4 1 file changed, 4 insertions(+) diff --git a/hw/xquartz/GL/capabilities.c b/hw/xquartz/GL/capabilities.c index 4702595..5573629 100644 --- a/hw/xquartz/GL/capabilities.c +++ b/hw/xquartz/GL/capabilities.c @@ -20,6 +20,10 @@ * DEALINGS IN THE SOFTWARE. */ +#ifdef HAVE_DIX_CONFIG_H +#include dix-config.h +#endif + #include stdio.h #include stdlib.h #include assert.h Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH 2/2] os: Ensure dix-config.h is included in strndup.c
On 02/ 9/13 08:41 PM, Jeremy Huddleston Sequoia wrote: Signed-off-by: Jeremy Huddleston Sequoia jerem...@apple.com --- os/strndup.c | 4 1 file changed, 4 insertions(+) diff --git a/os/strndup.c b/os/strndup.c index b604b9b..e0eddf1 100644 --- a/os/strndup.c +++ b/os/strndup.c @@ -27,6 +27,10 @@ * SUCH DAMAGE. */ +#ifdef HAVE_DIX_CONFIG_H +#include dix-config.h +#endif + #include stddef.h #include stdlib.h #include string.h Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
xserver release tracker bugs
We've never been good about fixing all the bugs on the release tracker, but it appears we've gotten out of the habit of even just reviewing the bugs and moving them forward to the next release when we're done, as most open bugs are still stuck under the 1.12 1.13 trackers: https://bugs.freedesktop.org/showdependencytree.cgi?id=xserver-1.14hide_resolved=1 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: xserver release tracker bugs
On 2013-02-10 09:22 (GMT-0800) Alan Coopersmith composed: We've never been good about fixing all the bugs on the release tracker, but it appears we've gotten out of the habit of even just reviewing the bugs and moving them forward to the next release when we're done, as most open bugs are still stuck under the 1.12 1.13 trackers: https://bugs.freedesktop.org/showdependencytree.cgi?id=xserver-1.14hide_resolved=1 Soon, if not already, there won't be any still officially supported distro releases except a few LTS in which panning works unless https://bugs.freedesktop.org/show_bug.cgi?id=39949 gets fixed. :~( -- The wise are known for their understanding, and pleasant words are persuasive. Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 1/5] __glXDRIscreenCreateContext: free context on failure, instead of leaking it
Reported with other leaks found by cppcheck in bugzilla #50281 https://bugs.freedesktop.org/show_bug.cgi?id=50281 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- glx/glxdri.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/glx/glxdri.c b/glx/glxdri.c index da46468..1563e51 100644 --- a/glx/glxdri.c +++ b/glx/glxdri.c @@ -645,8 +645,10 @@ __glXDRIscreenCreateContext(__GLXscreen * baseScreen, for (i = 0; i pScreen-numVisuals; i++, visual++) if (visual-vid == glxConfig-visualID) break; -if (i == pScreen-numVisuals) +if (i == pScreen-numVisuals) { +free(context); return NULL; +} context-hwContextID = FakeClientID(0); @@ -655,8 +657,10 @@ __glXDRIscreenCreateContext(__GLXscreen * baseScreen, context-hwContextID, hwContext); __glXleaveServer(GL_FALSE); -if (!retval) +if (!retval) { +free(context); return NULL; +} context-driContext = screen-legacy-createNewContext(screen-driScreen, config-driConfig, 0, /* render type */ driShare, -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 3/5] dmxVDLRead: if we opened a file, close it instead of leaking it
Reported with other leaks found by cppcheck in bugzilla #50281 https://bugs.freedesktop.org/show_bug.cgi?id=50281 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- hw/dmx/config/dmxcompat.c |4 1 file changed, 4 insertions(+) diff --git a/hw/dmx/config/dmxcompat.c b/hw/dmx/config/dmxcompat.c index bd9f127..107991a 100644 --- a/hw/dmx/config/dmxcompat.c +++ b/hw/dmx/config/dmxcompat.c @@ -228,5 +228,9 @@ dmxVDLRead(const char *filename) break; } } + +if (str != stdin) +fclose(str); + return entry; } -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 4/5] xf86SbusCmapLoadPalette: Delay malloc until needed, avoiding leak on error
Reported with other leaks found by cppcheck in bugzilla #50281 https://bugs.freedesktop.org/show_bug.cgi?id=50281 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- hw/xfree86/common/xf86sbusBus.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86sbusBus.c b/hw/xfree86/common/xf86sbusBus.c index b6a6b94..38adeeb 100644 --- a/hw/xfree86/common/xf86sbusBus.c +++ b/hw/xfree86/common/xf86sbusBus.c @@ -641,14 +641,14 @@ xf86SbusCmapLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, int i, index; sbusCmapPtr cmap; struct fbcmap fbcmap; -unsigned char *data = malloc(numColors * 3); +unsigned char *data; cmap = SBUSCMAPPTR(pScrn-pScreen); if (!cmap) return; fbcmap.count = 0; fbcmap.index = indices[0]; -fbcmap.red = data; +fbcmap.red = data = malloc(numColors * 3); fbcmap.green = data + numColors; fbcmap.blue = fbcmap.green + numColors; for (i = 0; i numColors; i++) { -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 5/5] sparcPromPathname2Node: free name when returning error, instead of leaking it
Reported with other leaks found by cppcheck in bugzilla #50281 https://bugs.freedesktop.org/show_bug.cgi?id=50281 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- hw/xfree86/os-support/bus/Sbus.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/os-support/bus/Sbus.c b/hw/xfree86/os-support/bus/Sbus.c index 8260007..14e6d4b 100644 --- a/hw/xfree86/os-support/bus/Sbus.c +++ b/hw/xfree86/os-support/bus/Sbus.c @@ -617,8 +617,10 @@ sparcPromPathname2Node(const char *pathName) return 0; strcpy(name, pathName); name[i + 1] = 0; -if (name[0] != '/') +if (name[0] != '/') { +free(name); return 0; +} p = strchr(name + 1, '/'); if (p) *p = 0; @@ -629,8 +631,10 @@ sparcPromPathname2Node(const char *pathName) *regstr++ = 0; else regstr = p; -if (name + 1 == regstr) +if (name + 1 == regstr) { +free(name); return 0; +} promGetSibling(0); i = promWalkPathname2Node(name + 1, regstr, promRootNode, 0); free(name); -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 2/5] __glXDRIscreenProbe: free screen when DRI2Connect fails, instead of leaking it
Reported with other leaks found by cppcheck in bugzilla #50281 https://bugs.freedesktop.org/show_bug.cgi?id=50281 Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- glx/glxdri2.c |1 + 1 file changed, 1 insertion(+) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index b26e501..e014529 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -939,6 +939,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen) screen-fd, driverName, deviceName)) { LogMessage(X_INFO, AIGLX: Screen %d is not DRI2 capable\n, pScreen-myNum); +free(screen); return NULL; } -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH 0/5] Fixes for leaks reported by cppcheck [Bug 50281]
Fixes for 5 of the 7 leaks found by cppcheck and reported in https://bugs.freedesktop.org/show_bug.cgi?id=50281 Not fixed: - hw/dmx/dmxfont.c:408, function dmxBELoadFont after all operations with goodfps we must have free(goodfps); - hw/dmx/glxProxy/glxcmds.c:1981 , function CreateGLXPixmap if we do free(pGlxPixmap), we must call free(pGlxPixmap.be_xids) too Alan Coopersmith (5): __glXDRIscreenCreateContext: free context on failure, instead of leaking it __glXDRIscreenProbe: free screen when DRI2Connect fails, instead of leaking it dmxVDLRead: if we opened a file, close it instead of leaking it xf86SbusCmapLoadPalette: Delay malloc until needed, avoiding leak on error sparcPromPathname2Node: free name when returning error, instead of leaking it glx/glxdri.c |8 ++-- glx/glxdri2.c|1 + hw/dmx/config/dmxcompat.c|4 hw/xfree86/common/xf86sbusBus.c |4 ++-- hw/xfree86/os-support/bus/Sbus.c |8 ++-- 5 files changed, 19 insertions(+), 6 deletions(-) -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH fixesproto] CreatePointerBarrier takes a window, not a drawable
On Sun, Feb 10, 2013 at 08:47:49AM +0100, Daniel Martin wrote: Hi Peter, On Mon, Dec 03, 2012 at 03:00:01PM +1000, Peter Hutterer wrote: On Sun, Dec 02, 2012 at 11:54:51PM -0500, Jasper St. Pierre wrote: You should probably rename the 'drawable' field to 'window'. whoops, yes, of course. done locally. thanks looks like you've forgotten to send the it to the list. Will this end up in a minor version bump? I don't think so, this is documentation only, it'll be released whenever the next one comes out. Pushed now, thanks for the reminder. Cheers, Peter On Sun, Dec 2, 2012 at 11:53 PM, Peter Hutterer peter.hutte...@who-t.netwrote: Technically this is a change in the protocol, but we've never supported anything but a Window. Also note that it's already called window in the wire struct. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- I also suspect that the number of compatible X11 implementations that provide support for fixes 5.0/pointer barriers is small enough that this change in protocol goes by unnoticed. fixesproto.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fixesproto.txt b/fixesproto.txt index 5903ac9..1828ba8 100644 --- a/fixesproto.txt +++ b/fixesproto.txt @@ -606,13 +606,13 @@ essentially the same reason. CreatePointerBarrier barrier:BARRIER - drawable: DRAWABLE + drawable: Window x1, y2, x2, y2: INT16 directions: CARD32 devices:LISTofDEVICEID Creates a pointer barrier along the line specified by the given - coordinates on the screen associated with the given drawable. The + coordinates on the screen associated with the given window. The barrier has no spatial extent; it is simply a line along the left or top edge of the specified pixels. Barrier coordinates are in screen space. -- 1.7.11.7 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: XFixesGetCursorImage returning NULL?
On Sat, Feb 09, 2013 at 04:46:34PM -0500, Matei David wrote: I've recently had an issue with the function XFixesGetCursorImage. I was using a program (screenclone) that assumed this function never returns NULL. The program worked fine from the moment I started a KDE session (I'm using Mint 13 KDE with kde 4.8.5) until something happened, most likely a sleep/resume cycle. After that point, XFixesGetCursorImage would occasionally (but not always) return NULL, causing that program to crash. After logout/login, again the function would stop returning NULL. In the meantime, the maintainer of the program fixed it to prevent the crash. However, I wonder if this behaviour of XFixesGetCursorImage is expected, or whether it indicates something else might be wrong under the hood. looking at the source, this function returns NULL when malloc fails, or if fetching the reply fails. Not sure which one triggered in your case, but the function can definitely return NULL and that should be dealt with in the caller. Cheers, Peter Ref: https://github.com/liskin/hybrid-screenclone/issues/10 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: Is it possible to know if a full-screen application has started?
Thanks, and is there any example code to look at? On 20:31 Fri 08 Feb , Jasper St. Pierre wrote: You can use SubstructureNotifyMask on the root window and look for the ConfigureNotify/MapNotify events, and look at what size an application requests, I'm not sure what Warzone2100 does, but if it uses the standard extended window manager hints, you can also subscribe to PropertyNotify and look out for changes to _NET_WM_STATE to see if it changes to _NET_WM_STATE_FULLSCREEN. On Fri, Feb 8, 2013 at 7:25 PM, Aaron Lewis the.warl0ck.1...@gmail.com wrote: Hi, I want to know when there's a fullscreen got started, can I get a signal from Xorg? (Like warzone2100 etc.) If so, can anyone provide me an example of code please? Thanks! -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://keyserver.veridis.com ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel -- Jasper -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH:setxkbmap 1/3] Move global rules variable into applyRules, the only function that uses it
Clears gcc warning: setxkbmap.c: In function `tryLoadRules': setxkbmap.c:811: warning: declaration of 'rules' shadows a global declaration setxkbmap.c:132: warning: shadowed declaration is here No longer marked static, since the function is called exactly once, so storing the value across calls seems pointless. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- setxkbmap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setxkbmap.c b/setxkbmap.c index cde779c..b573b14 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -129,7 +129,6 @@ static settings_t settings = { static XkbConfigRtrnRec cfgResult; -static XkbRF_RulesPtr rules = NULL; static XkbRF_VarDefsRec rdefs; static Bool clearOptions = False; @@ -829,6 +828,7 @@ applyRules(void) { int i; char *rfName; +XkbRF_RulesPtr rules = NULL; if (settings.model.src || settings.layout.src || settings.variant.src || options.item) -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH:setxkbmap 2/3] Make len a size_t instead of converting back forth to an int
Gets rid of a number of clang warnings: setxkbmap.c:689:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] len = strlen(orig) + 1; ~ ~^~~ setxkbmap.c:701:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] orig = (char *) realloc(orig, len); ~~~ ^~~ setxkbmap.c:707:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] orig = (char *) calloc(len, 1); ~~ ^~~ Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- setxkbmap.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setxkbmap.c b/setxkbmap.c index b573b14..e50ad16 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -683,7 +683,8 @@ addStringToOptions(char *opt_str, list_t *opts) char * stringFromOptions(char *orig, list_t *newOpts) { -int len, i, nOut; +size_t len; +int i, nOut; if (orig) len = strlen(orig) + 1; -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH:setxkbmap 3/3] Use C99 struct initializer for cmdNames in applyComponentNames
Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- setxkbmap.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/setxkbmap.c b/setxkbmap.c index e50ad16..29a37a2 100644 --- a/setxkbmap.c +++ b/setxkbmap.c @@ -1018,13 +1018,15 @@ applyComponentNames(void) /* Upload the new description to the server. */ if (dpy !print !query) { -XkbComponentNamesRec cmdNames; -cmdNames.types = settings.types.value; -cmdNames.compat = settings.compat.value; -cmdNames.symbols = settings.symbols.value; -cmdNames.keycodes = settings.keycodes.value; -cmdNames.geometry = settings.geometry.value; -cmdNames.keymap = settings.keymap.value; +XkbComponentNamesRec cmdNames = { +.keymap = settings.keymap.value, +.keycodes = settings.keycodes.value, +.types = settings.types.value, +.compat = settings.compat.value, +.symbols = settings.symbols.value, +.geometry = settings.geometry.value +}; + xkb = XkbGetKeyboardByName(dpy, deviceSpec, cmdNames, XkbGBN_AllComponentsMask, XkbGBN_AllComponentsMask -- 1.7.9.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[PATCH vmmouse] Don't de-reference pMse if it hasn't been initialised yet
If the device fails PreInit, UnInit is still called by pMse may be NULL. Dereferencing it is a bad idea. Regression introduced in 9acbedeb887cf8504fd2ca7195b19cff16e8eaf6 Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- sorry, this escaped my testing before :( src/vmmouse.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/vmmouse.c b/src/vmmouse.c index fb053c2..523f4fd 100644 --- a/src/vmmouse.c +++ b/src/vmmouse.c @@ -808,11 +808,13 @@ static void VMMouseUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) { MouseDevPtr pMse = pInfo-private; - VMMousePrivPtr mPriv = (VMMousePrivPtr)pMse-mousePriv; xf86Msg(X_INFO, VMWARE(0): VMMouseUnInit\n); - free(mPriv); + if (pMse) { + VMMousePrivPtr mPriv = (VMMousePrivPtr)pMse-mousePriv; + free(mPriv); + } xf86DeleteInput(pInfo, flags); } -- 1.8.1.2 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
[ANNOUNCE] xf86-video-intel 2.21.1
Release 2.21.1 (2013-02-10) === A fix for a potential GPU hang on 945gm (GMA3100) and earlier chipsets, along with backporting SNA to the packages found in stable distributions like Debian 6.0 (Squeeze). * Cleanup compilation warnings from deblint, thanks to Paul Menzel * Minor build improvements by Damien Lespiau. * Disable generating span geometry for non-rectilinear spans on gen4 in order to work around and prevent one class of render corruption. * Prevent cache thrashing and severe performance degradation on LLC machines for streaming texture updates. However, note the effect was only observed on just one particular laptop. * Fix alignment of subsurface proxies for old chipsets. https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel * Repair build against Xorg-1.6 and contemporary packages. Complete list of changes since 2.21.0 - Chris Wilson (36): sna: Do not add the INPLACE hint if we have the ASYNC hint set sna: Drop bogus refcnt assertion during kgem_bo_retire() sna/gen4: Disable non-rectilinear GPU span compositing sna/gen4: Remove old single-thread SF w/a NEWS: Trivial typo s/utilile/utilise/ man: Fix a typo s/debuging/debugging/ intel: add more ValleyView PCI IDs sna: ValleyView uses the same scanline registers as SandyBridge test: Add a very basic blt benchmark sna: Tidy buffer allocation size assertions xvmc: Add the complementary XCB_CFLAGS configure: XvMC support is optional, so make failure to find xcb non-fatal sna: Make sure we always replace io buffers before inserting into the cache sna: Relax the buffer size assertion to only be larger than required sna: Handle mapped buffer allocation failure for LLC sna: Correctly handle failure to CPU map a new allocation sna: Flush our caches if we fail to mmap an object sna: Free the handle after pwrite buffer allocation failure intel: Becareful not to match UMS against future generations sna: Fallback to non-LLC paths after an allocation failure for an LLC buffer sna: Correctly align used buffers to the following page boundary sna: Only try the SRC fixup into the buffer if it is CPU mapped sna: Allow inplace uploads to utilise GTT on LLC machines sna: Force GTT readback if the GPU is wedged sna: Also assert that the GPU is not wedged before continuing a batch sna: Fixup an invalid assertion sna: Remove the bogus assertions on buffer domains sna/gen4: Split the have_render flag in separate prefer_gpu hints sna: Force the fallback path for unaccelerated randr damage sna/gen6: Use GT2 settings for both GT2 and GT2+ sna: Randomly perturb 'wedged' to hunt for faults sna: Promote to GPU is only partially damaged on the CPU but busy on the GPU sna: Fix alignment of the base of partial buffers for pre-G33 chipsets sna: Backport to squeeze - Xorg-1.6, pixman-0.16, libdrm-2.4.21 configure: Fix typo in checking for libdrm_intel sna: Reorder some includes so that compat-api.h comes after the headers it wraps Damien Lespiau (3): build: Make autoreconf honour ACLOCAL_FLAGS build: Use $(AM_V_GEN) to silence the assembly of gen programs build: Make generation of gen code depend on intel-gen4asm Paul Menzel (3): configure.ac: Do not include `xext` and `xfixes` in `XVMCLIB` NEWS: Fix a typo: a*n* inadvertent configure.ac: Split out XCB libraries from `XVMCLIB` into `XCB` git tag: 2.21.1 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.1.tar.bz2 MD5: c9901fc73ce9ff74a079d4c6b4b4a43d xf86-video-intel-2.21.1.tar.bz2 SHA1: fd5984868244962c9b0e40605987d2bdeb1fcf27 xf86-video-intel-2.21.1.tar.bz2 SHA256: 9145ac8a6df09cc35cd2322d09e0cf0c3b2ede701263b9a64581a7a55db7dbfc xf86-video-intel-2.21.1.tar.bz2 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.1.tar.gz MD5: 1bed249ba34e19c61b7c7eefcfcda407 xf86-video-intel-2.21.1.tar.gz SHA1: ddb95054374189c97195658a24398cc7b42f99a9 xf86-video-intel-2.21.1.tar.gz SHA256: 8c0809fef924e5a509b30e9b75d430469143e0a13b904acc1a7af12dc42c783e xf86-video-intel-2.21.1.tar.gz -- Chris Wilson, Intel Open Source Technology Centre signature.asc Description: Digital signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xf86-video-intel 2.21.2
Release 2.21.2 (2013-02-10) === Pass the brown paper bags, I need half a dozen or so. That seemingly innocuous build fix with xorg-1.13 happned to have the little side-effect of breaking glyph rendering with xorg-1.12 and older on 64-bit machines. Chris Wilson (4): 2.21.1 release NEWS: fix bug url sna: Restore glyphs with xorg-1.12 2.21.2 release git tag: 2.21.2 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.2.tar.bz2 MD5: 8711750cea7e89f967f192ba30546541 xf86-video-intel-2.21.2.tar.bz2 SHA1: 42f65d7ac9a8cb27b16e134533cc11d2c366451d xf86-video-intel-2.21.2.tar.bz2 SHA256: 2e6890ecacc715caa5459581b00b63152e08646ea1b76330bf79b996a139d850 xf86-video-intel-2.21.2.tar.bz2 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.21.2.tar.gz MD5: 0cd32ed372c32461da566bd66b0d353f xf86-video-intel-2.21.2.tar.gz SHA1: dff3a06c1008ca5d504b2ec9b562dc2fb60cad8e xf86-video-intel-2.21.2.tar.gz SHA256: 0e3801797418fe4f63de742037299cba1233bc03fa34fbc4ac06d0d19ab2c412 xf86-video-intel-2.21.2.tar.gz -- Chris Wilson, Intel Open Source Technology Centre signature.asc Description: Digital signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xfsinfo 1.0.4
xfsinfo is a utility for displaying information about an X font server. This minor maintenance release includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (5): config: Add missing AC_CONFIG_SRCDIR Mark usage() as _X_NORETURN Remove CVS/RCS id tags Print normalized version for X.Org servers, the way xdpyinfo does xfsinfo 1.0.4 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory git tag: xfsinfo-1.0.4 http://xorg.freedesktop.org/archive/individual/app/xfsinfo-1.0.4.tar.bz2 MD5: 76149e6c6d77c5c7252b8fb5b24bcac5 SHA1: f382a7e3fcd9908496454d10c73709bf543d0c7b SHA256: 407998305428c10715e148f110711c580a48c9a0fe49d7819b89835dc0df2f53 http://xorg.freedesktop.org/archive/individual/app/xfsinfo-1.0.4.tar.gz MD5: ca2f9a01930565f7d608882108d4d1c6 SHA1: 35c4ba0b20bc432dd85fa91cb6244b72ae948a1d SHA256: 3d7cc3efc893aa07341c6c82b0070a41fb6c00f9e56ac7fa546e0184c3112662 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpaqO45HLbfv.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xkbutils 1.0.4
xkbutils is a collection of small utilities utilizing the XKeyboard (XKB) extension to the X11 protocol. It includes: xkbbell - generate XKB bell events xkbvleds - display the state of LEDs on an XKB keyboard in a window xkbwatch - reports changes in the XKB keyboard state This minor maintenance release includes several years of build improvements, cleanups, dead code removal, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (18): Convert to X.Org standard coding style Remove CVS version tags Remove unused #ifdef notyet typedef Remove unused streq() macro unifdef CRAY config: Add missing AC_CONFIG_SRCDIR Declare utils.c functions as taking const char * arguments Add printf attributes to utils.c printing functions Mark uFatalError as _X_NORETURN Remove unused debug function tracing infrastructure from utils.c Make configure actually check for strcasecmp Remove unused uStringDup function Remove unused u*alloc functions from utils.c Delete more unused macros from utils.h Combine usage message strings/calls Add -version flags to all three commands Declare bit to shift as unsigned to clear compiler warning xkbutils 1.0.4 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory Jeremy Huddleston (1): Fix typo in SetValues which could fail to detect a change if only width/height changed git tag: xkbutils-1.0.4 http://xorg.freedesktop.org/archive/individual/app/xkbutils-1.0.4.tar.bz2 MD5: 502b14843f610af977dffc6cbf2102d5 SHA1: b09aef7cc3853eb12dbda332f55adec3add4447b SHA256: d2a18ab90275e8bca028773c44264d2266dab70853db4321bdbc18da75148130 http://xorg.freedesktop.org/archive/individual/app/xkbutils-1.0.4.tar.gz MD5: 6b898346b84e07c2f13b097193ca0413 SHA1: b74bca79c57f123008eafaf8c9d9a08862c25782 SHA256: cf31303cbdd6a86c34cab46f4b6e0c7acd2e84578593b334a146142894529bca -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpN5BxsigH0M.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xsm 1.0.3
xsm is a simple X11 session manager for users not using a desktop environment that provides its own session management functionality for saving the set of currently running clients and restoring them on the next login. Note that this release changes the default location for the system provided configuration files from $(libdir)/X11/xsm to $(sysconfdir)/X11/xsm (on most systems that will be from /usr/lib/X11/xsm to /etc/X11/xsm, though results may vary depending on configure arguments). This minor maintenance release also includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (12): Make System() prototype for Solaris in xsm.h actually a prototype Convert XtMalloc + sprintf to XtAsprintf Convert a couple last sprintf calls to snprintf Terminate execl() arguments with NULL instead of 0 Fix some gcc -Wwrite-strings warnings Add size limit to scanf string specifier unifdef -U__UNIXOS2__ config: Add missing AC_CONFIG_SRCDIR Use standard autoconf defines for mkstemp putenv instead of imake leftovers Use mode_t, not int, for umask return/argument value unifdef ISC xsm 1.0.3 Egbert Eich (1): install: Use sysconfdir instead of libdir for config files. Gaetan Nadon (5): config: replace deprecated AC_HELP_STRING with AS_HELP_STRING config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs man: replace hard coded man page section with substitution strings config: move man pages into their own directory git tag: xsm-1.0.3 http://xorg.freedesktop.org/archive/individual/app/xsm-1.0.3.tar.bz2 MD5: 2a9818eba05556e6e99be87d9b3974c4 SHA1: 3bb51cdea219729cbdaa491afe90f1d33fe64c40 SHA256: ad9dee2847a683841f73518a83014b0accae60e9eff7e96752a0dbc412867b4a http://xorg.freedesktop.org/archive/individual/app/xsm-1.0.3.tar.gz MD5: 60a2e5987d8e49a568599ba8fe59c8db SHA1: f50342d94aae2404fecdce202326569b60fadf6a SHA256: f70815139d62416dbec5915ec37db66f325932a69f6350bb1a74c0940cdc796a -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpsiS5SvwN59.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xstdcmap 1.0.3
The xstdcmap utility can be used to selectively define standard colormap properties. It is intended to be run from a user's X startup script to create standard colormap definitions in order to facilitate sharing of scarce colormap resources among clients using PseudoColor visuals. This minor maintenance release includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (8): config: Add missing AC_CONFIG_SRCDIR Mark Exit() usage() with _X_NORETURN, cleanup previous workarounds -help should not fail if display cannot be opened Replace sprintf with snprintf Add -version option Combine usage message into single string Constify some char * to fix gcc warnings xstdcmap 1.0.3 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory git tag: xstdcmap-1.0.3 http://xorg.freedesktop.org/archive/individual/app/xstdcmap-1.0.3.tar.bz2 MD5: eb5473acaef15a5db9b50df29c6a7f90 SHA1: b7fcc50ae6100d2ba91d6847969fd9d2b6784a90 SHA256: f648e2b0cf16aa29856de998e2c7204be39dc1f8daeda9464d32288e0b580fc1 http://xorg.freedesktop.org/archive/individual/app/xstdcmap-1.0.3.tar.gz MD5: 70c1fd18b79c3ea1dae136e2eabe1c82 SHA1: 4b561e2716dea6770170788bd0a26685190d4dd4 SHA256: b97aaa883a9eedf9c3056ea1a7e818e3d93b63aa1f54193ef481d392bdef5711 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpp41H18oHhb.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] xvinfo 1.1.2
xvinfo prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension. This minor maintenance release includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (6): config: Add missing AC_CONFIG_SRCDIR Add _X_NORETURN to PrintUsage to clear gcc/clang warnings Convert from haphazard indenting to X.Org common style add explicit braces to clarify which if the else goes with Add -version option xvinfo 1.1.2 Gaetan Nadon (3): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory git tag: xvinfo-1.1.2 http://xorg.freedesktop.org/archive/individual/app/xvinfo-1.1.2.tar.bz2 MD5: 1fbd65e81323a8c0a4b5e24db0058405 SHA1: cc2a8d8585450ae0a8c259c90cf6bfdb85eb7d86 SHA256: eed3d90ffd788ef728c4a5e7aa4bd86dc6bbcebac929caf7a0479cf8b53b50e3 http://xorg.freedesktop.org/archive/individual/app/xvinfo-1.1.2.tar.gz MD5: 75de85dc4ea68bd0412a5bedcebe8cab SHA1: 6b2d0bb3431f1c0ebccada3acacd354ec2740e6d SHA256: 4fcd0e211fe23d1e8c14e1b79076191ef422556280afc6f09ccc4066e84f4600 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpRdD3zx5oLu.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] lbxproxy 1.0.3
lbxproxy uses the Low Bandwidth X protocol to compress X connections proxied through it to X servers supporting the LBX extension. Since xorg-server 1.2 and later releases do not support LBX, this is only useful for sites packagers who wish to support connections to older X servers or other X implementations. This minor maintenance release includes several years worth of build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (10): Fill in COPYING file with copyright notices from source code Don't link directly against libz config: Remove unnecessary calls from configure.ac config: upgrade to util-macros 1.8 for additional man page support config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS config: replace obsolete usage of AC_OUTPUT with AC_CONFIG_FILES Add standard url's to README Cast pointer to long instead of int Add const qualifiers to silence some gcc -Wwrite-strings warnings lbxproxy 1.0.3 Egbert Eich (1): install: Use sysconfdir instead of libdir for config files. Gaetan Nadon (1): config: update AC_PREREQ statement to 2.60 git tag: lbxproxy-1.0.3 http://xorg.freedesktop.org/archive/individual/app/lbxproxy-1.0.3.tar.bz2 MD5: 0bd565b5464f38f606dae15459ff4b09 SHA1: 2c6db0a501d7ee88ccfe60436f894d5749ade5e4 SHA256: 015fb068d3465200cfea5a2a58744258daaa1fb795a100cea42f95e1d27369ed http://xorg.freedesktop.org/archive/individual/app/lbxproxy-1.0.3.tar.gz MD5: 50a2a1ae15e8edf7582f76bcdf6b8197 SHA1: b9e85c84bdc53d98cd72a5ac772fd0aef16334c8 SHA256: db36251c9656c7da720f31e10df384f8946a9a5395915371b60d9423ad8f6a80 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpHFfX7yFQzl.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] proxymngr 1.0.3
proxymngr provides the X proxy manager service. Note that this release changes the default location for the configuration files from $(libdir)/X11/proxymngr to $(sysconfdir)/X11/proxymngr (on most systems that will be from /usr/lib/X11/proxymngr to /etc/X11/proxymngr, though results may vary depending on configure arguments). This minor maintenance release also includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (6): proxymngr depends on xproto, not x11 (Xlib) Add $(AM_V_GEN) to silence pmconfig creation rule config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS Add const qualifiers to clear gcc -Wwrite-strings warnings Mark Usage() with _X_NORETURN to silence gcc warning proxymngr 1.0.3 Egbert Eich (2): man: Set correct config file location in man page install: Use sysconfdir instead of libdir for config files. git tag: proxymngr-1.0.3 http://xorg.freedesktop.org/archive/individual/app/proxymngr-1.0.3.tar.bz2 MD5: b0dad55abda277f919f6213751badb04 SHA1: 50f517d017663faf45a99e46a032647060791ba0 SHA256: 4524b5c10130dcfedfb96ff93c981121329a4df9d72f98f89d17ad20deb509b1 http://xorg.freedesktop.org/archive/individual/app/proxymngr-1.0.3.tar.gz MD5: 3f9b88a156d44ce9304657477d53bf68 SHA1: 5411ed50237ed1afb344c43b9c50c800fdfebfbb SHA256: 07412de05c863b52ab65c020eb5801e079b712bf7071d1cab7e29b689a8fd549 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgpB35n8IpFtK.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] rstart 1.0.5
This package includes both the client and server sides of rstart, a program for remotely starting X11 clients on other hosts via rsh. This software has been deprecated in favor of the X11 forwarding provided in common ssh implementations. Note that this release changes the default location for the configuration files from $(libdir)/X11/rstart to $(sysconfdir)/X11/rstart (on most systems that will be from /usr/lib/X11/rstart to /etc/X11/rstart, though results may vary depending on configure arguments). This minor maintenance release also includes various build improvements, cleanups, and bug fixes; including making the build configuration scripts compatible with automake-1.13. Alan Coopersmith (2): Make Makefile.am's compatible with Solaris make rstart 1.0.5 Egbert Eich (2): install: Use sysconfdir instead of libdir for config files. man: Set correct config file location in man page Eric S. Raymond (1): Eliminate use of tab stops. Use real TBL markup. Gaetan Nadon (18): config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS man: remove trailing spaces and tabs config: move man pages into their own directory config: use a single directory variable to represent $lib/X11/rstart config: -DSERVERNAME not required in client.cc and server.cpp config: -DBINDIR not required in server.cpp config: use sed rather than cpp to substitute directory values config: use sed rather than cpp to substitute rsh command value config: use sed rather than cpp to substitute config values config: -DPACKAGEname and -DENVPREFIX not required in config.in config: install commands using Automake config: install contexts files using Automake config: let the samples directory handle the samples config: let the specs directory handle the specs files config: add links from x and x11 from @Aliases config: move scripts into their own directory config: rstartd.real does not require linking to any library config: upgrade configure.ac git tag: rstart-1.0.5 http://xorg.freedesktop.org/archive/individual/app/rstart-1.0.5.tar.bz2 MD5: 960f4fa5e7e87ae05febd02e9e96d158 SHA1: 97fad3686b4687104a58b3f2b7b387d316b26b92 SHA256: 29134e9fdffc8d6ac6904c293b392ba6a493ce571fbd2015485b19a8e4d0ffeb http://xorg.freedesktop.org/archive/individual/app/rstart-1.0.5.tar.gz MD5: 32db3625cb5e841e17d6bc696f21edfb SHA1: dc4096fa4a011db5422da586d3cbdc42211e5739 SHA256: 5271c0c2675b4ad09aace7edddfdd137af10fc754afa6260d8eb5d0bba7098c7 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgp1qKNyi7MRC.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
[ANNOUNCE] sessreg 1.0.8
sessreg is used by display managers such as xdm and gdm to record X sessions in utmp, wtmp, and lastlog files. This minor maintenance release includes portability fixes for BSD systems, code cleanups, and the addition of a -V option to print the version number. Alan Coopersmith (4): Fix some clang warnings about implicit conversions Combine usage message into a single string Add -V option to print version number sessreg 1.0.8 Ed Schouten (3): Place NetBSD specific #defines in the proper place. Make the `line' variable local to main(). Remove dubious code. Thomas Klausner (1): Fix compilation on NetBSD - undefined *TMPX paths git tag: sessreg-1.0.8 http://xorg.freedesktop.org/archive/individual/app/sessreg-1.0.8.tar.bz2 MD5: f548e389ff68424947b87785df6a321b SHA1: dc4fa8b804e7cb4cfbadbef3708c3b97076ddb65 SHA256: 0e2accc6272fcc2321aef7370f4ccf0df0fe259b2e942938264e2aaedee6c4c3 http://xorg.freedesktop.org/archive/individual/app/sessreg-1.0.8.tar.gz MD5: ec43de66ad8562d9baf4bb45a8a61cfc SHA1: 836adc8c9e1341ae439266eb469a1c478baaba90 SHA256: 6659ca343ddb2eab9505f8342fc8cbc2f4e7673abe4117f1c3f8e9fa28562571 -- -Alan Coopersmith- alan.coopersm...@oracle.com Oracle Solaris Engineering - http://blogs.oracle.com/alanc pgppG3HzL2Jkw.pgp Description: PGP signature ___ xorg-announce mailing list xorg-announce@lists.x.org http://lists.x.org/mailman/listinfo/xorg-announce
Re: Possible radeon-related kernel memory leak
On Friday 08 of February 2013 17:43:17 Michel Dänzer wrote: On Don, 2013-02-07 at 21:05 +0100, Hubert Kario wrote: On Thursday 07 of February 2013 10:12:34 Michel Dänzer wrote: On Mit, 2013-02-06 at 22:02 +0100, Hubert Kario wrote: I've noticed that my main desktop, after about 4-5 days of uptime, becomes more and more sluggish. After investigating the issue a bit I've discovered that kernel itself takes more memory. Right after logging in, `smem -wtk` reports: $ smem -wtk -R 4G -K /boot/vmlinuz-linux-mainline Area Used Cache Noncache firmware/hardware135.8M 0 135.8M kernel image 3.5M 0 3.5M kernel dynamic memory 1.1G 932.9M 171.1M userspace memory 792.7M 168.4M 624.2M free memory2.0G 2.0G 0 -- 4.0G 3.1G 934.6M But after the system's been up for a week, the report looks quite different: $ smem -wtk -R 4G -K /boot/vmlinuz-linux-mainline Area Used Cache Noncache firmware/hardware135.8M 0 135.8M kernel image 3.5M 0 3.5M kernel dynamic memory 2.0G 1.1G1012.2M userspace memory 1.7G 177.2M 1.5G free memory 149.8M 149.8M 0 -- 4.0G 1.4G 2.6G The interesting bit is that it's enough to kill X and log in back again to make the system fast again. That means the leak is more likely in userspace than in the kernel. Is it enough to kill any processes using r600_dri.so, in particular any compositing manager using OpenGL, to reclaim the memory? No, restarting kwin (by `kwin --replace`) does not reclaim the memory. I have to kill X to to reclaim it. The memory is allocated by kernel, the noncache kernel dynamic memory is equal to total memory size reduced by cache, buffers and userspace allocations. I suspect the memory is used for TTM buffer objects, e.g. for X server pixmaps. xrestop lists around 200MiB of pixmaps, I don't know if they are included in the X process or originating process resident set size, but even if they aren't (and are included only in kernel dynamic memory), it's still not the 800MiB difference I see. They don't grow over time. Even if I turn off all applications and restart kwin, it's still at 1G. xlsclients only lists kwin at that point, no other clients? no, there's still the plasma desktop, krunner, probably something else... Note that X11 allows clients to create pixmaps in such a way that they aren't automatically destroyed even if the client dies. This can be used e.g. for desktop backgrounds or for caching pixmaps between processes. Will they still be visible in xrestop if the parent process dies? If yes, then there are around 200MiB when I have problems with memory (so they don't grow). Do you think it's not related to the errors I get sometimes while running games? radeon: The kernel rejected CS, see dmesg for more information with the following error in dmesg (full kernel stack trace in first mail in thread): [drm:radeon_cs_ioctl] ERROR Failed to parse relocation -12 Can't this cause leaks of kernel memory that are freed only on full X re- initialisation? Regards, -- Hubert Kario ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati