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

Google Chrome is not hardware accelerated, running inside WSL2 #44

Open
vlrevolution opened this issue Oct 18, 2024 · 2 comments
Open

Comments

@vlrevolution
Copy link

Am I missing some steps to get google chrome working with hardware acceleration?
chrome://gpu shows this:
image

nvidia-smi shows this:

$ nvidia-smi
Fri Oct 18 13:51:59 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.35.03              Driver Version: 561.09         CUDA Version: 12.6     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 2080 Ti     On  |   00000000:0B:00.0  On |                  N/A |
|  0%   30C    P5             40W /  260W |    2878MiB /  11264MiB |     16%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       242      G   /python3.12                                 N/A      |
|    0   N/A  N/A       348      G   /Xwayland                                   N/A      |
+-----------------------------------------------------------------------------------------+
$

info center shows this:
image

Any help or information would be highly appreciated

@ehfd
Copy link
Member

ehfd commented Oct 19, 2024

The EGL desktop uses VirtualGL.
VirtualGL/virtualgl#264
Please read the above as any graphical capability of the EGL desktop is constrained by VirtualGL.

@ehfd ehfd changed the title Google Chrome is not hardware accelerated, running inside WSL2.. any help would be highly appreciated! Google Chrome is not hardware accelerated, running inside WSL2 Nov 2, 2024
@ehfd
Copy link
Member

ehfd commented Nov 2, 2024

Answer: --use-angle=gl-egl might work, but Chromium >= 129 might have broken the mechanics VirtualGL needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants