Solved No display on TV connected to HDMI after kodi starts - 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: Solved No display on TV connected to HDMI after kodi starts (/showthread.php?tid=373418) |
No display on TV connected to HDMI after kodi starts - ozyaus - 2023-06-08 Installed LibreELEC-Generic.x86_64-12.0-nightly-20230605 build that comes with Kodi build 21.0-ALPHA1 (20.90.101) on an old Gigabyte G3 laptop having 2 GPUs Intel and amd The laptop is connected to a SONY TV using its HDMI port. Startup is fine and LibreELEC splash is displayed on the TV, but goes blank when the Kodi screen appears on the laptop. How do I get this to display on TV? No success so far. Any areas I can investigate. 1. Tried switching off/on TV, disconnecting/reconnecting HDMI cable 2. sshed from another desktop to this laptop and killed the kodi process, The TV shows the LibreELEC screen momentarily again and goes blank as Kodi restarts. 3. LibreELEC:~ # find /sys -name "edid" /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-HDMI-A-1/edid /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-VGA-1/edid /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/edid 4. LibreELEC:~ # tail /sys/class/drm/*/status ==> /sys/class/drm/card0-HDMI-A-1/status <== connected ==> /sys/class/drm/card0-VGA-1/status <== disconnected ==> /sys/class/drm/card0-eDP-1/status <== connected (TV Connected to HDMI-A-1) 5. Kodi.log extract to check what displays are detected: 023-06-08 00:43:00.766 T:897 info <general>: CApplication::CreateGUI - using the gbm windowing system 2023-06-08 00:43:00.766 T:897 info <general>: Checking resolution 16 2023-06-08 00:43:00.770 T:897 info <general>: GL_VENDOR = Intel 2023-06-08 00:43:00.770 T:897 info <general>: GL_RENDERER = Mesa Intel® HD Graphics 4600 (HSW GT2) 2023-06-08 00:43:00.770 T:897 info <general>: GL_VERSION = OpenGL ES 3.2 Mesa 23.1.1 2023-06-08 00:43:00.770 T:897 info <general>: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20 2023-06-08 00:43:00.770 T:897 info <general>: GL_EXTENSIONS = GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compres 2023-06-08 00:43:00.907 T:897 info <general>: GLES: Maximum texture width: 16384 +++++++++++++++++++++++++ 2023-06-08 00:43:01.200 T:897 info <general>: GUI format 1920x1080, Display 1920x1080 @ 60.000000 Hz 2023-06-08 00:43:01.203 T:909 info <general>: CAESinkALSA - Unable to open device "default" for playback 2023-06-08 00:43:01.218 T:909 info <general>: CAESinkALSA - Unable to open device "surround21:CARD=PCH,DEV=0" for playback 2023-06-08 00:43:01.219 T:909 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2023-06-08 00:43:01.220 T:909 info <general>: Found 2 Lists of Devices 2023-06-08 00:43:01.220 T:909 info <general>: Enumerated ALSA devices: 2023-06-08 00:43:01.220 T:909 info <general>: Device 1 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceName : hdmi:CARD=HDMI,DEV=0 2023-06-08 00:43:01.220 T:909 info <general>: m_displayName : HDA Intel 2023-06-08 00:43:01.220 T:909 info <general>: m_displayNameExtra: SNY SONY TV on HDMI #0 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-06-08 00:43:01.220 T:909 info <general>: m_channels : FL, FR 2023-06-08 00:43:01.220 T:909 info <general>: m_sampleRates : 32000,44100,48000 2023-06-08 00:43:01.220 T:909 info <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 2023-06-08 00:43:01.220 T:909 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE 2023-06-08 00:43:01.220 T:909 info <general>: Device 2 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceName : hdmi:CARD=HDMI,DEV=1 2023-06-08 00:43:01.220 T:909 info <general>: m_displayName : HDA Intel 2023-06-08 00:43:01.220 T:909 info <general>: m_displayNameExtra: HDMI #1 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-06-08 00:43:01.220 T:909 info <general>: m_channels : FL, FR 2023-06-08 00:43:01.220 T:909 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000 2023-06-08 00:43:01.220 T:909 info <general>: m_dataFormats : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 2023-06-08 00:43:01.220 T:909 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE 2023-06-08 00:43:01.220 T:909 info <general>: Device 3 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceName : hdmi:CARD=HDMI,DEV=2 2023-06-08 00:43:01.220 T:909 info <general>: m_displayName : HDA Intel 2023-06-08 00:43:01.220 T:909 info <general>: m_displayNameExtra: HDMI #2 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-06-08 00:43:01.220 T:909 info <general>: m_channels : FL, FR 2023-06-08 00:43:01.220 T:909 info <general>: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000 2023-06-08 00:43:01.220 T:909 info <general>: m_dataFormats : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 2023-06-08 00:43:01.220 T:909 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE 2023-06-08 00:43:01.220 T:909 info <general>: Device 4 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceName : @:CARD=PCH,DEV=0 2023-06-08 00:43:01.220 T:909 info <general>: m_displayName : HDA Intel PCH 2023-06-08 00:43:01.220 T:909 info <general>: m_displayNameExtra: ALC282 Analog 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceType : AE_DEVTYPE_PCM 2023-06-08 00:43:01.220 T:909 info <general>: m_channels : FL, FR 2023-06-08 00:43:01.220 T:909 info <general>: m_sampleRates : 48000 2023-06-08 00:43:01.220 T:909 info <general>: m_dataFormats : AE_FMT_S32NE 2023-06-08 00:43:01.220 T:909 info <general>: m_streamTypes : No passthrough capabilities 2023-06-08 00:43:01.220 T:909 info <general>: Enumerated PULSE devices: 2023-06-08 00:43:01.220 T:909 info <general>: Device 1 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceName : Default 2023-06-08 00:43:01.220 T:909 info <general>: m_displayName : Default 2023-06-08 00:43:01.220 T:909 info <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2023-06-08 00:43:01.220 T:909 info <general>: m_deviceType : AE_DEVTYPE_PCM 2023-06-08 00:43:01.220 T:909 info <general>: m_channels : FL, FR 2023-06-08 00:43:01.220 T:909 info <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2023-06-08 00:43:01.220 T:909 info <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2023-06-08 00:43:01.220 T:909 info <general>: m_streamTypes : No passthrough capabilities 2023-06-08 00:43:01.220 T:910 info <general>: CActiveAESink::OpenSink - initialize sink 2023-06-08 00:43:01.220 T:910 info <general>: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=HDMI,DEV=0" 2023-06-08 00:43:01.222 T:910 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=HDMI,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00" 2023-06-08 00:43:01.222 T:910 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 2023-06-08 00:43:01.222 T:910 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE 2023-06-08 00:43:01.231 T:897 info <general>: CLangInfo: loading resource.language.en_gb language information... 2023-06-08 00:43:01.274 T:897 info <general>: global locale set to C +++++++++++++++ 2023-06-08 00:58:22.381 T:910 info <general>: CAESinkALSA::Initialize - Opened device "hdmi:CARD=HDMI,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00" 2023-06-08 00:58:22.381 T:910 info <general>: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 2023-06-08 00:58:22.381 T:910 info <general>: CAESinkALSA::InitializeHW - Using data format AE_FMT_S32NE 2023-06-08 00:58:42.585 T:897 info <general>: VideoPlayer::OpenFile: 6. Tried putting all the displays in advancedsettings.xml and reboot - no joy. LibreELEC:~/.kodi/userdata # cat advancedsettings.xml <advancedsettings> <videoscreen> <monitor>hdmi:CARD=HDMI,DEV=0</monitor> </videoscreen> </advancedsettings> RE: No display on TV connected to HDMI after kodi starts --- RESOLVED - ozyaus - 2023-06-08 Installed LibreELEC-Generic-Legacy.x86_64-12.0-nightly-20230605 build and the problem is resolved! RE: No display on TV connected to HDMI after kodi starts - Klojum - 2023-06-08 @ozyaus Good to hear that the problem is solved. Just a few tips: - Please be cautious with pasting longer texts into the forum. We prefer to use pastebin websites as mentioned below in bold red letters, just to keep our forum server clean. - There is a LibreELEC forum where you can get more direct help from its developers, especially on nightly builds. We typically address the more generic problems regarding Kodi. No display on TV connected to HDMI after kodi starts - Klojum - 2023-06-08 Thread marked solved. RE: No display on TV connected to HDMI after kodi starts - fritsch - 2023-06-08 You now basically workaround that GBM does not have proper multi-monitor support. What you could do to make it work: Disable the laptop screen when booting via the kernel command line. That way GBM and the kernel should use the HDMI out only. |