Error with hdmi 1
#1
I have a problem with kodi 17. It has always been there since the start of kodi 17 across all versions (including the libreelec variations based on kodi 17). I have an Intel Broadwell 5500 and basically if you set the output to hdmi 1 (instead of default or edp1) the laptop screen goes blank but no picture comes through the hdmi. I have found a workaround to the problem but this involves starting kodi through Ubuntu 16.10 first after setting the display settings in Ubuntu first to use the hdmi 1, then when I log out of Ubuntu and into kodi directly the laptop displays correctly through hdmi 1 with no duplicate on the laptop screen (obviously with blank other displays checked). I didn't mind the workaround but after trying libreelec based on kodi 17 I am having the same problem only with no workaround as there is no other system to set the display settings. Sorry to have only just mentioned this but I thought others would have had this problem and lazily left it to someone else to report. I do apologise but I am staying in a hotel tonight with a TV that looks like it was lifted out of a skip and does not have an hdmi port (it's not even wide-screen loooool) however when I get home tomorrow night I will upload a debug of both kodi (and libreelec if you want?)
Reply
#2
I see a similar behaviour. It worked well in 16, but after upgrading to Kodi 17 I see th following. I connect to the display using hdmi.

- Kodi Display settings : choosing "Default" or "eDP1" works. Choosing "hdmi1" = blank screen.
- available refresh rates are 59 and 60hz. With Kodi16 I also had 24 and 50.
- Kodi Audio settings : configured to use hdmi. Works in both decoded and passthrough modes.
- autorefresh rate does not work anymore : DEBUG: Resolution eDP1: 1920x1080 @ 59.93Hz (18) not a very good match for fps 50.000 with 2:3 cadence (weight: 0.521), choosing 60 hertz


Here are some debug log from playing 50hz content :

0:14:29.866 T:140095441069824 DEBUG: CRenderManager::Configure - change configuration. 1280x720. display: 1280x720. framerate: 50.00. format: VAAPI_NV12
20:14:29.868 T:140096567076608 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2048, bufferSize 8192
20:14:29.868 T:140096567076608 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 171 ms
20:14:29.868 T:140097038673920 DEBUG: DeleteRenderer - deleting renderer
20:14:29.869 T:140097038673920 DEBUG: LinuxRendererGL: Cleaning up GL resources
20:14:29.869 T:140097038673920 DEBUG: Previous line repeats 1 times.
20:14:29.869 T:140097038673920 DEBUG: CLinuxRendererGL:TonguereInit - precision of luminance 16 is 16
20:14:29.869 T:140097038673920 DEBUG: GL: Requested render method: 2
20:14:29.869 T:140097038673920 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_DITHER
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_NV12
20:14:29.869 T:140097038673920 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:14:29.869 T:140096567076608 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 2 Output Channel Count: 2
20:14:29.869 T:140096567076608 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL,FR
20:14:29.869 T:140096567076608 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL,FR (ALSA: FL FR)
20:14:29.869 T:140096567076608 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
20:14:29.869 T:140096567076608 DEBUG: Output Device : HDA Intel
20:14:29.869 T:140096567076608 DEBUG: Sample Rate : 48000
20:14:29.869 T:140096567076608 DEBUG: Sample Format : AE_FMT_S32NE
20:14:29.869 T:140096567076608 DEBUG: Channel Count : 2
20:14:29.869 T:140096567076608 DEBUG: Channel Layout: FL,FR
20:14:29.869 T:140096567076608 DEBUG: Frames : 2048
20:14:29.869 T:140096567076608 DEBUG: Frame Size : 8
20:14:29.869 T:140097038673920 DEBUG: GL: Vertex Shader compilation log:
20:14:29.869 T:140097038673920 DEBUG: GL: Vertex Shader compiled successfully
20:14:29.870 T:140096575469312 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
20:14:29.870 T:140097038673920 DEBUG: Previous line repeats 1 times.
20:14:29.870 T:140097038673920 DEBUG: GL: Pixel Shader compilation log:
20:14:29.870 T:140097038673920 DEBUG: GL: Fragment Shader compiled successfully
20:14:29.870 T:140094881285888 DEBUG: ffmpeg[7F6A61A24700]: [aac] element type mismatch 1 != 0
20:14:29.872 T:140096558683904 DEBUG: Previous line repeats 2 times.
20:14:29.872 T:140096558683904 DEBUG: CVideoPlayer::HandleMessages - player started 1
20:14:29.873 T:140097038673920 DEBUG: GL: ConvolutionFilterShader: using convolution-4x4.glsl defines:
#define HAS_FLOAT_TEXTURE 1
#define XBMC_STRETCH 0
#define XBMC_DITHER
#define USE1DTEXTURE 1
20:14:29.874 T:140097038673920 DEBUG: GL: Vertex Shader compilation log:
20:14:29.874 T:140097038673920 DEBUG: GL: Vertex Shader compiled successfully
20:14:29.875 T:140097038673920 DEBUG: GL: Pixel Shader compilation log:
20:14:29.875 T:140097038673920 DEBUG: GL: Fragment Shader compiled successfully
20:14:29.888 T:140097038673920 NOTICE: GL: NPOT texture support detected
20:14:29.888 T:140097038673920 NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:14:29.888 T:140097038673920 NOTICE: Using GL_TEXTURE_2D
20:14:29.890 T:140097038673920 DEBUG: CRenderManager::Configure - 4
20:14:29.891 T:140096558683904 DEBUG: CVideoPlayer::HandleMessages - player started 2
20:14:29.891 T:140096558683904 DEBUG: CVideoPlayer::SetCaching - caching state 3
20:14:29.891 T:140096558683904 DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
20:14:29.891 T:140096558683904 DEBUG: CVideoPlayer::SetCaching - caching state 0
20:14:29.891 T:140096558683904 DEBUG: CDVDClock::SetSpeedAdjust - adjusted:0.000000
20:14:29.891 T:140096558683904 DEBUG: VideoPlayer::Sync - Audio - pts: 150999.000000, cache: 298388.663073, totalcache: 570666.670799
20:14:29.891 T:140096558683904 DEBUG: VideoPlayer::Sync - Video - pts: 0.000000, cache: 50000.000000, totalcache: 100000.000000
20:14:29.891 T:140095441069824 DEBUG: CVideoPlayerVideo - CDVDMsg::GENERAL_RESYNC(-147389.663073)
20:14:29.891 T:140095441069824 DEBUG: CVideoPlayerVideo::CalcDropRequirement - hurry: 0
20:14:29.891 T:140097038673920 DEBUG: Previous line repeats 1 times.
20:14:29.891 T:140097038673920 DEBUG: GL: Requested render method: 2
20:14:29.891 T:140097038673920 DEBUG: GL: BaseYUV2RGBGLSLShader: defines:
#define XBMC_texture_rectangle 0
#define XBMC_texture_rectangle_hack 0
#define XBMC_STRETCH 0
#define XBMC_NV12
20:14:29.891 T:140097038673920 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
20:14:29.891 T:140094881285888 DEBUG: CVideoPlayerAudio - CDVDMsg::GENERAL_RESYNC(-147389.663073)
20:14:29.891 T:140094881285888 DEBUG: CDVDAudio::Resume - resume audio stream
20:14:29.891 T:140096575469312 DEBUG: ActiveAE - start sync of audio stream
20:14:29.891 T:140094881285888 DEBUG: ffmpeg[7F6A61A24700]: [aac] element type mismatch 1 != 0
20:14:29.892 T:140097038673920 DEBUG: Previous line repeats 2 times.
20:14:29.892 T:140097038673920 DEBUG: GL: Vertex Shader compilation log:
20:14:29.892 T:140097038673920 DEBUG: GL: Vertex Shader compiled successfully
20:14:29.892 T:140097038673920 DEBUG: GL: Pixel Shader compilation log:
20:14:29.892 T:140097038673920 DEBUG: GL: Fragment Shader compiled successfully
20:14:29.895 T:140097038673920 NOTICE: GL: NPOT texture support detected
20:14:29.895 T:140097038673920 NOTICE: GL: Using GL_ARB_pixel_buffer_object
20:14:29.900 T:140097038673920 DEBUG: Activating window ID: 12005
20:14:29.901 T:140097038673920 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
20:14:29.905 T:140097038673920 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
20:14:29.906 T:140097038673920 DEBUG: Resolution eDP1: 1920x1080 @ 59.93Hz (18) not a very good match for fps 50.000 (weight: 0.199), trying 2:3 cadence
20:14:29.906 T:140097038673920 DEBUG: Resolution eDP1: 1920x1080 @ 59.93Hz (18) not a very good match for fps 50.000 with 2:3 cadence (weight: 0.521), choosing 60 hertz
20:14:29.906 T:140097038673920 NOTICE: Display resolution ADJUST : 1920x1080@ 60.00 - Full Screen (16) (weight: 0.200)
Reply
#3
I think the problem arises in too old kernel and intel driver. Investigating.

Mostly kodi 17 / krypton works well or even better than 16, so I'm not in panic to change things.
Will do it in an orderly fashion.
Reply
#4
What should I make of this cut log?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
Nothing. As I wrote I was investigating myself. Just sharing.

Anyways, upgrading to kernel 4.4.0-21-generic fixes it, I gathered from some related threads and comments by you actually (fritsch).
Kernel version was 4.1 before, intel driver 1.6

After upgrading kernel to 4.4.0 I could upgrade to intel driver 1.7.1
And inside Kodi -> Settings -> Display, I could then select HDMI1 as display. Et Voila, all the refresh rates was back and working.

Sorry if I wasn't clear on the working on it myself part. You are very keen to help, I understand. Very much appreciated.
Reply
#6
After upgrading kernel and driver, I still had a problem with blank display when i toggled my tv off and on.

Solved with a new file "/etc/X11/xorg.conf.d/20-intel.conf" (note that on mint/ubuntu the dir "xorg.conf.d" might need to be created)

Content of file :


Section "Device"
Identifier "Intel Graphics"
Driver "intel"

Option "ConnectedMonitor" "HDMI1"
Option "UseDisplayDevice" "HDMI1"

EndSection
Reply

Logout Mark Read Team Forum Stats Members Help
Error with hdmi 10