Re: Anyone want to take over Fedora packaging for spice-html?

2024-04-21 Thread Frediano Ziglio
Hi, I suppose we could take this as a group thing, I suppose we don't have many updates on spice-html. Can you write something like https://gitlab.freedesktop.org/spice/spice/-/blob/master/docs/how_to_release.md?ref_type=heads ? Regards, Frediano Il giorno mar 2 apr 2024 alle ore 18:23

Re: [EXTERN] Re: High delay of video-streams

2024-04-03 Thread Frediano Ziglio
Frediano Il giorno mar 2 apr 2024 alle ore 15:27 Michael Scherle ha scritto: > > Hi Frediano, > > thank you very much for your detailed answer. > > > On 02.04.24 14:13, Frediano Ziglio wrote: > > > Really short explanation: Lipsync. > > > > Less cryp

Re: High delay of video-streams

2024-04-02 Thread Frediano Ziglio
Il giorno mer 20 mar 2024 alle ore 15:32 Michael Scherle ha scritto: > > Hello spice developers, > > I looked further and found the function get_min_playback_delay( > https://gitlab.freedesktop.org/spice/spice/-/blob/fe1c25f530b95d32cc81bc1a395d80ace631d2dd/server/gstreamer-encoder.c#L507) >

Re: Inquiry about @spice Github Username

2024-03-17 Thread Frediano Ziglio
Il giorno lun 11 mar 2024 alle ore 18:02 Santiago Paiva ha scritto: > > Hello from Canada, > > I was wondering if there is any chance we could use the username @spice on > Github for some FOSS? > > Thanks for your time and consideration. All the best > > Santiago. > Hi, I would suggest

Re: [PATCH v5 2/5] dcc: Create a stream associated with gl_draw for non-gl clients (v4)

2024-03-03 Thread Frediano Ziglio
as fd, flags, stride, etc in the stream so that > we do not have to look at scanout again > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy > --- > server/dcc.cpp | 19 +++- &

Re: [PATCH v4 5/5] video-stream: Don't stop a stream associated with gl_draw (v2)

2024-02-29 Thread Frediano Ziglio
stream does get stopped for other reasons, we need to clear the > gl_draw_stream pointer associated with the relevant DC. > > v2: (suggestions from Frediano) > - Don't stop the stream regardless of whether gl_draw is ongoing > or not > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann

Re: [PATCH v4 4/5] gstreamer-encoder: Add an encoder function that takes dmabuf fd as input (v2)

2024-02-29 Thread Frediano Ziglio
ed when encoding dmabuf fd > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy > --- > meson.build| 2 +- > server/gstreamer-encoder.c | 164 ++--- >

Re: [PATCH v4 2/5] dcc: Create a stream associated with gl_draw for non-gl clients (v3)

2024-02-29 Thread Frediano Ziglio
xups from Frediano) > - Moved the gl_draw_stream object from DCC to DC > - Moved the stream initialization code from display_channel_create_stream() > into a separate function that is reused when creating gl_draw_stream > > v3: > - Create a new primary surface whenever a new stream

Re: [PATCH v4 1/5] dcc: Check to see if the client supports multiple codecs (v2)

2024-02-29 Thread Frediano Ziglio
gl_client() method to DisplayChannelClient instead of a > dcc_is_gl_client() function. > - Avoid the usage of XXX_CAST macro. > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy Acked > --- > server/dcc

Re: [Spice-devel] [PATCH v5] gstreamer-encoder: Use an env var to override converter format (v5)

2023-11-16 Thread Frediano Ziglio
> after validating it > > v5: (Frediano) > - Prevent the double free by doing g_strdup(gst_once.retval) in > get_gst_converter(). > > Cc: Frediano Ziglio > Cc: Dongwon Kim > Based-on-patch-by: Hazwan Arif Mazlan > Signed-off-by: Jin Chung Teng > Signed-off-b

Re: [Spice-devel] [PATCH AUTOSEL 6.5 2/6] drm/qxl: prevent memory leak

2023-11-14 Thread Frediano Ziglio
Il giorno mer 15 nov 2023 alle ore 06:57 Sasha Levin ha scritto: > > From: Zongmin Zhou > > [ Upstream commit 0e8b9f258baed25f1c5672613699247c76b007b5 ] > > The allocated memory for qdev->dumb_heads should be released > in qxl_destroy_monitors_object before qxl suspend. >

Re: [Spice-devel] [PATCH v4] gstreamer-encoder: Use an env var to override converter format (v4)

2023-11-14 Thread Frediano Ziglio
converter when pipeline creation fails due to invalid codec > - Rebase on master > > v4: (Frediano) > - Ensure that the preferred format obtained via the environment var > SPICE_CONVERTER_PREFERRED_FORMAT is valid > - Use the g_once mechanism to cache and return the preferred fo

Re: [Spice-devel] [PATCH v4 1/2] gstreamer-encoder: Use an env var to override converter format (v3)

2023-11-13 Thread Frediano Ziglio
rmat dynamically but the current > capabilities do not allow for such exchange. > > v2: > - Add the environment variable to override encoding format > - Augment the commit message to explain the impact of overriding > the default encoding format (Frediano) > > v3: > - Free converter

Re: [Spice-devel] [PATCH spice-common] build: Avoid Meson warning

2023-11-10 Thread Frediano Ziglio
Hi Uri, good catch. Opened https://gitlab.freedesktop.org/spice/usbredir/-/merge_requests/71. Frediano Il giorno dom 5 nov 2023 alle ore 13:02 Uri Lublin ha scritto: > > Hi Frediano, > > On Fri, Nov 3, 2023 at 10:59 AM Frediano Ziglio wrote: >> >> Avoids: >&

Re: [Spice-devel] [PATCH spice-gtk 2/2] gstreamer: Fallback to S/W decoder if H/W one is not working

2023-11-04 Thread Frediano Ziglio
recreate the pipeline > > in case: > > - we are using a H/W pipeline; > > - we didn't decode any frame (otherwise it means we lost the beginning > > or it was not a problem of H/W decoder). > > > > Signed-off-by: Frediano Ziglio > > --- > > src/channel-d

[Spice-devel] [PATCH spice-gtk] gstreamer: Fallback to S/W decoder if H/W one is not working (v2)

2023-11-04 Thread Frediano Ziglio
or it was not a problem of H/W decoder). Signed-off-by: Frediano Ziglio --- Changes since v1: - avoid a if/else (Vivek); - fix typo in comment (Vivek). --- src/channel-display-gst.c | 39 +++ 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/src/channel

[Spice-devel] [PATCH spice-gtk] gstreamer: Fix leak using GstBus watch (v2)

2023-11-04 Thread Frediano Ziglio
on. Signed-off-by: Frediano Ziglio --- Changes since v1: - added comment. --- src/channel-display-gst.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c index 3b372dc0..2734a546 100644 --- a/src/channel-display-gst.c

Re: [Spice-devel] [PATCH spice-gtk 1/2] gstreamer: Fix leak using GstBus watch

2023-11-04 Thread Frediano Ziglio
under Unix, uses 2 file descriptors. > > For some reasons using gst_pipeline_get_bus again in free_pipeline > > do not fix entirely the leak so keep a pointer to the exact > > bus we set our watch on. > > > > Signed-off-by: Frediano Ziglio > > --- > > src/cha

[Spice-devel] [PATCH spice-gtk] ci: Avoid Meson warning during CI

2023-11-03 Thread Frediano Ziglio
Avoids: WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. Note that due to a problem with mingw64-meson script is not possible to remove that warning for Windows builds. Signed-off-by: Frediano Ziglio --- .gitlab-ci.yml

[Spice-devel] [PATCH spice-gtk] build: Avoids a Meson warning

2023-11-03 Thread Frediano Ziglio
version script"). Signed-off-by: Frediano Ziglio --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 44017e55..55c0a893 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,7 @@ project('spice-gtk', 'c', version

[Spice-devel] [PATCH spice-common] build: Avoid Meson warning

2023-11-03 Thread Frediano Ziglio
Avoids: WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Signed-off-by: Frediano Ziglio

[Spice-devel] [PATCH spice-gtk 2/2] gstreamer: Fallback to S/W decoder if H/W one is not working

2023-11-03 Thread Frediano Ziglio
or it was not a problem of H/W decoder). Signed-off-by: Frediano Ziglio --- src/channel-display-gst.c | 43 ++- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c index 6e126000..1238c943 100644 --- a/src

[Spice-devel] [PATCH spice-gtk 1/2] gstreamer: Fix leak using GstBus watch

2023-11-03 Thread Frediano Ziglio
on. Signed-off-by: Frediano Ziglio --- src/channel-display-gst.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c index 3b372dc0..6e126000 100644 --- a/src/channel-display-gst.c +++ b/src/channel-display-gst.c @@ -47,6

Re: [Spice-devel] [PATCH spice-gtk 2/2] gstreamer: Avoid dangling pointers in free_pipeline

2023-11-03 Thread Frediano Ziglio
fixing a future possible problem with the series > > from Vivek Kasireddy reusing the SpiceGstDecoder for another > > pipeline if H/W encoder pipeline creation fails. > > > > Signed-off-by: Frediano Ziglio > > --- > > src/channel-display-gst.c | 5 - > > 1 fi

[Spice-devel] [PATCH spice-gtk 2/2] gstreamer: Avoid dangling pointers in free_pipeline

2023-11-02 Thread Frediano Ziglio
creation fails. Signed-off-by: Frediano Ziglio --- src/channel-display-gst.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/channel-display-gst.c b/src/channel-display-gst.c index 3bd948d2..ffc2edbf 100644 --- a/src/channel-display-gst.c +++ b/src/channel-display-gst.c

[Spice-devel] [PATCH spice-gtk 1/2] Update spice-common submodule

2023-11-02 Thread Frediano Ziglio
This brings in the following changes: Vivek Kasireddy (1): common: Add a udev helper to identify GPU Vendor Signed-off-by: Frediano Ziglio --- subprojects/spice-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/spice-common b/subprojects/spice-common

Re: [Spice-devel] [PATCH v4] channel-display-gst: Use h/w based decoders with Intel GPUs if possible (v4)

2023-11-01 Thread Frediano Ziglio
reaming was failing and there were quite a lot of warnings. With the patch there was a warning from GStreamer (due to GST_DEBUG) then streaming was working (no other warnings). Memory issues were more tough to diagnose and fix. Regards, Frediano > Thanks, > Vivek > > > >

Re: [Spice-devel] [PATCH v4] channel-display-gst: Use h/w based decoders with Intel GPUs if possible (v4)

2023-10-31 Thread Frediano Ziglio
in previous email, turned out it was easier than expected. Regards, Frediano Il giorno dom 29 ott 2023 alle ore 20:32 Frediano Ziglio ha scritto: > > Il giorno mar 17 ott 2023 alle ore 08:46 Vivek Kasireddy > ha scritto: > > > > We first try to detect if an Intel GPU is

Re: [Spice-devel] [PATCH v4] channel-display-gst: Use h/w based decoders with Intel GPUs if possible (v4)

2023-10-29 Thread Frediano Ziglio
: > - Updated the patch to reflect the new signature and return value of > spice_udev_detect_gpu(). > > v4: > - Include the string "_hw_" in the function that finds best h/w plugins > - Change type and determine plugins array length using G_N_ELEMENTS > - Free vpp_name

Re: [Spice-devel] [PATCH v3] common: Add a udev helper to identify GPU Vendor (v3)

2023-10-17 Thread Frediano Ziglio
of gpu_vendor from long to int as PCI vendor IDs > are defined as 16-bit unsigned int > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Cc: Hazwan Arif Mazlan > Cc: Jin Chung Teng > Signed-off-by: Vivek K

Re: [Spice-devel] [PATCH 1/2] channel-display-gst: Prefer playbin3 to playbin (v2)

2023-10-06 Thread Frediano Ziglio
higher > bitrates. > > v2: (Frediano) > - Cache the playbin3 is available check > - Keep the playbin name for playbin3 element as well > > Cc: Frediano Ziglio > Cc: Dongwon Kim > Cc: Hazwan Arif Mazlan > Signed-off-by: Jin Chung Teng > Signed-off-by: Vivek

Re: [Spice-devel] [PATCH 2/2] gstreamer-encoder: Use a h/w based encoder with Intel GPUs if possible (v3)

2023-10-05 Thread Frediano Ziglio
m Frediano) > - Moved the udev helper into spice-common > - Refactored the code to choose plugins in order msdk > va > vaapi > > v3: (Frediano) > - Added relevant encoder options for mjpeg and vp9 codecs (Jin Chung) > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann >

Re: [Spice-devel] [PATCH 1/2] gstreamer-encoder: Use an env var to override converter format (v2)

2023-10-05 Thread Frediano Ziglio
ut the current > capabilities do not allow for such exchange. > > v2: > - Add the environment variable to override encoding format > - Augment the commit message to explain the impact of overriding > the default encoding format (Frediano) > > Cc: Frediano Ziglio > Cc

Re: [Spice-devel] [PATCH] common: Add a udev helper to identify GPU Vendor (v2)

2023-10-05 Thread Frediano Ziglio
Il giorno mar 3 ott 2023 alle ore 20:36 Frediano Ziglio ha scritto: > > Il giorno lun 2 ott 2023 alle ore 06:41 Vivek Kasireddy > ha scritto: > > > > Given that libudev is widely available on many Linux distros, we > > can use the relevant APIs to iterate over

Re: [Spice-devel] [PATCH] common: Add a udev helper to identify GPU Vendor (v2)

2023-10-03 Thread Frediano Ziglio
ead of checking the driver name > Thanks. Do you want this part of the message to be part of the final commit? Usually we don't put history... and not much useful IMHO. > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Cc: Hazwan Arif Mazlan

Re: [Spice-devel] Drag and Drop from Guest to Host

2023-09-27 Thread Frediano Ziglio
Il giorno mer 27 set 2023 alle ore 14:36 haibin wang ha scritto: > Hi, > > I am using spice on my Linux Mint machine, and would like to ask a > question about how drag and drop is supposed to work. > > Basically, I use qemu with spice agent installed on the guest. Dynamic > resolution changing

Re: [Spice-devel] [PATCH 1/2] gstreamer-encoder: Use NV12 as the default vpp conversion format

2023-09-24 Thread Frediano Ziglio
Il giorno gio 21 set 2023 alle ore 22:19 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > > > > > From: Hazwan Arif Mazlan > > > > > > > > > > Using NV12 as the output format for the videoconvert element would > > > > > allow us to pair a s/w based encoder with a h/w based decoder for > >

Re: [Spice-devel] 安裝Android

2023-09-18 Thread Frediano Ziglio
Il giorno lun 18 set 2023 alle ore 11:11 Lin Richard < richard@racer-tech.com> ha scritto: > Dears , > 請問是否能安裝安卓系統 > 系統選項為何 > 我全選了一遍但都無法安裝 > > ... images omitted ... > > > 謝謝 > > I don't know how many people in this ML speak Chinese (not me) but I managed to understand from the pictures this

Re: [Spice-devel] [PATCH 1/2] gstreamer-encoder: Use NV12 as the default vpp conversion format

2023-09-18 Thread Frediano Ziglio
ing this, unless you use a time machine and you apply it at the time h264 and x264enc were introduced. So, basically the client should be able to decode y444 produced by x264enc. Either keep using x264enc if the server could send it or be able to detect from the first data frame (it should be possi

Re: [Spice-devel] [PATCH 2/4] channel-display-gst: Add "byte-stream" as the stream format for h264

2023-09-18 Thread Frediano Ziglio
; > > about missing stream format. > > > > > > Cc: Frediano Ziglio > > > Cc: Dongwon Kim > > > Cc: Jin Chung Teng > > > Cc: Hazwan Arif Mazlan > > > Signed-off-by: Vivek Kasireddy > > > --- > > > src/channel-display-p

Re: [Spice-devel] [PATCH 2/2] gstreamer-encoder: Use a h/w based encoder with Intel GPUs if possible (v2)

2023-09-15 Thread Frediano Ziglio
m Frediano) > - Moved the udev helper into spice-common > - Refactored the code to choose plugins in order msdk > va > vaapi > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy > Co-developed-by:

Re: [Spice-devel] [PATCH 3/4] channel-display-gst: Don't unref appsink and pipeline objects

2023-09-15 Thread Frediano Ziglio
;pipeline0". > You need to let the parent manage the object instead of unreffing the > object directly. > > [MOS]: CRITICAL - mos_bo_unreference:166: Input null ptr > > [MOS]: CRITICAL - mos_bo_unreference:166: Input null ptr > > Cc: Frediano Ziglio > Cc: Dongwon Kim

Re: [Spice-devel] [PATCH 1/4] channel-display-gst: Prefer playbin3 to playbin

2023-09-15 Thread Frediano Ziglio
higher > bitrates. > > Cc: Frediano Ziglio > Cc: Dongwon Kim > Cc: Hazwan Arif Mazlan > Signed-off-by: Jin Chung Teng > Signed-off-by: Vivek Kasireddy > --- > src/channel-display-gst.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff -

Re: [Spice-devel] [PATCH 2/4] channel-display-gst: Add "byte-stream" as the stream format for h264

2023-09-15 Thread Frediano Ziglio
Il giorno ven 15 set 2023 alle ore 01:33 Vivek Kasireddy ha scritto: > > Adding the string "stream-format=byte-stream" to decoder capabilities > (dec_caps) for h264/h265 codecs stops Gstreamer from complaining > about missing stream format. > > Cc: Frediano Ziglio

Re: [Spice-devel] [PATCH 1/4] channel-display-gst: Prefer playbin3 to playbin

2023-09-15 Thread Frediano Ziglio
higher > bitrates. > > Cc: Frediano Ziglio > Cc: Dongwon Kim > Cc: Hazwan Arif Mazlan > Signed-off-by: Jin Chung Teng > Signed-off-by: Vivek Kasireddy > --- > src/channel-display-gst.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff -

Re: [Spice-devel] [PATCH 1/2] gstreamer-encoder: Use NV12 as the default vpp conversion format

2023-09-15 Thread Frediano Ziglio
like to use Y444 instead? With NV12 you would lose image quality. Isn't gstreamer supposed to come out with the best combination? Maybe it would be easier to have a more complete pipeline string instead specified for each codec? > Cc: Frediano Ziglio > Cc: Dongwon Kim > Signed-off-by:

Re: [Spice-devel] A little help to start to develop.

2023-09-12 Thread Frediano Ziglio
Il giorno dom 10 set 2023 alle ore 14:56 Daerlnaxe (GMail) ha scritto: > > Hi, > Hi > > I'm sorry to disturb, i want to try to develop a spice client with some > features like adding visual effects. I try to see all possibilities for > a projet about retrogaming this is the last part. I found

Re: [Spice-devel] [spice-streaming-agent]spice-streaming-agent warning

2023-07-28 Thread Frediano Ziglio
Il giorno ven 28 lug 2023 alle ore 03:10 霍金鹏 <32217...@mail.dlut.edu.cn> ha scritto: > > Hello dear devs, > > spice-streaming-agent create a new display window but all black on client , > and a message in guest's terminal: > > spice-streaming-agent[9710]: Warning: the Frame Capture plugin

Re: [Spice-devel] How to Remote Windows without Seeing Tutorial

2023-07-27 Thread Frediano Ziglio
Il giorno gio 27 lug 2023 alle ore 13:34 民生银行 ha scritto: > > How to remotely install Windows without seeing the tutorial? I need Windows > to install the server. Remote Windows is required Hi, it's not clear what you are asking. Are you sure "tutorial" is the word you want? You can surely

Re: [Spice-devel] How does SPICE display the desktop data processed by Nvidia vGPU?

2023-07-19 Thread Frediano Ziglio
Il giorno lun 17 lug 2023 alle ore 03:34 人宗道首 <928003...@qq.com> ha scritto: > > Hello, > The attachment shows the effect of installing spice-streaming-agent on the > spice official website. There are two screens, one displaying normal and the > other displaying black. > (1)Should the black

Re: [Spice-devel] Help with image encoding

2023-07-19 Thread Frediano Ziglio
Il giorno dom 16 lug 2023 alle ore 07:58 Néfix Estrada ha scritto: > > Hello! I'm currently writting a Spice client in Typescript that makes > use of modern browser features (such as WebGPU, WebUSB, Web workers, etc). > > > However, I'm struggling with the Image image encoding. I've checked the >

Re: [Spice-devel] How does SPICE display the desktop data processed by Nvidia vGPU?

2023-07-12 Thread Frediano Ziglio
Il giorno mer 12 lug 2023 alle ore 09:37 人宗道首 <928003...@qq.com> ha scritto: > > Hello, > The link you provided is also available on the official website, and I have > also found it. However, there are few comments and it is still difficult to > understand. Is there any technical manual or

Re: [Spice-devel] How does SPICE display the desktop data processed by Nvidia vGPU?

2023-07-10 Thread Frediano Ziglio
Il giorno dom 9 lug 2023 alle ore 01:45 人宗道首 <928003...@qq.com> ha scritto: > > HI, > Thank you for your reply . > If I use SPICE - Streaming Agent, how do I transfer the captured guest > desktop image to the client through SPICE sever's display channel? Can my > mouse clicks or keyboard input

Re: [Spice-devel] How does SPICE display the desktop data processed by Nvidia vGPU?

2023-07-08 Thread Frediano Ziglio
Il giorno sab 8 lug 2023 alle ore 10:21 人宗道首 <928003...@qq.com> ha scritto: > > Hi : > I am a graduate student of Dalian University of Technology > > We have a project to accomplish a remote-desk solution with Nvidia vgpu. > I want to know how SPICE can display virtual desktop with vGPU. > > Do

Re: [Spice-devel] report bugs

2023-06-15 Thread Frediano Ziglio
Il giorno gio 15 giu 2023 alle ore 10:37 肖乃全(xiaonq) ha scritto: > > Hello: > >I compile spice-gtk under MocOs, and when I run spicy. > > I right-click copy in the guest machine, and the spicy program crashes > and exits. > > Here's what happens when spicy crashes。 > >

Re: [Spice-devel] Need simple spice copy and past device (for terminal use)

2023-06-04 Thread Frediano Ziglio
Il giorno dom 4 giu 2023 alle ore 09:00 Serle Shuman ha scritto: > > Assuming that the host is a windows based environment and the guest is s qemu > based linux terminal only environment e.g ubuntu server without x11, then > there are currently no features targeted specifically at exposing a

Re: [Spice-devel] About the website download error

2023-05-29 Thread Frediano Ziglio
Il giorno lun 29 mag 2023 alle ore 17:05 Victor Toso ha scritto: > > Hi, > > On Mon, May 29, 2023 at 04:40:38PM +0100, Frediano Ziglio wrote: > > Il giorno lun 29 mag 2023 alle ore 14:13 Victor Toso > > ha scritto: > > > > > > Hi, > > > >

Re: [Spice-devel] About the website download error

2023-05-29 Thread Frediano Ziglio
Il giorno lun 29 mag 2023 alle ore 14:13 Victor Toso ha scritto: > > Hi, > > On Sun, May 28, 2023 at 08:15:43AM +0100, Frediano Ziglio wrote: > > Il giorno dom 28 mag 2023 alle ore 07:38 Frediano Ziglio > > ha scritto: > > > > > > Hi, > > >

Re: [Spice-devel] About the website download error

2023-05-28 Thread Frediano Ziglio
Il giorno dom 28 mag 2023 alle ore 07:38 Frediano Ziglio ha scritto: > > Hi, >as a workaround click on the link with the right mouse button and click on > download. > > It's just a server configuration that sends back the file as something to > display instead

Re: [Spice-devel] About the website download error

2023-05-28 Thread Frediano Ziglio
Hi, as a workaround click on the link with the right mouse button and click on download. It's just a server configuration that sends back the file as something to display instead of something to save. But strangely it worked correctly for me. Which browser and version are you using? Regards,

Re: [Spice-devel] [Spice on QEMU] password-secret

2023-05-20 Thread Frediano Ziglio
Il giorno sab 20 mag 2023 alle ore 21:31 J ha scritto: > > Hi there, > I have got a question concerning the spice ticketing feature in QEMU virtual > machines. The user manual only lists the option of passing the password > directly with the "password=..." option. This seems to be insecure and

Re: [Spice-devel] Can not drag-drop or copy-paste between guest and host

2023-05-13 Thread Frediano Ziglio
Il giorno sab 13 mag 2023 alle ore 12:17 Ahmad Ismail ha scritto: > > Just to be clear, copy-paste text between guest and host works. drag and drop > text between guest and host does not work. In the case of files, neither > copy-paste nor drag and drop work. > > Thanks and Best Regards, > >

[Spice-devel] ANNOUNCE spice-server 0.15.2 release

2023-05-13 Thread Frediano Ziglio
Hey everyone, I just cut a new release in the 0.15.x stable series, so upgrading to it is recommended. If you find any bugs or regressions, please report them in our issue tracker: https://gitlab.freedesktop.org/groups/spice/-/issues. See also

Re: [Spice-devel] Does spice protocol (client/server) support serial port redirection

2023-05-13 Thread Frediano Ziglio
On Fri, 12 May 2023, 10:47 171548156, wrote: > Hello: > > Does spice protocol (client/server) support serial port redirection? > > if supported, can you give me a example? > > > Look forward to your reply. Thank you. > No, it does not support serial port redirection. If the serial is usb you

Re: [Spice-devel] [PATCH] channel-display-gst: Use h/w based decoders with Intel GPUs if possible

2023-05-10 Thread Frediano Ziglio
relying on playbin -- which may not be able to > auto-select these elements. > > For example, if the incoming codec format is h264, we then create > a pipeline using msdkh264dec and vaapipostproc elements instead of > avdec_h264 and videoconvert. > > Cc: Frediano Ziglio &g

Re: [Spice-devel] [PATCH] gstreamer-encoder: Use a h/w based encoder with Intel GPUs if possible

2023-05-10 Thread Frediano Ziglio
ne (along with any relevant options) instead of the > s/w based elements. > > For example, if the user selects h264 as the preferred codec format, > msdkh264enc and vaapipostproc will be added instead of x264enc > and videoconvert. > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann &

Re: [Spice-devel] typo in code on How to Build page

2023-04-28 Thread Frediano Ziglio
Il giorno ven 28 apr 2023 alle ore 10:27 Patrik ha scritto: > > Hi, just wanted to let you guys know there is a typo on this page: > https://www.spice-space.org/osx-client.html > > > Currently is: > > sudo xcode-select --switch /Applications/Xcode.app/ContentsDeveloper > > Should be: > > sudo

Re: [Spice-devel] [PATCH] gstreamer-encoder: Use a h/w based encoder with Intel GPUs if possible

2023-04-27 Thread Frediano Ziglio
ne (along with any relevant options) instead of the > s/w based elements. > > For example, if the user selects h264 as the preferred codec format, > msdkh264enc and vaapipostproc will be added instead of x264enc > and videoconvert. > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann &

Re: [Spice-devel] [PATCH] channel-display-gst: Use h/w based decoders with Intel GPUs if possible

2023-04-27 Thread Frediano Ziglio
relying on playbin -- which may not be able to > auto-select these elements. > > For example, if the incoming codec format is h264, we then create > a pipeline using msdkh264dec and vaapipostproc elements instead of > avdec_h264 and videoconvert. > nice! > Cc: Frediano Zigl

Re: [Spice-devel] [PATCH v1 5/5] video-stream: Don't stop a stream if a gl_draw operation is pending

2023-04-21 Thread Frediano Ziglio
Il giorno gio 16 mar 2023 alle ore 06:05 Vivek Kasireddy ha scritto: > > Before stopping a stream, we need to ensure that there is no ongoing > gl_draw operation; otherwise, we may not get another opportunity to > create a new stream if the current one gets stopped. And, once the > stream is

Re: [Spice-devel] [PATCH v1 4/5] gstreamer-encoder: Add an encoder function that takes dmabuf fd as input

2023-04-21 Thread Frediano Ziglio
Il giorno gio 16 mar 2023 alle ore 06:05 Vivek Kasireddy ha scritto: > > This patch adds a new function to enable the creation of Gst memory with > the dmabuf fd as the source by using a dmabuf allocator. And, it also > adds a mechanism to register and invoke any callbacks once the Gst memory >

Re: [Spice-devel] [PATCH v1 3/5] dcc-send: Encode and send gl_draw stream data to the remote client

2023-04-21 Thread Frediano Ziglio
Il giorno gio 16 mar 2023 alle ore 06:05 Vivek Kasireddy ha scritto: > > For remote (or non-gl) clients, if a valid gl_draw stream exists, > then we first extract the dmabuf fd associated with the scanout and > share it with the encoder along with other key parameters such as > stride, width and

Re: [Spice-devel] [PATCH v1 2/5] dcc: Create a stream associated with gl_draw for non-gl clients

2023-04-21 Thread Frediano Ziglio
Il giorno gio 16 mar 2023 alle ore 06:05 Vivek Kasireddy ha scritto: > > For non-gl/remote clients, if a stream does not exist or if any > of the key parameters associated with gl_draw such as x/y or > width/height are changed, then we create a new stream. Otherwise, > we just update the current

Re: [Spice-devel] [PATCH v1 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf

2023-04-21 Thread Frediano Ziglio
> > > > > The style (well, also the style of spice code I have to admit) is a > > > bit "messy" but better to fix the big problems first than try to solve > > [Vivek] Ok, I guess we can fix it incrementally if you can first point out > > the worst style violoations. > > > > I'll try to write some

Re: [Spice-devel] [PATCH v1 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf

2023-04-15 Thread Frediano Ziglio
soon as we clean everything up and fix all the issues we are seeing. > > > The style (well, also the style of spice code I have to admit) is a > > bit "messy" but better to fix the big problems first than try to solve > [Vivek] Ok, I guess we can fix it incrementally if you can first point o

Re: [Spice-devel] [PATCH v1 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf

2023-04-07 Thread Frediano Ziglio
is mostly done by enabling the creation of Gst memory using a dmabuf > > > > > fd as the source. This ability is useful given that dmabuf is the > > > > > standard mechanism for sharing buffers between various drivers and > > > > > userspace in many Graphics and

Re: [Spice-devel] [PATCH v1 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf

2023-03-29 Thread Frediano Ziglio
emu) chooses its preferred codec (a Gstreamer > > > one) and calls gl_scanout (to update the fd) followed by gl_draw. > > > - In response, the Spice server checks to see if the client is capable > > > of accepting a dmabuf fd directly or not. If yes, the fd is forwar

Re: [Spice-devel] [PATCH v1 0/5] dcc: Create a stream for non-gl/remote clients that want to use dmabuf

2023-03-25 Thread Frediano Ziglio
oder: > https://lists.freedesktop.org/archives/spice-devel/2023-January/052948.html > > Cc: Frediano Ziglio > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > > Vivek Kasireddy (5): > dcc: Check to see if the client supports multiple codecs > dcc:

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Frediano Ziglio
Il giorno mar 14 feb 2023 alle ore 10:50 qi zhou ha scritto: > > > Hi, > > It looks good to me. Why it was QXL_IO_MEMSLOT_ADD I don't know. On > > Linux is QXL_IO_RESET too. > > May be a typo ?, here you can use sysinternal's notmyfault to test this bug. > 1. launch qemu use legacy bios mode.

Re: [Spice-devel] [PATCH] reset qxl to vga mode

2023-02-14 Thread Frediano Ziglio
Il giorno mar 14 feb 2023 alle ore 04:19 qi zhou ha scritto: > > from > https://github.com/qemu/qemu/commit/ed71c09ffd6fbd01c2a487d47291ae57b08671ea > QXL device rev 5+ requires explicit reset to switch to VGA mode. > in windows, if bsod happens, windows cannot switch qxl gpu from qxl mode to >

Re: [Spice-devel] How to compile spice-vd_agent?

2023-02-07 Thread Frediano Ziglio
Il giorno mar 7 feb 2023 alle ore 09:17 王正浩 ha scritto: > > Hi Team, > I'd like to build my own spice-vd_agent(for windows 10). Is there any > guide to build it? I failed to build it with mingw64 on ubuntu 20.04 and > vs2019 on win10. > On windows it blocked by " LNK1181: cannot open

Re: [Spice-devel] [RFC v2 0/5] gstreamer-encoder: Use a dmabuf allocator if the drawable has a valid fd (v2)

2023-01-23 Thread Frediano Ziglio
Il giorno lun 23 gen 2023 alle ore 09:01 Vivek Kasireddy ha scritto: > > This patch series enables creation of Gst memory using a dmabuf fd > as the source. This ability is useful given that dmabuf is the > standard mechanism for sharing buffers between various drivers and > userspace in many

Re: [Spice-devel] [RFC v2 5/5] red-qxl: Add a new parameter to gl_scanout and gl_draw_async

2023-01-23 Thread Frediano Ziglio
Il giorno lun 23 gen 2023 alle ore 09:01 Vivek Kasireddy ha scritto: > > This new parameter (named local_display) can be used by applications > to indicate whether they are dealing with a local or remote client. > This can be useful to ensure that gl_draw or other associated > messages are only

Re: [Spice-devel] [RFC v1 2/4] display-channel: Add the asyncs associated with dmabuf encode

2023-01-22 Thread Frediano Ziglio
Il giorno ven 13 gen 2023 alle ore 04:08 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > Il giorno gio 12 gen 2023 alle ore 07:03 Kasireddy, Vivek > > ha scritto: > > > > > > Hi Frediano, > > > > > > > > > > > Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy > > > > ha scritto:

Re: [Spice-devel] [RFC v1 1/4] red-parse-qxl: Extract the dmabuf fd from the scanout

2023-01-22 Thread Frediano Ziglio
Il giorno lun 16 gen 2023 alle ore 09:00 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > Il giorno ven 13 gen 2023 alle ore 04:08 Kasireddy, Vivek > > ha scritto: > > > > > > Hi Frediano, > > > > > > > > > > > Il giorno gio 12 gen 2023 alle ore 07:03 Kasireddy, Vivek > > > > ha scritto:

Re: [Spice-devel] [RFC v1 1/4] red-parse-qxl: Extract the dmabuf fd from the scanout

2023-01-13 Thread Frediano Ziglio
Il giorno ven 13 gen 2023 alle ore 04:08 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > Il giorno gio 12 gen 2023 alle ore 07:03 Kasireddy, Vivek > > ha scritto: > > > > > > Hi Frediano, > > > > > > Thank you for taking a look at this patch series. > > > > > > > > > > > Il giorno mer 11

Re: [Spice-devel] [RFC v1 1/4] red-parse-qxl: Extract the dmabuf fd from the scanout

2023-01-12 Thread Frediano Ziglio
Il giorno gio 12 gen 2023 alle ore 07:03 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > Thank you for taking a look at this patch series. > > > > > Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy > > ha scritto: > > > > > > If the scanout has a valid dmabuf fd, then it is extracted

Re: [Spice-devel] [RFC v1 2/4] display-channel: Add the asyncs associated with dmabuf encode

2023-01-12 Thread Frediano Ziglio
Il giorno gio 12 gen 2023 alle ore 07:03 Kasireddy, Vivek ha scritto: > > Hi Frediano, > > > > > Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy > > ha scritto: > > > > > > This async is triggered by the encoder indicating that the > > > encoding process is completed. > > > > > > > This

Re: [Spice-devel] [RFC v1 2/4] display-channel: Add the asyncs associated with dmabuf encode

2023-01-11 Thread Frediano Ziglio
Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy ha scritto: > > This async is triggered by the encoder indicating that the > encoding process is completed. > This description does not make much sense to me. You are adding a public function which, I suppose, should be called by Qemu but

Re: [Spice-devel] [RFC v1 1/4] red-parse-qxl: Extract the dmabuf fd from the scanout

2023-01-11 Thread Frediano Ziglio
Il giorno mer 11 gen 2023 alle ore 05:42 Vivek Kasireddy ha scritto: > > If the scanout has a valid dmabuf fd, then it is extracted and a > copy (of the fd) is stored in the drawable. > > Cc: Gerd Hoffmann > Cc: Marc-André Lureau > Cc: Dongwon Kim > Signed-off-by: Vivek Kasireddy > --- >

Re: [Spice-devel] The second client cannot redirect USB

2022-11-21 Thread Frediano Ziglio
ing is made by Qemu/usbredir. Frediano > > *发件人:* Frediano Ziglio > *发送时间:* 2022年11月18日 20:52 > *收件人:* 韩雪峰 > *抄送:* spice-devel@lists.freedesktop.org > *主题:* Re: [Spice-devel] The second client cannot redirect USB > > > > Il giorno ven 18 nov 2022 alle ore

Re: [Spice-devel] The second client cannot redirect USB

2022-11-18 Thread Frediano Ziglio
Il giorno ven 18 nov 2022 alle ore 10:21 韩雪峰 ha scritto: > Hello, > > > >When I used two client to connect to a same one VM by spice with > setting “SPICE_DEBUG_ALLOW_MC=1”, the two clients worked, and the first > client could redirect USB. However, the second client could not redirect > USB

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-18 Thread Frediano Ziglio
there) ... > 179c > stony@Aperture-Science:~$ > > For now I will fade into the shadow of userdom again :) > > Stefan > Frediano > Am Fr., 18. Nov. 2022 um 11:25 Uhr schrieb Frediano Ziglio > : >> >> Il giorno ven 18 nov 2022 alle ore 06:08 Stefan Silberst

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-18 Thread Frediano Ziglio
LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" >> LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" >> LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= >> >> I will try to open it today at noon

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-17 Thread Frediano Ziglio
ing something like "LANG=C remote-viewer spice://192.168.178.51:5900" (LANG environment change) Frediano > Am Do., 17. Nov. 2022 um 10:08 Uhr schrieb Frediano Ziglio > : >> >> Il giorno gio 17 nov 2022 alle ore 07:57 Stefan Silberstein >> ha scritto: >> &

Re: [Spice-devel] Userquestion - remote-viewer connection fails with "Connection type could not be determined by URI"

2022-11-17 Thread Frediano Ziglio
Il giorno gio 17 nov 2022 alle ore 07:57 Stefan Silberstein ha scritto: > > Hello again, > > so - yesterday I worked from home - as I wrote I was able to connect by > specifying the user root with "remote-viewer spice://root@192.168.178.51:5900" > > Today I want to connect the exact same way

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-09 Thread Frediano Ziglio
Il giorno gio 10 nov 2022 alle ore 07:18 Frediano Ziglio ha scritto: > > Il giorno gio 10 nov 2022 alle ore 03:14 let-me-use-copy-and-paste > ha scritto: > > > > > > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM > > > > >

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-09 Thread Frediano Ziglio
Il giorno gio 10 nov 2022 alle ore 03:14 let-me-use-copy-and-paste ha scritto: > > > > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM using > > > > Virt-Manager. I installed XFCE on it. I wanted to enable > > > > copy-and-paste, so I tried to install spice-vdagent on it,

Re: [Spice-devel] Standalone (non-virtual) windows server

2022-11-06 Thread Frediano Ziglio
Il giorno dom 6 nov 2022 alle ore 08:38 Dirk Eibach ha scritto: > > Hi Frediano, > > > More or less is a project to use SPICE on a bare metal machine, > > something like x11spice or winspice (see > > https://gitlab.freedesktop.org/spice/win32/winspice). > > By the way, do you know of any spice

Re: [Spice-devel] Agent crashes on Alpine Linux guest due to lack of /dev/uinput

2022-11-06 Thread Frediano Ziglio
Il giorno dom 6 nov 2022 alle ore 08:10 let-me-use-copy-and-paste ha scritto: > > I installed Alpine Linux 3.16 virtual machine edition on QEMU/KVM using > Virt-Manager. I installed XFCE on it. I wanted to enable copy-and-paste, so I > tried to install spice-vdagent on it, but it kept crashing.

  1   2   3   4   5   6   7   8   9   10   >