You are not logged in.

#1 2023-06-13 17:40:45

techvishnu
Banned
Registered: 2023-06-13
Posts: 30

Wayland on Arch Linux + Nvidia laptop card causing flickering

I'm currently moving my work from windows to linux and using it by dual boot, When I start working on multiple apps with each other in fullscreen, or when I'm scrolling in the browser i notice my application just goes flickering too much, even when i boot up in my arch the SDDM starts to flicker too much.

I'm using NVIDIA RTX 3080 Ti, connected to my 240 Hz main monitor via DisplayPort 1.4, my setup is dual monitor but the other screen is 144 Hz. I'm using Hyprland on Arch Linux, This is a fresh installation of arch and I installed the drivers ("nvidia" and "nvidia-utils") during installation.

Did not face this issue on windows so i thought its with my arch

This is the output of my GPU details (nvidia-smi)

 Tue Jun 13 23:07:54 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3080 T...    Off| 00000000:01:00.0  On |                  N/A |
| N/A   48C    P0               43W /  N/A|    619MiB / 16384MiB |      9%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A     35066      G   /usr/lib/Xorg                                20MiB |
|    0   N/A  N/A     35108      G   Hyprland                                    187MiB |
|    0   N/A  N/A     35420      G   /usr/lib/firefox/firefox                    174MiB |
|    0   N/A  N/A     36634      G   Xwayland                                     63MiB |
|    0   N/A  N/A     36649      G   ...vice,SpareRendererForSitePerProcess       89MiB |
|    0   N/A  N/A     54173      G   kitty                                        29MiB |
+---------------------------------------------------------------------------------------+

This is output of my xrandr:

 Screen 0: minimum 16 x 16, current 2560 x 1440, maximum 32767 x 32767
eDP-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   2560x1440    239.92*+
   1920x1440    239.90  
   1600x1200    239.94  
   1440x1080    239.87  
   1400x1050    239.76  
   1280x1024    239.78  
   1280x960     239.80  
   1152x864     239.87  
   1024x768     239.74  
   800x600      239.81  
   640x480      239.72  
   320x240      238.24  
   1920x1200    239.94  
   1680x1050    239.81  
   1440x900     239.80  
   1280x800     239.70  
   1152x720     239.91  
   960x600      239.72  
   928x580      239.78  
   800x500      239.72  
   768x480      239.72  
   720x480      239.35  
   640x400      239.49  
   320x200      238.84  
   2048x1152    239.94  
   1920x1080    239.88  
   1600x900     239.83  
   1368x768     239.74  
   1280x720     239.96  
   1024x576     239.43  
   864x486      239.60  
   720x400      239.62  
   640x350      239.59    

I just cant understand what is causing the flickering and why it only opens when a window is on fullscreen.

Offline

#2 2023-06-13 18:38:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,197

Re: Wayland on Arch Linux + Nvidia laptop card causing flickering

There are some known flicker issues with certain xwayland applications on nvidia, if you can, configure them to be native Wayland, in the case of firefox: https://wiki.archlinux.org/title/Firefox#Wayland

Last edited by V1del (2023-06-13 18:54:20)

Offline

#3 2023-06-14 17:52:47

techvishnu
Banned
Registered: 2023-06-13
Posts: 30

Re: Wayland on Arch Linux + Nvidia laptop card causing flickering

Thank You, But i was having it on chrome mostly, just by launching chrome, it gives me huge flickering and pixel fluctuation etc.. Im currently on hyprland and im loving it, apparently mostly this is happening with some fullscreen applications.. tried to reinstall chrome but that didn't work

Offline

Board footer

Powered by FluxBB