Linux v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi (Linux) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi (Linux) (/showthread.php?tid=356360) |
RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - Ak98 - 2020-10-13 Can somebody make a video for this pretty please? I followed everything but When I click nothing happens. Completely new to linux. Any help is appreciated Thank You RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - RB0135 - 2020-10-13 (2020-10-13, 21:11)Ak98 Wrote: Can somebody make a video for this pretty please? I followed everything but When I click nothing happens.Ak98 - When you say "when I click nothing happens" what are you referring to? Im thinking you mean when you turn on the pass-thru setting. You have to have the Kodi settings in Expert mode to see the rest of the options. RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - Ak98 - 2020-10-14 I made the kodi.sh file and .desktop file. I don’t know how to proceed from there. Using uhuntu 20.04 and kodi 18. RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2020-10-14 (2020-10-14, 03:43)Ak98 Wrote: I made the kodi.sh file and .desktop file. Hi Unfortunately at the moment i can not edit my own posts on the forum as my reputation is not high enough yet, otherwise i would have added a video guide, i will give you possibly a easier way to trigger kodi 18 and above to use the bash script on ubuntu. Step 1 = create a custom shortcut on ubuntu using "shortcuts" via the ubuntu settings Step 2 = create a custom shortcut key for kodi by clicking the + sign Step 3 = add this line in the command/trigger entry /home/*USER*/*FOLDER PATH*/kodi.sh Quote:*USER* is your user name and *FOLDER PATH* is the location of the folder you saved your bash script and desktop file Example how to create a custom shortcut Now when you press your chosen shortcut key it will directly launch kodi with the parameters you set in your bash script and allow you to set Dolby Atmos DTS - X and any other object hi-definition audio on Linux. Hope this helps RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2020-10-14 (2020-09-24, 07:07)demux Wrote:(2020-09-22, 02:32)streamlove55 Wrote: Your welcome Was a really time consuming process finding the solution as everything had been changed in ubuntu 20.04 so i decided to script something to just use ALSA instead to save people time and headache , and the script also closes off any calls to pulse-audio much better this way and it also solved the crackling and static noise when playing Atmos or DTS-X RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2020-10-14 (2020-10-08, 11:53)RB0135 Wrote: @streamlove55... Wow, just what the doctor ordered. I have run Windows for ages with Kodi, but switched to Linux today just because (I switched a few years ago, then went back. In IT for a long time, so like switching when I get bored... keeps the brain working). If its just solely going to be used as a media centre then there should be no issue removing pulse-audio and using ALSA but if your going to do that then I'd suggest looking at installing Libreelec as it uses ALSA by default and also has other benefits regarding configuration not found in the Linux desktop counterparts and its dedicated solely for kodi, so less system overhead. Hope this helps RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - Ak98 - 2020-10-14 Thank you so much for taking your time and helping me🥰. It really meant a lot. Have a great day❤️ RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - RB0135 - 2020-10-14 (2020-10-14, 05:29)streamlove55 Wrote:(2020-10-08, 11:53)RB0135 Wrote: @streamlove55... Wow, just what the doctor ordered. I have run Windows for ages with Kodi, but switched to Linux today just because (I switched a few years ago, then went back. In IT for a long time, so like switching when I get bored... keeps the brain working). Thanks for your reply... The ALSA steps you created here is working perfectly, so I am fine with the "Custom" script to launch Kodi. I found other issues with Kodi on Linux such as Kodi starting faster than the PVR Server on system start, as well as the ir-keytables not keeping its config, so I have been able to add several "startup" options in the script. I wanted to stay away from Libreelec and others (more hobby fun trying to sort issues out ) Rob RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - mtbdrew - 2021-01-02 Seems like the process mentioned above is expecting Kodi desktop installed. I get the following error message: ./pulse_off.desktop ./pulse_off.desktop: line 1: [Desktop: command not found ./pulse_off.desktop: line 5: Kodi: command not found I f I try running just the first script my itself: ./kodi.sh Error: /usr/lib/x86_64-linux-gnu/kodi/kodi-gbm not found BTW there is an error in your desktop coding, you need an = after the Exec. RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - mtbdrew - 2021-01-02 (2020-10-14, 05:07)streamlove55 Wrote:(2020-10-14, 03:43)Ak98 Wrote: I made the kodi.sh file and .desktop file. followed these steps but nothing happens. Meaning Kodi never launches. Also running Ubuntu 20.04 RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2021-01-03 (2021-01-02, 01:24)mtbdrew Wrote: followed these steps but nothing happens. Meaning Kodi never launches. Also running Ubuntu 20.04 It sounds like you may have inputted something wrong maybe a file path or something etc, but its working on my end and I'm using ubuntu on one of my machines, make sure your file paths are correct and make sure your Kodi desktop file points to the launch script, hopefully its just a minor correction that is needed.
RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - ozooha - 2021-01-07 Here is better way to do this and it is to take that script:
kodi is /usr/bin/kodi You are good to go then. OZooHA RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2021-01-10 (2021-01-07, 04:07)ozooha Wrote: Here is better way to do this and it is to take that script: Hi appreciate the feedback, regarding your suggestion using "pasuspender" as far as I'm aware this no longer works correctly for the ubuntu stack 20.04 and above also it introduces static noise when playing back Atmos or any HD audio format, further if you now try to pause pulse audio it will still have audio hooks in other applications which results in other issues. Pulse-audio for ubuntu 20.04 and above needs to be fully suspended for Kodi to playback object and HD audio smoothly my script will achieve this, how users choose to implement this is entirely up-to the user but the script posted on this how-to achieves this flawlessly (for now) unless ubuntu decides to change anything again in a future package stack kind regards RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - Zuikkis - 2021-01-13 Just noticed this topic! I struggled with the same thing, and came up with my own solution. Instead of completely suspending pulseaudio, I just select a "dummy" profile for it: Code: pactl set-card-profile alsa_card.pci-0000_0a_00.1 off This alone didn't work. When changing video refresh rate, I think HDMI output vanishes for a split second, and then reappears. Pulseaudio notices this and autoselects this "new" device.. /etc/pulse/default.pa has this setting which needs to be commented out: load-module module-switch-on-port-available Now, I think it actually might have worked with "pasuspender" with the config file change. Didn't bother to check now that it is working. RE: v2.How to Setup Dolby Atmos, DTS-X, TrueHD, DTS-HD MA, Passthrough On Kodi 18 & newer - streamlove55 - 2021-01-17 (2021-01-13, 12:10)Zuikkis Wrote: Instead of completely suspending pulseaudio, I just select a "dummy" profile for it: Appreciate the feedback, however i think this is taking this how-to post off track and going down another road which will introduce its own problems and also confuse users. The script on this how-to works flawlessly for now (or until ubuntu change their package stack) the script is very easy to implement if the instructions are followed and best of all it works over multiple distributions and frameworks without making any permanent changes to a users system. My humble advice would be to completely suspend pulse-audio on any ubuntu 20.04 and newer distribution package stacks as it doesn't work correctly with object and high definition audio at the moment (my script will achieve this) and also i have found all my hardware (AV receiver, TV, streamers, Players etc) works smoothly with the script i created and allows kodi to pass-through the audio information without issue, and the script also solves other issues which are related to pulse-audio being active while using kodi. kind regards |