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

make-buffer(-focus) is extremely slow on bad connection #2580

Closed
aartaka opened this issue Sep 16, 2022 · 3 comments
Closed

make-buffer(-focus) is extremely slow on bad connection #2580

aartaka opened this issue Sep 16, 2022 · 3 comments

Comments

@aartaka
Copy link
Contributor

aartaka commented Sep 16, 2022

Describe the bug

I've encountered when using set-url-new-buffer with a terrible connention. It took some ten seconds before the prompt dissapeared and the new buffer appeared. Which is not okay, I guess.

Precise recipe to reproduce the issue

  • Use potato connection (Tor-proxied mobile network connection shared as a hotspot could work).
  • Open Nyxt.
  • Do set-url-new-buffer (M-l).
  • Choose a URL.
  • Enjoy your two-to-ten seconds long prompt presence.

Information

  • OS name+version: GuixSD
$ guix describe
Generation 35	Sep 13 2022 18:40:27	(current)
  guix a7af25a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a7af25ad313bbc10d42801c48cd16dfda53290a1
  games 55b5543
    repository URL: https://gitlab.com/guix-gaming-channels/games
    branch: master
    commit: 55b55435bae4a4f9bac2cbceef0a4964ba2e63e6
  aartaka c3d1039
    repository URL: https://github.com/aartaka/guix-channel
    branch: master
    commit: c3d10396b06984636cb63c3d18a978b77e01bd53
  chur 8fcb5dd
    repository URL: https://github.com/aartaka/chur-guix
    branch: master
    commit: 8fcb5ddaa15fd10d71c1e50950405bb6d48e4393
  nonguix e095134
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: e0951349603581895e0ba61f0e7410368ea1902a
  • Graphics card and driver: Intel UHD 620, i915
$ lspci -v
...
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 01) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 5089
	Flags: bus master, fast devsel, latency 0, IRQ 165
	Memory at 601c000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 3000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
...
  • Desktop environment / Window manager name+version: StumpWM 20.11
  • How you installed Nyxt (Guix pack, package manager, build from source): guix package -f nyxt.scm
  • Information from show-system-information:
Nyxt version: 3-pre-release-1-477-gb2b016155
Renderer version: GTK
Operating system kernel: Linux 5.18.10
Lisp implementation: SBCL 2.2.6 (Dynamic space size: 5242880000)
Features: (:NYXT-GTK :WEBKIT2 :WEBKIT2-2.36 :WEBKIT2-CORS-ALLOWLIST
 :WEBKIT2-PASTE-PLAINTEXT :WEBKIT2-TRACKING :WEBKIT2-MUTE :WEBKIT2-EMOJI
 :WEBKIT2-MEDIA :WEBKIT2-SANDBOXING :GTK-3-22 :GTK-3-20 :GTK-3-18 :GTK-3-16
 :GTK-3-14 :GTK-3-12 :GTK-3-10 :GTK-3-8 :GTK-3-6 :GTK-3-4 :GTK :GDK-3-22
 :GDK-3-20 :GDK-3-18 :GDK-3-16 :GDK-3-14 :GDK-3-12 :GDK-3-10 :GDK-3-8 :GDK-3-6
 :GDK-3-4 :CAIRO-1-10 :CAIRO-1-12 :GDK-PIXBUF :GLIB-2-30 :GLIB-2-32 :GLIB-2-34
 :GLIB-2-36 :GLIB-2-38 :GLIB-2-40 :GLIB-2-42 :GLIB-2-44 :GLIB-2-46 :GLIB-2-48
 :GLIB-2-50 :GLIB-2-52 :GLIB-2-54 :GLIB-2-56 :GLIB-2-58 :GLIB :NYXT-3.1 :NYXT-3
 :CUSTOM-HASH-TABLE-NATIVE :SWANK :PLUMP-UTF-32 :PARENSCRIPT :FSET-EXT-STRINGS
 :NAMED-READTABLES :LPARALLEL :21BIT-CHARS :CLOSER-MOP :CL-PPCRE-UNICODE
 :CL-UNICODE :CL-PPCRE :CHUNGA :FLEXI-STREAMS :BORDEAUX-THREADS :GLOBAL-VARS
 :LPARALLEL.WITH-CLTL2 :LPARALLEL.WITH-CAS :LPARALLEL.WITH-STEALING-SCHEDULER
 :SPLIT-SEQUENCE :FAST-IO-SV :FAST-IO :CL-JSON-CLOS :CL-JSON
 :SBCL-USES-SB-ROTATE-BYTE CHIPZ-SYSTEM:GRAY-STREAMS :THREAD-SUPPORT :SLYNK
 CFFI-FEATURES:FLAT-NAMESPACE CFFI-FEATURES:X86-64 CFFI-FEATURES:UNIX :CFFI
 CFFI-SYS::FLAT-NAMESPACE ALEXANDRIA::SEQUENCE-EMPTYP :QUICKLISP :ASDF3.3
 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX :NON-BASE-CHARS-EXIST-P
 :ASDF-UNICODE :X86-64 :GENCGC :64-BIT :ANSI-CL :COMMON-LISP :ELF
 :IEEE-FLOATING-POINT :LINUX :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES
 :SB-CORE-COMPRESSION :SB-LDB :SB-PACKAGE-LOCKS :SB-THREAD :SB-UNICODE :SBCL
 :UNIX)

ASDF version: 3.3.5
ASDF registries: (NYXT-SOURCE-REGISTRY ENVIRONMENT-SOURCE-REGISTRY USER-SOURCE-REGISTRY
                      USER-SOURCE-REGISTRY-DIRECTORY
                      DEFAULT-USER-SOURCE-REGISTRY SYSTEM-SOURCE-REGISTRY
                      SYSTEM-SOURCE-REGISTRY-DIRECTORY
                      DEFAULT-SYSTEM-SOURCE-REGISTRY)
Critical dependencies: (/gnu/store/1bdjbdhmyrj0zmhk0qvymc7w0f94d3v8-cl-cffi-gtk-0.11.2-2.e9a46df/share/common-lisp/source/cl-cffi-gtk/gtk/cl-cffi-gtk.asd
 /gnu/store/jkjnsq8f9gs9fxgqpbg6x3yzkbc9k37w-cl-gobject-introspection-0.3-1.d0136c8/share/common-lisp/source/cl-gobject-introspection/cl-gobject-introspection.asd
 /home/aartaka/git/cl-webkit/webkit2/cl-webkit2.asd)

Quicklisp dist version: 2022-07-08
Quicklisp client version: 2021-02-13
Local project directories: (/home/aartaka/quicklisp/local-projects/)
Critical dependencies(#<SYSTEM cl-cffi-gtk / cl-cffi-gtk-20201220-git / quicklisp 2022-07-08>
 #<SYSTEM cl-gobject-introspection / cl-gobject-introspection-20210124-git / quicklisp 2022-07-08>
 #<SYSTEM cl-webkit2 / cl-webkit-20220707-git / quicklisp 2022-07-08>)

Guix version: 0
@Ambrevar
Copy link
Member

Is this something new or have we had this since forever?

@aartaka
Copy link
Contributor Author

aartaka commented Sep 16, 2022

I guess it's been there for a long time, I just had no chance to encounter it 😅

@aadcg
Copy link
Member

aadcg commented Mar 11, 2024

I believe this is related to #3197 and it has been fixed.

@aadcg aadcg closed this as completed Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants