Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
[Script] Auto frame rate for X96max ATV (and other clones)
Collapse
This is a sticky topic.
X
X
-
Ok, here's script:
Code:echo 2160p50hz > /sys/class/display/mode
You can change 50hz to 60hz at will, and map it to some button the way you want
Leave a comment:
-
Originally posted by zoelechat View Post
You mean an automatic manual mode?
Originally posted by zoelechat View PostNo need for any script for that, resolution change from terminal is already one liner.
Leave a comment:
-
Is it possible to add a mode for manual rate switching (like it's in script for kodi)?
Leave a comment:
-
Added some tweaking documentation in "Advanced" section from 1st post. Attachment will be updated with "best compromise" values given at the bottom (previous ones obviously caused some troubles...). No other change.Last edited by zoelechat; 23 February 2019, 00:42.
Leave a comment:
-
OK. I've read (translated!) comments on (living!) 4pda, and I tried to slightly improve script accordingly, in the limit of what's doable...
So, 25/30hz is now supported, it can be enabled setting SUPPORT_25_30=1 on top of script..
Overall delays have been increased to avoid too early switch, especially on video stop case (back to default). Should also prevent a bit of false positives, but no miracle expected
1st post attachment updated.Last edited by zoelechat; 23 February 2019, 10:10.
Leave a comment:
-
Originally posted by zoelechat View PostI'm not really expert in that components stuff, but I think it's gonna depend on several factors: HDMI version supported by box itself and TV (2.0, 2.1?), color bit depth (8, 10, 12bit?), HDR?
Obviously 4k2k 60p 4:4:4 is supported, but only in 8-bit, and I guess everybody wants at least 10-bit/HDR. Also I wouldn't risk myself to compare these SoCs to 4x price Shield
From source:
Code:# Please notice that 420 mode is valid for 2160p50/60hz # and 2160p50/60hz 444/rgb mode only has 8bit deepcolor mode
Now everything is clear
Leave a comment:
-
I'm not really expert in that components stuff, but I think it's gonna depend on several factors: HDMI version supported by box itself and TV (2.0, 2.1?), color bit depth (8, 10, 12bit?), HDR?
Obviously 4k2k 60p 4:4:4 is supported, but only in 8-bit, and I guess everybody wants at least 10-bit/HDR. Also I wouldn't risk myself to compare these SoCs to 4x price Shield
From source:
Code:# Please notice that 420 mode is valid for 2160p50/60hz # and 2160p50/60hz 444/rgb mode only has 8bit deepcolor mode
Leave a comment:
-
Yes, I'm know, I'm tried this custom kernel by anpaza from 4PDABut I don't understand why x96max or s905x2 can't support 4k2k 60p 4:4:4? I for laugh tried turn on NVidia Shield to my TV via the same hdmi cable and it working how to charm...
Leave a comment:
-
Indeed Magisk is not mandatory, as long as busybox is available and that you can launch script as root in any way
About 24hz, took me some time to figure it out, and it was worth to have a look at Amlogic sources. Actually chroma subsampling has to be set prior to display mode change: 4:4:4 will stay below 30hz range and 4:2:0 will stay above. e.g if you set 2160p60hz444 box will switch to 30p (=half), and in the opposite if you try to set 2160p24hz420 box will try to switch to... 48hz (=double, unsupported!) Hence black screen when blindly switching to 24hz from 50/60. Hope it's clear
Custom kernel posted in other thread caused same black screen issue on 24hz (in addition to definitely break VP9 support...)
Leave a comment:
-
hi zoelechat , nice work!
Kodi 18 is woking on 4K and FHD. And it working better on 4K 60p 4:2:0 compared Amlogic AFR switcher script addon that can't switch 4K from 60/50p to 24p and showing black screen...
I did some another.
If reluctance to put magisk for 50afr (as I like for example)
1. Installing from the play market Amlogic TV Box Tool and Busybox installer
2. Install new Busybox with its symlinks from the application
3. In Amlogic TV Box Tool, enable init.d support and Autostart
4. Copy 50afr to the /etc/init.d folder and rename it to myscript.sh, give permission 755
5. Restarting and enjoy...Last edited by A.S._id; 21 February 2019, 07:49.
Leave a comment:
What's Going On
Collapse
There are currently 1650 users online. 1 members and 1649 guests.
Most users ever online was 63,956 at 18:56 on 20 March 2025.
Leave a comment: