However it is having trouble detecting the sync rate and drops down to 28-29 fps instead of the usual 60 fps. This is causing audio issues as the audio uses the fps for timing.
I then down loaded an SDL2 vsync tester and ran that and the refresh rate went through the roof 100+ fps.
So I checked with xrandr and there appears to be no refresh rate set for the screen:
Code: Select all
odroid@odroid:~$ xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080 default connected 1920x1080+0+0 0mm x 0mm 1920x1080 0.00* odroid@odroid:~$
This might explain many of the issues with jittery video play back in applications (Chromium & Vivaldi)
One other SDL2 strangeness is starting any SDL2 program causes the following error:
dbus: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.
D-Bus not built with -rdynamic so unable to print a backtrace
Aborted (core dumped)
There is a work around for this by setting the IBUS ADDRESS to some invalid value before launching the program: