[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable audio virtualization in Xen


  • To: "SHARMA, JYOTIRMOY" <JYOTIRMOY.SHARMA@xxxxxxx>
  • From: "SHARMA, JYOTIRMOY" <JYOTIRMOY.SHARMA@xxxxxxx>
  • Date: Thu, 1 Sep 2022 08:58:04 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PZmSdwmjuOadBollNkjGyMebwChLzyTxxrhqg6v+V48=; b=gaR71plVDEuC8Is1rPtxuXPEZCD0WVth2zBUmLlOwSh0yoe0D8ViISpnYKc1PX8nKvj73qlStH50ibffZs0J9/MBOImBVtX3u22amRleVV9nPHPwdR965G0W1OdjzE4fZjMz26d61dpMrszJWoe+NNnNJzS1ADPwqUpW8KwUHizLoiqwKw+LgZZJEzH9eFT9JPw/2COW1A2YM8OKOGI0th61IeXWiucGtdEottyvEHlUA8sLK01BcaQXEhyOpXJTdqQGrNfmtdZX9Kengd6wDAy0oaOwrMFRI2wjA084TAs6Ehw8KkDI4kEGX4NUsINSkbqT1ki+p0glilt3UHc+nQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I2K65Hx2NGMftvP15LTp5HKyllDvXqjuTN1v7Dbnwfhe/C0qnW6xrqvBe/7nJvFSHqFvupl+BxU45CNj2eIAEfFxVq9cDuCmyzud2O4vOO+gZZC2ebvlNNG3wgcIN1IT5VhgSYe7IPUCoOXmAcoNzhhGtf8jsPW3ipbmu9kOKE16TlOZ/HFqb2VGpeZgbxU3zgSL5Cwo7FtkknnD/0DXVlcLPmNDv4Wry6zMq7OMiyIeSmegB8xsOu8D1zM0IC9fhGi8bBNlzBPo9uDfyhqoxbJGzmdlbeWXb4nvwvC1DsCZWq4Zihx7uwp7t1Qy6FUGdYIdDXYfGQpFzvzJwVE/bw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: "christopher.w.clark@xxxxxxxxx" <christopher.w.clark@xxxxxxxxx>, "dpsmith@xxxxxxxxxxxxxxxxxxxx" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, "olekstysh@xxxxxxxxx" <olekstysh@xxxxxxxxx>, "Stabellini, Stefano" <stefano.stabellini@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 01 Sep 2022 08:58:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-09-01T08:58:02Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=92e77bf1-b390-4127-ac4b-079d8e040c26; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1
  • Thread-index: Adi94EXouXveB4LpT0u/A4RVLH5W1g==
  • Thread-topic: Re: Enable audio virtualization in Xen

[AMD Official Use Only - General]


Hi all,

 

Forgot to mention that I am able to play audio from HVM guest with Pulse Audio as back end. Here is the corresponding HVM configuration:

 

vsnd = [[ 'card, backend=Domain-0, buffer-size=65536, short-name=VCard, long-name=Virtual sound card, sample-rates=44100, sample-formats=s16_le', 'pcm, name=dev1', 'stream, unique-id=pulse, type=P' ]]

 

I have used xen front end and snd_be (along with libxenbe) as back end as suggested by Christopher earlier in this thread.

 

Only when I change unique-id=alsa, audio is not working from HVM guest.

 

If anyone has tried ALSA back end (instead of PA), please let me know what I am missing.

 

Regards,

Jyotirmoy

 


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.