Skip to content

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

Description

@mattiasdrp
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions