Closed harmhoek closed 6 years ago
If you want to use your SB card you should have something
grep audio_device /storage/.config/retroarch/retroarch.cfg
audio_device = "sysdefault:CARD=CA0106"
Don't forget to stop RetroArch when you edit configuration file.
Please provide Lakka system logs.
Thank you.
audio_device = "surround21:CARD=CA0106,DEV=0"
Thank you and Lakka system logs ?
systemctl stop retroarch.service ; retroarch -v [INFO] RetroArch 1.6.9 (Git c056726) [INFO] === Build ======================================= Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 Built: Nov 21 2017 [INFO] Version: 1.6.9 [INFO] Git: c056726 [INFO] ================================================= [INFO] [Config]: Loading default config. [INFO] [Config]: loading config from: (null). [INFO] Looking for config in: "/storage/.config/retroarch/retroarch.cfg". [INFO] Environ SET_PIXEL_FORMAT: RGB565. [INFO] Redirecting save file to "/storage/savefiles/.srm". [INFO] Redirecting savestate to "/storage/savestates/.state". [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 29970.03 Hz. [INFO] Found shader "/tmp/shaders/retroarch.glslp" [INFO] Found shader "/tmp/shaders/slang-conversion-template.glsl" [INFO] Found shader "/tmp/shaders/stock.glsl" [INFO] [Video]: Video @ fullscreen [INFO] [Video]: Starting threaded video driver ... [INFO] [DRM]: Found 2 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 10 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Connector 1 connected: no [INFO] [DRM]: Connector 1 has 0 modes. [INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 1: (1680x1050) 1680 x 1050, 60 Hz [INFO] [DRM]: Mode 2: (1600x900) 1600 x 900, 60 Hz [INFO] [DRM]: Mode 3: (1280x1024) 1280 x 1024, 60 Hz [INFO] [DRM]: Mode 4: (1280x800) 1280 x 800, 60 Hz [INFO] [DRM]: Mode 5: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 6: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 7: (800x600) 800 x 600, 60 Hz [INFO] [DRM]: Mode 8: (640x480) 640 x 480, 60 Hz [INFO] [DRM]: Mode 9: (720x400) 720 x 400, 70 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0xb4631a20. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [GL]: Vendor: nouveau, Renderer: Gallium 0.4 on NV50. [INFO] [GL]: Version: 3.0 Mesa 17.1.3. [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Using GLSL version 130. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Using GLSL version 130. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Using GLSL version 130. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Using GLSL version 130. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 2 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [GL]: Creating FBO 0 @ 512x512 [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting t o pick a suitable driver. [INFO] [udev]: Keyboard #0 (/dev/input/event2). [INFO] [Joypad]: Found joypad driver: "udev". [INFO] ALSA: Using signed 16-bit format. [INFO] ALSA: Period size: 384 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Menu]: Found menu display driver: "menu_display_gl". [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Font]: Using font rendering backend: freetype. [WARN] Input device ID 5 is unknown to this libretro implementation. Using RETRO _DEVICE_JOYPAD. [INFO] SRAM will not be saved. [INFO] Loading history file: [/storage/.config/retroarch/content_history.lpl]. [INFO] Loading history file: [/storage/.config/retroarch/content_favorites.lpl]. [INFO] Loading history file: [/storage/.config/retroarch/content_music_history.l pl]. [INFO] Loading history file: [/storage/.config/retroarch/content_video_history.l pl]. [INFO] Loading history file: [/storage/.config/retroarch/content_image_history.l pl]. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [KMS]: New FB: 1920x1080 (stride: 7680).
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting t o pick a suitable driver.
lol. Is this a problem?
There are no audio related issues can you try other audio device ?
As stated when I use audio device = "sysdefault:CARD=Intel" it provides me audio via the motherboard.
Yes I meant other audio device related to SB not motherboard.
May you try to connect on our irc channel.
I selected Front, Side, Rear etcetera. Everything on this card doesn't work. Also tried another PCI slot.
I get the feeling it's a hardware problem with this motherboard and this soundcard.
Update from my side:
With Alsa drivers I can change the output device in the GUI. No sound output however. I suppose we have to give some statement to the realtek codec to take the soundcard?
Ps. On windows 10 I noticed a big difference in sound quality compared to on-board! It is worth the effort!
Just noted -> DIGITAL OUTPUT works somehow with current setup (i get distorted sounds when I put analog in there)
-- I need to switch the card to digital output OFF / MUTE -- how?
amixer set IEC958 off
worked but still no output on analog
Do i need to blacklist kernel, i.e.?
blacklist snd_ens1370
amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 58 [91%] [-6.00dB] [on]
Front Right: Playback 58 [91%] [-6.00dB] [on]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Side',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Capture',2
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 46
Front Left: Capture 0 [0%] [-16.00dB] [off]
Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',2
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line' 'CD'
Item0: 'Rear Mic'
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Module Size Used by 8021q 24576 0 bnep 20480 2 btusb 40960 0 btrtl 16384 1 btusb btbcm 16384 1 btusb btintel 16384 1 btusb bluetooth 307200 26 btrtl,btintel,bnep,btbcm,btusb snd_hda_codec_realtek 65536 1 snd_hda_codec_generic 65536 1 snd_hda_codec_realtek rfkill 20480 3 bluetooth snd_ca0106 45056 0 snd_ac97_codec 110592 1 snd_ca0106 ac97_bus 16384 1 snd_ac97_codec snd_rawmidi 24576 1 snd_ca0106 snd_hda_intel 28672 0 snd_hda_codec 90112 3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek snd_hda_core 49152 4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek snd_hwdep 16384 1 snd_hda_codec
amixer controls
numid=46,iface=CARD,name='CD Phantom Jack'
numid=51,iface=CARD,name='Front Headphone Phantom Jack'
numid=44,iface=CARD,name='Front Mic Jack'
numid=45,iface=CARD,name='Line Jack'
numid=49,iface=CARD,name='Line Out CLFE Jack'
numid=47,iface=CARD,name='Line Out Front Jack'
numid=50,iface=CARD,name='Line Out Side Jack'
numid=48,iface=CARD,name='Line Out Surround Jack'
numid=43,iface=CARD,name='Rear Mic Jack'
numid=53,iface=CARD,name='SPDIF In Phantom Jack'
numid=52,iface=CARD,name='SPDIF Phantom Jack'
numid=42,iface=MIXER,name='Master Playback Switch'
numid=41,iface=MIXER,name='Master Playback Volume'
numid=12,iface=MIXER,name='Headphone Playback Switch'
numid=11,iface=MIXER,name='Headphone Playback Volume'
numid=62,iface=MIXER,name='PCM Playback Volume'
numid=32,iface=MIXER,name='Front Mic Boost Volume'
numid=17,iface=MIXER,name='Front Mic Playback Switch'
numid=16,iface=MIXER,name='Front Mic Playback Volume'
numid=2,iface=MIXER,name='Front Playback Switch'
numid=1,iface=MIXER,name='Front Playback Volume'
numid=4,iface=MIXER,name='Surround Playback Switch'
numid=3,iface=MIXER,name='Surround Playback Volume'
numid=7,iface=MIXER,name='Center Playback Switch'
numid=5,iface=MIXER,name='Center Playback Volume'
numid=8,iface=MIXER,name='LFE Playback Switch'
numid=6,iface=MIXER,name='LFE Playback Volume'
numid=33,iface=MIXER,name='Line Boost Volume'
numid=19,iface=MIXER,name='Line Playback Switch'
numid=18,iface=MIXER,name='Line Playback Volume'
numid=21,iface=MIXER,name='CD Playback Switch'
numid=20,iface=MIXER,name='CD Playback Volume'
numid=26,iface=MIXER,name='Capture Switch'
numid=28,iface=MIXER,name='Capture Switch',index=1
numid=30,iface=MIXER,name='Capture Switch',index=2
numid=25,iface=MIXER,name='Capture Volume'
numid=27,iface=MIXER,name='Capture Volume',index=1
numid=29,iface=MIXER,name='Capture Volume',index=2
numid=13,iface=MIXER,name='Loopback Mixing'
numid=38,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=34,iface=MIXER,name='IEC958 Playback Con Mask'
numid=35,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=36,iface=MIXER,name='IEC958 Playback Default'
numid=37,iface=MIXER,name='IEC958 Playback Switch'
numid=40,iface=MIXER,name='IEC958 Capture Default'
numid=39,iface=MIXER,name='IEC958 Capture Switch'
numid=55,iface=MIXER,name='Beep Playback Switch'
numid=54,iface=MIXER,name='Beep Playback Volume'
numid=22,iface=MIXER,name='Input Source'
numid=23,iface=MIXER,name='Input Source',index=1
numid=24,iface=MIXER,name='Input Source',index=2
numid=31,iface=MIXER,name='Rear Mic Boost Volume'
numid=15,iface=MIXER,name='Rear Mic Playback Switch'
numid=14,iface=MIXER,name='Rear Mic Playback Volume'
numid=10,iface=MIXER,name='Side Playback Switch'
numid=9,iface=MIXER,name='Side Playback Volume'
numid=57,iface=PCM,name='Capture Channel Map'
numid=56,iface=PCM,name='Playback Channel Map'
numid=59,iface=PCM,name='Capture Channel Map',device=1
numid=58,iface=PCM,name='Playback Channel Map',device=1
numid=60,iface=PCM,name='Capture Channel Map',device=2
numid=61,iface=PCM,name='Capture Channel Map',index=1,device=2
amixer cset numid=42 1 numid=42,iface=MIXER,name='Master Playback Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on
Lakka:~ # amixer cset numid=52 1 amixer: Control default element write error: Operation not permitted
Any numid from the card is not permitted, what the?
ideas? https://forums.opensuse.org/showthread.php/386773-solution-creative-audigy-1-2-11-0-kde-gnome-alsa
https://github.com/w41l/wlsbuild/blob/master/openrc/init.d/alsa turn off digital switches set "SB Live Analog/Digital Output Jack" off set "Audigy Analog/Digital Output Jack" off no success
How do I default the audio and then put the commands as above?
or set ouput of this card device to JACK 1 ? instead of Digital?
_"Re: Soundblaster CA0106 no sound Post by the_josh » Tue Dec 14, 2010 2:53 pm
HI seeley!
Thanks a lot! My problem now got a solution! In the gnome-alsa-mixer gui, thereare below the mixer-bar 4 fields, IEC958 Analog Source Digital Source Shared Mic/line In
The first was activated. After I deactivated it, I got sound."_
Halleluya, it is fixed!! Got analog sound on the Soundblaster Audigy Card!
One of the following commands likely did the job: amixer -c1 set Master 100% unmute amixer -c1 cset name='IEC958 Playback Switch' off amixer -c1 set IEC958 off
-> amixer -c1 set IEC958 off this one <- now I just need this as automatic code on starttup
How-to autostart.sh: nano .config/autostart.sh
(sleep 10s; amixer -c1 set IEC958 off ) &
CRTL + X -> Y
When I select the sound card CA0106, no audio is given. Latest Lakka build, PC 32bit, gigabyte motherboard. Logs below.
Found 3 older sound issues but with no success in relation to this one: hdmi_ignore_edid_audio=1 echo "options snd_hda_intel index=-2" > /storage/.config/modprobe.d/snd_intel_hda.conf disabling "Azalia" codec in BIOS (onboard sound) doesn't work
Example Audio device "surround21:CARD=CA0106,DEV=0" no sound output.
Note, when I use audio device = "sysdefault:CARD=Intel" it provides me audio via the motherboard. The card "CA0106" however seems properly loaded?
Log lsmod:
Log aplay -L:
lspci -v | grep -B1 -A12 -i audio
for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat
$i/id); done;
http://www.alsa-project.org/main/index.php/Matrix:Module-ca0106
Ps. May just be incompatiliby between Gigabyte GA-P35C-DS3R and sb0570?