DVD playback broken after "kodi: enable USE_LTO" commit

  • This commit broke the DVD playback for me:

    Code
    06:22:58.511 T:1942380560  NOTICE: VideoPlayer::OpenFile: smb://SMP-PC/MEDIA3/TEST_DVD/VIDEO_TS/VIDEO_TS.IFO
    06:22:58.517 T:1629184912  NOTICE: Creating InputStream
    06:22:58.528 T:1942380560  NOTICE: m_playbackStarting
    06:22:58.528 T:1942380560  NOTICE: StereoscopicsManager::IsPlaying
    06:22:58.563 T:1629184912   ERROR: Error on dvdnav_open
    06:22:58.563 T:1629184912   ERROR: CVideoPlayer::OpenInputStream - error opening [smb://SMP-PC/MEDIA3/TEST_DVD/VIDEO_TS/VIDEO_TS.IFO]

    The build host is Linux Mint 18.2 / Core i5-3450 / 8Gb RAM. I build only RPi2 images, so no idea if the issue is present in Generic x86,etc.

    If I remove LTO support from kodi/package.mk - DVDs work fine.

    Can anyone confirm the issue? The weird thing is that the current Milhouse builds don't have this issue but I can reproduce it 100% when building using normal LE build method or using Milhouse' scripts.

  • Any ideas? I thought that Linux Mint could be the cause of this weird bug, so I installed Ubuntu Server 16.04 (64-bit). Same issue.

  • Ubuntu Server for DVD playback? That sounds a bit weird.

    Have you tried different DVDs? I get differnt results with different DVDs.

    Also my DVD drive seems to be totally allergic to some DVDs (knowing the videos, I don't blame it).

  • Ubuntu Server as a host OS for LE build system, not for DVD playback.

    Maybe I wasn't clear in my original post... The resulting RPi2 images don't play any DVDs (including VIDEO_TS folders and ISOs) unless I disable LTO in Kodi's package.mk. I reported about the issue here a while ago but milhouse have no idea what's causing this.

    This issue occur even if I don't make any changes (a clean build from current LE master).

    Edited 3 times, last by smp (March 18, 2018 at 12:57 PM).