2018-03-30, 15:18
2018-06-20, 12:48
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
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
2018-06-20, 13:13
@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.
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.
2018-06-20, 13:34
@marantz yes , maybe
The patch work with alpha 1 , I only do patch for (git ) tag/release, never for master.
The patch work with alpha 1 , I only do patch for (git ) tag/release, never for master.
2018-06-25, 03:30
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.
2018-06-25, 21:32
(2018-06-20, 13:34)celedhrim Wrote: @marantz yes , maybepinched your alpha2 patch here
The patch work with alpha 1 , I only do patch for (git ) tag/release, never for master.
https://github.com/linuxserver/docker-ko...less.patch
for our Leia branch build
https://github.com/linuxserver/docker-ko...Dockerfile
thanks
2018-06-26, 04:28
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
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
2018-06-26, 10:10
(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?same thing here using docker
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
just for consistency
as for why i don't know
2018-06-27, 13:24
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.
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.
2018-06-29, 17:39
I don't think that patch got merged, but this PR might be relevant to your interests.
2018-06-30, 08:00
(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.
2018-06-30, 13:09
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
2018-07-06, 14:16
(2018-06-30, 08:00)a1rwulf Wrote: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.(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.
2018-07-09, 09:56
(2018-07-06, 14:16)Gomez Wrote:Linux GBM is kodi directly talking to the kernel graphics stack via drm/kms (no X server).(2018-06-30, 08:00)a1rwulf Wrote: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.(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.
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.