emacs-eaf / emacs-eaf/eaf-browser

eaf-demo tells me that everything works but the web browser is not

Open
#41 1 comment 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
207
Forks
29
PR merge metrics
No merged PRs in 30d

Description

- Please check the `*eaf*` buffer, if there is any error shown in the `*eaf*` buffer, paste it here.

```
QGLXContext: Failed to create dummy context
qt.webenginecontext:

GL Type: desktop
Surface Type: OpenGL
Surface Profile: NoProfile
Surface Version: 1.4
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: no

Init Parameters:
* application-name eaf.py
* browser-subprocess-path /home/mattias/.local/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess
* disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
* disable-setuid-sandbox
* disable-speech-api
* disable-web-security
* enable-features NetworkServiceInProcess,TracingServiceInProcess
* enable-gpu-rasterization
* enable-native-gpu-memory-buffers
* enable-threaded-compositing
* ignore-gpu-blocklist
* in-process-gpu
* use-gl desktop

QQuickWidget: Failed to make context current
QQuickRenderControl: grabs are not supported with the current Qt Quick backend
[8028:8028:0914/183304.065229:ERROR:shared_context_state.cc(410)] SharedContextState::InitializeGL failure max_texture_units : 0 is less that minimum required : 8
[8028:8028:0914/183304.065284:ERROR:gpu_channel_manager.cc(865)] ContextResult::kFatalFailure: Failed to Initialize GL for SharedContextState
[8028:8028:0914/183304.065676:ERROR:shared_image_stub.cc(524)] SharedImageStub: unable to create context
[8028:8028:0914/183304.065712:ERROR:gpu_channel.cc(568)] GpuChannel: Failed to create SharedImageStub
...
```

The `...` are the last 4 lines (the ones starting with `[8028...]` repeating without stopping.

**Describe the bug**

It looks like eaf-browser is unable to generate a webpage.

**To Reproduce**

`M-x eaf-open-browser RET duckduckgo.com RET` and nothing happens.

**Expected behavior**

A webpage should be displayed.

**Versions (please complete the following info):**

- Distro and DE/WM: Ubuntu 22.04 on WSL2 in Windows 10
- Versions of Dependencies: 29.0.50
- M-x emacs-version: `GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2022-09-14`

**Additional context**

I haven't tested on my Linux computer but I think it's related to WSL

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.