On Wed, 11 Nov 2015 22:06:12 +
Emil Velikov wrote:
> Hi Tom,
>
> On 11 November 2015 at 13:31, Tom Deseyn wrote:
> > Hi all,
> >
> > To configure X I need to know the display device names (e.g. DFP-0). I get
> > these by looking at the Xorg.log. Is there a way to list these display
> > devi
This replaces the block/wakeup handlers with an OsTimer. This also
avoids problems with performing rendering during the wakeup handler.
Signed-off-by: Keith Packard
---
render/animcur.c | 57 +---
1 file changed, 30 insertions(+), 27 deletions(
This removes the block and wakeup handlers and replaces them with a
combination of a NotifyFd callback and timers.
Signed-off-by: Keith Packard
---
os/xdmcp.c | 114 +++--
1 file changed, 36 insertions(+), 78 deletions(-)
diff --git a/os/x
This uses the NotifyFd interface to monitor the dbus socket rather
than a block/wakeup handler.
Signed-off-by: Keith Packard
---
config/dbus-core.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/config/dbus-core.c b/config/dbus-core.c
index 8351ea4..3c85ad7
Remove code in xf86Wakeup for dealing with device and other input and
switch to using the new NotifyFd interface.
Signed-off-by: Keith Packard
---
hw/xfree86/common/xf86Events.c | 67 --
1 file changed, 26 insertions(+), 41 deletions(-)
diff --git a/hw/xf
This removes the last uses of fd_set from the server interfaces
outside of the OS layer itself.
Signed-off-by: Keith Packard
---
Xext/sleepuntil.c | 17 +++--
Xext/sync.c | 12 ++--
dix/dixfonts.c | 7 +++
dix/dixutils.c
Replace the custom path for dealing with new incoming connections with
the general-purpose NotifyFd API.
Signed-off-by: Keith Packard
---
include/os.h| 3 --
os/WaitFor.c| 4 ---
os/connection.c | 104 +++-
3 files changed, 42 inser
This moves the definition of miPionterRec from mipointrst.h to
mipointer.c so that it is no longer visible in the API, allowing it to
be changed while the API/ABI is frozen.
Signed-off-by: Keith Packard
---
mi/mipointer.c | 12
mi/mipointrst.h | 12
2 files changed, 12
Replace the block/wakeup handler with a NotifyFd callback instead.
Signed-off-by: Keith Packard
---
hw/xwayland/xwayland.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index e31becf..bea2164 100644
--- a/
This allows the server to call GetTimeInMillis() after each request is
processed to avoid needing setitimer. -dumbSched now turns off the
setitimer.
Signed-off-by: Keith Packard
---
configure.ac| 2 +-
dix/dispatch.c | 17 ++---
include/dix-config.h.in | 3 +++
With no users of the interface needing the readmask anymore, we can
remove it from the argument passed to these functions.
Signed-off-by: Keith Packard
---
composite/compalloc.c | 4 ++--
dix/dixutils.c | 14 ++
exa/exa.c
This new libXfont API eliminates exposing internal X server symbols to
the font library, replacing those with a struct full of the entire API
needed to use that library.
v2: Use libXfont2 instead of libXfont_2
Signed-off-by: Keith Packard
---
Xext/xf86bigfont.c | 4 +-
configure.ac
Replace block/wakeup handlers with SetNotifyFd. Much nicer now.
Signed-off-by: Keith Packard
---
Xext/xselinux_hooks.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/Xext/xselinux_hooks.c b/Xext/xselinux_hooks.c
index d9f2f68..2d85928 100644
--- a/Xext/xs
Font initialization was split into two stages, the first was to set up
font privates with a call to ResetFontPrivateIndex, then much later
the call to InitFonts to set up all of the FPEs. Doing the full font
initialization before initializing the video drivers means that we can
move the call to Res
Replace the block/wakeup handlers with a NotifyFd callback.
Signed-off-by: Keith Packard
---
hw/xfree86/drivers/modesetting/vblank.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/vblank.c
b/hw/xfree86/drivers/modesetting/vbl
This adds the ability to be notified when a file descriptor is
available for writing.
Signed-off-by: Keith Packard
---
os/WaitFor.c| 30 --
os/connection.c | 40 +++-
os/io.c | 8
os/osdep.h | 5 -
4
Eliminates polling every 20ms for device input.
v2: rename ephyrPoll to ephyrXcbNotify and fix the API so it can be
used directly for SetNotifyFd. Thanks to Daniel Martin
Signed-off-by: Keith Packard
Cc: Daniel Martin
---
hw/kdrive/ephyr/ephyr.c | 6 --
hw/kdrive/ephyr/ephyr.h | 3
This uses the NotifyFd interface to monitor the udev file descriptor
rather than adding another block/wakeup handler
Signed-off-by: Keith Packard
---
config/udev.c | 45 -
1 file changed, 16 insertions(+), 29 deletions(-)
diff --git a/config/udev.c b/
This provides a callback-based interface to monitor file
descriptors beyond the usual client and device interfaces.
Modules within the server using file descriptors for reading and/or
writing can call
Bool SetNotifyFd(int fd, NotifyFdProcPtr notify_fd, int mask, void *data);
mask can be any
This switches the kdrive code to use FD notification for input
devices, rather than the block and wakeup handlers.
Signed-off-by: Keith Packard
---
hw/kdrive/src/kinput.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/hw/kdrive/src/kinput.c b/h
Replace the block/wakeup handlers with a NotifyFd callback
Signed-off-by: Keith Packard
---
hw/kdrive/linux/linux.c | 17 -
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/hw/kdrive/linux/linux.c b/hw/kdrive/linux/linux.c
index 73a8169..a52bdef 100644
--- a/hw/kdri
On Thu, Nov 12, 2015 at 10:27:05AM +1000, Peter Hutterer wrote:
> The server struggles with devices that are both, the protocol (especially XI2)
> requires a fairly strict separation of pointer vs keyboard devices. Though the
> server has a couple of hacks to route events correctly, mixed
> devices
Peter Hutterer writes:
> + while (o) {
> + iopts = input_option_new(iopts,
> + xf86OptionName(o),
> + xf86OptionValue(o));
> + o = xf86NextOption(o);
> + }
Everything else was quite clear u
Peter Hutterer writes:
> The Logitech G600 has one device with all axes north of ABS_MISC. The current
> code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button press,
> one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
> value. ABS_MISC is mapped to axis
Eric Anholt writes:
> I think it's a safe enough assumption that we're not generating non-OOM
> errors. And, now that we're logging errors, we should get reports of
> them sooner than we used to.
Would it be sensible to wrap the glGetError call like this?
GLenum
glamor_check_gl_oom() {
And use those copied caps instead of the direct device capability calls.
No functional changes at this point, this is preparation work for selectively
disabling capabilities on a device.
Signed-off-by: Peter Hutterer
---
src/xf86libinput.c | 34 ++
1 file changed
No functional changes
Signed-off-by: Peter Hutterer
---
src/xf86libinput.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 95e2d20..be0ec5d 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.
The server struggles with devices that are both, the protocol (especially XI2)
requires a fairly strict separation of pointer vs keyboard devices. Though the
server has a couple of hacks to route events correctly, mixed
devices still experience bugs like [1].
Instead of advertising the device as a
Michel Dänzer writes:
> On 11.11.2015 06:41, Eric Anholt wrote:
>> If a pixmap isn't getting exported as a dmabuf, then we don't need to
>> make an EGLImage/GBM bo for it. This should reduce normal pixmap
>> allocation overhead, and also lets the driver choose non-scanout
>> formats which may be
Keith Packard writes:
> Eric Anholt writes:
>
>> +if (glGetError() == GL_OUT_OF_MEMORY) {
>
> It seems like you'll need to call this in a loop in case multiple error
> bits are set?
>
> And, don't you need to call this (repeatedly) before the function which
> might generate an error in case
Hi Tom,
On 11 November 2015 at 13:31, Tom Deseyn wrote:
> Hi all,
>
> To configure X I need to know the display device names (e.g. DFP-0). I get
> these by looking at the Xorg.log. Is there a way to list these display
> device names which is more suitable for automation? I looked at xrandr, but
>
Hello Xorg developers,
While furthering Debian's multiarch capabilities I ran into the issue
that an xdmcp.txt generated from xdmcp.xml (in libxdmcp) would be
dependent on the version of xorg-sgml-doctools. Due to the
implementation of multiarch, the difference in file content breaks the
installat
Hi all,
To configure X I need to know the display device names (e.g. DFP-0). I get
these by looking at the Xorg.log. Is there a way to list these display
device names which is more suitable for automation? I looked at xrandr, but
I haven't found an option which outputs these names.
Thanks,
Tom
_
The Logitech G600 has one device with all axes north of ABS_MISC. The current
code assigns ABS_MISC as first axis to map to axis 0, i.e. x. On button press,
one node sends the BTN_LEFT but the other node sends an ABS_MISC with a 1 0
value. ABS_MISC is mapped to axis 0, this moves the pointer to (0,
On Mon, Nov 09, 2015 at 03:43:44PM -0500, Adam Jackson wrote:
> On Fri, 2015-11-06 at 10:30 +0100, Thomas Klausner wrote:
> > From: Jared McNeill
>
> It's not wrong, but this driver lives in-server now.
Thanks for the information.
I have attached anew patch against the xserver.
Thomas
>From 12
35 matches
Mail list logo