Re: How to check in shell which output is primary?

2012-02-15 Thread Maciej Sitarz
Hi again, wertarbyte developer shared on github a change to xrandr to dump the entire configuration in an easily parsable format. https://github.com/wertarbyte/xrandr/commit/a2abe6d3989334966dcee39fb13c23ebeaeb63b5 It has not been merged into main branch, maybe including it would be a better

[ANNOUNCE] xfd 1.1.1

2012-02-15 Thread Alan Coopersmith
xfd is a simple Xaw app to display all the characters in a font using either the X11 core protocol or libXft2. This minor maintenance release fixes some build configuration issues and some (but not all) compiler warnings. Alan Coopersmith (4): Strip trailing whitespace Add const

Nominations for X.Org Foundation Board of Directors extended

2012-02-15 Thread Alan Coopersmith
The nomination deadline for candidates for election to the X.Org Foundation Board of Directors has been extended until 23.59 GMT on Monday, 20 February 2012. The Board consists of directors elected from the membership. Each year, an election is held to bring the total number of directors to

Re: [PATCH] render: don't bother with animated cursors on floating slaves (#39989)

2012-02-15 Thread Jon TURNEY
On 26/01/2012 21:43, Colin Harrison wrote: On my Windows build this patch... diff --git a/render/animcur.c b/render/animcur.c index 4cf1fdf..0f174fd 100644 --- a/render/animcur.c +++ b/render/animcur.c @@ -208,6 +208,9 @@ AnimCurDisplayCursor (DeviceIntPtr pDev, AnimCurScreenPtr

[PATCH Xaw3D] fix segfaults on tip popups. #46124

2012-02-15 Thread Devin J. Pohly
From: Devin J. Pohly djpohly+x...@gmail.com When XAW_INTERNATIONALIZATION isn't defined, some uninitialized stack data was being passed to XtGetValues. This makes it not do that. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=46124 Signed-off-by: Devin J. Pohly djpohly+x...@gmail.com ---

Re: [PATCH Xaw3D] fix segfaults on tip popups. #46124

2012-02-15 Thread Matt Turner
On Wed, Feb 15, 2012 at 2:05 PM, Devin J. Pohly djpohly+x...@gmail.com wrote: From: Devin J. Pohly djpohly+x...@gmail.com When XAW_INTERNATIONALIZATION isn't defined, some uninitialized stack data was being passed to XtGetValues.  This makes it not do that. Fixes:

[PATCH savage] Refactor BIOS modes retrieval to only call VBEGetVBEInfo once

2012-02-15 Thread Tormod Volden
From: Tormod Volden debian.tor...@gmail.com Signed-off-by: Tormod Volden debian.tor...@gmail.com --- The change should be fine by itself, but the reason I changed this is that with the latest stack (upgraded to 1.12RC etc) the second call to VBEGetVBEInfo would return corrupted values. There, I

[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping

2012-02-15 Thread Mario Kleiner
Hi, here a set of patches against the nouveau-ddx. This is an extended and revised set, based on Francisco Jerez feedback from autumn last year. [1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped working somewhere around Xorg 1.11+. [2/9] Implements handling of

[PATCH 1/9] dri2: Fix can_exchange() to allow page-flipping on new servers.

2012-02-15 Thread Mario Kleiner
can_exchange() fails on at least Xorg 1.12+. This fixes it in the same way it was fixed in the ati intel ddx. Signed-off-by: Mario Kleiner mario.klei...@tuebingen.mpg.de --- src/nouveau_dri2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/nouveau_dri2.c

[PATCH 2/9] dri2: Implement handling of pageflip completion events.

2012-02-15 Thread Mario Kleiner
Requests pageflip completion events from the kernel. Implements pageflip completion handler to finalize and timestamp swaps. Completion handler includes a consistency check, and disambiguation if multiple crtc's are involved in a pageflip (e.g., clone mode, extendend desktop). Only the timestamp

[PATCH 3/9] dri2: Add support for DRI2SwapLimit() API.

2012-02-15 Thread Mario Kleiner
Uses the new DRI2SwapLimit() API of X-Server 1.12+ to allow to change the maximum number of pending swaps on a drawable before the OpenGL client is throttled by the server. The new optional xorg.conf parameter SwapLimit allows to select a new swap limit = 1. The default swap limit is 2 for

[PATCH 4/9] dri2: Update front buffer pixmap and name before exchanging buffers

2012-02-15 Thread Mario Kleiner
Buffer exchange assumes that the front buffer pixmap and name information is accurate. That may not be the case eg. if the window has been (un)redirected since the buffer was created. This is a translation to nouveau of a fix that was originally developed by Ville Syrjala syrj...@sci.fi for the

[PATCH 5/9] dri2: Fixes to swap scheduling.

2012-02-15 Thread Mario Kleiner
Fix some small off-by-one errors and a mismatch between 32 bit kernel interfaces for vblank count and 64 bit dri2 interfaces for target_msc et al. Return corrected target_msc to swap scheduling in x-server. A revised version of the patch discussed here:

[PATCH 6/9] dri2: Allow vblank controlled swaps for redirected windows. Part I

2012-02-15 Thread Mario Kleiner
Make sure that swaps for redirected windows under a compositor are still scheduled via vblank events, to avoid effects like 2900 fps swaps under a compositor. See discussion with Francisco Jerez at: http://lists.freedesktop.org/archives/nouveau/2011-September/009278.html

[PATCH 7/9] dri2: Allow vblank controlled swaps for redirected windows. Part II

2012-02-15 Thread Mario Kleiner
This part implements proper throttling for clients. For vblank synchronized blits, it defers DRI2SwapComplete() until 1 vblank after the framebuffer blit is submitted to the gpu. Rationale: For unredirected windows, this is the earliest time the blit swap can complete, as blits are submitted one

[PATCH 8/9] dri2: Reimplement hack for triple-buffering on old X-Servers.

2012-02-15 Thread Mario Kleiner
X-Servers before 1.12.0 don't have the DRI2SwapLimit() API. On these, default to a swaplimit of 1 - double-buffering. This patch implements support for swap limit of 2, triple-buffering, on old x-servers via Francisco Jerez previous hack: Return DRI2SwapComplete() before the swap has completed,

[PATCH 9/9] dri2: Fix corner case crash for swaplimit 1

2012-02-15 Thread Mario Kleiner
If a swaplimit 1 is set on a server which supports the swaplimit api (XOrg 1.12.0+), the following can happen: 1. Client calls glXSwapBuffersMscOML() with a swap target 1 vblank in the future, or a client calls glXSwapbuffers() while the swap interval is set to 1 (unusual but

[PATCH xrandr-utils 2/4] Refactor reflection support into library.

2012-02-15 Thread Bryce Harrington
This follows the same API style as rotation. Signed-off-by: Bryce Harrington br...@canonical.com --- examples/xrandr.c| 36 ++ include/X11/extensions/XrandrUtils.h |9 +++ man/XrandrUtils.man | 18 + src/XrandrUtils.c|

[PATCH xrandr-utils 3/4] Add an A/B test comparing our xrandr's output with the installed xrandr

2012-02-15 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com --- examples/before_and_after.sh | 23 +++ examples/xrandr.c|5 - 2 files changed, 27 insertions(+), 1 deletions(-) create mode 100755 examples/before_and_after.sh diff --git

[PATCH xrandr-utils 1/4] Refactor rotations into library

2012-02-15 Thread Bryce Harrington
This is perhaps the simplest way to refactor out the code, but I'm not happy with it. It adds three api calls when it seems like 2 ought to be sufficient. Also, one routine returns 0 on error, the other -1, and that's no good. Signed-off-by: Bryce Harrington br...@canonical.com --- Makefile.am

[PATCH xrandr-utils 0/4] rotations, reflections, names

2012-02-15 Thread Bryce Harrington
Refactors three more chunks of xrandr into libXrandrUtils, and associated tests. Since there were no further comments to the last set of patches, they've been posted to git.freedesktop.org. Bryce Harrington (4): Refactor rotations into library Refactor reflection support into library. Add

[PATCH xrandr-utils 4/4] Refactor name_t into XRUName

2012-02-15 Thread Bryce Harrington
Signed-off-by: Bryce Harrington br...@canonical.com --- examples/xrandr.c| 202 -- include/X11/extensions/XrandrUtils.h | 38 +++ man/XrandrUtils.man | 15 +++ src/Makefile.am |3 +- src/names.c

Re: [PATCH xf86-input-synaptics v2] Prefer multitouch over single-touch axis ranges

2012-02-15 Thread Peter Hutterer
On Sat, Feb 11, 2012 at 06:57:20PM +0100, Chase Douglas wrote: We still use single-touch data in most cases, but sometimes the multitouch axes have higher resolution. Since we use the same XI valuators to report ST and MT data, we must pick one axis and scale the other to match. This change

Nominations for X.Org Foundation Board of Directors extended

2012-02-15 Thread Alan Coopersmith
The nomination deadline for candidates for election to the X.Org Foundation Board of Directors has been extended until 23.59 GMT on Monday, 20 February 2012. The Board consists of directors elected from the membership. Each year, an election is held to bring the total number of directors to

[PATCH] Revert render: don't bother with animated cursors on floating slaves (#39989)

2012-02-15 Thread Peter Hutterer
This reverts commit bbb6b8c834e0e1491ca14403b5d0840dd14380d3. With this patch applied, Xorg -retro does not display the default cursor. Cause: IsFloating(dev) returns 1 for a master device if that master device is not yet paired with the keyboard. This happens for the VCP at startup, causing the

[PATCH] render: don't bother with animated cursors on floating slaves (#39989)

2012-02-15 Thread Peter Hutterer
X.Org Bug 39989 http://bugs.freedesktop.org/show_bug.cgi?id=39989 This is the corrected version after the initial fix in bbb6b8c834e0e1491ca14403b5d0840dd14380d3. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- render/animcur.c |3 +++ 1 files changed, 3 insertions(+), 0

[PATCH] Xext: return BadAccess if PickPointer fails (#45796)

2012-02-15 Thread Peter Hutterer
PickPointer or PickKeyboard return NULL, all MDs are currently disabled and we cannot emulate a core event. This wasn't anticipated by the protocol, so we don't really have an error code we may use here - BadAccess is simply the least bad of the possible ones. And returning BadAccess beats

Re: [PATCH] render: don't bother with animated cursors on floating slaves (#39989)

2012-02-15 Thread Colin Harrison
Hi, On Wed, Feb 15, 2012 Peter Hutterer wrote: This is the corrected version after the initial fix in bbb6b8c834e0e1491ca14403b5d0840dd14380d3. Works for me. Thanks, Colin Harrison ___ xorg-devel@lists.x.org: X.Org development Archives:

[ANNOUNCE] xfd 1.1.1

2012-02-15 Thread Alan Coopersmith
xfd is a simple Xaw app to display all the characters in a font using either the X11 core protocol or libXft2. This minor maintenance release fixes some build configuration issues and some (but not all) compiler warnings. Alan Coopersmith (4): Strip trailing whitespace Add const

[ANNOUNCE] libXaw3d 1.6.1

2012-02-15 Thread Matt Turner
Devin J. Pohly (1): Fix segfaults on tip popups Gaetan Nadon (1): Make --enable-internationalization default Jeremy Huddleston (3): Include stdlib.h for abs() Cleanup shadow declarations Build fix for int-pointer cast errors Matt Turner (6): Include

Re: Stuttering / Frame drops with RS880/785G and AMD Bulldozer CPU

2012-02-15 Thread Shahar Or
2012/2/14 Michel Dänzer mic...@daenzer.net On Mon, 2012-02-13 at 13:05 +0200, Shahar Or wrote: A Live image of Ubuntu Desktop 12.04 amd64 was also tested. It had the same stuttering / framedrop. Have you tried a live image of a different distro? I've tried

[Bug 44099] Big Image in Firefox crashes X server in

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44099 --- Comment #1 from Stefan kde...@vogtner.de 2012-02-15 06:17:56 PST --- The direct URL to the 10-MB-JPEG is http://upload.wikimedia.org/wikipedia/commons/d/db/Aerial_photo_of_WTC_groundzero.jpg It crashes the X server not only when viewed in

[Bug 28106] radeon KMS causes hardware conflict/interference with Intel wifi and audio, crashes wireless

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28106 --- Comment #62 from Neven nkla...@gmail.com 2012-02-15 21:43:31 PST --- Looks like this will never get solved ;( If anyone has ideas on how to debug this issue, I have a t60 that I can use. -- Configure bugmail:

[Bug 28106] radeon KMS causes hardware conflict/interference with Intel wifi and audio, crashes wireless

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=28106 --- Comment #63 from Neven nkla...@gmail.com 2012-02-15 23:31:58 PST --- (In reply to comment #62) Looks like this will never get solved ;( If anyone has ideas on how to debug this issue, I have a t60 that I can use. I tried enabling msi on

Radeon KMS msi issues.

2012-02-15 Thread Neven Klacar
https://bugs.freedesktop.org/show_bug.cgi?id=28106 I was investigating the above bug, and for some reason radeon x1400 cards that use msi based interrupts, are conflicting in some way with the msi interrupts used by the sound card and wifi chip. Doing anything display intensive will drop the wifi