160 questions
2
votes
0
answers
150
views
deltaTime jitter with OpenGL in SDL2?
When running a simple SDL2/OpenGL demo with VSync on Windows 10, I noticed that deltaTime between frames fluctuates by 1–4 ms at 60 Hz. I expect some jitter from OS scheduling, but 4 ms seems large ...
3
votes
2
answers
615
views
When should I use Choreographer.postFrameCallback vs. Choreographer.postVsyncCallback?
I'm working on optimizing frame rendering and UI updates in an Android application, and I'm trying to understand the difference between Choreographer.postFrameCallback and Choreographer....
0
votes
2
answers
176
views
requestAnimationFrame exceeds screen refresh rate
i use requestAnimationFrame in a js webgl project where i change the pixel color from black to white on each frame by accessing a texture that contains the content of the last frame ) but the ...
1
vote
0
answers
57
views
Does SwiftUI have/need an equivalent to Flutter's ticker with vsync?
Lets say we're using SwiftUI and we are using a timer to fire X times per second.
Every time the timer callback fires, we update a @State variable that triggers a view update with the new value.
Lets ...
0
votes
0
answers
122
views
Delphi - synhronize BitBlt with vsync (screen tearing)
I've some problem with my Delphi (10.4) application, and I'm stuck for a few days now. So I hope someone can help me. I'm rewriting some old code.
Basically, I've a problem with BitBlt command and ...
1
vote
1
answer
1k
views
Strange problem with PIO state machine of RapsberryPi-Pico
I try to implement TFT control using PIO. I have written 4 PIO state machines for every sync signal of my TFT (CLOCK, DE, HSYNC, VSYNC). 3 of them work seamless, but if I add the VSYNC module, the ...
3
votes
1
answer
2k
views
Extracting frames from mp4in ffmpeg to jpg format produces error when using -vsync 0 option
I'm trying to extract all frames from a mp4 video with ffmpeg. I use the following command:
ffmpeg -i "/Users/raimundbuehler/recordings/2022_01_24/000/exports/001/world.mp4" -vsync 0 "/...
2
votes
0
answers
604
views
How to open Chrome/Win10 in EXCLUSIVE fullscreen mode as opposed to screen sized borderless window?
There are multiple flags around involved with starting Chrome in fullscreen and unlocking high framesrates and low input lag
--start-fullscren
--kiosk
--app
--disable-gpu-vsync
--disable-frame-rate-...
0
votes
1
answer
1k
views
Assembly x86 (16-bit) VSync (screen tearing)
I'm working in TASM 16-bit Assembly as an education course, and I'm making a game engine.
I'm using VGA 13h (320x200 256-colors) with DOSBox, and I can sometimes see the screen tearing, meaning my ...
0
votes
1
answer
578
views
how to use Choreographer to synch animation with VSync?
When I use Choreographer I was thinking that it's will fire the doFrame every 16 ms to synch with the vSynch. But seam it's not the case when I look the log :
04-04 01:02:13.430: I/doFrame(5348): ...
2
votes
0
answers
1k
views
Forcing DirectX 11 VSync, even if turned off in Nvidia control panel
Some users of my DirectX 11 application complains about frame rates between 1000-2000 fps, which I totally understand. It's a really small group of people who have had this issue. The only way I've ...
-1
votes
1
answer
2k
views
How I do make my animation repeat when I click on it with animatedbuilder? flutter/dart
I'm working on a custom animation button. I want to repeat the animation every time the user taps on it. So when the user clicks on it, the container scales bigger. And returns to the normal size. And ...
4
votes
0
answers
1k
views
High CPU usage with VSYNC turned ON in Opengl and SDL2 application
In this simple triangle drawing application made with opengl3.3 and sdl2, the cpu's usage shoots up to 50+% with vsync enabled. The vsync is enabled using SDL_GL_SetSwapInterval( 1 ). When i remove ...
1
vote
2
answers
811
views
marquee (ticker,text scroll) with java2d or javafx stutters
I'm trying to write a smooth ticker (text running from rigth to left on the screen).
It is almost as I want it, but there are still some stutters. I would like it to be as smooth as cloud moving in ...
2
votes
1
answer
3k
views
Understanding buffer swapping in more detail
This is more a theoretical question. This is what I understand regarding buffer swapping and vsync:
I - When vsync is off, whenever the developer swap the front/back buffers, the buffer that the GPU ...
0
votes
0
answers
383
views
How to properly sync frames in freeglut?
How to enable something like v-sync in the freeglut program, is there a way to reduce screen tearing such as possibly properly syncing up the monitor refresh rate with the frames pushed out of the ...
1
vote
2
answers
2k
views
Java VSync without fullscreen window
I'm trying to make my windowed application VSync with the monitor refresh. This code works properly with "fullscreen = true" (reports 75FPS, the monitors refresh rate) but in windowed mode ...
4
votes
1
answer
530
views
Is there a programmatic way to change vsync at runtime in Haxe/Starling?
I see a way to do so through project.xml but I'm not seeing a way to disable/enable vsync at runtime (like for example having an option in a settings menu or something). Searching hasn't given me any ...
0
votes
1
answer
556
views
Get Vsync status on GPU C#
I am developing a .net core application where I need to retrieve as much information about the system as possible. I have managed to retrieve already a lot, however, I am struggling to find out ...
1
vote
0
answers
2k
views
V-sync won't disable in android build
As the title suggests I am having issues with v-sync on android. I've set the v sync Count to Don't sync in the qualitySettings panel for the used quality level. However when i run my application on ...
1
vote
0
answers
313
views
Is it possible to offset the Vsync timing of Android on hardware level?
To clarify, I would like to offset the actual timing of when the next screen refresh happens.
I am creating a multiplayer game where the server sends packets to clients at 60Hz and I would like ...
14
votes
2
answers
22k
views
Is there a way to remove 60 fps cap in GLFW?
I'm writting a game with OGL / GLFW in c++.
My game is always running at 60 fps and without any screen tearing. After doing some research, it seems that the glfwSwapInterval() function should be ...
0
votes
0
answers
53
views
Is it possible to programmatically delay a monitor's vertical retrace?
Given FreeSync and GSync it is now possible that graphics card and monitor work together to support variable frame rates and control when a monitor refreshes.
My question is if with a fixed framerate ...
1
vote
0
answers
192
views
Tearing with cocos2d-x on PC at native resolution, fullscreen, 60fps
I'm programming a game with cocos2d-x for Windows, Linux and MacOS (for the moment I develop and test on Windows 10). I already have a system to change settings (either fullscreen or windowed with ...
5
votes
1
answer
1k
views
Android display VSYNC signal is highly erratic
I'm investigating frame drops in my Android app. They are irregular and happen around once a second on average. I have paired back the renderer in question to a very simple shader and I'm confident ...