Comments (8)
@benhillis, I haven't tried loading it explicitly, but I raised this issue hoping that in the WSL2 kernel code, perhaps it's a good idea to have it enabled by default so that manual commands don't need to be run each time WSL2 is started to load the VGEM module. It should in theory work out-of-the-box as it does in the older 5.15 kernel.
from wsl.
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
View similar issues
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!
Closed similar issues:
- No /dev/dri on WSL2? (#5822), similarity score: 0.74
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from wsl.
/feature
I'm tagging this as a feature request since I have provided the solution in the workaround. No logs are really needed as this one involves building the kernel and following the steps to reproduce the issue.
from wsl.
Diagnostic information
Found '/feature', adding tag 'feature'
from wsl.
From https://github.com/microsoft/WSL2-Linux-Kernel/releases
We are very excited kernel module support is now available in WSL2! With this latest kernel update, a large set of loadable modules has been introduced, accompanied by an overall config file update. However, please be aware that when using a custom kernel, the default module support is disabled for now. If youβre using a custom kernel, we recommend you edit your kernel config file to build-in all of the modules that you need.
from wsl.
Thanks @zcobol, I did read that as part of the release notes, but since this is to be the new LTS kernel and the default one at some point soon when you update WSL, I'd imagine that feature (CONFIG_DRM_VGEM
) should be enabled by default. Perhaps it is planned to be done, but I just wanted to open an issue regarding that in case it was not (especially since VA-API is a supported and default feature set for WSL).
from wsl.
The kernel module is included, can you simply load the module (sudo modprobe vgem)?
from wsl.
Just updated WSL to 2.3.13 and also noticed that /dev/dri was missing. This is required for Emby Media Server to run. Using the sudo modprobe vgem worked, but if this is something that has to be done every time the server restarts, then it really should be enabled by default.
from wsl.
Related Issues (20)
- Windows interop doesn't work for .exe files that live inside of a Docker container HOT 1
- wslpath doesn't work for files that live in a Docker container HOT 1
- open wsl app issue HOT 5
- Bridged network mode HOT 2
- Remote desktop disable HOT 1
- WslLogs-2024-08-30_16-32-58.zip HOT 1
- A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. Error code: Wsl/Service/0x8007274c HOT 1
- wsl.exe --install Ubuntu. Error code: Wsl/InstallDistro/E_ACCESSDENIED HOT 1
- (Question) How can I capture `wsl --update` (and similar) progress information programmatically? HOT 3
- Error code: Wsl/Service/RegisterDistro/0xd000000d HOT 4
- Error code: Wsl/Service/CreateInstance/CreateVm/ConfigureNetworking/HNS/E_ACCESSDENIED HOT 3
- Files With Long Basenames or Path Components Not Opening in Windows Programs Such as Notepad HOT 1
- [WSL1] Upgrade to Ubuntu 24.04 from 22.04 fails with missing snap. Possible to work around? HOT 4
- Zone.Identifier Files Appearing in Directory HOT 3
- Error: 0x80041002 - WSL 2 Upgrade Failed HOT 1
- CreateProcessEntryCommon:508: Create process not expected to return HOT 2
- On Ubuntu-24.04 distro, `sudo chown $USER -R /mnt/c/Users/user/some_dir_created_under_previous_wsl1_distro_22.04` does not have any effect HOT 2
- All wsl commands return Wsl/CallMsi/Install/E_INVALIDARG HOT 1
- Goland can not find wsl file path HOT 2
- No network communication between WSL2 and host / internet HOT 6
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 wsl.