# Windows tearing/artifacts during minimizing/maximizing window (GNOME)

**URL:** <https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372>\
**Category:** Newbie\
**Created:** [January 22, 2023, 7:11pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372 "2023-01-22T19:11:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 7:11pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/1 "2023-01-22T19:11:29Z")

</div>

Hello, I’m kinda new to linux, I’m not good at all that kernel modules and so on stuff.  
I have a 1650 ti mobile (Laptop), everything works fine on my windows machine (dual-boot), but on the linux I’m having a lot of strange things.

During the “try endeavour” time on XFCE DE everything works fine, when I install the system (GNOME), everything works fine as well, but when I do nvidia-inst I get the tearings/artifacts. I’ve tried manjaro and got the same results… installing nvidia breaks the windows. Also tried ubuntu and still had that problem,

on the first photo you can see the issue on the left corner (during minimizing the window)  
on the second photo when i maximize the window and i can see my background while maximizing (during maximizing the window)

![photo_2023-01-22_22-08-01](https://forum.endeavouros.com/uploads/default/original/3X/a/5/a58c7da74124fe3ff6fe004f4b435e8a40441f80.jpeg)

 ![photo_2023-01-22_22-08-09](https://forum.endeavouros.com/uploads/default/original/3X/9/c/9c1cffc9f354b46b8e079ac7a0cb358ac7ccb386.jpeg)

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 7:25pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/2 "2023-01-22T19:25:57Z")

</div>

Is this on Wayland or X11, or both?

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 8:45pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/3 "2023-01-22T20:45:45Z")

</div>

It’s X11

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 8:47pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/4 "2023-01-22T20:47:04Z")

</div>

when i was trying to record it on a video (gnome screencast) everything was showing up ok, even though for me it was clear i was having tearing/artifacts (or whatever that’s called)

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 9:18pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/5 "2023-01-22T21:18:36Z")

</div>

> [@dreamer\_nn](#):
>
> It’s X11

> [@dreamer\_nn](#):
>
> when i was trying to record it on a video (gnome screencast) everything was showing up ok, even though for me it was clear i was having tearing/artifacts (or whatever that’s called)

ok, was gonna guess maybe its Wayland but have you attempted to use Wayland and reproduce the issue?

That doesnt look to be sreen tearing but looks to be artifacts of some sort

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 9:23pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/6 "2023-01-22T21:23:29Z")

</div>

I tried to install Wayland, but didn’t actually find out how to do it on GNOME. Some people tell it’s default, but in settings-\>about I see I have X11, is there a proper way to install Wayland for gnome?

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 9:39pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/7 "2023-01-22T21:39:42Z")

</div>

it should be there on default, youll need to enable it following the instructions here

[https://wiki.archlinux.org/title/GDM#Wayland\_and\_the\_proprietary\_NVIDIA\_driver](https://wiki.archlinux.org/title/GDM#Wayland_and_the_proprietary_NVIDIA_driver)

You can also try forcing full composition pipeline to see if that fixes things

[https://wiki.archlinux.org/title/NVIDIA/Troubleshooting#Avoid\_screen\_tearing](https://wiki.archlinux.org/title/NVIDIA/Troubleshooting#Avoid_screen_tearing)

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:16pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/8 "2023-01-22T23:16:38Z")

</div>

So I’ve been trying to follow the guide, but I’m already facing problems, I did:

sudo ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

**Boot into arch and edit /etc/default/grub**  
Add kernel option to the line GRUB\_CMDLINE\_LINUX  
`GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1"`

**! I try to:**  
**Regenerate /boot/grub/grub.cfg:**  
`grub-mkconfig -o /boot/grub/grub.cfg`

**and get:**  
usr/bin/grub-mkconfig: line 265: /boot/grub/grub.cfg.new: No such file or directory

**when i check:**  
cd /boot  
ls -la  
**I get:**  
drwxr-xr-x 1 root root 26 янв 22 21:36 .  
drwxr-xr-x 1 root root 128 янв 22 21:33 …  
-rw-r–r-- 1 root root 51200 дек 16 11:44 amd-ucode.img

**and here is the lsblk command:**  
 ![Screenshot from 2023-01-23 02-16-11](https://forum.endeavouros.com/uploads/default/original/3X/9/3/93b8eed256987855b47a0b69c50d6f9f3599bb58.png)

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:20pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/9 "2023-01-22T23:20:37Z")

</div>

well are you using grub or systemd-boot? It looks like you have systemd-boot which will change things a bit.

You would have to edit /etc/kernel/cmdline and add `nvidia-drm.modeset=1` to the command line there and reinstall your kernel would update the cmdline

Also i might try the forcing full composition pipeline first.

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:22pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/10 "2023-01-22T23:22:16Z")

</div>

I’ve tried the full composition pipeline, didn’t change a thing (at least not I didn’t notice it), I will try to use the /etc/kernel/cmdline thing you told me, can you tell me how i reinstall my kernel afterwards please?

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:23pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/11 "2023-01-22T23:23:05Z")

</div>

im assuming youre using the stock kernel so

`sudo pacman -Syu linux linux-headers`

make sure to add that to the end of the /etc/kernel/cmdline file, you only need to add `nvidia-drm.modeset=1` to the end of the file not `GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1"` as that file is the list of cmdline options

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:24pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/12 "2023-01-22T23:24:22Z")

</div>

also forgot to tell, but when I:  
**sudo pacman -S nvidia-inst**  
**nvidia-inst**

I can start the desktop (xstart or whatever it’s called) but the tearing/artifacts are still there  
but if i do:  
**sudo pacman -S nvidia-settings (I love to change a few color settings)**  
I get a dark screen after boot (can’t startx)

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:29pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/13 "2023-01-22T23:29:24Z")

</div>

> [@dreamer\_nn](#):
>
> I can start the desktop (xstart or whatever it’s called) but the tearing/artifacts are still there  
> but if i do:  
> **sudo pacman -S nvidia-settings (I love to change a few color settings)**  
> I get a dark screen after boot (can’t startx)

Nvidia-inst should include the nvidia settings as part of the driver package afaik. If you only install nvidia-settings it doesnt include the drivers. If you have nvidia-inst try running nvidia-settings from terminal

EDIT: just checked, nvidia-inst includes nvidia-settings in the install process you dont need to install it separately its there already

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:34pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/14 "2023-01-22T23:34:45Z")

</div>

sad, I’ve tried to add **nvidia-drm.modeset=1** to **/etc/kernel/cmdline** , but it was already there, I thought maybe everything is fixed and tried to restart, system died, now I’m making a clean fresh install, afterwards I will nvidia-inst and tell you if I have nvidia-settings and artifacts (in 5min)

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:36pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/15 "2023-01-22T23:36:48Z")

</div>

the strange part is the fact I did nvidia-inst and only after i did install nvidia-settings, if i’m not mistaken it shouldnt remove everything nvidia-inst, so why does installing nvidia-settings after nvidia-inst break everything? Also for me it’s strange what the system doesn’t have artifacts/tearing unless I do nvidia-inst (but since i want the drivers + nvidia settings i have no choice)

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:36pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/16 "2023-01-22T23:36:50Z")

</div>

> [@dreamer\_nn](#):
>
> sad, I’ve tried to add **nvidia-drm.modeset=1** to **/etc/kernel/cmdline** , but it was already there, I thought maybe everything is fixed and tried to restart, system died, now I’m making a clean fresh install, afterwards I will nvidia-inst and tell you if I have nvidia-settings and artifacts (in 5min)

ok I need to know exactly what all youve done, you shouldnt need to reinstall and if youve done anything extra/removed any packages,etc.

You can always recover a system, just need to know whats happening

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:37pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/17 "2023-01-22T23:37:51Z")

</div>

it’s not a problem, i even prefer having a clean fresh install, im installing linux over and over that weekend, so nothing new

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:38pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/18 "2023-01-22T23:38:07Z")

</div>

> [@dreamer\_nn](#):
>
> the strange part is the fact I did nvidia-inst and only after i did install nvidia-settings, if i’m not mistaken it shouldnt remove everything nvidia-inst, so why does installing nvidia-settings after nvidia-inst break everything? Also for me it’s strange what the system doesn’t have artifacts/tearing unless I do nvidia-inst (but since i want the drivers + nvidia settings i have no choice)

I dont have nvidia so i cant test and tell you what happened, but best guess is some sort of conflict of a sort 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![Echoa](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/echoa/32/77553_2.png) [@Echoa](https://forum.endeavouros.com/u/Echoa)\
**Post date:** [January 22, 2023, 11:39pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/19 "2023-01-22T23:39:28Z")

</div>

> [@dreamer\_nn](#):
>
> it’s not a problem, i even prefer having a clean fresh install, im installing linux over and over that weekend, so nothing new

Well id prefer to fix a problem than throw out the kitchen sink but its up to you 😛 We can start fresh then and step through the process to get this figured out then

when youre back since it seems like a chunk of the wayland steps are done already try editing `/etc/gdm/custom.conf` and making sure `WaylandEnable=` is set to `true` and not commented out with a # and the front, remove the # if its there

Then from the login screen you should be able to click the cog wheel in the bottom right and have a selection of _gnome_ or _gnome on xorg_ if wayland is already enabled for the nvidia drivers

---

<div class="post-metadata">

**Author:** ![dreamer\_nn](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/d/ce7236/32.png) [@dreamer\_nn](https://forum.endeavouros.com/u/dreamer_nn)\
**Post date:** [January 22, 2023, 11:42pm UTC](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372/20 "2023-01-22T23:42:20Z")

</div>

new install ready, will do **nvidia-inst** now

[Next page](https://forum.endeavouros.com/t/windows-tearing-artifacts-during-minimizing-maximizing-window-gnome/36372.md?page=2)
