Kodi Audio via Displayport & screen selection - 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: Kodi Audio via Displayport & screen selection (/showthread.php?tid=374408) |
Kodi Audio via Displayport & screen selection - schumischumi - 2023-09-12 Hi, I have rebuilt my homeserver (hp deskpro 600 g3 with Intel HD530, ubuntu 23.04 server) and installed kodi as mediacenter besides some dockercontainers. But now there are two problems: 1. no sound via displayport I connected the server with a DP to HDMI cable to the LG TV, but unfortunately the DP port is not selectable as audio port. pulse audio says: Code:
I would have expected that there is a corresponding DP entry under ports. Is there anything else I need to install / configure or is it simply not possible? If it does not work, can you recommend a cable that passes the audio signal either via usb or jack to HDMI (so DP + audio to HDMI)? Audio output via jack works. Problem 2: If the TV is not on and switched to the appropriate input channel when the server starts, the server will show no picture until the Kodi service is restarted. Then everything is no problem. kodi service: Code:
is there an option here to force the screen detection? it also affects not only kodi but also simply the output of the command line. Thanks in advance! RE: Kodi Audio via Displayport & screen selection - wastis - 2023-09-13 You are missing a sound-card, "HDA Intel HDMI" with driver "snd_hda_intel". The "HDA Intel PCH" is the analog sound of the motherboard, nothing to do with HDMI sound. Maybe try to (re-)install the driver. You might also have a problem with the quality of your HDMI cable. RE: Kodi Audio via Displayport & screen selection - izprtxqkft - 2023-09-13 (2023-09-13, 15:28)wastis Wrote: Maybe try to (re-)install the driver. You might also have a problem with the quality of your HDMI cable. could also be docker isn't configured to access the device as it appears this setup is in a docker container i personally would consider this type of setup 'custom' and with that outside of normal support RE: Kodi Audio via Displayport & screen selection - schumischumi - 2023-09-13 Thanks for you help and pointing me in the right direction. the sound is working now. I stopped all containers and disabled the service to prevent it from interfering with the problem. But in the end it was some pulseaudio bullshit (god I hate pulseaudio...) This is what I did to get it working:
The problem other problem (graphics card does not scan for a display if it was not turned on when the server started) still exists. any ideas on that? RE: Kodi Audio via Displayport & screen selection - wastis - 2023-09-13 Just guessing here, however it might be better to start a proper user session for kodi using sudo in your startup script. This will also solve your dbus problem, no need to point to the dbus server manually. Code:
RE: Kodi Audio via Displayport & screen selection - schumischumi - 2023-09-13 Thanks for the input but the problem with the missing DBUS_SESSION_BUS_ADDRESS only exists if I login with ssh and switch to the user with sudo -iu kodi (kodi is also the username for this restricted user) to debug stuff. Normally the service will login the kodi-user and everything is fine. |