-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Input Very Laggy After Update to 2.0 #2838
Comments
I can confirm this issue. I have a bare-bones installation, no plugins enabled. I am using it for Linux Subsystem on Windows. I noticed it getting more and more extreme with each "git status -s", but basically any command will do. |
I just noticed that clearing the console window using CTRL+L helps. |
Maybe related to electron/electron#11051 |
Same here, it's totally unusable now. |
This is very embarrassing, considering the effort you put into 2.0 |
Only issue is that it constantly tries to update and there's no auto-update toggle off so if I accidentally restart Hyper or my computer I have to go through the process of uninstall => reinstall => pin to taskbar => properties => advanced => check run as administrator. Needless to say, it's tedious. |
@chabou curious why you closed this then referenced an issue from 2016. As pointed out in my issue description, per the console, I'm having 300-500ms of latency per keystroke which is unusable and in no way even close to any other terminal. Switching back to v1.4.8 returns it back to normal, more performant than other terminals, speed. So this is definitely an issue with 2.0 EDIT: My mistake. Misinterpreted the closed tag that git auto generated from the other already closed issue. |
Also, in reference to your electron reference, that's linux specific. As pointed out again in my description, I'm on Windows 10 anniversary edition. |
I will also note I just tested the macOS version and it seems to not be effected. |
+1 on this one. |
Seems to have to do something with displaying fonts. If I have time later I'll investigate further, but I noticed that changing fonts can improve performance. |
I have the same input lag issue when using the Source Code Pro font (on a Macbook Pro 2011)... can confirm that the input lag goes away when I use the default I also noticed that rendering output is really slow (regardless of the used font, and I have no plugins installed). I screen-recorded running |
If you change the font and restart the app, is there still input lag? Xterm has an advanced character map to speed up rendering, maybe it's not getting re-initialized correctly after changing font @simonhaenisch |
@albinekb I tried restarting with a custom font, in the first prompt it seemed fine... but after printing something to the output (like listing a directory), the lag came back. Then I tried disabling the custom font and restarted and realized that the lag is actually the same. So it doesn't seem to be related to the font really, but only to how many characters have been printed already. The more characters, the slower it gets. But what bugs me even more is how long it takes to render the output of a simple command like listing a directory. Edit: Clearing the buffer (Cmd+K) after printing something removes the lag again. |
Can you try with completely vanilla It sounds like something is making the character map to not be applied, it could be that you have some transparency differences in your config or something, hard to debug so try to rule out everything. Sorry for the inconvenience, but I can't reproduce.. |
@albinekb I've just done this and it made no difference at all. Even the first Edit: Even the window itself seems to pause before exiting now as well. Not sure if that's related. |
@albinekb I used app cleaner to delete any hyper related config and cache files, and deleted I narrowed it down though, it's related to the amount of characters being visible. After I list my directory, the input lag is there, but if I just hit enter a few times to move it out of view, then the lag is gone again (same effect as Edit: I checked activity monitor and saw that high-performance gpu is not being used, which means that there would probably not be any gpu acceleration (?). I read something about the gpu-blacklist for chromium/electron in #2833 and the Early-2011 MBP GPU (AMD Radeon HD 6750M) might be on that list... maybe that's related. |
Having the same issue, huge latency, very hard to use. - Windows 10, no plugins, just plain ol hyper. |
I actually have the same issues with macOS High Sierra. |
This is probably electron/electron#11051, try running See #2833 (comment), #2839 |
Hyper may actually have the liberty of just always running You may also want to explore updating to Electron 2 asap which will improve the situation (not fully resolve electron/electron#12042). It's currently in beta but I expect it to be stable in the coming weeks: https://github.com/electron/electron/releases/tag/v2.0.0-beta.7 |
For me, the canary build solved it as well... Debian based Linux |
@sebinsua, how to run this on Linux.
|
Still having this issue with 2.1.0-canary2. Issue is most prominent when a webserver logs have printed out a few lines. And it's unusable when using tmux. I can detach from tmux and re-attach using cmder or even the standard bash terminal with zero input lag. |
Does hyper v2 leverage electron v2? |
Having this issue with the latest version using WSL + Zsh. Fine initially and a gradual slowdown until it's unusable. |
Not yet @BrysonR |
:sad-face: |
I'm having a different albeit similar situation - running MacOS El Capitan and the input lag is there as soon as I open it. Tried the --ignore-gpublacklist fix posted here earlier to no avail. Reinstalling, and or deleting .hyper.js doesn't fix it. |
Yeah, was having the same issue here on macOS High Sierra. Solved by updating to 2.1.0 canary release. |
I tried following your suggestion and it finally solved the latency. However, within 5 seconds of seeing my Hyper restored, I get a popup saying version 2.0.0 is stable and it asks me to restart. Even if I do tick the X, it still downgrades and brings the latency back with it. I fiddled around with the .hyper.js file and this happens even after switching to the 'canary' channel. How do I stop this auto-updating? |
I believe the shortcut in Start Menu and if you pin it to your taskbar use @nidnogg Hope that helps |
I just got a new box and installed v2 canary and still noticed some lag when comparing it to cmd. I think lag might be more noticeable given I'm a Mavis Beacon prodigy and type faster than the average user...probably. |
I'm on Ubuntu 18.04.1 LTS and using Hyper 2.0.0. As soon as I start typing |
I'm on Windows 10 and using Bash & ZSH. After adding after doing so, I suggest closing and re-opening hyper from the main folder (mine is inside AppData) and wait for it to give a "restart" prompt. |
Canary 2.1 works well on Ubuntu 17.10 |
Chiming in that moving from 2.0 stable on latest Win 10 to the latest Canary fixed all input lag for me . |
Canary 2.1 on Mac Mojave is still laggy here. |
I, too, am experiencing lots of lag when typing in 2.0.0 for Windows 10. |
Can confirm heavy input lag in v2.0 on windows enterprise. Using pre-release canary 2.1 worked wonders. |
Canary 2.1.0-canary.2 (stable) working perfectly on Windows 10 |
It's really slow too on macOS Mojave. Im using iTerm for a long time and I'm trying to switch to Hyper but it's really slow when I'm typing. |
Please disregard my comment on this issue. I figured out it is not hyper's fault, but Windows protection stuff |
I did the Windows protection stuff mentioned above, but I'm still getting this locally and when I SSH. I also see this issue on my Mac. |
I am having latency issues as well. I have a feeling that it is hardware due to the fact that it is fine on my iMac but really slow on my MacBook. |
Please make a new issue if this still happens with recent canary CI builds |
I am on the latest Hyper.app version
I have searched the issues of this repo and believe that this is not a duplicate
OS version and name: Windows 10 Anniversary Edition
Hyper.app version: 2.0
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/BrysonR/d37a699fced1f16ea451e3015344fdd0
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
total init time 515.8100000000002 bundle.js:1 [Violation] 'requestAnimationFrame' handler took 371ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 357ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 354ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 399ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 394ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 404ms bundle.js:1 [Violation] 'requestAnimationFrame' handler took 373ms
The issue is reproducible in vanilla Hyper.app: Is Vanilla
Issue
Since upgrading to 2.0 a few minutes ago any prompt input is incredibly laggy. Looking at the dev tools console it looks like
requestAnimationFrame
handler is taking between 300-513ms to respond from a few test keystrokes I did for the purpose of this issue.The text was updated successfully, but these errors were encountered: