You are not logged in.

#1 2024-10-03 13:54:32

trewq
Member
Registered: 2024-03-07
Posts: 10

[SOLVED] Everything is laggy and glitchy

Hi,
I haven't updated my device for like a month and recently i decided to update everything and ever since then my device is completely unusable (kinda). Let me quickly summarize everything i did that has gotten me to this point. I got tired of using Hyprland so i decided to try xmonad. I needed to download some stuff from pacman, so i tried to install something (i don't remember what it was exactly). Pacman has issues installing some nvidia drivers i believe, i looked up the error and finally found a solution. Then i installed xmonad, couldn't get it to work so i left alone and went back to Hyprland again. So far everything was good, there was no lag in hyprland, but then i ran pacman -Syu, logged out and after i logged in everything was broken.

Basically, there is a delay when i type and move the mouse. Windows are super glitchy, when i type in kitty sometimes there is a small 1 that appears on top of the characters. And i'm not sure what i have done or what i can do to fix this. I tried logging into Wayland but had no success in doing that, and when i log into x11, sometimes there is a black box that covers half of my desktop.

Any ideas on what i can do to fix this? Also i should mention that x11 is not as glitchy and laggy as Hyprland.

edit:
I just ran nvidia-smi and this is the output under processes:

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      7491      G   /usr/lib/Xorg                                  32MiB |
|    0   N/A  N/A      7624      G   Hyprland                                        1MiB |
+-----------------------------------------------------------------------------------------+

Could it be that I'm loading Xorg instead of wayland in hyprland? Not sure what the output means...

Last edited by trewq (2024-10-03 14:39:48)

Offline

#2 2024-10-03 14:12:53

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,533
Website

Re: [SOLVED] Everything is laggy and glitchy

This is generally a problem, see the issues for nvidia: https://gitlab.archlinux.org/archlinux/ … -/issues/9

Offline

#3 2024-10-03 14:28:04

trewq
Member
Registered: 2024-03-07
Posts: 10

Re: [SOLVED] Everything is laggy and glitchy

gromit wrote:

This is generally a problem, see the issues for nvidia: https://gitlab.archlinux.org/archlinux/ … -/issues/9

Great, so i'm not the only one with this issue. May i ask how do i enable 'fbdev'? I added the following to /etc/modprobe.d/nvidia.conf
options nvidia_drm.fbdev=1

edit: I also did a reboot, and it didn't work. Do i need to run anything else after creating the file? Or just a simple reboot?

edit2: Oh man you're a life savior! I finally got it working, in case anyone has the same issue. I added 'options nvidia_drm modeset=1 fbdev=1' to '/etc/modprobe.d/nvidia.conf' and afterwards ran 'sudo mkinitcpio -P'.

Thanks for the help!

Last edited by trewq (2024-10-03 14:41:26)

Offline

Board footer

Powered by FluxBB