Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to hear audio on tv #478

Open
JreeseProgram opened this issue Nov 20, 2024 · 8 comments
Open

Unable to hear audio on tv #478

JreeseProgram opened this issue Nov 20, 2024 · 8 comments
Labels
audio Issues related to audio playback bug Something isn't working

Comments

@JreeseProgram
Copy link

JreeseProgram commented Nov 20, 2024

Moonlight Version

1.3.25

Device Type

webOS TV

Device Model

LG OLED65B7A-U

Device OS

WebOS 3.9.0

Host OS

Windows

Host Software

Sunshine

Host Setup

Ryzen 7 7800X3D, RTX4090, windows 11, 32GB DDR5 RAM

Bug Description

so I am trying to use the app, video streaming is flawless, but i get issues regarding audio. For a sanity check itried my steam deck connecting to my computer but it gets audio fine. I've tried changing to all audio options on the tv version of moonlight but i see this in my webos dev manager for debug info:

logs
[22:32:27.991][INFO] kad-vp   NOT (01372:01818) HAL_VSC_Connect      408 ] wId[0] outputmode[0]
[22:32:27.991][INFO] de       INF (01372:01818) DE_REG_M17_SetWinPor:1659 ] Src map (NONE(0)/VGA(1)/YPBPR(2)/ATV(3)/CVD(4)/SCART(5)/HDMI(6)/MVI(7)/CPU(8))
[22:32:27.991][INFO] de       INF (01372:01818) DE_REG_M17_SetWinPor:1660 ]   => win[0] src[7] port[1]
[22:32:27.991][DEBUG] LOGM_Open.667 device opened (1810:0)
[22:32:27.991][INFO] kadp     NOT (04707:04740) KADP_InitSystem      258 ] KAdaptor Init [1] PS moonlight, LK 0x1284 (Kernel Adaptation Layer for LG115x)
[22:32:27.991][INFO] pm       ERR (04707:04740) m17_pm_ioctl_main    268 ] PM_CHECK_INIT [1]
[22:32:27.991][INFO] kadp     NOT (04707:04740) KADP_InitSystem      275 ] KAdaptor Init Done. status=0x00000001,0x00000000
[22:32:27.991][INFO] hal-audd INF (04707:04740) HAL_AUDIO_DIRECT_Ope:1188 ] HAL_AUDIO_DIRECT_Open.1188 audioIndex = 9(Version: 2018.03.20)
[22:32:27.991][INFO] hal-audd INF (04707:04740) HAL_AUDIO_DIRECT_Set:1759 ] HAL_AUDIO_DIRECT_SetNoDelayParam.1759 audioIndex = 9
[22:32:27.991][INFO] hal-audd INF (04707:04740) HAL_AUDIO_DIRECT_Sta:1360 ] HAL_AUDIO_DIRECT_Start.1360 audioIndex = 9, freq = 48000, ch = 2, bps = 16
[22:32:27.991][INFO] dev:vdec, message  [ 1873.693575]        vdec NOTI                    init_codec 3288:vdec:50c87400, h264_hp,lowdelay
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_SetAdaptiveS:2094 ] [HAL_VSC][2094]  Adaptive Stream control [1] Source info[ 9]
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_RotateVideo :2604 ]  rotation 0/90/180/270 degree  [0]  [0/1/2/3] 
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_SetInputRegi:3147 ] [HAL_VSC][3147] Set wId[0] Adaptive uhd-domain in_xywh(0,0,3840,2160)***
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_SetOutputReg 979 ] [HAL_VSC][979]  Set wId[0] Window out_xywh(0,0,3840,2160)***
[22:32:27.991][INFO] pe       NOT (01372:01904) PE_HDR_HW_M17_SetMod:4017 ] co,ph,sh,hc,cm,of,dt,if:0,0,0,0,1,0,0,0
[22:32:27.991][WARN] vmap address is not-page-aligned bfc93050
[22:32:27.991][WARN] vunmap address is not-page-aligned vaddr:c54b4050
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_SetInputRegi:3147 ] [HAL_VSC][3147] Set wId[0] Adaptive uhd-domain in_xywh(0,0,3840,2160)***
[22:32:27.991][INFO] kad-vp   NOT (01372:01904) HAL_VSC_SetOutputReg 979 ] [HAL_VSC][979]  Set wId[0] Window out_xywh(0,0,3840,2160)***
[22:32:27.991][WARN] dil-vsc    [S]Mute Off
[22:32:27.991][INFO] kad-vp   NOT (01372:01672) HAL_VSC_SetWinBlank  840 ] [HAL_VSC][840] wId[0] isOn 0 color 0.
[22:32:27.991][INFO] kad-vp   WAR (01372:01742) KADP_VP_Thread      :1128 ] update input window ...
[22:32:27.991][INFO] kad-vp   WAR (01372:01742) KADP_VP_Thread      :1121 ] update input window for adapdive after 2 frames. src size[0/0] in win[3840/2160]
[22:32:27.991][INFO] dev:vdec, message  [ 1873.865373]        vdec NOTI               display_picture 1575:vdec:50c87400, pts fffffffe, stc 0a0d387f(-1873762ms), ts 1972378904, 0(0), res 3840x2160, fr 60/1
[22:32:27.991][INFO] kad-vp   NOT (01372:01742) _KADP_VP_PeriodicTas:2701 ] ### Source size changed...flag[1]  3840/2160
[22:32:27.991][INFO] de       NOT (01372:01742) DE_IO_SetFrRate      827 ] Frame rate for 120Hz model : rate = 120 Hz
[22:32:27.991][INFO] kad-vp   WAR (01372:01742) KADP_VP_Thread      :1112 ] Source size changed win[0], 0/0 -> 3840/2160
[22:32:27.991][INFO] dev:vdec, message  [ 1873.904829]        vdec NOTI          unref_frame_fromsync 941 :vdec:50c87400, freerun, match0, freerun1, drop0. uid 00000000, pts 0a0d38ac, res 3840x2160, fr60/1
[22:32:27.991][INFO] kad-vp   NOT (01372:01742) _KADP_VP_PeriodicTas:2658 ] condition of ARC setting -> update input window. count[0]
[22:32:27.991][INFO] de       NOT (00000:00000) DE_IPC_M17_ClearStat 717 ] @@@ scaler_local_mute____OFF @@@
[22:32:27.991][INFO] hal-audi DEB (01372:01673) HAL_AUDIO_SetMixerIn:1190 ] HAL_AUDIO_SetMixerInputMute : Started!!!(mixer = 4, bOnOff = 1)
[22:32:27.991][INFO] hal-audi DEB (01372:01818) HAL_AUDIO_SE_Connect 997 ] HAL_AUDIO_SE_Connect :: Started(input = 24)!!!
[22:32:27.991][INFO] hal-audi DEB (01372:01818) HAL_AUDIO_SNDOUT_Con:1184 ] HAL_AUDIO_SNDOUT_Connect : Started(current = 13, input = 12)!!!
[22:32:27.991][INFO] audio    INF (00004:00004) _AUDIO_RenPresentSta 255 ] Ren Info(20) : pts(0 ms)
[22:32:27.991][INFO] hal-audi DEB (01372:01818) HAL_AUDIO_SNDOUT_Con:1184 ] HAL_AUDIO_SNDOUT_Connect : Started(current = 14, input = 24)!!!
[22:32:27.991][INFO] hal-audi DEB (01372:01818) HAL_AUDIO_SNDOUT_Con:1184 ] HAL_AUDIO_SNDOUT_Connect : Started(current = 28, input = 24)!!!
[22:32:27.991][INFO] hal-audi DEB (01372:01664) HAL_AUDIO_SetMixerIn:1190 ] HAL_AUDIO_SetMixerInputMute : Started!!!(mixer = 4, bOnOff = 0)
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][NOTICE] CPU3 shutdown
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error
[22:32:27.991][INFO] hal-audd ERR (04707:04755) HAL_AUDIO_DIRECT_Wri:1437 ] HAL_AUDIO_DIRECT_Write.1437 Write Error
[22:32:28.024][INFO] hal-audd ERR (04707:04755) _AUDIO_DIRECT_Write  703 ] _AUDIO_DIRECT_Write.703: Feed Error

Reproduction Steps

I go through typical pairing process then once i connect video appears normal then nothing happens in terms of audio, ive changed to all available devices, i have also used steam stream audio

Expected Behavior

I should hear audio

@JreeseProgram JreeseProgram added the bug Something isn't working label Nov 20, 2024
@mariotaku
Copy link
Owner

Hello, some issues happened on the TV side. What's your audio setup, is it just TV speakers only?

@JreeseProgram
Copy link
Author

JreeseProgram commented Nov 21, 2024

as of this moment i am only using tv speakers, and before rooting, webosbrew, and moonlight i reset it to factory settings

@mariotaku
Copy link
Owner

Maybe you could give other audio backends a shot, like ALSA or PulseAudio.

@JreeseProgram
Copy link
Author

so is that a prerequisite for moonlight to work or something else then?

@mariotaku
Copy link
Owner

@JreeseProgram It's when the default audio settings don't work properly, you can try those backups as they should work.

@JreeseProgram
Copy link
Author

one other thing is even when i change the settings, it says the video decoder is ndl-webos4, is that a problem as my tv is webos 3.9.0? also in my settings i have it set to 60FPS and in the about section on the tv, even after app restarts, still always says 120FPS

@mariotaku
Copy link
Owner

ndl-webos4 is not a good name, as it should work on webOS 3.9 too.

As for the 120FPS in the about screen, it's the maximum refresh rate of the TVs panel.

@mariotaku mariotaku added the audio Issues related to audio playback label Dec 26, 2024
@mariotaku
Copy link
Owner

Looks like this TV has the same SoC as #456.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio Issues related to audio playback bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants