You are not logged in.

#1 2021-03-10 12:33:56

LoLei
Member
Registered: 2015-08-02
Posts: 18

Some windows frozen / stop displaying randomly (i3, Nvidia, Alienware)

Hi everyone,

since yesterday I get graphical glitches that I have not been able to figure out
how to fix.

At some point, seemingly at random, all my terminals will stop showing content,
as well as the browsers, and Microsoft Teams. Other applications, like IntelliJ
keep working like nothing has happened at all. They will either show up as
black, or will show the content of the previous workspace from which I switched.

The following screenshot and video that I recorded just after it happened should
show it more clearly:

https://i.imgur.com/gzujGTr.png
https://streamable.com/ukf69m

In the video I am first starting the screen recording, then switching to a
previous workspace.  The content from the original workspace is now shown
overlain in the terminals of the workspace to which I switched. Then I switch
to the workspace that contains Firefox, which does not show its content either.
Opening new terminals work, but the old ones do not. Only killing all terminals,
or the browser, and opening them again fixes the issue (for a while).  It may
happen again later.

The only thing I can point to which might be suspicious is that I messed with
the Xorg config file at /etc/X11/xorg.conf four days ago, to have multihead
support for my laptop and external monitor. (Previously only the external
monitor would work, due to nvidia-xconfig's generated xorg.conf file. I
mistakenly created an empty xorg.conf file, but with that, or no xorg.conf file
at all, at least both screen work.) However, this issue did not occur until
yesterday, where it happened once or twice, and today, where it has happened at
least ten times.  Watching a coworker stream on Microsoft Teams seemed to
trigger it continuously. But even without Teams, it can and still doeshappen at any
point. EDIT: Today it happened a few seconds after booting, with no applications
open other than a few terminals.

Things I've ruled out:
* Compositor (picom, disabled it before rebooting, still happened)

Below is some information which I thought could be relevant. I'll post any
additional information or command outputs you need.  I'd appreciate it a lot if
you could help me figure this out.

EDIT: I used the auto-generated xorg.config via nvidia-xconfig again, and while
this only makes the external screen work, and freezes the laptop monitor, the
graphical glitch does not happen. So I can either decide on not being able to
use my laptop monitor, or using both monitors, but having this glitch happen.
Neither of this is optimal.

EDIT: I found a workaround by installing Gnome and i3-gnome.
EDIT: i3-gnome does not fix it after all. Same with xfce+i3. Only Gnome itself
without changing the WM fixes it. Presumably also other DEs.
EDIT: I fixed it by either setting picom backend to glx or switching from
i3-gaps to i3.

Neofetch:

                   -`                    lo@lolei 
                  .o+`                   ------------ 
                 `ooo/                   OS: Arch Linux x86_64 
                `+oooo:                  Host: Alienware m15 1.3.3 
               `+oooooo:                 Kernel: 5.11.4-arch1-1 
               -+oooooo+:                Uptime: 2 hours, 10 mins 
             `/:-:++oooo+:               Packages: 1104 (pacman) 
            `/++++/+++++++:              Shell: zsh 5.8 
           `/++++++++++++++:             Resolution: 1920x1080, 2560x1080 
          `/+++ooooooooooooo/`           WM: i3 
         ./ooosssso++osssssso+`          Theme: Materia-dark [GTK2/3] 
        .oossssso-````/ossssss+`         Icons: Adwaita [GTK2/3] 
       -osssssso.      :ssssssso.        Terminal: kitty 
      :osssssss/        osssso+++.       Terminal Font: JetBrains Mono 12.0 
     /ossssssss/        +ssssooo/-       CPU: Intel i7-8750H (12) @ 4.100GHz 
   `/ossssso+/:-        -:/+osssso+-     GPU: Intel UHD Graphics 630 
  `+sso+:-`                 `.-/+oso:    GPU: NVIDIA GeForce RTX 2060 Mobile 
 `++:.                           `-/+/   Memory: 4916MiB / 31899MiB 
 .`                                 `/

Last edited by LoLei (2021-03-19 12:30:00)

Offline

Board footer

Powered by FluxBB