Skip to content

How can I enable vsync globally on arch kde wayland with amd gpu or nvidia gpu?

I have a pc that uses an amd gpu and cpu and kde and wayland and I also have a lapto that uses an nvidia gpu and intel cpu and kde and wayland,I want to enable vsync globally for every programs that uses OpenGL or vulkan or any other api.

There is no vsync archwiki article.

6 points16 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 87% up
Kind
Text
ID
o1db02

Author

100
posts
42
comments
6
media
View profile

16 comments

I remember when I used KDE there was a switch to enable VSync, I guess that's global. But that was in XOrg mode. And btw IIRC wayland already has ALWAYS ENABLED VSYNC that you CANNOT disable so there's that... If you don't experience any tearing why do you even care if it's on or off?

3 points
unknown author6 hidden

If you don't experience any tearing why do you even care if it's on or off?

Cause I want that the fps are limited to my monitors refresh rate,cause it would cost more power if they are unlocked.

2 points

That's not a thing you can really do.

2 points
unknown author1 hidden

Why does that not work?

1 points

Because applications can choose to draw whatever they want, whenever they want. Driver level "vsync" is fundamentally a hack.

3 points

KDE has an option to enable VSync somewhere. It's under Compositor or Graphics or Display or something. Forgot which one.

1 points
unknown author3 hidden

In the compositor settings there are 4 vsync options I can choose,which one forces it?

1 points

I don't remember, it's been a long time. I'd advise not using the partial redraw one though, that one always caused bugs for me.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.