# Moving windows causes severe lag on Openbox

**URL:** <https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889>\
**Category:** Openbox\
**Created:** [October 19, 2021, 4:20pm UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889 "2021-10-19T16:20:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Celty](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/celty/32/34777_2.png) [@Celty](https://forum.endeavouros.com/u/Celty)\
**Post date:** [October 19, 2021, 4:20pm UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/1 "2021-10-19T16:20:26Z")

</div>

I’ve been having severe lag when moving windows on Openbox. Windows will stutter across the screen when dragged by their titlebar/decorations. Others seem to have had the same issue, but no real solution is provided[[1]](https://bbs.archlinux.org/viewtopic.php?id=236689)[[2]](https://www.reddit.com/r/archlinux/comments/d1q3iq/openboxs_lagging/). I have a compositor (Picom) running, and the config file is the same file I use for other WMs where it does not cause trouble. I’ve also tried messing with modeset as proposed in the Archlinux thread, but it made no difference. I have a 1080 card and I’m running the 470.74 driver with the zen kernel.

Has anyone else experienced this with Openbox?

---

<div class="post-metadata">

**Author:** ![flyingcakes](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/flyingcakes/32/6218_2.png) [@flyingcakes](https://forum.endeavouros.com/u/flyingcakes)\
**Post date:** [October 19, 2021, 4:48pm UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/2 "2021-10-19T16:48:00Z")

</div>

Tried without compositor?

---

<div class="post-metadata">

**Author:** ![Celty](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/celty/32/34777_2.png) [@Celty](https://forum.endeavouros.com/u/Celty)\
**Post date:** [October 19, 2021, 5:20pm UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/3 "2021-10-19T17:20:08Z")

</div>

Picom does seem to be the culprit, but running without it is worse - instead of stuttering windows lose their shape, it’s more visual, looks like you have multiple windows of the same app open behind one another.

Guess I’ll start commenting sections of the default Picom config out and see what’s causing it.

---

<div class="post-metadata">

**Author:** ![codic12](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/codic12/32/23959_2.png) [@codic12](https://forum.endeavouros.com/u/codic12)\
**Post date:** [October 21, 2021, 12:27am UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/4 "2021-10-21T00:27:41Z")

</div>

Definitely a graphics driver issue.

> [@Celty](#):
>
> looks like you have multiple windows of the same app open behind one another.

yeah, picom prevents that artifact, which is why it slows everything down so much.  
actually just a hunch, do you have a wallpaper set?

---

<div class="post-metadata">

**Author:** ![anon95074228](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/edb3f5/32.png) [@anon95074228](https://forum.endeavouros.com/u/anon95074228)\
**Post date:** [October 21, 2021, 11:38am UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/5 "2021-10-21T11:38:44Z")

</div>

> [@Celty](#):
>
> Has anyone else experienced this with Openbox?

No not really.

You could try running nvidia-settings - then on the X Server Display Configuration - click the Advanced button then check the Force Composition Pipeline.

Move down to nvidia-settings Configuration and Save Current configuration.

Then add to your openbox autostart

```
nvidia-settings -l &

```

Logout and login

---

<div class="post-metadata">

**Author:** ![oldthinker](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/oldthinker/32/37616_2.png) [@oldthinker](https://forum.endeavouros.com/u/oldthinker)\
**Post date:** [October 21, 2021, 4:06pm UTC](https://forum.endeavouros.com/t/moving-windows-causes-severe-lag-on-openbox/18889/6 "2021-10-21T16:06:12Z")

</div>

I’m not experiencing this issue on Arch Linux, Debian Stable (Buster), or Debian Unstable. I am using Intel GPUs on an ASUS AIO (all-in-one) and ASUS Zenbook.
