Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Graphics artifacts with i3-wm on amdgpu #3577
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
I am currently experiencing graphics artifacts/corruption when opening windows on i3-wm. I've asked for help on #amdgpu thinking this was a driver issue but MrCooper suggested this to be a bug in i3.
Here's some of our conversation from today:
I am running i3wm on a Ryzen 5 2400G desktop using the integrated vega graphics. I am also using the modesetting xorg driver.
The artifacts occur when I run a program and when the program hasn't drawn anything yet, the artifacts then are gone after the program finished loading. I've seen this bug mostly with Qt applications.
My system details:
No image corruption/artifacts when opening new windows.
Start an application on i3wm and observe corruption when the application hasn't drawn anything yet.
i3 version: Binary i3 version: 4.16 (2018-11-04) © 2009 Michael Stapelberg and contributors Running i3 version: 4.16 (2018-11-04) (pid 536)to abort…) Loaded i3 config: /home/diego/.config/i3/config (Last modified: Mon 24 Dec 2018 02:33:19 AM -02, 999901 seconds ago) The i3 binary you just called: /usr/bin/i3 The i3 binary you are running: i3
- Linux Distribution & Version: Arch Linux - Are you using a compositor (e.g., xcompmgr or compton): No.
MrCooper | dviola: AFAICT i3 seems to copy from a pixmap to its parent window; my guess would be it never initializes the contents of that | pixmap MrCooper | so its contents are undefined MrCooper | that indeed seems to be the case, if I interpret the code in i3-wm/src/x.c:x_push_node() correctly MrCooper | according to /usr/include/cairo/cairo.h, cairo doesn't initialize the contents of a surface created with | cairo_xcb_surface_create MrCooper | I'd file an i3 bug about this