Having a fullscreen youtube video playing on a second monitor results in periodic FPS stuttering [0.18.29]

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
noticesurowo
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jan 06, 2018 8:43 am
Contact:

Having a fullscreen youtube video playing on a second monitor results in periodic FPS stuttering [0.18.29]

Post by noticesurowo »

What did you do?

I played a YouTube video, full screen, on my second monitor while playing the game.

What happened?

I noticed the FPS would drop to 30 FPS every 15 seconds, returning to 60 FPS after about 5 seconds. When I exited the full screen video (either by closing the browser window or by returning to a non-full screen view of the video) the periodic stuttering would stop.

What did you expect to happen instead?

I expected the FPS to not stutter.

What I tried:
I tried playing various YouTube videos in the following browsers:
Google Chrome (83.0.4103.61 (Official Build) (64-bit))
Mozilla Firefox (Version 76)
Brave (Version 1.9.76)
Discord's Integrated Video Viewer (Stable 60856)

When the videos were not full screen, I saw no issues. Turning the video to full screen resulted in the game having an FPS drop to 30 FPS every 15-ish seconds. If the video was paused, the bug was not present. UPS was unaffected.

Changing the save files had no effect on this bug. This was present on new saves, as well as very very old and endgame saves.
Attachments
Pre-release.zip
One of the save files
(4.79 MiB) Downloaded 24 times
factorio-current.log
Log File
(12.81 KiB) Downloaded 28 times
During the periodic stutter. Showing "show-time-usage"
During the periodic stutter. Showing "show-time-usage"
Video Playing show-time-usage.jpg (1.02 MiB) Viewed 327 times
During the periodic stutter. Showing "gpu-show-time-usage"
During the periodic stutter. Showing "gpu-show-time-usage"
Video Playing gpu-show-time-usage.jpg (1.07 MiB) Viewed 327 times
During normal play and normal FPS. Showing "show-time-usage"
During normal play and normal FPS. Showing "show-time-usage"
Normal Use show-time-usage.jpg (889.22 KiB) Viewed 327 times
During normal play and normal FPS. Showing "show-time-usage"
During normal play and normal FPS. Showing "show-time-usage"
Normal Use show-gpu-time-usage.jpg (799.27 KiB) Viewed 327 times

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Having a fullscreen youtube video playing on a second monitor results in periodic FPS stuttering [0.18.29]

Post by posila »

Hello, my suggestions are following:
1) Turn texture compression back on. Uncompressed textures require extremely high memory bandwidth and even contemporary GPUs can choke, when more applications are sharing GPU.
2) Try to turn off "Use flip presentation model"

Both options are in graphics setting and require the game restart.

Last option would be just to turn off v-sync.

noticesurowo
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jan 06, 2018 8:43 am
Contact:

Re: Having a fullscreen youtube video playing on a second monitor results in periodic FPS stuttering [0.18.29]

Post by noticesurowo »

Hey, thanks for the quick reply!

Setting the Texture Compression to High was even worse than before.
  • 15 Seconds of 30FPS, 5 seconds of 60FPS, repeat
  • With "Use Flip Presentation Model" turned ON
Setting Texture Compression to Low fixed the issue.
  • With "Use Flip Presentation Model" turned ON
Turning off "Use Flip Presentation Model" fixed the issue.
  • With texture compression set to any value
I didn't bother turning off V-sync.

My problem seems to be solved. Thank you!

Post Reply

Return to “Technical Help”