[Spice-devel] QXL driver for Ubuntu

2011-06-27 Thread Andrea Celestino
Hi, I have installed Ubuntu 10.10 32 bit on qemu image and I would like to use -vga qxl option to start spice server from the command line. I think I should check if qxl driver are installed in my ubuntu 10.10, how can I check if they are already installed? Thanks and sorry for my rusty english :)

[Spice-devel] Problem installing Spice 0.8.1

2011-06-29 Thread Andrea Celestino
Hi, I have installed spice 0.8.0 and now I want to install the 0.8.1. I install this package with: ./configure make sudo make install When I run qemu, he runs with spice 0.8.0 and not with the new version. Where is the error? Thanks ___ Spice-devel mai

Re: [Spice-devel] Problem installing Spice 0.8.1

2011-06-29 Thread Andrea Celestino
for spice server in /usr/lib and not in /usr/local/lib. 2011/6/29 Christophe Fergeau > On Wed, Jun 29, 2011 at 10:10:42AM +0200, Andrea Celestino wrote: > > ./configure > > make > > sudo make install > > > > When I run qemu, he runs with spice 0.8.0 and not with

Re: [Spice-devel] Problem installing Spice 0.8.1

2011-06-29 Thread Andrea Celestino
Qemu starts only if I put spice server libraries in /usr/lib. 2011/6/29 Christophe Fergeau > On Wed, Jun 29, 2011 at 11:23:45AM +0200, Andrea Celestino wrote: > > I checked with 'ldd' where qemu it's looking for spice-server: > > /usr/lib/ > > but I install

[Spice-devel] Streaming video detection

2011-06-30 Thread Andrea Celestino
Hi I am studying the source code and how spice handles streaming video. Spice looks for area that are updated with high rate, after that it starts mjpeg_encoder. -I would like to know what are the SpiceAgent and the StreamClipItem, I see these two elements in the source code. -When spice detects v

Re: [Spice-devel] Streaming video detection

2011-07-05 Thread Andrea Celestino
h frame is a jpeg image) with a spice protocol message. Is it correct? Thanks. 2011/6/30 Christophe Fergeau > Hi, > > On Thu, Jun 30, 2011 at 04:25:11PM +0200, Andrea Celestino wrote: > > -I would like to know what are the SpiceAgent and the StreamClipItem, I > see > >

Re: [Spice-devel] Streaming video detection

2011-07-06 Thread Andrea Celestino
Please, I would like to know if what I wrote in my previous message it's correct. Thanks. Regards. 2011/7/5 Andrea Celestino > I have read the document "spice_for_newbies.pdf", that describes how spice > works. > When I play a video on the guest, the video is decoded the

Re: [Spice-devel] [PATCH 0/9] add optional libjpeg-turbo use to spice-server mjpeg encoder

2011-07-06 Thread Andrea Celestino
In order to measure compression time, you mean the time between jpeg_start_compress() and jpeg_finish_compress, or the time of encode_frame() function? 2011/7/5 Christophe Fergeau > I finally ran some performance test on these changes on a small theora > clip, average compression time goes down

Re: [Spice-devel] Streaming video detection

2011-07-06 Thread Andrea Celestino
f, n); I would like to know what does these lines do. I have encoded a frame with mjpeg, but how this frame is transmitted to the client? Thanks. Regards. 2011/7/6 Christophe Fergeau > On Tue, Jul 05, 2011 at 12:30:29PM +0200, Andrea Celestino wrote: > > I have read the document

Re: [Spice-devel] [PATCH 0/9] add optional libjpeg-turbo use to spice-server mjpeg encoder

2011-07-07 Thread Andrea Celestino
Do you think that is possible to reduce further the compression time? If you have an idea, I can try to implement it. Thanks. 2011/7/6 Christophe Fergeau > On Wed, Jul 06, 2011 at 11:48:54AM +0200, Andrea Celestino wrote: > > In order to measure compression time, you mean the tim

Re: [Spice-devel] [PATCH] mjpeg_encoder: allocate "row" on demand

2011-07-12 Thread Andrea Celestino
Which version of libjpeg I should use? If I use libjpeg8, I receive this compile error: >mjpeg_encoder.c:178:13: error: static declaration of 'jpeg_mem_dest' follows non-static declaration >/usr/include/jpeglib.h:956:14: note: previous declaration of 'jpeg_mem_dest' was here Thanks. 2011/7/6 Ch

Re: [Spice-devel] Thoughts about improving streaming video

2011-07-22 Thread Andrea Celestino
Talking about improving streaming video in spice, I am working on a thesis project about Spice, in particular how it handles streaming video, only in Linux. In particular I would like to know if there are possibilities to improve it by - replacing mjpeg with another encoder? - or changing how stre

[Spice-devel] Error compiling Spice

2011-07-27 Thread Andrea Celestino
Hi, I have downloaded from git the spice code, the spice protocol and pixman. I have installed pixman first then the protocol and finally the spice server and client(with bulding instructions in the wiki page). When I compile spice server and client I see a compiling error. I do "configure" then "m

Re: [Spice-devel] Error compiling Spice

2011-07-27 Thread Andrea Celestino
The version of gcc is: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) 2011/7/27 Christophe Fergeau > Hi, > > On Wed, Jul 27, 2011 at 11:09:01AM +0200, Andrea Celestino wrote: > > I have downloaded from git the spice code, the spice protocol and pixman. > I > > hav

Re: [Spice-devel] Error compiling Spice

2011-07-27 Thread Andrea Celestino
I solved the problem by initializing prev_seg_id = 0. Thanks. 2011/7/27 Christophe Fergeau > On Wed, Jul 27, 2011 at 05:34:33AM -0400, John A. Sullivan III wrote: > > Out of curiosity as a programming ignoramus, is treating warnings as > > errors normal practice? - John > > During development,

