Skip to content

Windows won't render until they are resized

I have just bought a new laptop and have been setting up Arch Linux. Everything works great except for a few programs not rendering properly. Certain programs will not render new content until the window is resized. For example, if I run neofetch in a terminal emulator nothing will appear on screen, not even the command I typed, until I resize the window. The programs I have found this occur with are kitty, alacritty, and Spotify. This does not occur with st, Firefox, or LibreOffice. I have not encountered this issue on any other machine I've installed Arch Linux to.

I will provide some information that may help:

  • Window Manager: dwm
  • CPU: Intel i7-1280P
  • Graphics: Integrated
  • Screen Resolution: 2256x1504
  • Memory: 16GB

Any help is appreciated. Thank you.

8 points22 comments
Open on Reddit
About this post
Posted
Archived
Score
8 · 85% up
Kind
Text
ID
133fsub

Author

4
posts
16
comments
0
media
View profile

25 comments

I don't mean to sound rude - but are you sure this is not a DWM issue?

2 points

Im pretty sure it isn't. I've always used dwm and used it on many machines and I've never had this issue before.

1 points

It's a non-compositing WM so it takes very little part (if any at all) in the render process, the X server itself handles everything once the windows are positioned.

My guess would've been whether OP is running picom/compton though...

1 points

I am running xcompmgr but the same issues occur with or without it installed. Also I use xcompmgr on all my other installs and have never had an issue with it.

1 points

Try different DRI, test 2 and 3.

2 points
unknown author

Deleted before we saved it.

1 points

Actually this did have an effect. The programs render now but they flicker.

Edit: To clarify I changed it from 3 (default) to 2.

1 points

It is a problem dwm and gpu accelerated apps. Your defined apps are based on gpu. So, you have wrongly configured gpu. Apply compositor, too.

-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.