On Tue, Mar 01, 2016 at 02:41:32PM -0500, Frediano Ziglio wrote:
> >
> > On Tue, Mar 01, 2016 at 09:44:39AM +, Frediano Ziglio wrote:
> > > This prevents incompatibility if users (like old spice-server/spice-gtk)
> > > are not expected to have this additional restriction.
> > >
> > > Signed-o
I apologize for not responding to your questions about deprecation earlier.
Basically, if you look at spice-channel.h you can see an example of how to
deprecate this function instead of removing it from the API. Basically:
#ifndef SPICE_DISABLE_DEPRECATED
SPICE_DEPRECATED
void spice_channel_set_c
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> Signed-off-by: Kirill Moizik
> Signed-off-by: Dmitry Fleytman
> ---
> src/usb-device-widget.c | 33 -
> 1 file changed, 24 insertions(+), 9 deletions(-)
>
> diff --git a/src/usb
>
> On Tue, Mar 01, 2016 at 09:44:39AM +, Frediano Ziglio wrote:
> > This prevents incompatibility if users (like old spice-server/spice-gtk)
> > are not expected to have this additional restriction.
> >
> > Signed-off-by: Frediano Ziglio
> > ---
> > spice/macros.h | 3 ++-
> > 1 file chang
Acked-by: Jonathon Jongsma
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> Gray out redirection controls while there are
> asynchronous redirection flows in progress.
>
> Signed-off-by: Kirill Moizik
> Signed-off-by: Dmitry Fleytman
> ---
> src/usb-devic
Acked-by: Jonathon Jongsma
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> Signed-off-by: Kirill Moizik
> Signed-off-by: Dmitry Fleytman
> ---
> src/map-file | 1 +
> src/usb-device-manager.c | 23 +++
> src/usb-device-man
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> Signed-off-by: Kirill Moizik
> Signed-off-by: Dmitry Fleytman
> ---
> src/channel-usbredir.c | 38 +++---
> 1 file changed, 31 insertions(+), 7 deletions(-)
>
> diff --git a/src
Acked-by: Jonathon Jongsma
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> During device disconnection, unwanted hotplug events may happen.
> We need to ignore those therefore we track disconnection operations
> in progress.
>
> See also comment to commit
>
As I mentioned in the previous patch, I'd really like this rebased on Fabiano's
GTask work. I understand that it's annoying to have to rebase this stuff, so I'm
willing to do it for you if you'd prefer.
Another comment below
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kiril
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> During device connection, unwanted hotplug events may happen.
> We need to ignore those therefore we track redirection operations
> in progress.
>
> See also comment to commit
> "Do not process USB hotplug events
Or you can try this
http://libkeepalive.sourceforge.net/
Frediano
>
> Hi Nikhil,
>
> your issue seems to be network inactivity. This will be resolved in the
> next release of spice-server by use of tcp_keepalive but for the time
> being, the only cure is to use the VM from time to time so that
Hi Nikhil,
your issue seems to be network inactivity. This will be resolved in the
next release of spice-server by use of tcp_keepalive but for the time
being, the only cure is to use the VM from time to time so that the TCP
connections don't get closed (NAT records don't expire, ...)
David
On P
>
> Hey,
>
> On Mon, Feb 29, 2016 at 01:34:32PM -0600, Jonathon Jongsma wrote:
> > Frediano and I talked about this last week and basically agreed on renaming
> > RedDispatcher to RedQXL. A little more justification for the rename:
> >
> > There are already a couple other types with Dispatcher i
Hello There,
I am currently testing spice-html5. I find it very promessing and I'd like to
give a hand if possible.
I am currently experiencing an irritating issue with key mapping. I win to have
French keymap implemented, but it seems most of extended keys are either not
defined or miss defin
Hello-
I've built spice-gtk-3 from spice-space.org on tinycore linux (64-bit). For
this, I also had to built the server, the protocol and qemu itself with
spice support; all of which seem to work fine (and things work great in SDL
mode).
However, when I start the spicy client and connect to the VM
Hello,
I know you have multiple PDFs on your website about how to use Spice. All
of it is confusing to me, and I have a lot of questions.
- Is this a virtual desktop?
- Is it free?
- How to I set up a desktop to connect to?
- Does the Chromebook version work?
- Can I add my own pro
>
> Hi
>
> - Original Message -
> > These utility use some trick to use console even if they are GUI
> > application (not supposed to have a console by default).
> > This make output redirection harder as output by default will tend
> > to go to console of parent process instead of using
Hey,
On Mon, Feb 29, 2016 at 01:34:32PM -0600, Jonathon Jongsma wrote:
> Frediano and I talked about this last week and basically agreed on renaming
> RedDispatcher to RedQXL. A little more justification for the rename:
>
> There are already a couple other types with Dispatcher in their names:
>
On Tue, Mar 01, 2016 at 09:44:39AM +, Frediano Ziglio wrote:
> This prevents incompatibility if users (like old spice-server/spice-gtk)
> are not expected to have this additional restriction.
>
> Signed-off-by: Frediano Ziglio
> ---
> spice/macros.h | 3 ++-
> 1 file changed, 2 insertions(+)
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> On Windows when using usbdk, opening and closing USB device handle,
> i.e. calling libusb_open()/libusb_unref_device() can block for a few
> seconds (3-5 second more specifically on patch author's HW).
>
> libusb
This decoder lets GStreamer handle the buffering and scheduling of thei
frame decoding and display.
Signed-off-by: Francois Gouget
---
configure.ac | 26 ++-
src/Makefile.am| 8 +
src/channel-display-gst.c | 432 +
src/cha
Signed-off-by: Francois Gouget
---
examples/spiceqxl.xorg.conf.example | 7 +++
src/qxl.h | 1 +
src/qxl_driver.c| 2 ++
src/spiceqxl_spice_server.c | 15 +++
4 files changed, 25 insertions(+)
diff --git a/examples/spiceqxl
This replaces the original channel-display-mjpeg API with a VideoDecoder
base class which can be reimplemented by other decoders.
Furthermore this moves the MJPEG-specific state information from the
display_stream struct to a derived class of VideoDecoder.
Signed-off-by: Francois Gouget
---
src/
configure will use GStreamer 1.0 if present and fall back to
GStreamer 0.10 otherwise.
Signed-off-by: Francois Gouget
---
configure.ac | 36 ++
server/Makefile.am | 8
server/gstreamer-encoder.c | 114 -
server
This means future video codecs may be supported automatically.
One can also force usage of decodebin by setting $SPICE_GSTVIDEO_AUTO.
Signed-off-by: Francois Gouget
---
src/channel-display-gst.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/channel-dis
Otherwise it may get wrapped to a much lower value than intended.
Signed-off-by: Francois Gouget
---
server/gstreamer-encoder.c | 84 ++
1 file changed, 63 insertions(+), 21 deletions(-)
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encod
This makes it possible to test the GStreamer video decoder with MJPEG
streams.
Signed-off-by: Francois Gouget
---
configure.ac | 11 +++
src/Makefile.am| 7 ++-
src/channel-display-priv.h | 2 ++
src/channel-display.c | 5 +
4 files changed, 24 i
The MJPEG decoder does not need a zero-filled buffer.
Signed-off-by: Francois Gouget
---
src/channel-display-mjpeg.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/channel-display-mjpeg.c b/src/channel-display-mjpeg.c
index 78e3d5a..6271cfb 100644
--- a/src/chan
Signed-off-by: Francois Gouget
---
src/channel-display-gst.c | 17 +++--
src/channel-display-priv.h | 4 ++--
src/channel-display.c | 21 +
3 files changed, 34 insertions(+), 8 deletions(-)
diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c
Signed-off-by: Francois Gouget
---
scripts/Xspice | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/Xspice b/scripts/Xspice
index 15a5a5e..bf8112f 100755
--- a/scripts/Xspice
+++ b/scripts/Xspice
@@ -87,6 +87,7 @@ parser.add_argument('--zlib-glz-wan-compression',
# TO
Starting with the next patch the frmae may not get dropped.
Signed-off-by: Francois Gouget
---
src/channel-display-priv.h | 2 +-
src/channel-display.c | 8
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/channel-display-priv.h b/src/channel-display-priv.h
index
This typically happens when sending very small frames (less than
16 pixels in one dimension) to the x264enc encoder.
This avoids repeatedly wasting time rebuilding the pipeline.
Signed-off-by: Francois Gouget
---
server/gstreamer-encoder.c | 59 --
1 f
Signed-off-by: Francois Gouget
---
src/channel-display-mjpeg.c | 141 ---
src/channel-display-priv.h | 10 ++-
src/channel-display.c | 201 +++-
3 files changed, 188 insertions(+), 164 deletions(-)
diff --git a/src/chann
The GStreamer codecs don't follow the specified bit rate very closely:
they can decide to exceed it for ten seconds or more if they consider
the scene deserves it. Such long bursts are enough to cause network
congestion, resulting in many lost frames which cause significant
display corruption.
So t
The video encoder uses the client reports and/or notifications of
server frame drops as its feedback mechanisms. In particular it keeps
track of the maximum video margin and reduces the bit rate whenever the
margin goes below certain thresholds or decreases too sharply.
It uses these to figure out
Signed-off-by: Francois Gouget
---
In theory this could be needed by the next patch.
server/red-parse-qxl.h | 4 ++--
server/red-worker.c| 7 ++-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/server/red-parse-qxl.h b/server/red-parse-qxl.h
index 9c30572..220a096 100644
Signed-off-by: Francois Gouget
---
Changed the VP8 encoder parameters based on the realtime profile to
improve performance. The patch does not use the realtime profile
directly because profiles don't seem to be supported from 'gst-launch'
pipeline strings yet.
Furthermore it turns out that it
Signed-off-by: Francois Gouget
---
server/gstreamer-encoder.c | 17 -
server/reds.c | 4 +++-
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/server/gstreamer-encoder.c b/server/gstreamer-encoder.c
index 0a63758..f3fef41 100644
--- a/server/gstreamer-
Note that we can only avoid copies for the first 1 Mpixels or so.
That's because Spice splits larger frames into more chunks than we can
fit GstMemory fragments in a GStreamer buffer. So if there are more
pixels we will avoid copies for the first 3840 KB and copy the rest.
Furthermore, while in pra
This way the video encoder is not forced to use malloc()/free().
This also allows more flexibility in how the video encoder manages the
buffer which allows for a zero-copy implementation in both video
encoders.
Signed-off-by: Francois Gouget
---
server/dcc-send.c | 25 +++---
se
Signed-off-by: Francois Gouget
---
server/tests/replay.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/server/tests/replay.c b/server/tests/replay.c
index f3b670f..5bbca5e 100644
--- a/server/tests/replay.c
+++ b/server/tests/replay.c
@@ -284,7 +284,7 @@ int main
The Spice server administrator can specify the encoder and codec
preferences to optimize for CPU or bandwidth usage. Preferences are
described in a semi-colon separated list of encoder:codec pairs.
The server has a default preference list which can explicitly be
selected by specifying 'auto'.
The
Signed-off-by: Francois Gouget
---
server/dcc.c| 5 -
server/dcc.h| 2 +-
server/stream.c | 41 +
3 files changed, 34 insertions(+), 14 deletions(-)
diff --git a/server/dcc.c b/server/dcc.c
index d4a6c7c..df650c9 100644
--- a/server/dcc.c
+++
This introduces a pared down GStreamer-based video encoder to serve as
the basis for later enhancements.
In this form the new encoder supports both regular and sized streams
but lacks any rate control. It should still work fine if bandwidth is
sufficient such as on LANs.
Signed-off-by: Francois Go
This replaces the original mjpeg_encoder API with a VideoEncoder base
class which can be reimplemented by other encoders.
This also renames the members and enums from mjpeg_* to video_*.
Signed-off-by: Francois Gouget
---
server/Makefile.am | 2 +-
server/dcc-send.c | 25
se
It has the same lifetime as the corresponding structure so this
simplifies keeping track of it.
Signed-off-by: Francois Gouget
---
server/mjpeg-encoder.c | 13 +
server/mjpeg-encoder.h | 4 +++-
server/stream.c| 5 +++--
3 files changed, 11 insertions(+), 11 deletions(-)
d
Clients that support multiple codecs must advertise the
SPICE_DISPLAY_CAP_MULTI_CODEC capability and one
SPICE_DISPLAY_CAP_CODEC_XXX per supported codec.
Signed-off-by: Francois Gouget
---
spice.proto | 2 ++
spice/enums.h| 2 ++
spice/protocol.h | 4
3 files changed, 8 insertions(
This patch series adds support for using GStreamer to encode and decode
the video streams, adding support for VP8 and h264 codecs.
There have been quite a few changes since the last revision of this
patchset.
* The VP8 encoding performance has been improved.
* The zero-copy code for the input f
Acked-by: Jonathon Jongsma
On Sun, 2016-02-28 at 11:54 +0200, Dmitry Fleytman wrote:
> From: Kirill Moizik
>
> This commit introduces redirecting property of GUdevClient
>
> This property indicates when a redirection operation
> is in progress on a device. It's set back to FALSE
> once the de
- Original Message -
> These utility use some trick to use console even if they are GUI
> application (not supposed to have a console by default).
> This make output redirection harder as output by default will tend
> to go to console of parent process instead of using redirected output.
Hi,
On Tue, Mar 01, 2016 at 01:29:13PM +, Frediano Ziglio wrote:
> These utility use some trick to use console even if they are GUI
> application (not supposed to have a console by default).
> This make output redirection harder as output by default will tend
> to go to console of parent proce
Hi
- Original Message -
> These utility use some trick to use console even if they are GUI
> application (not supposed to have a console by default).
> This make output redirection harder as output by default will tend
> to go to console of parent process instead of using redirected output
These utility use some trick to use console even if they are GUI
application (not supposed to have a console by default).
This make output redirection harder as output by default will tend
to go to console of parent process instead of using redirected output.
This utility avoid remote-viewer/virt-v
On Tue, Mar 1, 2016 at 11:59 AM, Christophe Fergeau wrote:
> Since systemd 209, the various systemd helper libraries are gathered in
> a single libsystemd, and libsystemd-login is only built when systemd is
> built with compat libraries support. Since commit
> https://github.com/systemd/systemd/co
Since systemd 209, the various systemd helper libraries are gathered in
a single libsystemd, and libsystemd-login is only built when systemd is
built with compat libraries support. Since commit
https://github.com/systemd/systemd/commit/4de282c
"build-sys: drop libsystemd-{id128,daemon,login,journal
This prevents incompatibility if users (like old spice-server/spice-gtk)
are not expected to have this additional restriction.
Signed-off-by: Frediano Ziglio
---
spice/macros.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
I defined a new SPICE_CONTAINEROF_MORESAFE macro to enable thi
56 matches
Mail list logo