Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frame rate #491

Open
ogios opened this issue Aug 8, 2023 · 8 comments
Open

frame rate #491

ogios opened this issue Aug 8, 2023 · 8 comments

Comments

@ogios
Copy link

ogios commented Aug 8, 2023

Hi, great work, really impressed by the minimap and all the ext stuff.
I have goneovim and neovide installed, both have their own specialties.

I'm wondering if there's a way to manually set the frame rate like neovide does, which will definitely provide a better feeling when coding.

@akiyosi
Copy link
Owner

akiyosi commented Aug 8, 2023

@ogios
Hi
Currently it is not possible to set the frame rate.
Goneovim will attempt to use as much machine power as possible to achieve performance as requested.

I'm wondering if there's a way to manually set the frame rate like neovide does, which will definitely provide a better feeling when coding.

Does goneovim have slow scenes on your machine?

@ogios
Copy link
Author

ogios commented Aug 9, 2023

not exactly, just qt can not be over 60fps by default, but I have a 144hz screen so I want to make it smoother.

@akiyosi
Copy link
Owner

akiyosi commented Aug 9, 2023

Hmmm, is there any references that Qt does not exceed 60 fps by default?

@ogios
Copy link
Author

ogios commented Aug 9, 2023

Hmmm, is there any references that Qt does not exceed 60 fps by default?

sorry i didn't check it in qt's documentation, i just google it and then asked claude ai.
image

@akiyosi
Copy link
Owner

akiyosi commented Aug 9, 2023

@ogios
The above view of AI seems to be a summary view based on the fact that most common hardware, such as monitors, default to 60 fps, and that it is not specified in the Qt specification.

Would your argument be the following points?

  • Compared to other 144fps-capable applications, goenovim is experienced as having a frame rate that is less than 144fps. So, Goneovim may be running at a limited fps due to some factor.

@ogios
Copy link
Author

ogios commented Aug 9, 2023

Would your argument be the following points?

  • Compared to other 144fps-capable applications, goenovim is experienced as having a frame rate that is less than 144fps. So, Goneovim may be running at a limited fps due to some factor.

yes, exactly

@akiyosi
Copy link
Owner

akiyosi commented Aug 10, 2023

@ogios
The UI of the goneovim is not continuously drawn at a constant frame rate, as is often the case in video games, but is updated as necessary when there is a request for drawing updates.
One possibility is that your machine's maximum key repeat rate is less than 144 times per second. This is because the Neovim screen is essentially updated when some key input occurs.

I have created a binary that allows visualization of the FPS of the goneovim.

https://github.com/akiyosi/goneovim/actions/runs/5816026745

You can visualize the FPS by running goneovim in debug mode as follows;

/path/to/goneovim --debug

I think this can be used to isolate the problem you reported.

@ogios
Copy link
Author

ogios commented Aug 10, 2023

@akiyosi thanks, i'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants