Posts by Drarkklain

    Well all in all it's up to the user to chose the correct audio output. You've disabled the autoconfig and set RR_AUTOCONFIG_SOUND=false before you've manually edited the asound.conf file? If PulseAudio works it's fine since it supports more features anyway and it doesn't matter what you select in Kodi if you don't use the autoconfig.
    But again you use some kind of speakers if you don't use HDMI sound output? External speakers connected to an audio jack or internal speakers of your notebook?

    About this RR_AUTOCONFIG_SOUND=false, yes I disabled autoconfig before edit the asound.conf. And I wasnt using any kind of headphones, external speakers or the HDMI output on the notebook, I was just using the internal speakers.

    Error on speaker-test: surround21, surround41, surround50.

    No sound on speaker-test: all the hdmi ones.

    All the other ones worked on Kodi and on speaker-test but they didnt on ES, it's unbelieveable.

    After all this, I tried to change for PulseAudio in the "advanced.conf", then it worked on ES, but on Kodi I needed to keep in the default option.

    When I was using the version beta15a I didnt have this problem, do you know any reason for this problem to happen?

    Thank you!

    The result of aplay -L + speaker-test below if you want to check something:

    LibreELEC:~ # aplay -L | grep :CARD

    default:CARD=PCH

    sysdefault:CARD=PCH

    front:CARD=PCH,DEV=0

    surround21:CARD=PCH,DEV=0

    surround40:CARD=PCH,DEV=0

    surround41:CARD=PCH,DEV=0

    surround50:CARD=PCH,DEV=0

    surround51:CARD=PCH,DEV=0

    surround71:CARD=PCH,DEV=0

    hdmi:CARD=PCH,DEV=0

    hdmi:CARD=PCH,DEV=1

    hdmi:CARD=PCH,DEV=2

    hdmi:CARD=PCH,DEV=3

    hdmi:CARD=PCH,DEV=4

    Defaults

    LibreELEC:~ # speaker-test -D default:CARD=PCH -c 2

    speaker-test 1.1.7

    Playback device is default:CARD=PCH

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 2048 to 16384

    Period size range from 1024 to 1024

    Using max buffer size 16384

    Periods = 4

    was set period_size = 1024

    was set buffer_size = 16384

    0 - Front Left

    1 - Front Right

    ^CWrite error: -4,Interrupted system call

    xrun_recovery failed: -4,Interrupted system call

    Transfer failed: Interrupted system call

    LibreELEC:~ # speaker-test -D sysdefault:CARD=PCH -c 2

    speaker-test 1.1.7

    Playback device is sysdefault:CARD=PCH

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 2048 to 16384

    Period size range from 1024 to 1024

    Using max buffer size 16384

    Periods = 4

    was set period_size = 1024

    was set buffer_size = 16384

    0 - Front Left

    1 - Front Right

    ^CWrite error: -4,Interrupted system call

    xrun_recovery failed: -4,Interrupted system call

    Transfer failed: Interrupted system call

    LibreELEC:~ # speaker-test -D front:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is front:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Front Left

    1 - Front Right

    ^CTime per period = 4.301502

    Surround

    LibreELEC:~ # speaker-test -D surround21:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround21:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    ALSA lib /home/supervisedthinking/le90-rr/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/alsa-lib-1.1.7/src/pcm/pcm_route.c:869:(find_matching_chmap) Found no matching channel map

    Playback open error: -22,Invalid argument

    LibreELEC:~ # speaker-test -D surround40:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround40:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Front Left

    1 - Front Right

    ^CTime per period = 4.017500

    LibreELEC:~ # speaker-test -D surround41:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround41:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    ALSA lib /home/supervisedthinking/le90-rr/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/alsa-lib-1.1.7/src/pcm/pcm_route.c:869:(find_matching_chmap) Found no matching channel map

    Playback open error: -22,Invalid argument

    LibreELEC:~ # speaker-test -D surround50:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround50:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    ALSA lib /home/supervisedthinking/le90-rr/http://LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.0-devel/alsa-lib-1.1.7/src/pcm/pcm_route.c:869:(find_matching_chmap) Found no matching channel map

    Playback open error: -22,Invalid argument

    LibreELEC:~ # speaker-test -D surround51:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround51:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Front Left

    1 - Front Right

    ^CTime per period = 3.782319

    LibreELEC:~ # speaker-test -D surround71:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is surround71:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Front Left

    1 - Front Right

    ^CTime per period = 3.896629

    HDMI

    LibreELEC:~ # speaker-test -D hdmi:CARD=PCH,DEV=0 -c 2

    speaker-test 1.1.7

    Playback device is hdmi:CARD=PCH,DEV=0

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Unknown

    1 - Unknown

    ^CTime per period = 3.574885

    LibreELEC:~ # speaker-test -D hdmi:CARD=PCH,DEV=1 -c 2

    speaker-test 1.1.7

    Playback device is hdmi:CARD=PCH,DEV=1

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Unknown

    1 - Unknown

    ^CTime per period = 3.472457

    LibreELEC:~ # speaker-test -D hdmi:CARD=PCH,DEV=2 -c 2

    speaker-test 1.1.7

    Playback device is hdmi:CARD=PCH,DEV=2

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Unknown

    1 - Unknown

    ^CTime per period = 3.138907

    LibreELEC:~ # speaker-test -D hdmi:CARD=PCH,DEV=3 -c 2

    speaker-test 1.1.7

    Playback device is hdmi:CARD=PCH,DEV=3

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Unknown

    ^C 1 - Unknown

    Time per period = 2.435419

    LibreELEC:~ # speaker-test -D hdmi:CARD=PCH,DEV=4 -c 2

    speaker-test 1.1.7

    Playback device is hdmi:CARD=PCH,DEV=4

    Stream parameters are 48000Hz, S16_LE, 2 channels

    Using 16 octaves of pink noise

    Rate set to 48000Hz (requested 48000Hz)

    Buffer size range from 64 to 524288

    Period size range from 32 to 262144

    Using max buffer size 524288

    Periods = 4

    was set period_size = 131072

    was set buffer_size = 524288

    0 - Unknown

    ^C 1 - Unknown

    Time per period = 2.547135

    Well what is your actual output device in Kodi? Of course you have to chose the correct one first.If it didn't work on any platform I hardly believe that you've entered the correct device.

    For example if you use a HDMI output you probably have to set hdmi:CARD=PCH,DEV=0 or probably front:CARD=PCH,DEV=0 for an audio jack.

    Output device in Kodi is "ASLA: Default (HDA Intel PCH ALC269VC Analog)"

    I think I'm making some mistake, i see no reason for it isn't working.

    What's the output of aplay -L and what build do you use on what kind of hardware...

    Now I'm trying on a Notebook Core i3-6006U but I've tried on some different systems like: Desktop Core i3-3250 with a basic H61 Mobo, Desktop IPXJ1800E2, Desktop Core i7-4770 with a basic H81 Mobo. All those with the same problem.

    Build: LibreELEC-Generic.x86_64-9.0-RR-201901-c30d584.img

    aplay -L

    LibreELEC:~ # aplay -L

    null

    Discard all samples (playback) or generate zero samples (capture)

    sysdefault:CARD=PCH

    HDA Intel PCH, ALC269VC Analog

    Default Audio Device

    front:CARD=PCH,DEV=0

    HDA Intel PCH, ALC269VC Analog

    Front speakers

    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

    Hi, I have a problem with the sound, it doesn't work on EmulationStation, but on Kodi it works fine. I tried the possible solutions on FAQ, but I'm still without sound on ES.

    My asound.conf

    # SPDX-License-Identifier: GPL-2.0-or-later

    # Copyright (C) 2018-present 5schatten (5schatten · GitHub)

    pcm.!default {

    type plug

    slave.pcm {

    @func getenv

    vars [ ALSAPCM ]

    # Device name can be found using the command 'aplay -L'

    default "sysdefault:CARD=PCH"

    }

    }

    Since it is some Node.js stuff chances are pretty low. And to be honest I have no clue if Retroarch or SDL2 will detect this even if I would add a complete node Server. And all in all...why? I mean the gaming experience with touchscreens is inferior even to the cheapest real gamepads many old console or arcade games need a quite precise in

    Got it. And about Steam, have it some chance to be added? I'd like to use games streaming but i dont have a geforce gpu to use moonlight. ;(