this post was submitted on 09 Oct 2023
1 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Has anyone been able to get xwidget-webkit to work under Wayland? I saw that support for pgtk was added a couple of years ago so I decided to give it a whirl. Compiled emacs 29.1 on Linux x86_64 with webkit2gtk-2.42.1 and the configure options `--with-xwidgets` and `--with-pgtk`. I tried opening a url with `xwidget-webkit-browse-url`, but emacs crashed with the error:

"ERROR **: 12:43:15.326: GDK is not able to create a GL context: The current backend does not support OpenGL."

which is weird, because `eglinfo` does not report anything out of the ordinary.

xwidgets has always been finicky for me and there's very little information available on the internet so I'd be interested in knowing if others have got it to work and it's just a problem with my setup.

top 1 comments
sorted by: hot top controversial new old
[–] s930054123@alien.top 1 points 1 year ago

The reason is that webkit2gtk no longer supports offscreen rendering starting from 2.42.1. I don't see there is a clear plan in the emacs-devel for fixing this issue. You can see the full discussion here: https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-09/msg01905.html