• 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 32
Headless Kodi
Forgot to reply here

Thx for your patch !

https://github.com/Celedhrim/docker-kodi...6dd2c9517c
Reply
this patch does not work on master anymore 

xbmc$ patch -p1 < headless.patch 
patching file xbmc/AppParamParser.cpp
Hunk #1 succeeded at 100 (offset -37 lines).
patching file xbmc/Application.cpp
Hunk #1 FAILED at 278.
Hunk #2 FAILED at 4308.
2 out of 2 hunks FAILED -- saving rejects to file xbmc/Application.cpp.rej
patching file xbmc/Application.h
Hunk #1 FAILED at 342.
Hunk #2 FAILED at 479.
2 out of 2 hunks FAILED -- saving rejects to file xbmc/Application.h.rej
patching file xbmc/guilib/GUIDialog.cpp
Hunk #1 FAILED at 169.
1 out of 1 hunk FAILED -- saving rejects to file xbmc/guilib/GUIDialog.cpp.rej
patching file xbmc/platform/xbmc.cpp
Hunk #1 succeeded at 62 with fuzz 1 (offset 1 line).
patching file xbmc/settings/SettingConditions.cpp
Hunk #1 FAILED at 338.
1 out of 1 hunk FAILED -- saving rejects to file xbmc/settings/SettingConditions.cpp.rej
patching file xbmc/GUIInfoManager.cpp
Hunk #1 FAILED at 5615.
1 out of 1 hunk FAILED -- saving rejects to file xbmc/GUIInfoManager.cpp.rej
Reply
@pgjensen (and others)

We'd prefer it if you use pastebin websites to 'dump' any of your kodi or compilation logs etcetera, and keep the Kodi forum itself as lean & clean as possible. Just like it says just above the "Post Reply" button.

Thanks for your cooperation. Smile
Reply
@marantz yes , maybe Smile

The patch work with alpha 1 , I only do patch for (git ) tag/release, never for master.
Reply
I created an issue in Github for Alpha 2 not working with the most recent patch.  It may be a while before I can get to resolving, so hopefully someone else can take a look.
Reply
(2018-06-20, 13:34)celedhrim Wrote: @marantz yes , maybe Smile

The patch work with alpha 1 , I only do patch for (git ) tag/release, never for master.
 pinched your alpha2 patch here

https://github.com/linuxserver/docker-ko...less.patch

for our  Leia branch build 

https://github.com/linuxserver/docker-ko...Dockerfile

thanks Smile
Reply
I am getting an error running kodi headless, compiled myself using the same kodi build info from the docker file, but for ubuntu 16.04.  I have some issues with docker, so I try and build myself and run straight on my server.  Thoughts?

If I build it with the patch applied I get to:
21:34:24.403 T:140737353537536  NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
21:34:24.403 T:140737353537536  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:34:24.404 T:140737353537536   DEBUG: CMediaSourceSettings: <games> tag is missing or sources.xml is malformed
21:59:45.107 T:140737353537536   FATAL: unable to load settings

If I build it without the patch applied I get further than the above (expected FATAL running without headless):
21:34:24.403 T:140737353537536  NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
21:34:24.403 T:140737353537536  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:34:24.404 T:140737353537536   DEBUG: CMediaSourceSettings: <games> tag is missing or sources.xml is malformed
21:34:24.406 T:140737353537536    INFO: creating subdirectories
...
...
...
21:34:24.457 T:140737353537536   FATAL: CApplication::Create: Unable to init windowing system
Reply
(2018-06-26, 04:28)pgjensen Wrote: I am getting an error running kodi headless, compiled myself using the same kodi build info from the docker file, but for ubuntu 16.04.  I have some issues with docker, so I try and build myself and run straight on my server.  Thoughts?

If I build it with the patch applied I get to:
21:34:24.403 T:140737353537536  NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
21:34:24.403 T:140737353537536  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:34:24.404 T:140737353537536   DEBUG: CMediaSourceSettings: <games> tag is missing or sources.xml is malformed
21:59:45.107 T:140737353537536   FATAL: unable to load settingsIf I build it without the patch applied I get further than the above (expected FATAL running without headless):
21:34:24.403 T:140737353537536  NOTICE: Log level changed to "LOG_LEVEL_DEBUG"
21:34:24.403 T:140737353537536  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:34:24.404 T:140737353537536   DEBUG: CMediaSourceSettings: <games> tag is missing or sources.xml is malformed
21:34:24.406 T:140737353537536    INFO: creating subdirectories...
...
...
21:34:24.457 T:140737353537536   FATAL: CApplication::Create: Unable to init windowing system
same thing here using docker
just for consistency 
as for why i don't know
Reply
Whats the current situation with Kodi master and this? Did these patches from @topfs2 every get merged?

Asking as I have a headless Raspberry Pi for music that crashes after a few months. I'd love to be able to reduce the power usage from the GUI as well.
Reply
I don't think that patch got merged, but this PR might be relevant to your interests.
Reply
(2018-06-29, 17:39)MrTarantula Wrote: I don't think that patch got merged, but this PR might be relevant to your interests.
 However it takes a different approach.
My patch renders to an off screen rendernode instead of not creating a gui at all and is tied to linux gbm.
Reply
i remember a patch years ago that was rejected that simply reduced the framrate of the main render loop to 10fps or something. It reduced power usage significantly Smile
Reply
Any updates on a working Alpha 2 patch?
Reply
(2018-06-30, 08:00)a1rwulf Wrote:
(2018-06-29, 17:39)MrTarantula Wrote: I don't think that patch got merged, but this PR might be relevant to your interests.
 However it takes a different approach.
My patch renders to an off screen rendernode instead of not creating a gui at all and is tied to linux gbm. 
Great to see people are working on this. I dont understand the use case. Are you running kodi in a headless server? Docker? Whats linux gbm? Some links could be enough for me.
Reply
(2018-07-06, 14:16)Gomez Wrote:
(2018-06-30, 08:00)a1rwulf Wrote:
(2018-06-29, 17:39)MrTarantula Wrote: I don't think that patch got merged, but this PR might be relevant to your interests.
 However it takes a different approach.
My patch renders to an off screen rendernode instead of not creating a gui at all and is tied to linux gbm.  
Great to see people are working on this. I dont understand the use case. Are you running kodi in a headless server? Docker? Whats linux gbm? Some links could be enough for me. 
 Linux GBM is kodi directly talking to the kernel graphics stack via drm/kms (no X server).
My use case is using kodi as musicplayer (analog audio) and control it via kore.
But your use cases would work as well if you have an intel gpu.
Reply
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 32

Logout Mark Read Team Forum Stats Members Help
Headless Kodi5