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

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

Open
mattiasdrp opened this issue Sep 14, 2022 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@mattiasdrp
Copy link

  • 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

@manateelazycat
Copy link
Member

I guess WSL2 break GPU that cause Qt WebEngine failed to start.

@manateelazycat manateelazycat added the help wanted Extra attention is needed label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants