12Next
Return to list New
View: 8309|Reply: 10

Auto frame rate no working

[Copy link]

1

Threads

8

Posts

53

Credits

Member

Rank: 2

Credits
53
Post time 2016-11-15 19:35:44 | Show all posts |Read mode
Hello,

I have one beelink GT1 (S/N: G912, FW: 106MO) and I can't setting auto frame rate.

If android screen resolution = Auto switch (4k2k-60hz):
    Moves 23.976fps are ok
    Movies 25fps are judder
   
If android screen resolution = 1080p-50hz:
    Moves 23.976fps are judder
    Movies 25fps are ok

Under KODI/SPMC the settings "adjust display refersh rate" and Vertcal blank sync" are no effect.

I must enable "amcodec" to reduce judder et to have bright screen other wise I have dark screen and lot of judder.

Here log during SPMC crash:
11-15 11:32:08.326  5212  5559 V SPMC    : Debug Print: SECTION:UnloadDelayed(DLL: libamplayer.so)
--------- beginning of crash
11-15 11:32:08.328  5212  5559 F libc    : Fatal signal 11 (SIGSEGV), code 1, fault addr 0xa8 in tid 5559 (Thread-151)
11-15 11:32:08.387  3783  3783 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-15 11:32:08.387  3783  3783 F DEBUG   : Build fingerprint: 'Amlogic/q201_9377/q201_9377:6.0.1/MHC19J/20161024:user/test-keys'
11-15 11:32:08.388  3783  3783 F DEBUG   : Revision: '0'
11-15 11:32:08.388  3783  3783 F DEBUG   : ABI: 'arm'
11-15 11:32:08.389  3783  3783 F DEBUG   : pid: 5212, tid: 5559, name: Thread-151  >>> com.semperpax.spmctest <<<
11-15 11:32:08.389  3783  3783 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xa8
11-15 11:32:08.421  3783  3783 F DEBUG   :     r0 00000000  r1 00001000  r2 00000003  r3 00000000
11-15 11:32:08.421  3783  3783 F DEBUG   :     r4 ef13f75c  r5 00000000  r6 ef13f7e8  r7 dd1a5740
11-15 11:32:08.421  3783  3783 F DEBUG   :     r8 e22db4dc  r9 ef13f800  sl ef13f7e8  fp dfc2bfa0
11-15 11:32:08.421  3783  3783 F DEBUG   :     ip dd1a5740  sp ef13f734  lr f7205b3f  pc f72057c6  cpsr 00010030
11-15 11:32:08.423  3783  3783 F DEBUG   :
11-15 11:32:08.423  3783  3783 F DEBUG   : backtrace:
11-15 11:32:08.424  3783  3783 F DEBUG   :     #00 pc 000067c6  /system/bin/linker (__dl__ZL13soinfo_unloadP6soinfo+5)
11-15 11:32:08.425  3783  3783 F DEBUG   :     #01 pc 000d7c94  /data/app/com.semperpax.spmctest-1/lib/arm/libspmc.so (offset 0x2c24000)
11-15 11:32:08.968  3786  4146 I AudioFlinger: BUFFER TIMEOUT: remove(4096) from active list on thread 0xf4980000
11-15 11:32:09.185  3783  3783 F DEBUG   :
11-15 11:32:09.185  3783  3783 F DEBUG   : Tombstone written to: /data/tombstones/tombstone_04
11-15 11:32:09.185  3783  3783 E DEBUG   : AM write failed: Broken pipe
11-15 11:32:09.186  5212  5563 W AudioTrack: releaseBuffer() track 0xf500bf80 disabled due to previous underrun, restarting
11-15 11:32:09.187  4119  5692 W ActivityManager:   Force finishing activity com.semperpax.spmctest/.Main
11-15 11:32:09.190  5212  5212 I Choreographer: Skipped 48 frames!  The application may be doing too much work on its main thread.
11-15 11:32:09.190  4119  4135 I BootReceiver: Copying /data/tombstones/tombstone_04 to DropBox (SYSTEM_TOMBSTONE)
11-15 11:32:09.197  3786  4146 D audio_hw_primary: out_set_parameters(kvpairs(routing=2), out_device=0x2)
11-15 11:32:09.216  5212  5212 V threaded_app: Pause: 0xf507ede0
11-15 11:32:09.216  5212  5557 V threaded_app: activityState=13
11-15 11:32:09.216  5212  5557 V SPMC    : virtual void CXBMCApp::onPause():
11-15 11:32:09.226  5212  5557 V SPMC    : static bool CXBMCApp::EnableWakeLock(bool): false
11-15 11:32:09.227  5212  5212 V threaded_app: WindowFocusChanged: 0xf507ede0 -- 0
11-15 11:32:09.228  5212  5557 V SPMC    : virtual void CXBMCApp::onLostFocus():

Anyone can help me to solve this issue ?

best regards.
Reply

Use magic Report

0

Threads

7

Posts

161

Credits

Member

Rank: 2

Credits
161
Post time 2016-11-16 15:18:47 | Show all posts
Someone posted that you change permissions on a file to resolve this problem.  However it caused other problems (Kodi and SPMC crashes), and the permissions would reset when the box rebooted.

We'll have to wait for a firmware update to address this issue.
Reply Support Not support

Use magic Report

1

Threads

8

Posts

53

Credits

Member

Rank: 2

Credits
53
 Author| Post time 2016-11-19 22:50:42 | Show all posts
Thank you for your reply,

After some search I found on github the plugin script.video.fswitch by pmos69.
It modifies the contents of file "/sys/class/display/mode" (android rooted) depending on the video being played.

For Android 5.1 and 6.0, I made the following changes to file fswitch_util.py file:
  1. 28:-         logFileName = xbmc.translatePath('special://temp/kodi.log')
  2. 28:+         if os.path.isfile(xbmc.translatePath('special://temp/kodi.log')):
  3. 29:+            logFileName = xbmc.translatePath('special://temp/kodi.log')
  4. 30:+         else:
  5. 31:+             logFileName = xbmc.translatePath('special://temp/spmc.log')
  6. 122:+     elif osPlatform == 'linux4':
  7. 157:+                 elif amlogicMode == '1080p60hz':
  8. 158:+                    outputMode = '1080p-60hz'
  9. 195:+        subprocess.call(["su", "root", "chmod", "666", "/sys/class/display/mode"])
  10. 225:-             newAmlogicMode = '1080p'
  11. 225:+             newAmlogicMode = '1080p60hz'
Copy the Code


I hope it can help someone.
Reply Support Not support

Use magic Report

1

Threads

8

Posts

53

Credits

Member

Rank: 2

Credits
53
 Author| Post time 2016-12-24 15:30:13 | Show all posts
Reply Support Not support

Use magic Report

1

Threads

8

Posts

53

Credits

Member

Rank: 2

Credits
53
 Author| Post time 2016-12-25 17:38:24 | Show all posts
jfnicolas2 replied at 2016-11-19 15:50
Thank you for your reply,

After some search I found on github the plugin script.video.fswitch by pm ...

test message censure
Reply Support Not support

Use magic Report

12

Threads

93

Posts

327

Credits

Full Member

Rank: 3Rank: 3

Credits
327
Post time 2016-12-26 21:51:22 From the mobile phone | Show all posts
If you read down the posts there's a link for an apk to fix auto refresh in spmc and kodi
Reply Support Not support

Use magic Report

4

Threads

30

Posts

176

Credits

Member

Rank: 2

Credits
176
Post time 2016-12-27 06:54:29 | Show all posts
hubber63 replied at 2016-12-26 21:51
If you read down the posts there's a link for an apk to fix auto refresh in spmc and kodi

Where??

The zip file?
Reply Support Not support

Use magic Report

6

Threads

61

Posts

280

Credits

Full Member

Rank: 3Rank: 3

Credits
280
Post time 2016-12-27 19:27:06 | Show all posts
there is a post a few days back - auto frame rate fix.. read it
you have to go here
h**p://freaktab.com/forum/tv-player-support/allwinner-tv-players/freaktab-tools-utulities-collection/616600-auto-frame-rate-fix-apk-on-s905x-and-s912-firmware
install the  apk from the link above [you have an apk installer in your apps]
install SuperSU from google play. give tha apk the permission it requests

it works.
Reply Support Not support

Use magic Report

1

Threads

8

Posts

53

Credits

Member

Rank: 2

Credits
53
 Author| Post time 2016-12-28 19:50:40 | Show all posts

File script.video.fswitch-2.0.1.zip is not an android apps. It's a plugin for kodi an SPMC.
Reply Support Not support

Use magic Report

12

Threads

93

Posts

327

Credits

Full Member

Rank: 3Rank: 3

Credits
327
Post time 2016-12-28 20:01:52 From the mobile phone | Show all posts
There's also an apk on superceleron sticky that fixes this problem in spmc/kodi 17 over at freaktab
Reply Support Not support

Use magic Report

12Next
Return to list New
You have to log in before you can reply Login | Sign up

Points Rules

Quick Reply To Top Return to the list