cDima / Aerial

Aerial Apple TV screen saver for Windows
1.97k stars 181 forks source link

Tearing and Stuttering #89

Closed VAsHachiRoku closed 6 years ago

VAsHachiRoku commented 7 years ago

I have a Acer Predator X34 wide screen and an Gigabyte NVidia 1080 Extreme with Gsync enabled and with resolution 3440x1440 @ 100Hz. Running Windows 10 Pro x64 and the screen saver does not play very well. Also noticed the FPS move around between 20-40 constantly, should sit well above 100.

Valley Bench Mark runs extremely well.

Please let me know how to enable logging and I will upload.

cDima commented 7 years ago

Play the videos in the usual windows player in windows, that's the system we use for playing.

There's a second thread in the app that downloads the videos in the background as well. If you have no other monitors, it's the same setup I have, and it works well. There is slowness on switching movies sometimes, but rarely when they are cached.

On Mon, Dec 26, 2016 at 10:50 PM, John Plate notifications@github.com wrote:

I have a Acer Predator X34 wide screen and an Gigabyte NVidia 1080 Extreme with Gsync enabled and with resolution 3440x1440 @ 100Hz. Running Windows 10 Pro x64 and the screen saver does not play very well. Also noticed the FPS move around between 20-40 constantly, should sit well above 100.

Valley Bench Mark runs extremely well.

Please let me know how to enable logging and I will upload.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cDima/Aerial/issues/89, or mute the thread https://github.com/notifications/unsubscribe-auth/AADl3aBD_jyv2akHKm3T2NLBrepm8qOjks5rMIr5gaJpZM4LWArI .

-- Dmitry Sadakov Consultant – Web Technology | Essextec | New York, NY | Mobile +16468531955 sadakov.com | linkedin http://linkedin.com/in/sadakov | stackoverflow http://stackoverflow.com/users/82054/cdima | github https://github.com/cDima | g+ http://www.google.com/profiles/sadakov | facebook https://www.facebook.com/sadakov | vk http://vk.com/sadakov | skype:dmitry.sadakov

alistairmcmillan commented 7 years ago

@VAsHachiRoku The maximum fps you're going to get is 30 as that's the rate the videos were generated at by Apple. Even the new ones.

screenshot 2017-01-05 21 08 32

I'd recommend making sure all the videos are cached and then seeing if performance improves.

kathampy commented 7 years ago

I have the same stuttering in many games and apps that play fullscreen video when using G-SYNC. Even though the video is encoded at 30fps, it plays back at around 20 fps with stutters. The screen saver always stutters for 3-4 seconds every time it starts.

alistairmcmillan commented 7 years ago

@kathampy If you play one of the aerial videos fullscreen in Windows Media Player does it play smoothly?

kathampy commented 7 years ago

@alistairmcmillan Yes, it plays smoothly in WMP and other players. There is also screen flickering whenever the screensaver starts and stops. Is this because of full screen mode?

alistairmcmillan commented 7 years ago

@VAsHachiRoku @kathampy For the sake of testing could you try turning G-SYNC off and trying the screen saver. Does it play okay with G-SYNC off?

kathampy commented 7 years ago

The stuttering stops if I disable G-SYNC for the screen saver. However there is still the jarring grey screen flashing like a mode change, when starting and stopping the screen saver. This only happens when running the .scr which goes fulllscreen, and not when running the .exe which runs windowed.

alistairmcmillan commented 6 years ago

Stuttering during play is caused by G-SYNC feature, turning it off resolves the problem. There are settings to whitelist applications that should run without it.

Screen flash when going between sessions (user session and secure session which screensaver plays in) can't really be fixed by the screensaver. Perhaps an updated driver or a Windows update from Microsoft, but it's out-with what a screensaver can resolve.

kathampy commented 6 years ago

The excessive flickering doesn't happen for the default screensavers. They have a brief but negligible black flicker. Aerial however has multiple grey / black flickers. It's something to do with the video going full screen. Theres a huge 1 second delay with entering or exiting the screen saver as well. The default screensavers exit instantly when pressing a key.