[tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list

I tried both 0.11.0 and 0.12.0 on Ubuntu Budgie 18.04 (with KXStudio repositories) but could not get any sound out of either of them.

0.11.0 would at least give me this error:

Failed to open MIDI devices: No device (driver) available

Origin:  BSE

Any idea what the issue might be?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"can not get sound out of Beast on Ubuntu 18.04 (#80)"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80", "url": "https://github.com/tim-janik/beast/issues/80", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stéphane Guillou**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@stragu", "facts": [ { "name": "Repository: ", "value": "tim-janik/beast" }, { "name": "Issue #: ", "value": 80 } ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list

Ok, the error message doesn't help much here, because it is about midi not audio. If you'r running kxstudio (I do that too), are you also using

  • jack
  • pulseaudio
  • pulseaudio bridged to jack (for instance using cadence)

On my system, I use

beast -p alsa=pulse

to force beast output to pulseaudio, which I have bridged to jack, and then everything works.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@swesterfeld in #80: Ok, the error message doesn't help much here, because it is about midi not audio. If you'r running kxstudio (I do that too), are you also using\r\n\r\n- jack\r\n- pulseaudio\r\n- pulseaudio bridged to jack (for instance using cadence)\r\n\r\nOn my system, I use\r\n```\r\nbeast -p alsa=pulse\r\n```\r\nto force beast output to pulseaudio, which I have bridged to jack, and then everything works."}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-419720483"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-419720483", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-419720483", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stefan Westerfeld**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@swesterfeld", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-419720483" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

Hi @swesterfeld
Thanks for the prompt reply!
Yes, that did it for both versions (0.11.0 and 0.12.0)!

Can I ask: why doesn't it work straight away? With my current setup, all Jack, ALSA and PulseAudio applications usually have a working output without needing a custom driver config. Where is the output going to by default?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@stragu in #80: Hi @swesterfeld \r\nThanks for the prompt reply!\r\nYes, that did it for both versions (0.11.0 and 0.12.0)!\r\n\r\nCan I ask: why doesn't it work straight away? With my current setup, all Jack, ALSA and PulseAudio applications usually have a working output without needing a custom driver config. Where is the output going to by default?"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-420146785"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-420146785", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-420146785", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stéphane Guillou**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@stragu", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-420146785" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

I don't know about your setup, but I have two sound cards: on-board and external usb. I use the external usb soundcard for jack/pulseaudio, but beast defaults to the on-board soundcard, so the output goes there, and since nothing is connected, beast stays silent.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@swesterfeld in #80: I don't know about your setup, but I have two sound cards: on-board and external usb. I use the external usb soundcard for jack/pulseaudio, but beast defaults to the on-board soundcard, so the output goes there, and since nothing is connected, beast stays silent."}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-420224443"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-420224443", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-420224443", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stefan Westerfeld**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@swesterfeld", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-420224443" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

Interesting. I use the on-board soundcard, so the default should go to that one... Any way I can figure out what is the default driver?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@stragu in #80: Interesting. I use the on-board soundcard, so the default should go to that one... Any way I can figure out what is the default driver?"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-420238748"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-420238748", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-420238748", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stéphane Guillou**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@stragu", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-420238748" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

One thing you can try is starting

beast --bse-driver-list

if I remember correctly, beast will by default use the first alsa duplex device on the list.

Another thing that could give you more information is starting BEAST like this:

BSE_DEBUG=pcm-alsa beast

which will show error message (if any, please paste here) that occurred during device initialization.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@swesterfeld in #80: One thing you can try is starting\r\n```\r\nbeast --bse-driver-list\r\n```\r\nif I remember correctly, beast will by default use the first alsa duplex device on the list.\r\n\r\nAnother thing that could give you more information is starting BEAST like this:\r\n```\r\nBSE_DEBUG=pcm-alsa beast\r\n```\r\nwhich will show error message (if any, please paste here) that occurred during device initialization."}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-420580630"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-420580630", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-420580630", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stefan Westerfeld**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@swesterfeld", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-420580630" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

The first command returns this:

Available PCM drivers:
  alsa alsa=PLUGIN:CARD,DEV,SUBDEV
    Advanced Linux Sound Architecture PCM driver, using
    ALSA 1.1.3.
    The device specification follows the ALSA device naming
    conventions, a detailed description of which is available
    at the project's website:
        http://alsa-project.org/alsa-doc/alsa-lib/pcm.html
    Various ALSA plugins can be used here, 'hw' allows direct
    adressing of hardware channels by card, device and subdevice.
      PLUGIN - the ALSA plugin, 'default' is usually good enough
      CARD   - the card number for plugins like 'hw'
      DEV    - the device number for plugins like 'hw'
      SUBDEV - the subdevice number for plugins like 'hw'
    Devices (Duplex):
   >        null - Discard all samples (playback) or generate zero samples (capture)
   >        pulse - PulseAudio Sound Server
   >        default - Playback/recording through the PulseAudio sound server
   >        sysdefault:CARD=PCH - HDA Intel PCH, ALC269VC Analog Default Audio Device
   >        front:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Front speakers
   >        dmix:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct sample mixing device
   >        dsnoop:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct sample snooping device
   >        hw:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct hardware device without any conversions
   >        plughw:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Hardware device with all software conversions
   >        sysdefault:CARD=Loopback - Loopback, Loopback PCM Default Audio Device
   >        front:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Front speakers
   >        surround21:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 2.1 Surround output to Front and Subwoofer speakers
   >        surround40:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 4.0 Surround output to Front and Rear speakers
   >        surround41:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 4.1 Surround output to Front, Rear and Subwoofer speakers
   >        surround50:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 5.0 Surround output to Front, Center and Rear speakers
   >        surround51:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
   >        surround71:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
   >        dmix:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct sample mixing device
   >        dmix:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct sample mixing device
   >        dsnoop:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct sample snooping device
   >        dsnoop:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct sample snooping device
   >        hw:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct hardware device without any conversions
   >        hw:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct hardware device without any conversions
   >        plughw:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Hardware device with all software conversions
   >        plughw:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Hardware device with all software conversions
    Devices (Output):
   >        surround21:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 2.1 Surround output to Front and Subwoofer speakers
   >        surround40:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 4.0 Surround output to Front and Rear speakers
   >        surround41:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 4.1 Surround output to Front, Rear and Subwoofer speakers
   >        surround50:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 5.0 Surround output to Front, Center and Rear speakers
   >        surround51:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
   >        surround71:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
   >        hdmi:CARD=PCH,DEV=0 - HDA Intel PCH, HDMI 0 HDMI Audio Output
   >        hdmi:CARD=PCH,DEV=1 - HDA Intel PCH, HDMI 1 HDMI Audio Output
   >        hdmi:CARD=PCH,DEV=2 - HDA Intel PCH, HDMI 2 HDMI Audio Output
   >        hdmi:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 3 HDMI Audio Output
   >        hdmi:CARD=PCH,DEV=4 - HDA Intel PCH, HDMI 4 HDMI Audio Output
   >        dmix:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct sample mixing device
   >        dmix:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct sample mixing device
   >        dmix:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct sample mixing device
   >        dmix:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct sample mixing device
   >        dmix:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct sample mixing device
   >        dsnoop:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct sample snooping device
   >        dsnoop:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct sample snooping device
   >        dsnoop:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct sample snooping device
   >        dsnoop:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct sample snooping device
   >        dsnoop:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct sample snooping device
   >        hw:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct hardware device without any conversions
   >        hw:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct hardware device without any conversions
   >        hw:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct hardware device without any conversions
   >        hw:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct hardware device without any conversions
   >        hw:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct hardware device without any conversions
   >        plughw:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Hardware device with all software conversions
   >        plughw:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Hardware device with all software conversions
   >        plughw:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Hardware device with all software conversions
   >        plughw:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Hardware device with all software conversions
   >        plughw:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Hardware device with all software conversions
    Devices (PCH - HDA Intel PCH at 0xdfc20000 irq 140):
   >        hw:0,0 - subdevices: 1*playback (1 busy) + 1*capture (1 busy)
   >        hw:0,3 - subdevices: 1*playback
   >        hw:0,7 - subdevices: 1*playback
   >        hw:0,8 - subdevices: 1*playback
   >        hw:0,9 - subdevices: 1*playback
   >        hw:0,10 - subdevices: 1*playback
    Devices (Loopback - Loopback 1):
   >        hw:1,0 - subdevices: 8*playback + 8*capture
   >        hw:1,1 - subdevices: 8*playback + 8*capture

... and a bit more.

The second command shows this when I try playing a demo:

1536753414.057687 pcm-alsa: ALSA: opening PCM "null" readable=1 writable=1: Failed to configure device buffer
1536753414.062849 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.063541 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.066679 pcm-alsa: ALSA: opening PCM "pulse" readable=1 writable=1: Device configurations mismatch
1536753414.070609 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.071063 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.073042 pcm-alsa: ALSA: opening PCM "default" readable=1 writable=1: Device configurations mismatch
1536753414.077081 pcm-alsa: ALSA: opening PCM "sysdefault:CARD=PCH" readable=1 writable=1: Device or resource busy
1536753414.077321 pcm-alsa: ALSA: opening PCM "front:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536753414.077768 pcm-alsa: ALSA: opening PCM "dmix:CARD=PCH,DEV=0" readable=1 writable=1: Open failed
1536753414.078326 pcm-alsa: ALSA: opening PCM "dsnoop:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536753414.078454 pcm-alsa: ALSA: opening PCM "hw:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536753414.078563 pcm-alsa: ALSA: opening PCM "plughw:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536753414.094341 pcm-alsa: ALSA: opening PCM "sysdefault:CARD=Loopback" readable=1 writable=1: Failed to configure device buffer
1536753414.095217 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.095393 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536753414.095435 pcm-alsa: ALSA: opening PCM "front:CARD=Loopback,DEV=0" readable=1 writable=1: OK
1536753414.120227 pcm-alsa: ALSA: retriggering device (r=PREPARED w=PREPARED)...

So it looks like the first device that works for beast in the list is PCM "front:CARD=Loopback,DEV=0". Right?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@stragu in #80: The first command returns this:\r\n\r\n```\r\nAvailable PCM drivers:\r\n alsa alsa=PLUGIN:CARD,DEV,SUBDEV\r\n Advanced Linux Sound Architecture PCM driver, using\r\n ALSA 1.1.3.\r\n The device specification follows the ALSA device naming\r\n conventions, a detailed description of which is available\r\n at the project's website:\r\n http://alsa-project.org/alsa-doc/alsa-lib/pcm.html\r\n Various ALSA plugins can be used here, 'hw' allows direct\r\n adressing of hardware channels by card, device and subdevice.\r\n PLUGIN - the ALSA plugin, 'default' is usually good enough\r\n CARD - the card number for plugins like 'hw'\r\n DEV - the device number for plugins like 'hw'\r\n SUBDEV - the subdevice number for plugins like 'hw'\r\n Devices (Duplex):\r\n \u003e null - Discard all samples (playback) or generate zero samples (capture)\r\n \u003e pulse - PulseAudio Sound Server\r\n \u003e default - Playback/recording through the PulseAudio sound server\r\n \u003e sysdefault:CARD=PCH - HDA Intel PCH, ALC269VC Analog Default Audio Device\r\n \u003e front:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Front speakers\r\n \u003e dmix:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct sample mixing device\r\n \u003e dsnoop:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct sample snooping device\r\n \u003e hw:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Direct hardware device without any conversions\r\n \u003e plughw:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog Hardware device with all software conversions\r\n \u003e sysdefault:CARD=Loopback - Loopback, Loopback PCM Default Audio Device\r\n \u003e front:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Front speakers\r\n \u003e surround21:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 2.1 Surround output to Front and Subwoofer speakers\r\n \u003e surround40:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 4.0 Surround output to Front and Rear speakers\r\n \u003e surround41:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 4.1 Surround output to Front, Rear and Subwoofer speakers\r\n \u003e surround50:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 5.0 Surround output to Front, Center and Rear speakers\r\n \u003e surround51:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 5.1 Surround output to Front, Center, Rear and Subwoofer speakers\r\n \u003e surround71:CARD=Loopback,DEV=0 - Loopback, Loopback PCM 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers\r\n \u003e dmix:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct sample mixing device\r\n \u003e dmix:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct sample mixing device\r\n \u003e dsnoop:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct sample snooping device\r\n \u003e dsnoop:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct sample snooping device\r\n \u003e hw:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Direct hardware device without any conversions\r\n \u003e hw:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Direct hardware device without any conversions\r\n \u003e plughw:CARD=Loopback,DEV=0 - Loopback, Loopback PCM Hardware device with all software conversions\r\n \u003e plughw:CARD=Loopback,DEV=1 - Loopback, Loopback PCM Hardware device with all software conversions\r\n Devices (Output):\r\n \u003e surround21:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 2.1 Surround output to Front and Subwoofer speakers\r\n \u003e surround40:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 4.0 Surround output to Front and Rear speakers\r\n \u003e surround41:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 4.1 Surround output to Front, Rear and Subwoofer speakers\r\n \u003e surround50:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 5.0 Surround output to Front, Center and Rear speakers\r\n \u003e surround51:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers\r\n \u003e surround71:CARD=PCH,DEV=0 - HDA Intel PCH, ALC269VC Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers\r\n \u003e hdmi:CARD=PCH,DEV=0 - HDA Intel PCH, HDMI 0 HDMI Audio Output\r\n \u003e hdmi:CARD=PCH,DEV=1 - HDA Intel PCH, HDMI 1 HDMI Audio Output\r\n \u003e hdmi:CARD=PCH,DEV=2 - HDA Intel PCH, HDMI 2 HDMI Audio Output\r\n \u003e hdmi:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 3 HDMI Audio Output\r\n \u003e hdmi:CARD=PCH,DEV=4 - HDA Intel PCH, HDMI 4 HDMI Audio Output\r\n \u003e dmix:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct sample mixing device\r\n \u003e dmix:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct sample mixing device\r\n \u003e dmix:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct sample mixing device\r\n \u003e dmix:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct sample mixing device\r\n \u003e dmix:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct sample mixing device\r\n \u003e dsnoop:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct sample snooping device\r\n \u003e dsnoop:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct sample snooping device\r\n \u003e dsnoop:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct sample snooping device\r\n \u003e dsnoop:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct sample snooping device\r\n \u003e dsnoop:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct sample snooping device\r\n \u003e hw:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Direct hardware device without any conversions\r\n \u003e hw:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Direct hardware device without any conversions\r\n \u003e hw:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Direct hardware device without any conversions\r\n \u003e hw:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Direct hardware device without any conversions\r\n \u003e hw:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Direct hardware device without any conversions\r\n \u003e plughw:CARD=PCH,DEV=3 - HDA Intel PCH, HDMI 0 Hardware device with all software conversions\r\n \u003e plughw:CARD=PCH,DEV=7 - HDA Intel PCH, HDMI 1 Hardware device with all software conversions\r\n \u003e plughw:CARD=PCH,DEV=8 - HDA Intel PCH, HDMI 2 Hardware device with all software conversions\r\n \u003e plughw:CARD=PCH,DEV=9 - HDA Intel PCH, HDMI 3 Hardware device with all software conversions\r\n \u003e plughw:CARD=PCH,DEV=10 - HDA Intel PCH, HDMI 4 Hardware device with all software conversions\r\n Devices (PCH - HDA Intel PCH at 0xdfc20000 irq 140):\r\n \u003e hw:0,0 - subdevices: 1*playback (1 busy) + 1*capture (1 busy)\r\n \u003e hw:0,3 - subdevices: 1*playback\r\n \u003e hw:0,7 - subdevices: 1*playback\r\n \u003e hw:0,8 - subdevices: 1*playback\r\n \u003e hw:0,9 - subdevices: 1*playback\r\n \u003e hw:0,10 - subdevices: 1*playback\r\n Devices (Loopback - Loopback 1):\r\n \u003e hw:1,0 - subdevices: 8*playback + 8*capture\r\n \u003e hw:1,1 - subdevices: 8*playback + 8*capture\r\n```\r\n... and a bit more.\r\n\r\nThe second command shows this when I try playing a demo:\r\n\r\n```\r\n1536753414.057687 pcm-alsa: ALSA: opening PCM \"null\" readable=1 writable=1: Failed to configure device buffer\r\n1536753414.062849 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.063541 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.066679 pcm-alsa: ALSA: opening PCM \"pulse\" readable=1 writable=1: Device configurations mismatch\r\n1536753414.070609 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.071063 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.073042 pcm-alsa: ALSA: opening PCM \"default\" readable=1 writable=1: Device configurations mismatch\r\n1536753414.077081 pcm-alsa: ALSA: opening PCM \"sysdefault:CARD=PCH\" readable=1 writable=1: Device or resource busy\r\n1536753414.077321 pcm-alsa: ALSA: opening PCM \"front:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536753414.077768 pcm-alsa: ALSA: opening PCM \"dmix:CARD=PCH,DEV=0\" readable=1 writable=1: Open failed\r\n1536753414.078326 pcm-alsa: ALSA: opening PCM \"dsnoop:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536753414.078454 pcm-alsa: ALSA: opening PCM \"hw:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536753414.078563 pcm-alsa: ALSA: opening PCM \"plughw:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536753414.094341 pcm-alsa: ALSA: opening PCM \"sysdefault:CARD=Loopback\" readable=1 writable=1: Failed to configure device buffer\r\n1536753414.095217 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.095393 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536753414.095435 pcm-alsa: ALSA: opening PCM \"front:CARD=Loopback,DEV=0\" readable=1 writable=1: OK\r\n1536753414.120227 pcm-alsa: ALSA: retriggering device (r=PREPARED w=PREPARED)...\r\n```\r\n\r\nSo it looks like the first device that works for beast in the list is `PCM \"front:CARD=Loopback,DEV=0\"`. Right?"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-420623630"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-420623630", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-420623630", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stéphane Guillou**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@stragu", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-420623630" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

So it looks like the first device that works for beast in the list is PCM "front:CARD=Loopback,DEV=0". Right?

Yes, that's right. I'm astonished you got a DEVICES_MISMATCH for the other devices though. That error is only triggered if the sampling frequency mismatches, the period size or count, or input/output cannot be linked.
Usually ALSA contains extra code to remap/resmaple audio signals that none of these is ever triggered.

Are you building Beast from source? In that case could you build a patched version that gives us more info to diagnose the exact problems on your system in more detail?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tim-janik in #80: \u003e So it looks like the first device that works for beast in the list is `PCM \"front:CARD=Loopback,DEV=0\"`. Right?\r\n\r\nYes, that's right. I'm astonished you got a DEVICES_MISMATCH for the other devices though. That error is only triggered if the sampling frequency mismatches, the period size or count, or input/output cannot be linked.\r\nUsually ALSA contains extra code to remap/resmaple audio signals that none of these is ever triggered.\r\n\r\nAre you building Beast from source? In that case could you build a patched version that gives us more info to diagnose the exact problems on your system in more detail? "}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-421018711"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-421018711", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-421018711", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Tim Janik**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@tim-janik", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-421018711" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

Btw, one observation from my system: the second device in his log was "pulse", and failed to open in duplex mode. This I can reproduce here with beast -p alsa=pulse. I was curious and added a few printf statements to the driver, and it seems that input/output cannot be linked, and snd_pcm_link returns the alsa error code for function not implemented.

$ LANG=C BSE_DEBUG=pcm-alsa beast -p alsa=pulse
1536864657.601908 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480
1536864657.602466 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480
snd_pcm_link failed Function not implemented
1536864657.604426 pcm-alsa: ALSA: opening PCM "pulse" readable=1 writable=1: Device configurations mismatch
1536864657.607417 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480
1536864657.608268 pcm-alsa: ALSA: opening PCM "pulse" readable=0 writable=1: OK


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@swesterfeld in #80: Btw, one observation from my system: the second device in his log was \"pulse\", and failed to open in duplex mode. This I can reproduce here with beast -p alsa=pulse. I was curious and added a few printf statements to the driver, and it seems that input/output cannot be linked, and snd_pcm_link returns the alsa error code for function not implemented.\r\n```\r\n$ LANG=C BSE_DEBUG=pcm-alsa beast -p alsa=pulse\r\n1536864657.601908 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480\r\n1536864657.602466 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480\r\nsnd_pcm_link failed Function not implemented\r\n1536864657.604426 pcm-alsa: ALSA: opening PCM \"pulse\" readable=1 writable=1: Device configurations mismatch\r\n1536864657.607417 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=48000 nperiods=3 period=160 (480) bufsz=480\r\n1536864657.608268 pcm-alsa: ALSA: opening PCM \"pulse\" readable=0 writable=1: OK\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-421115474"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-421115474", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-421115474", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stefan Westerfeld**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@swesterfeld", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-421115474" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast
Reply | Threaded
Open this post in threaded view
|

Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)

Gnome - Beast mailing list
In reply to this post by Gnome - Beast mailing list

@tim-janik Yes, it is surprising, as I don't have this problem with other apps: they straight away connect to ALSA without any issues.
I don't build from source, I grabbed the .deb binaries from this page: https://beast.testbit.org/pub/deb/

Out of curiosity, I tried to fix the "mismatch" by changing my Jack configuration (frequency, buffer and periods) for it to match the settings listed in the ALSA: setup: lines, and I get a different output:

1536889849.386466 pcm-alsa: ALSA: opening PCM "null" readable=1 writable=1: Failed to configure device buffer
1536889849.389098 pcm-alsa: ALSA: opening PCM "pulse" readable=1 writable=1: Open failed
1536889849.393905 pcm-alsa: ALSA: opening PCM "sysdefault:CARD=PCH" readable=1 writable=1: Device or resource busy
1536889849.394195 pcm-alsa: ALSA: opening PCM "front:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536889849.394745 pcm-alsa: ALSA: opening PCM "dmix:CARD=PCH,DEV=0" readable=1 writable=1: Open failed
1536889849.395393 pcm-alsa: ALSA: opening PCM "dsnoop:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536889849.395531 pcm-alsa: ALSA: opening PCM "hw:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536889849.395668 pcm-alsa: ALSA: opening PCM "plughw:CARD=PCH,DEV=0" readable=1 writable=1: Device or resource busy
1536889849.414223 pcm-alsa: ALSA: opening PCM "sysdefault:CARD=Loopback" readable=1 writable=1: Failed to configure device buffer
1536889849.415426 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536889849.415651 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048
1536889849.415709 pcm-alsa: ALSA: opening PCM "front:CARD=Loopback,DEV=0" readable=1 writable=1: OK
1536889849.469032 pcm-alsa: ALSA: retriggering device (r=PREPARED w=PREPARED)...

Still going to my PCM loopback and no sound.

Maybe that helps?

By the way, I always get the following right at the beginning, when starting Beast from the terminal, whatever the command, even after matching the Jack settings:

convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100
convolution: samplerate mismatch preset:48000 host:44100

Cheers


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"PERSON","message":"@stragu in #80: @tim-janik Yes, it is surprising, as I don't have this problem with other apps: they straight away connect to ALSA without any issues.\r\nI don't build from source, I grabbed the .deb binaries from this page: https://beast.testbit.org/pub/deb/\r\n\r\nOut of curiosity, I tried to fix the \"mismatch\" by changing my Jack configuration (frequency, buffer and periods) for it to match the settings listed in the `ALSA: setup:` lines, and I get a different output:\r\n\r\n```\r\n1536889849.386466 pcm-alsa: ALSA: opening PCM \"null\" readable=1 writable=1: Failed to configure device buffer\r\n1536889849.389098 pcm-alsa: ALSA: opening PCM \"pulse\" readable=1 writable=1: Open failed\r\n1536889849.393905 pcm-alsa: ALSA: opening PCM \"sysdefault:CARD=PCH\" readable=1 writable=1: Device or resource busy\r\n1536889849.394195 pcm-alsa: ALSA: opening PCM \"front:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536889849.394745 pcm-alsa: ALSA: opening PCM \"dmix:CARD=PCH,DEV=0\" readable=1 writable=1: Open failed\r\n1536889849.395393 pcm-alsa: ALSA: opening PCM \"dsnoop:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536889849.395531 pcm-alsa: ALSA: opening PCM \"hw:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536889849.395668 pcm-alsa: ALSA: opening PCM \"plughw:CARD=PCH,DEV=0\" readable=1 writable=1: Device or resource busy\r\n1536889849.414223 pcm-alsa: ALSA: opening PCM \"sysdefault:CARD=Loopback\" readable=1 writable=1: Failed to configure device buffer\r\n1536889849.415426 pcm-alsa: ALSA: setup: w=0 r=1 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536889849.415651 pcm-alsa: ALSA: setup: w=1 r=0 n_channels=2 sample_freq=44100 nperiods=4 period=512 (2048) bufsz=2048\r\n1536889849.415709 pcm-alsa: ALSA: opening PCM \"front:CARD=Loopback,DEV=0\" readable=1 writable=1: OK\r\n1536889849.469032 pcm-alsa: ALSA: retriggering device (r=PREPARED w=PREPARED)...\r\n```\r\n\r\nStill going to my PCM loopback and no sound.\r\n\r\nMaybe that helps?\r\n\r\nBy the way, I always get the following right at the beginning, when starting Beast from the terminal, whatever the command, even after matching the Jack settings:\r\n\r\n```\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\nconvolution: samplerate mismatch preset:48000 host:44100\r\n```\r\n\r\nCheers"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/80#issuecomment-421206215"}}}</script> <script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/tim-janik/beast/issues/80#issuecomment-421206215", "url": "https://github.com/tim-janik/beast/issues/80#issuecomment-421206215", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [tim-janik/beast] can not get sound out of Beast on Ubuntu 18.04 (#80)", "sections": [ { "text": "", "activityTitle": "**Stéphane Guillou**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@stragu", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"tim-janik/beast\",\n\"issueId\": 80\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/tim-janik/beast/issues/80#issuecomment-421206215" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 377532505\n}" } ], "themeColor": "26292E" } ]</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast