-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Add the browser next
#68453
Add the browser next
#68453
Conversation
It looks like you are adding fixes before adding the corresponding packages… It also looks like some of the generated files (like |
The following packages has been added: - cl-css - dbus - log4cl - mk-string-metrics - prove-asdf - sqlite - str - swank - trivia - trivial-clipboard - unix-opts
@7c6f434c oups, sorry! I added missing files and reworked the commit flow. |
@GrahamcOfBorg build next |
@GrahamcOfBorg build next |
@GrahamcOfBorg build next |
1 similar comment
@GrahamcOfBorg build next |
Next only starts for me if I run it with |
Next only starts for me if I run it with `$ export $(dbus-launch) && next`. Additionally, when launched I only get blank windows.
The first part happens, I guess many people have a DBus session in a typical situation — we could wrap it like LibreOffice is to auto-launch a DBus session unless present. The second is more interesting question…
|
Note that Next 1.3.2 (to be released this week?) will auto-launch D-Bus.
You can configure the D-Bus path by changing the value of +dbus-launch-command+
in global.lisp.
For the blank window: is glib-networking and gsettings-desktop-schemas
in the user profile? Those are requirements (propagated inputs) for
WebKitGTK browsers.
|
Unfortunately I'm still having trouble with a blank window. I tried adding |
Do you see a minibuffer if you press `C-l`?
What output do you get in the shell?
Anything in ~/.local/share/next/next-gtk-webkit.log
|
No you don't need init.lisp.
If you can display the minibuffer, then webkitgtk is working (the
minibuffer is a webview).
Just got a hunch: try browsing http://imdb.com (not HTTPS).
I can think of 2 possible issues:
- The 'Cannot create EGL window surface: EGL_BAD_MATCH' hints that
hardware acceleration is failing on your hardware. You'll probably
have the same issue with other browsers like Epiphany. Which video
driver do you have?
- An HTTPS issue (although this should print "Unacceptable TLS certificate).
|
imdb doesn't work either. I'm using the nvidia proprietary drivers (v435.21). I know nothing about this, but from a quick look on the arch wiki page it looks like this is relevant. output of vdpauinfo:
which would mean hardware acceleration is enabled, no? |
Does any other WebKitGTK browser work for you?
|
Epiphany works fine. |
Hmmm, I'm running out of ideas.
Can anyone else reproduce?
What if you build and run Next locally?
|
@matthuszagh I'm not able to reproduce your blank page issue :( @GrahamcOfBorg build next |
@Ambrevar are you saying to build it from source outside of Nix tooling? I can try although I know nothing about quicklisp so I'm not sure I'll be able to. And unfortunately I don't have another Nix machine yet... I'll keep digging and see if I can figure out what's going on. I don't use a display manager or desktop environment, just EXWM via emacs as my window manager. Maybe there's some unmet dependency that everyone else is getting from their desktop environment? |
I also use EXWM.
The only WM-related dependency is D-Bus, but since you can start Next
that's not your problem.
Next has an all-in-one Makefile that grabs Quicklisp and fetches the
deps for you. You can type `make` and follow the instructions :)
Don't hesitate to come back to me if you need more help.
|
Built it in a no-DE StumpWM setup, wrapped it into a DBus session, seems to work from the first glance.
|
@matthuszagh
Try running Next by exporting WEBKIT_FORCE_COMPOSITING_MODE=1 and the
WEBKIT_DISABLE_COMPOSITING_MODE=1 environment variables (separately).
|
WEBKIT_DISABLE_COMPOSITING_MODE=1 works! Thanks @Ambrevar |
Something is wrong between the Nvidia driver and Next, but if Epiphany
can get it right, Next can too!
|
I think we can merge this PR since the issue encountered by @matthuszagh doesn't seems to be related to the packaging. |
Thanks!
And thank you a lot, @lewo, for working on this!
|
Add the browser `next` (cherry picked from commit 4342f5e)
Motivation for this change
Add the browser
next
.I also had to add several Lisp libraries which are dependencies of
next
.Thanks @Ambrevar for his help!
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @7c6f434c