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

Erratic keypress events when running compton #255

Open
fengshaun opened this issue Dec 9, 2014 · 4 comments
Open

Erratic keypress events when running compton #255

fengshaun opened this issue Dec 9, 2014 · 4 comments

Comments

@fengshaun
Copy link

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
Copy link

are u using nvidia proprietary driver?

did u tried those options?

--xrender-sync
--xrender-sync-fence

@fengshaun
Copy link
Author

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!

tryone144 pushed a commit to tryone144/compton that referenced this issue Mar 25, 2020
For big windows, their shadow images might exceed the maximum request
length limit of Xorg. libxcb will shutdown the connection to X server if
we try to send that image. So we have to break the image apart and send
it piecemeal.

In the future we probably should migrate to MIT-SHM.

Fixes chjj#255 chjj#274

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
@RoelVdP
Copy link

RoelVdP commented Nov 10, 2022

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

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

@actionless
Copy link

it's picom time now though

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

3 participants