Kodi Community Forum
v18 LibreELEC Testbuilds for x86_64 (Kodi 18.0) - 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: v18 LibreELEC Testbuilds for x86_64 (Kodi 18.0) (/showthread.php?tid=298462)



RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-19

(2018-05-19, 17:19)rudrood Wrote:
(2018-05-17, 02:13)Milhouse Wrote:
(2018-05-16, 21:22)rudrood Wrote: @Milhouse : Is the 23.976 file working oke for you with the legacy driver?

Yes the 23.976 file is switching correctly - the log includes the playback of both 23.976 and 24.0 fps videos on my Revo 3700/ION2 into Onkyo AVR/Philips TV: http://ix.io/1aAw

Grepping the log for "ADJUST":
00:59:28.688 T:139893793081536 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.98Hz (19) (weight: -0.000)
00:59:30.242 T:139893793081536 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.98Hz (19) (weight: -0.000)
00:59:56.613 T:139893793081536 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 24.00Hz (18) (weight: -0.000)
00:59:58.126 T:139893793081536 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 24.00Hz (18) (weight: -0.000)

(Yeah, two ADJUST messages for every video is an Nvidia thing)

Not sure why the "weight" is -0.000 - I tested it several times and the weight is usually a large number:
LibreELEC:~ # tail -Fn+0 kodi.log|grep ADJUST
00:53:43.090 T:140689497344192 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.98Hz (19) (weight: 474942504742052212056560953720832.000)
00:53:44.677 T:140689497344192 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.98Hz (19) (weight: 475001306893918267619618662121472.000)
So that's a little odd.
(2018-05-16, 21:22)rudrood Wrote: IF so: could it have something to do with how I load the legacy driver http://paste.ubuntu.com/p/dGvBcqwd3N/?

I don't think that has anything to do with it.    
 Thanks for testing. Will have to live without fps switching on this system.
Don't want to whine, but I think the whitelist function seems to criple more than it brings. Before it was introduced framerate switching was working 100% on this system.
In my opinion it replaces a perfect, easy auto switching system with a method most "standard" users will have some problems to uderstand and make work.  
 The whitelist function has zero! absolutely zero to do with your broken refreshrate. Imagine it would switch - every 100 seconds you would have dropping audio ... fix the root cause, which is adding a proper modeline to xorg.conf - LE wiki has an articel about that.

Edit: Put content of: https://paste.ubuntu.com/p/Hx9gkpqBfW/ to /storage/.config/xorg.conf - I created that file years ago, afterwards post your Xorg.0.log and kodi.log then we see if it worked okayish.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - rudrood - 2018-05-19

@fritsch
That works oke. All fps changes are oke now. You were right.

Debug log:
http://ix.io/1aQ3

Xorg.0.log:
http://ix.io/1aQ7

When you find anything interesting in the logs let me know.

I will take a good look at the xorg.conf and search again for the Wiki to try to understand it myself.

Thanks very much.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-19

Quote:21:41:29.091 T:140295208481920 INFO: ID:0x1eb Name:1920x1080 Refresh:23.975760 Width:1920 Height:1080
21:41:29.091 T:140295208481920 INFO: ID:0x1f0 Name:1920x1080 Refresh:23.970909 Width:1920 Height:1080
See I colored yours in red. It's just not exact enough: 24 * 1000 / 1001 = 23.97602 ... 23.970 is not a really good match, but to be honest: I have seen worse :-)

Edit: I talked to lrusak, we will change the max allowed difference to 0.01 instead of 0.005 - then your red mode will switch too, but never the lese - the mode line I gave you is way more exact.
Edit 2: You become famous: 13908 (PR)


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - username145 - 2018-05-20

Also noticed that anytime I seek forwards/backwards during playback, the screen will go black for a split-second, I think to display the buffering overlay. This is a little jarring, especially when it happens on locally stored files, maybe it should only appear after some small delay?


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - Milhouse - 2018-05-20

New LibreELEC.tv Leia build #0519: Generic
(Supercedes previous build)

SHA256 Checksum: 323908f84124ce3560ac0221e4153ad1e93657491f9478c7eed55ba76fd98fb7 (Generic)

# uname -a
Linux NUC 4.14.41 #1 SMP Sat May 19 21:06:25 BST 2018 x86_64 GNU/Linux

# lsb_release
LibreELEC (Milhouse): devel-20180519210310-#0519-g85b8697 [Build #0519]

# Kodi version
(18.0-ALPHA2 Git:5afb532). Platform: Linux x86 64-bit

Based on tip of LibreELEC.tv master (85b8697, changelog) and tip of XBMC master (efe0763, changelog) with the following modifications: Build Highlights:
  1. Minors
Build Details:
  1. LibreELEC.tv:
    • create_addon: changes for jenkins specific quirks (PR:2706, 1 commit, 1 file changed)
  2. XBMC:
    • remove --legacy-res command line argument (PR:13906, 1 commit, 3 files changed)
    • remove -d (delay) command line argument (PR:13907, 1 commit, 1 file changed)
  3. inputstream.adaptive:
    • SegmentTemplate in adpset cleanups (eb7795e)
  4. Additional commits/pull requests/changes not yet merged upstream:



RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - watanave - 2018-05-20

Hello,

I have a problem with my MCE remote control. All of sudden it stoped working when I was in #0510 in the middle of the normal operation. The thing is that I tried the remote in the same notebook that I use to Libreelec in the Windows partition and it worked using the same USB port. I also tried another hard drive with libreelec that I used to use in the machine and it did not work, knowing that it worked before.

If anybody has a clue, please help.

Sorry, no logs, at this moment.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - TimoJ - 2018-05-20

When I select in the Display settings "Use limited color range (16-235)" the OSD/user interface remains at the same brightness. Why is this? I seem to recall this setting used to make also the interface darker/lighter. Now video content is correct but the interface remains too dark. Intel Haswell GPU.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-20

(2018-05-20, 14:00)TimoJ Wrote: When I select in the Display settings "Use limited color range (16-235)" the OSD/user interface remains at the same brightness. Why is this? I seem to recall this setting used to make also the interface darker/lighter. Now video content is correct but the interface remains too dark. Intel Haswell GPU.
 Cannot reproduce, gets brighter / darker for me


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - TimoJ - 2018-05-20

(2018-05-20, 14:02)fritsch Wrote:
(2018-05-20, 14:00)TimoJ Wrote: When I select in the Display settings "Use limited color range (16-235)" the OSD/user interface remains at the same brightness. Why is this? I seem to recall this setting used to make also the interface darker/lighter. Now video content is correct but the interface remains too dark. Intel Haswell GPU.
 Cannot reproduce, gets brighter / darker for me   
I removed my advancedsettings.xml file and now it works. I'll check what setting in there causes this.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - TimoJ - 2018-05-20

It's in gui section algorithmdirtyregions with value 1.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-20

(2018-05-20, 14:12)TimoJ Wrote: It's in gui section algorithmdirtyregions with value 1.
 Then a kodi restart should be fine as well.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - TimoJ - 2018-05-20

Is the Limited color range setting working correctly? When I enable it, the GUI gets darker but video content near black gets brighter. Shouldn't also the GUI get brighter with limited range? There is a big difference between picture and GUI brightness with video brightness/contrast at their default values.


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-20

(2018-05-20, 14:26)TimoJ Wrote: Is the Limited color range setting working correctly? When I enable it, the GUI gets darker but video content near black gets brighter. Shouldn't also the GUI get brighter with limited range? There is a big difference between picture and GUI brightness with video brightness/contrast at their default values.
 Depends on many things: hw decoder, Xorg color setting and so on ...


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - TimoJ - 2018-05-20

(2018-05-20, 14:32)fritsch Wrote:
(2018-05-20, 14:26)TimoJ Wrote: Is the Limited color range setting working correctly? When I enable it, the GUI gets darker but video content near black gets brighter. Shouldn't also the GUI get brighter with limited range? There is a big difference between picture and GUI brightness with video brightness/contrast at their default values.
 Depends on many things: hw decoder, Xorg color setting and so on ...    
Is it possible to use xorg.conf to enable limited range with Intel graphics? I found messages that indicate it's not available for Intel.

I tried command line with xrand and it worked, now GUI is at the correct brightness (I hope...). I just haven't got it to work inside autostart.sh, not sure why it's not working.

But now I'm confused why I need to use xrand to get the correct brightness. Why there is no LibreELEC GUI setting for it? Kodi's setting effect only Kodi's part, not the underlying Xorg parts? Or am I missing something?


RE: LibreELEC Testbuilds for x86_64 (Kodi 18.0) - fritsch - 2018-05-20

(2018-05-20, 15:08)TimoJ Wrote:
(2018-05-20, 14:32)fritsch Wrote:
(2018-05-20, 14:26)TimoJ Wrote: Is the Limited color range setting working correctly? When I enable it, the GUI gets darker but video content near black gets brighter. Shouldn't also the GUI get brighter with limited range? There is a big difference between picture and GUI brightness with video brightness/contrast at their default values.
 Depends on many things: hw decoder, Xorg color setting and so on ...     
Is it possible to use xorg.conf to enable limited range with Intel graphics? I found messages that indicate it's not available for Intel.

I tried command line with xrand and it worked, now GUI is at the correct brightness (I hope...). I just haven't got it to work inside autostart.sh, not sure why it's not working.

But now I'm confused why I need to use xrand to get the correct brightness. Why there is no LibreELEC GUI setting for it? Kodi's setting effect only Kodi's part, not the underlying Xorg parts? Or am I missing something? 
 Please check kodi's wiki. I documented this some years ago, cause it is not trivial. In short only  the following settings make sense:

1) Xorg Full + Kodi Limited + TV Limited
2) Xorg Limited 16:235 (this scales(!)) + Kodi Full + TV Limited
3) Xorg Full + Kodi Full + TV Full