[Spice-devel] JPEG error - Application transferred too few scanlines

2011-07-27 Thread Andrea Celestino
During my testing with video, I encountered this error on spice Server "Application transferred too few scanlines" and the server crashes. Surfing on the net, I found this in jerror.h: JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines") Bye. __

Re: [Spice-devel] JPEG error - Application transferred too few scanlines

2011-08-01 Thread Andrea Celestino
Ok thanks. I have another question. I want to try to separate the streaming data and create a sperate channel for this kind of data. Do you think that is better to work with the new client or with spicec? 2011/7/28 Christophe Fergeau : > Hey, > > On Wed, Jul 27, 2011 at 06:11:32PM +0200, Christoph

[Spice-devel] Question about Spice and Display Channel

2011-08-03 Thread Andrea Celestino
Hi, I want to try to implements a new channel dedicated to streaming video. It's only an experiment, I don't know if this can bring an improvement. I would like to know some guidelines for implementing this channel. In spice every channel is a different socket and on the client side is a different

[Spice-devel] Question about Video and multi media time

2011-09-01 Thread Andrea Celestino
Hi, On the client side spice handles stream data using multi media time. How is calculated this multi media time??There is spice_session_get_mm_time() that calculates this time but I don't understand how is calculated. Each stream data have a member called multi_media_time, this member is initializ

[Spice-devel] Video frame dropping

2011-09-08 Thread Andrea Celestino
Hi, I have a question about video frame dropping on server side. Inside the function red_send_stream_data(), if the condition: if(time_now - agent->last_send_time < (1000 * 1000 * 1000) / agent->fps) is TRUE, the video frame is dropped and then it will be not sent to the client. Shortly, if a fra

[Spice-devel] Question about QXL driver

2011-09-13 Thread Andrea Celestino
Hi, I have a question about QXL and command ring. The QXL driver pushes the commands into the command ring and Spice reads this commands from the ring and process them. Where can I find the code that pushes the commands into the command ring? Thanks. Regards. __

[Spice-devel] Spice documentation

2011-09-29 Thread Andrea Celestino
Hi, I see the spice documentation but I think it's not wholly up to date. Where can I find up to date spice documentation ? And also I would like to know if there is some documentation about the new client spice-gtk. Thanks. ___ Spice-devel mailing list

[Spice-devel] Simple question about channels in spice-gtk

2011-10-05 Thread Andrea Celestino
Hi, With spicec, on client side, each channel is a different thread. I know that with the new client this is not true. I would like to know how spice-gtk handles the different channels. Thanks. ___ Spice-devel mailing list Spice-devel@lists.freedesktop.o

[Spice-devel] Simple question about update_area

2011-10-10 Thread Andrea Celestino
Hi, I've a simple question about update_area() function in Spice. I see there is a QXLWorker interface, with a function called update_area. This function is called in qxl.c. During my testing with streaming video, this function was never called, so it is not used to update streaming video area. Ca

[Spice-devel] About Spice and threads

2011-10-18 Thread Andrea Celestino
Hi, I know that on the Spice Client side I have a different thread (spicec) or a different context (spice-gtk) for each channel. How many threads are there on the server side? I know only that the Worker is a separated thread. Thanks. ___ Spice-devel ma

[Spice-devel] Streaming video command line

2011-04-11 Thread Andrea Celestino
Hi, I have installed Spice and now I'm trying to use it. I'm interested in how spice manage streaming video. I read that there is the option -streaming-video=[all|off|filter] Can you explain me the difference between these three option? Which source file read the command line? Why I have tried to

Re: [Spice-devel] Streaming video command line

2011-04-14 Thread Andrea Celestino
I would like to improve the streaming video performance in Spice, do you think that is possible to improve it? In what way? Are there documents that describes in detail how spice works with video? 2011/4/11 Alon Levy > On Mon, Apr 11, 2011 at 03:48:08PM +0200, Andrea Celestino wrote: >

Re: [Spice-devel] Streaming video command line

2011-04-21 Thread Andrea Celestino
ing? Thanks for any helps you can give me 2011/4/15 Alon Levy > On Thu, Apr 14, 2011 at 03:20:40PM +0200, Andrea Celestino wrote: > > I would like to improve the streaming video performance in Spice, do you > > think that is possible to improve it? In what way? > > Are there doc

Re: [Spice-devel] Streaming video command line

2011-05-03 Thread Andrea Celestino
esn't send *RED_WORKER_MESSAGE_SET_STREAMING_VIDEO *message. Did I make myself clear? Thanks very much. 2011/4/21 Alon Levy > On Thu, Apr 21, 2011 at 10:22:15AM +0200, Andrea Celestino wrote: > > Thanks. > > Now I am trying to study the code I am interested in. > > Unfortunately, th

Re: [Spice-devel] Fwd: Streaming video command line

2011-05-11 Thread Andrea Celestino
there is a call to red_process_commands().What type of command does this function handle? 3) What is a RedDrawable? Thanks a lot 2011/5/5 Alon Levy > On Thu, May 05, 2011 at 09:45:11AM +0200, Andrea Celestino wrote: > > Ok, in this way the option -streaming-video=[all|off|filt

Re: [Spice-devel] Fwd: Streaming video command line

2011-05-24 Thread Andrea Celestino
200, Andrea Celestino wrote: > > Hi, I have other few simple questions: > > > > 1) file: red_worker.c, function: red_worker_main(): > > What does evt_listener->action(evt_listener, event->events) do? Does it > call > > handle_dev_input() function? Is it calle