[Spice-devel] Sound problems

Klaus Hochlehnert Mailings at kh-dev.de
Mon Nov 17 05:46:07 PST 2014


Hi Qiang,

thanks for the info.
But I'm not really sure what I can do here.
I don't use xserver-xorg-video-qxl as I'm using a Windows guest with the win qxl driver.
On the thin client there's an Ubuntu 14.04 running using some intel driver as it's a Celeron based board.

Also I didn't find the patched file you were mentioning. I guess it's part of xserver-xorg-video-qxl, right?

Thanks, Klaus

-----Original Message-----
From: Qiang [mailto:wangqiang.hunan at gmail.com] 
Sent: Monday, November 17, 2014 7:28 AM
To: Klaus Hochlehnert; spice-devel at lists.freedesktop.org
Subject: Re: [Spice-devel] Sound problems

Hi, Klaus

I met the same issue, like you saied: hear a regular click (sort of) every few seconds.

what I do is: rebuild xserver-xorg-video-qxl, spice, qemu. Everything goes fine.

Please make sure your code include this patch:
http://lists.freedesktop.org/archives/spice-devel/2014-April/016645.html

Opus requires a frequency of 48000; it will not operate at 44100 If you want to know which codec is used, you need to enable debug.

Try to print more log like;
  sin->st->frequency = SND_CODEC_CELT_PLAYBACK_FREQ; /* Default to

For client make sure the client_can_opus=1 snd_codec_is_capable is True

Hope it can help you.


On 2014年11月16日 03:27, Klaus Hochlehnert wrote:
> Hi,
>
> I just played around with some spice options as I have sound problems 
> with a Windows 7 guest.
>
> It’s a bit choppy and I hear a regular click (sort of) every 1-2 seconds.
>
> Video performance is ok although I can’t watch Full-HD videos 
> smoothly, but the max size of the video is ok.
>
> So I tested some option combinations like streaming-video, 
> image-compression, playback-compression, …
>
> But I haven’t found a combination that works.
>
> As device I added intel-hda and hda-micro.
>
> I use qemu 2.1.1 & spice 0.12.5 compiled with celt and opus.
>
> I was wondering how I can switch between the codecs to hear if one is 
> working better than the other?
>
> How can I even see which codec is used (currently I don’t see and 
> qemu/virt-viewer option)?
>
> Thanks, Klaus
>
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



More information about the Spice-devel mailing list