Tim_Taylor - you're kind of dragging the thread off-topic by comparing DACs. On the Amlogic boards, most users are passing through digital data on the audio side and letting their AV amps do the conversion with their on-board DACs. If you need to send audio to a conventional analogue amplifier, then the hifiberry would have a role.
Posts by fat-tony
-
-
My setup:
4k Video = Amlogic box running Libreelec
Highres Audio = Raspberry PI + hifiberry running LibreelecAudio hardware of Amlogic isn´t HiFi
I don't use Amlogic for analogue output. The DAC in my amp takes care of that! You're presumably running analogue stereo via RCA jacks into an audio amp? I have a requirement for multichannel audio, so I need HDMI for that. S/PDIF will only handle two channel PCM.
-
Amlogix box and hires audio ?
Don´t belive it´s working fine.Did You try hifiberry ?
It's working with 6 channel PCM audio at 192kHz. Not perfect as there are still occasional "ticks" happening on the rear channels sometimes. I'm sure stereo will be sorted out with a bit of audio driver tweaking.
Hifiberry? Isn't that a Raspberry Pi build? Won't give me 4k video in the same package. I have two RPi's and they are used for 24x7 duties elsewhere on my LAN. The advantage with the LibreELEC build from kszaq for the Amlogic is that it is pretty much plug'n'play.
-
ippon - I answered your post in the main 509/509X thread. I'm not sure why you have the issue in Kodi 17 and not in Kodi 16. Either way, you are using the S/PDIF interface whereas I am using HDMI, so results will be somewhat different. S/PDIF carries only two channels so is limited to PCM stereo or compressed Dolby/DTS multichannel. That said, it should accept all bitrates up to 192kHz and there shouldn't be any re-sampling going on. You mentioned DLNA in your posts also. That could be confusing the issue also. Have you tried playing the files directly from the box (on a USB stick or SD card)? My situation is that I play FLAC compressed files from a network server over SMB or NFS. No DLNA used.
-
Hi fat-tony,
your audio issue seems to be very close to the issue then I have. All 44.1k two channel audio is upsampled to 48k and, if I try to force Kodi to use 88.1k is uses 96k (see my post here thread-1492.html?highlight=44.1). It was solved in one older version (7.0.2.009), but however the fix hat been reverted in all later versions.
You may can try the version 7.0.2.009 and see if it works better for you.
I don't think my issue is the same. My 44.1kHz / 48kHz / 88.2kHz / 96kHz / audio is all played back at the correct sampling rate according to my amplifier display. I only have issues with 176.4 / 192kHz stereo output. When I was using Kodi on android Marshmallow (the Chinese box default), everything was being re-sampled to 48kHz, but once I installed LibreELEC most of my audio issues went away. I think your problems may be with a setting error somewhere in Kodi. I will have a read of your issue and see if I can see anything.
[hr] -
I'm sorry but I don't know how kernel audio driver works and I tinker only with the easiest part. I cannot help with resolving your issues.What I can tell is Amlogic audio driver is very, very messy and works only in some configurations. It needs fixing or a complete rewrite.
There's still some hope that Kwiboo will find some time to work on driver or someone else with knowledge picks this up...
I did some more testing with downloaded clips. 5.1 audio plays back fine at 192kHz. It's just the stereo audio that won't so I think it's selecting the wrong playback format. Works if I use "fixed" sample rate of 192kHz.
kszaq - what did you change to enable 192kHz playback on S905X?
-
Thanks kszaq - I did say it was understandable that I got reprimanded, but you get nowhere if you don't ask
It's a weirdie though as regards the audio driver all right. It just doesn't seem to work with the Kodi code when the audio stream is identified as two channels above 96kHz but seems ok when it's six or more channels. I'll download some test files and do some more digging!
-
Some versions ago I introduces changes that might have enabled 192kHz PCM on S905X.
I pulled the old version "C" with non-working multichannel audio, new one is at usual place.
kszaq - 192kHz Multichannel PCM now seems to be working on my S905X, thanks! I don't actually have any of my multichannel audio files encoded at above 96kHz, but several of my stereo (2.0) audio files are at 192kHz (or 176kHz), so if I "force" the sampling rate in the Kodi menu to be 192kHz my stereo 192kHz files will play back but my amplifier reports 5.1 audio with the centre and back channels silent. When I have "optimum" or "best match" set in the Kodi menu I don't hear any playback on these files.
However, similar to my S905 I don't have any automatic playback of stereo above 96kHz - only 5.0 or 5.1 audio. Also, there is no option to "force" 176kHz sampling rate which would be used for high bit rate SACD audio (again, mostly stereo).
I tried to raise the issue with the devs on GitHub, but I got my wrist slapped for raising user issues! I suppose that was understandable, but there is little understanding generally of high bitrate audio. Most people are interested in 4k video and the various Dolby/DTS high bit rate audio rather than lossless PCM. Any devs on LibreELEC forums I could engage with? I think this is just a setting issue within the builds for Amlogic as the actual hardware seems to be capable. I have no such issues with LibreELEC on my ION2 generic board but that box is huge in comparison to these little wonders!
-
I've read your post and I'm sorry but I cannot comment on multichannel or high-res audio for two reasons: I don't know know how the driver works and I cannot reproduce the issue due to no equipment. There's a hope that at least some of the issues will be solved with patches from LE developers.By the way: I read ALL the posts on Amlogic subforum here but I reply only when I have something to say.
Thanks kszaq - I bought the S905 on the basis of previous posts which said it supported PCM audio in excess of 96kHz which seems to be the limit on the S905X. It's odd that I can configure Kodi to send 8 channels of audio at 192kHz ok, but the PAplayer (and videoplayer) both seem to fail at setting 2 channel audio at 192kHz. I assumed it was an issue with ALSA, but it may well be a problem with the driver as you say. Is there a forum or link you could recommend where I could follow this up?
I dealt directly with some of the developers on the Kodi forum and supplied sample files several years ago when they were developing the audio engine for linux. My ION2 board player works perfectly at all audio resolutions with LibreELEC, but it doesn't have any 4k video capability which is why I went down the AMlogic route. So near and yet so far! -
kszaq - I left a post for you (#1526). You may have missed it with all the posts today. I think you are the one best placed to answer my query.
-
Sorry if I submit the question again: what does tihs command do? Does it fix the frequency to 50Hz forever or I can still change it by kodi settings menu?
Thank you for replyThis just sets the initial frame rate to 50Hz. Kodi can override this when playing back videos with different frame rates providing you have set the option.
If you want the boot up frame rate to go back to 60Hz just run the fw_setenv commands with 60 instead of 50. -
Dose anyone else have problems with multi channel PCM???Disabling passthrough or playing multi channel AAC/FLAC i get distortion and/or random noise. Especially with 7.1.
Skipping back/forth sometimes fixes the problem, but it will also cause the problem.-2re
I've had no issues with multi-channel PCM FLAC files (providing the sample rate is not > 96kHz) apart from some minor occasional low volume clicks in the rear speakers when playing 3.0 or 5.0 files in some of the older builds. I don't think I've had any clicks in the past few builds at all. I don't have any AAC files.
-
kszaq - after my problem with my S905x box not supporting audio rates higher than 96kHz, I have sourced a cheap Tronsmart S95 Pro. This is an S905 box with 1GB RAM, 8GB flash and 1GB ethernet. I've used the appropriate device tree gxbb_p200_1G_1Gbit.dtb and everything is working fine from SD card - wireless, BT, ethernet, remote etc.
However, I have a continuing issue with high-def sound which is in excess of 96kHz sampling rate. I have several stereo flac files ripped at 192kHz from my DVD-Audio disks which are detected by Kodi as 192kHz 2.0 and it seems to initialise the sink correctly but no sound is output to my AV amp. With the s905X box it was downsampled to 96kHz but with this box - no output. I can force the sample rate to 192kHz in the Kodi System/Audio menu and then the sound is output correctly on the L & R channels at 192kHz but the sink is initialised as 8 channels depending on the speaker configuration (7.1). I'm not sure if it's a bug in Kodi or something I can tweak in the settings. Ideally I would set "best match" in the Kodi settings and then let Kodi output to the AV amp at the relevant sample rate and number of channels contained in the source file. I noticed that in the "Fixed" sampling rate settings in Kodi I can use 44.1, 88.2, 96 and 192kHz but not 176.4kHz. Is this an omission as I have several high-bitrate SACD files at 176.4kHz.
snip of the Kodi log showing the setting of fixed bit rate of 192kHz which allows playback of stereo through my AV amp:
Code
Display More10:38:56.348 T:4096639904 INFO: CActiveAE::ApplySettings - Forcing samplerate to 192000 10:38:56.348 T:4118179776 INFO: Previous line repeats 1 times. 10:38:56.348 T:4118179776 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0 10:38:56.547 T:4096639904 INFO: CActiveAE::ApplySettings - Forcing samplerate to 192000 10:38:56.548 T:4086297504 INFO: CActiveAESink::OpenSink - initialize sink 10:38:56.549 T:4086297504 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=AMLM8AUDIO,DEV=0 10:38:56.550 T:4086297504 INFO: CAESinkALSA::Initialize - Attempting to open device "@:CARD=AMLM8AUDIO,DEV=0" 10:38:56.564 T:4086297504 INFO: CAESinkALSA::Initialize - Opened device "surround51:CARD=AMLM8AUDIO,DEV=0" 10:38:56.566 T:4086297504 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 10:38:56.566 T:4086297504 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE 10:38:56.566 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2048, bufferSize 16384 10:38:56.592 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 16384 10:38:56.593 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 86 ms 10:38:56.593 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 6 Output Channel Count: 8 10:38:56.593 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR,FC,LFE,SL,SR 10:38:56.593 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR,SL,SR,FC,LFE,BL,BR (ALSA: none) 10:38:56.593 T:4086297504 DEBUG: CActiveAESink::OpenSink - ALSA Initialized: 10:38:56.593 T:4086297504 DEBUG: Output Device : AML-M8AUDIO 10:38:56.593 T:4086297504 DEBUG: Sample Rate : 192000 10:38:56.594 T:4086297504 DEBUG: Sample Format : AE_FMT_S32NE 10:38:56.594 T:4086297504 DEBUG: Channel Count : 8 10:38:56.594 T:4086297504 DEBUG: Channel Layout: FL,FR,SL,SR,FC,LFE,BL,BR 10:38:56.594 T:4086297504 DEBUG: Frames : 2048 10:38:56.594 T:4086297504 DEBUG: Frame Size : 32 10:38:56.622 T:4096639904 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted 10:38:58.647 T:4118179776 DEBUG: Previous line repeats 1 times. 10:38:58.647 T:4118179776 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0 10:38:58.864 T:4118179776 DEBUG: OnKey: return (0xf00d) pressed, action is Select
snip of the log showing automatic setting of sample rate to two-channel 192kHz which results in silence through my AV amp:
Code
Display More:35:41.899 T:4086297504 INFO: CActiveAESink::OpenSink - initialize sink 10:35:42.086 T:4086297504 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=AMLM8AUDIO,DEV=0 10:35:42.087 T:4086297504 INFO: CAESinkALSA::Initialize - Attempting to open device "@:CARD=AMLM8AUDIO,DEV=0" 10:35:42.116 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_direct.c:939:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access 10:35:42.116 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix_open) unable to initialize slave 10:35:42.117 T:4086297504 INFO: CAESinkALSA - Unable to open device "sysdefault:CARD=AMLM8AUDIO" for playback 10:35:42.124 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_direct.c:939:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access 10:35:42.124 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix_open) unable to initialize slave 10:35:42.124 T:4086297504 INFO: CAESinkALSA - Unable to open device "default:CARD=AMLM8AUDIO" for playback 10:35:42.125 T:4086297504 INFO: CAESinkALSA::Initialize - Opened device "front:CARD=AMLM8AUDIO,DEV=0" 10:35:42.126 T:4086297504 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 10:35:42.126 T:4086297504 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE 10:35:42.126 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 8192, bufferSize 38400 10:35:42.127 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 512, bufferSize 38400 10:35:42.127 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 200 ms 10:35:42.128 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2 10:35:42.128 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR 10:35:42.128 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none) 10:35:42.128 T:4086297504 DEBUG: CActiveAESink::OpenSink - ALSA Initialized: 10:35:42.128 T:4086297504 DEBUG: Output Device : AML-M8AUDIO 10:35:42.128 T:4086297504 DEBUG: Sample Rate : 192000 10:35:42.128 T:4086297504 DEBUG: Sample Format : AE_FMT_S32NE 10:35:42.128 T:4086297504 DEBUG: Channel Count : 2 10:35:42.128 T:4086297504 DEBUG: Channel Layout: FL,FR 10:35:42.128 T:4086297504 DEBUG: Frames : 512 10:35:42.128 T:4086297504 DEBUG: Frame Size : 8 10:35:42.134 T:4096639904 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted 10:35:42.181 T:4118179776 DEBUG: Previous line repeats 1 times. 10:35:42.181 T:4118179776 INFO: PAPlayer::PrepareStream - Ready 10:35:42.181 T:4118179776 DEBUG: PlayFile: OpenFile succeed, play state 1 10:35:42.181 T:4030718880 DEBUG: Thread PAPlayer start, auto delete: false 10:35:42.182 T:4118179776 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0 10:35:42.182 T:4030718880 DEBUG: PAPlayer::Process - Playback started 10:35:42.182 T:4030718880 DEBUG: OnPlayBackStarted: play state was 1, starting 0 10:35:42.195 T:3923776416 DEBUG: CGUIInfoManager::SetCurrentSong(smb://QUIETBUNTU/FLAC/Carly Simon/No Secrets (DVDA 2.0)/3 - You're So Vain.flac) 10:35:42.212 T:3923776416 DEBUG: Loading additional tag info for file smb://QUIETBUNTU/FLAC/Carly Simon/No Secrets (DVDA 2.0)/3 - You're So Vain.flac 10:35:42.212 T:4118164384 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc 10:35:42.212 T:4118164384 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay 10:35:42.223 T:3923776416 DEBUG: CSMBFile::Open - opened smb://QUIETBUNTU/FLAC/Carly Simon/No Secrets (DVDA 2.0)/3 - You're So Vain.flac, fd=10001 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: ARTISTSORT 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: ASIN 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: DESCRIPTION 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: DVDA_TITLE 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: DVDA_TITLESET 10:35:42.237 T:3923776416 DEBUG: unrecognized XipComment name: DVDA_TRACK 10:35:42.237 T:3923776416 DEBUG: CSMBFile::Close closing fd 10001 10:36:12.238 T:3923776416 DEBUG: Thread JobWorker 3923776416 terminating (autodelete) 10:37:07.528 T:4118179776 DEBUG: Keyboard: scancode: 0xa6, sym: 0x00b2, unicode: 0x0000, modifier: 0x0 10:37:07.528 T:4118179776 DEBUG: OnKey: stop (0xf0bc) pressed, action is Stop 10:37:07.608 T:4096639904 DEBUG: CActiveAE::DiscardStream - audio stream deleted 10:37:07.609 T:4096639904 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted 10:37:07.612 T:4118179776 DEBUG: Previous line repeats 2 times. 10:37:07.612 T:4118179776 DEBUG: CSMBFile::Close closing fd 10000 10:37:07.613 T:4030718880 DEBUG: OnPlayBackStopped: play state was 2, starting 0 10:37:07.613 T:4030718880 DEBUG: Thread PAPlayer 4030718880 terminating 10:37:07.621 T:4118164384 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc 10:37:07.621 T:4118164384 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop 10:37:07.790 T:4030718880 DEBUG: Thread JobWorker start, auto delete: true 10:37:07.790 T:4030718880 DEBUG: DoWork - Saving file state for audio item smb://QUIETBUNTU/FLAC/Carly Simon/No Secrets (DVDA 2.0)/3 - You're So Vain.flac 10:37:07.790 T:4118179776 DEBUG: Keyboard: scancode: 0xa6, sym: 0x00b2, unicode: 0x0000, modifier: 0x0 10:37:08.006 T:4086297504 INFO: CActiveAESink::OpenSink - initialize sink 10:37:08.207 T:4086297504 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=AMLM8AUDIO,DEV=0 10:37:08.207 T:4086297504 INFO: CAESinkALSA::Initialize - Attempting to open device "@:CARD=AMLM8AUDIO,DEV=0" 10:37:08.215 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_direct.c:939:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access 10:37:08.216 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix_open) unable to initialize slave 10:37:08.216 T:4086297504 INFO: CAESinkALSA - Unable to open device "sysdefault:CARD=AMLM8AUDIO" for playback 10:37:08.219 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_direct.c:939:(snd1_pcm_direct_initialize_slave) slave plugin does not support mmap interleaved or mmap noninterleaved access 10:37:08.219 T:4086297504 INFO: CAESinkALSA - ALSA: /home/kszaq/ocz/le-master/build.LibreELEC-S905.arm-8.0-devel/alsa-lib-1.1.2/src/pcm/pcm_dmix.c:1053:(snd_pcm_dmix_open) unable to initialize slave 10:37:08.219 T:4086297504 INFO: CAESinkALSA - Unable to open device "default:CARD=AMLM8AUDIO" for playback 10:37:08.221 T:4086297504 INFO: CAESinkALSA::Initialize - Opened device "front:CARD=AMLM8AUDIO,DEV=0" 10:37:08.227 T:4086297504 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 10:37:08.227 T:4086297504 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE 10:37:08.227 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2205, bufferSize 8820 10:37:08.228 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192 10:37:08.228 T:4086297504 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms 10:37:08.229 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2 10:37:08.229 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR 10:37:08.229 T:4086297504 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: none) 10:37:08.229 T:4086297504 DEBUG: CActiveAESink::OpenSink - ALSA Initialized: 10:37:08.229 T:4086297504 DEBUG: Output Device : AML-M8AUDIO 10:37:08.229 T:4086297504 DEBUG: Sample Rate : 44100 10:37:08.229 T:4086297504 DEBUG: Sample Format : AE_FMT_S32NE 10:37:08.229 T:4086297504 DEBUG: Channel Count : 2
The only difference I can see is that the initialisation is "surround51:CARD=AMLM8AUDIO,DEV=0" in the working example and "front:CARD=AMLM8AUDIO,DEV=0" in the example where no audio is output.
Full log here - log-2017-03-08-11.16.43.zip
-
You just ruined my day!
Not me my friend! I think you are quoting GeToChKn
-
Hi,
is there someone that can tell me how to change the output frequencies (even when it's booting) from 60hz to 50hz?
The kodi settings seems to be ignored, I don't know why.
If I play a video it goes from 60Hz to the correct refresh rate and could be ok, but if I use the pvr Tvheadend every time I change the channel it switch to 60hz immediatly and after 3-4 seconds switch to 50hz that is the correct one (I'm in europe).
Thank you.Franco - I had a similar query regarding default frame rate. As it should be 50Hz for European users (who use TV), rather than 60Hz. See post #509 for details.
The "fix" is to modify the u-boot settings by telnet/ssh into the box and issuing the following:
-
kszaq - I'm presuming that the DAC is somehow involved in the transfer of the digital data from the input file (stereo FLAC at 192kHz) to the HDMI interface (PCM) even though there is no actual conversion to analogue? I would have thought the DAC was not involved as the data is always in the digital domain. Having looked at the specs, there would appear to be no actual DAC in the s905.
[hr]Says who, no s905x chipset has 1GB ethernet in it AFAIK. Only 100mbs/. It's the specs of the chip.
You're right - mixing up my boxes there. 100Mb/s (It's 1Gb, not 1GB by the way. You're mixing up your SI units!)
-
S905X is (currently) limited to 96kHz due to on-chip DAC, S905 can output up to 192kHz.OK... So I'm not losing my marbles
I knew I had seen something, somewhere about this.
It's a really weird downgrade (sonically) for the s905x. I wonder why that is the case? I have more need of excellent sound capability than HDR video at present. Maybe I'll look around for a now really cheap s905!!!
GeToChKn - my s905x does 1Gb ethernet, so no limitation there. -
I'm struggling with this issue also - I set HDMI as I have 24bit multichannel FLAC files (up to 96kHz) and stereo FLAC files (up to 176kHz and 192kHz) but I can't seem to get more than 96kHz out. GeToChKn seems to get 192kHz working on an s905, though.
Clip from my system log which seems to indicate that my system tops out at 96kHz:
Code
Display More[ 15.944427@2] aml_spdif_dai: iec958 mode PCM32 [ 15.944430@2] aml_spdif_dai: sample_rate==AUDIO_CLK_FREQ_96 [ 15.944437@2] aml_audio_hw: IEC958 PCM32 [ 15.944442@2] hdmitx: audio: aout notify rate 96000 [ 15.944446@2] hdmitx: audio: aout notify size 32 [ 15.944450@2] hdmtix: set audio [ 15.944462@2] hdmitx tx_aud_src = 0 [ 15.944488@2] hdmitx: fs = 5, cd = 4, tmds_clk = 148500 [ 15.944492@2] hdmitx aud_n_para = 12288 [ 15.944510@2] hdmitx set channel status [ 15.944568@2] hdmitx: audio: Audio Type: PCM [ 15.944572@2] hdmitx: audio: set audio param [ 15.944582@2] aml_snd_m8_card aml_m8_snd.46: i2s/958 same source [ 15.944835@2] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=96000, same source mode(1) [ 15.944842@2] aml_spdif_dai: share the same clock [ 15.944847@2] aml_spdif_dai: iec958 mode PCM32 [ 15.944850@2] aml_spdif_dai: sample_rate==AUDIO_CLK_FREQ_96 [ 15.944856@2] aml_audio_hw: IEC958 PCM32 [ 15.944861@2] hdmitx: audio: aout notify rate 96000 [ 15.944865@2] hdmitx: audio: aout notify size 32 [ 15.944868@2] hdmitx: audio: no update [ 15.944874@2] aml_snd_m8_card aml_m8_snd.46: i2s/958 same source [ 15.946622@2] aml_snd_m8_card aml_m8_snd.46: I2S playback enable [ 15.946637@2] aml_snd_m8_card aml_m8_snd.46: IEC958 playback enable
Clip from my Kodi log which indicates HDM capability at 192kHz:
Code
Display More19:11:11.700 T:4114620416 NOTICE: Device 1 19:11:11.700 T:4114620416 NOTICE: m_deviceName : @:CARD=AMLM8AUDIO,DEV=0 19:11:11.700 T:4114620416 NOTICE: m_displayName : AML-M8AUDIO 19:11:11.700 T:4114620416 NOTICE: m_displayNameExtra: PCM 19:11:11.700 T:4114620416 NOTICE: m_deviceType : AE_DEVTYPE_PCM 19:11:11.700 T:4114620416 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR 19:11:11.700 T:4114620416 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000 19:11:11.700 T:4114620416 NOTICE: m_dataFormats : AE_FMT_S32NE 19:11:11.700 T:4114620416 NOTICE: m_streamTypes : No passthrough capabilities 19:11:11.700 T:4114620416 NOTICE: Device 2 19:11:11.700 T:4114620416 NOTICE: m_deviceName : hdmi:CARD=AMLM8AUDIO,DEV=0 19:11:11.700 T:4114620416 NOTICE: m_displayName : AML-M8AUDIO 19:11:11.700 T:4114620416 NOTICE: m_displayNameExtra: HDMI 19:11:11.700 T:4114620416 NOTICE: m_deviceType : AE_DEVTYPE_HDMI 19:11:11.700 T:4114620416 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR 19:11:11.701 T:4114620416 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000 19:11:11.701 T:4114620416 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 19:11:11.701 T:4114620416 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD 19:11:11.701 T:4114620416 NOTICE: Enumerated PULSE devices: 19:11:11.701 T:4114620416 NOTICE: Device 1 19:11:11.701 T:4114620416 NOTICE: m_deviceName : Default 19:11:11.701 T:4114620416 NOTICE: m_displayName : Default 19:11:11.701 T:4114620416 NOTICE: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 19:11:11.701 T:4114620416 NOTICE: m_deviceType : AE_DEVTYPE_PCM 19:11:11.701 T:4114620416 NOTICE: m_channels : FL,FR 19:11:11.701 T:4114620416 NOTICE: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
I seem to be getting 96kHz max out of HDMI even when I specify a fixed 192kHz output in the audio settings menu. As I posted earlier in the thread I thought I had seen a limit mentioned in some other thread but I can't find it. Maybe kszaq will clear it up?