Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Causes freeze and stutter #19

Open
TheWeirdDev opened this issue Sep 17, 2020 · 10 comments
Open

Causes freeze and stutter #19

TheWeirdDev opened this issue Sep 17, 2020 · 10 comments

Comments

@TheWeirdDev
Copy link

Enabling this extension causes my screen to freeze (stutter) every one or two seconds. I suspect this is because it runs synchronously on the main gui thread and the extension stops for a fraction of a second to read and reload the status.
I'm not exactly sure but making the refresh functionality asynchronous might fix this issue.

This is one of my favorite extensions but this problem makes it almost unusable for me.
I'm running ArchLinux with gnome-shell 3.36.4 on X.

Thanks for your work.

@AlexPoilrouge
Copy link
Owner

Hi.

I'm sorry to hear that. How recent is this problem?
Where did you get the extension from? This repo? The gnome extension website? The AUR maybe?

It is weird because it sounds like an old memory management bug that was patched months ago…

After enabling the extension and launching a terminal, what does these two lines show?
journalctl --since "1 day ago" | grep nordvpn

journalctl --since "1 day ago" | grep nvpn

@TheWeirdDev
Copy link
Author

I've had this problem for a long time (6 months or so).
I installed it from the gnome extension website and now i reinstalled it from this repo but it has the same problem. Someone on the gnome extension website pointed out that they have encountered this bug too.

Enabling the extension and running those commands didn't output anything.
image

@AlexPoilrouge
Copy link
Owner

My bad: can you try this with admin privileges?

@TheWeirdDev
Copy link
Author

Running commands with sudo outputs the same empty result.

@JediBrooker
Copy link

JediBrooker commented Nov 4, 2020

i'm also getting stutters. im on a fresh install of fedora 33. i installed this gnome extension instead and don't have any problems: https://extensions.gnome.org/extension/2569/gnordvpn-local/

@AlexPoilrouge
Copy link
Owner

Well, I'm sorry to hear that.

But as I said, I have no clue where this bug is coming from, and, more importantly, I can't reproduce it. And I can't just make guesses and cluelessly change the code since I won't know if the fix actually work or not.

So, until I find more clues, you should stick to gNordVPN-Local, sorry.

@uohmak4fvpqe
Copy link

Exactly the same on Ubuntu 20.04 up-to-date

@funkekaiser
Copy link

funkekaiser commented Dec 27, 2020

I have the same problem on Manjaro Linux (Kernel 5.4 LTS, NVIDIA 455.xx).

Downloaded from AUR.

journalctl --since "1 day ago" | grep nordvpn                            
Dez 27 19:02:29 jonathan-pc systemd[1]: nordvpnd.socket: TCP_NODELAY failed: Operation not supported
Dez 27 19:02:34 jonathan-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=nordvpnd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dez 27 19:02:34 jonathan-pc kernel: audit: type=1130 audit(1609092154.990:73): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=nordvpnd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

journalctl --since "1 day ago" | grep nvpn

Tested with https://www.testmyscreen.com/ best seen with the sport pan mode. Heavy freezing with it enabled.

Found it with this post:
https://askubuntu.com/questions/1105528/ubuntu-18-04-video-stutters-every-second-regularly-with-nvidia-gpu
"It turned out that I had one of my gnome shell extensions (SystemMonitor) update values every second, and as soon as I turned this off it no longer had a stuttering issue. Why exactly that was the problem I am unsure, but turning it off fixed it."

Could this be the problem?

@jvanheugten
Copy link

Had this exact same problem just now.
It seemed that nordvpn wasn't logged in, and somehow the extension tried to force login, causing too many requests. It then was hanging my whole system every few seconds.

nordvpn login
Too Many Requests

Currently have the extension disabled.

@aleritty
Copy link

I have a similar problem, screen stuttering and when I firstly click on the NVPN icon to open the menu, everything freezes for a few seconds, then the menu opens. Every interaction.
I changed the refresh time to 5s and the mechanism to identify nordvpn from "hash" to "which", and apparently things were better (but I'm not sure if this is the solution or just a coincidence).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants