chjj / compton

A compositor for X11.
Other
2.25k stars 500 forks source link

Erratic keypress events when running compton #255

Open fengshaun opened 9 years ago

fengshaun commented 9 years ago

While running compton, keypresses don't always register when they should. Every once in a while (approximately 1 every 5 keypresses) are registered after a second or two of delay. This would probably be a demo:

abcdef [1 sec delay] ghijklmnopq [0.5 sec delay] rs...

this happens at least in termite, xterm, and urxvt. Compton v0.1_beta2 on openbox.

actionless commented 9 years ago

are u using nvidia proprietary driver?

did u tried those options?

--xrender-sync
--xrender-sync-fence
fengshaun commented 9 years ago

Yes, I'm using nvidia proprietary.

--xrender-sync --xrender-sync-fence seems to work well for now. I'll test it a bit more and report back if there are any problems.

Thanks!

RoelVdP commented 2 years ago

Same issue here. NVIDIA Drivers. Issue description here: https://gitlab.xfce.org/xfce/xfwm4/-/issues/676 https://askubuntu.com/a/1439993/682596 https://github.com/linuxmint/mintdesktop/issues/54

Adding --xrender-sync --xrender-sync-fence to command line seems to fix the problem.

actionless commented 2 years ago

it's picom time now though