Comments (11)
https://github.com/microsoft/wslg#opengl-accelerated-rendering-in-wslg
https://developer.nvidia.com/cuda/wsl
whats thw output of glxinfo | grep "OpenGL" ?
from manjarowsl2.
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (NVIDIA GeForce GTX 1080 Ti)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 23.0.2
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.2 (Compatibility Profile) Mesa 23.0.2
OpenGL shading language version string: 4.20
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 23.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
from manjarowsl2.
You are using the correct D3D12 driver. Only thing left to check is your Nvidia driver version. It has to be 526.47 and above.
from manjarowsl2.
I double checked, and my Nvidia driver is 531.79.
I created an Ubuntu instance and followed the guide you linked, and it failed here:
lily@void:~$ sudo vainfo --display drm --device /dev/dri/card0
[sudo] password for lily:
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
vaInitialize failed with error code -1 (unknown libva error),exit
Maybe whatever is causing this is the problem?
from manjarowsl2.
Installed mesa-va-drivers?
For manjaro, follow steps here for your graphics card. Also install libva-utils. Then see if the situation gets better.
Both bother about my fps values. I have a crappy GPU.
from manjarowsl2.
https://github.com/microsoft/wslg/issues?q=is%3Aissue+is%3Aopen+d3d12+
from manjarowsl2.
I'm getting this now: (this is in manjaro)
[lily@void ~]$ vainfo
Trying display: wayland
libva error: /usr/lib/dri/d3d12_drv_video.so init failed
vaInitialize failed with error code 18 (invalid parameter),exit
If I try with --display drm
I get this:
[lily@void ~]$ vainfo --display drm --device /dev/dri/card0
Trying display: drm
Failed to open the given device!
from manjarowsl2.
Use sudo
from manjarowsl2.
Yep that worked, I'm getting this now:
Trying display: drm
Xlib: extension "DRI2" missing on display ":0".
vainfo: VA-API version: 1.18 (libva 2.17.1)
vainfo: Driver version: Mesa Gallium driver 23.0.2 for D3D12 (NVIDIA GeForce GTX 1080 Ti)
vainfo: Supported profile and entrypoints
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Is this good?
from manjarowsl2.
After looking into the issues on the wslg github page that I linked earlier, it seems that software rendering using llvmpipe is still faster. Why I don't know. You'll have to google this and find out more as I am out of ideas why it doesn't work as expected.
from manjarowsl2.
Alright, thanks for your help!
from manjarowsl2.
Related Issues (12)
- gpu not used by mesa driver HOT 9
- Request dnsutils package be added as part of the base image. HOT 1
- Can't install some packages through pacman. HOT 1
- Blue Screen Issue After Setting Up KDE Plasma Desktop and Connecting via RDP HOT 1
- Can not open manjaro this time HOT 4
- ManjaroWSL2 in any terminal running tmux crashes after a time (seconds to minutes) HOT 4
- GPU integration with ManjaroWSL2 HOT 3
- I can't run Manjaro HOT 1
- Orphan removal causes ManjaroWSL2 Catastrophic failure HOT 4
- wslutilities key HOT 1
- fails to update. Also cannot install pamac in the readme. PGP signature is incorrect. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manjarowsl2.