Open Ailina0728 opened 3 weeks ago
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.
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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
需要日志才能从 WSL 团队进行评审
如果这是功能请求,请回复“/feature”。如果这是一个问题,请回复“/question”。 否则,请按照以下说明附加日志,除非添加日志,否则不会审核您的问题。这些日志将帮助我们了解您的机器中发生的情况。
如何收集 WSL 日志 在管理 powershell 提示符下下载并执行 collect-wsl-logs.ps1:
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
完成后,该脚本将输出日志文件的路径。
如果这是网络问题,请按照此处的说明使用 collect-networking-logs.ps1
完成后,请将输出文件上传到此 Github 问题。
单击此处了解有关日志记录的更多信息 如果您选择通过电子邮件发送这些日志而不是附加到 bug 上,请将它们发送到 wsl-gh-logs@microsoft.com,并在主题中注明 github 问题的编号,并在消息中提供指向您在 github issue 中的评论的链接,并回复“/emailed-logs”。
查看相似问题
请查看下面的问题,看看它们是否解决了您的问题,如果问题描述了您的问题,请考虑关闭这个问题并竖起大拇指另一个问题,以帮助我们确定问题的优先级!
打开类似问题:
- glxgears 显示黑屏,无齿轮 (#7981),相似度分数:0.72
- 在 devcontainer 和 WSL2 Ubuntu 发行版 (#9631) 中检测到不同的 GPU,相似度分数:0.71
已关闭类似问题:
- KMS:DRM_IOCTL_MODE_CREATE_DUMB失败:权限被拒绝 (#9662),相似度分数:0.76
- VEGA 8 igpu (#8937) 上没有 OpenGL 加速,相似度分数:0.74
- Microsoft Dev Kit 2023 Windows 11 ARM WSL2 - 无图形硬件加速支持 (#9154),相似度分数:0.71
注意:您可以通过竖起大拇指或竖起大拇指来给我反馈。
/question
The log file doesn't contain any WSL traces. Please make sure that you reproduced the issue while the log collection was running.
Why is there an error when entering vainfo
, but adding the parameter -- display drm -- device/dev/dri/renderD128
seems fine, and glxgears
can also render. Using ffmpeg to report error KMS: DRM-IOCTL_MODE_CREATE-DUMB failed: Permission denied
, KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Invalid argument
。 When I enter drm-info
, it prompts Failed to retrieve information from/dev/dri/card0
Windows Version
Microsoft Windows [版本 10.0.22621.3447]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
1.Newly installed WSL2 2.run
apt install vainfo mesa-utils
3.runglxinfo -B
4.runexport LIBVA_DRIVER_NAME=d3d12
5.runvainfo
6:runvainfo --display drm --device /dev/dri/renderD128
vainfo --display drm --device /dev/dri/card0
7.runglxgears
Expected Behavior
After running
glxinfo -B
and confirming that the Device and OpenGL renderer are using D3D12 (Intel (R) UHD Graphics 770), running vainfo will provide complete support information for exampleActual Behavior
There was an error when entering 'vainfo'
But when I entered
vainfo -- display drm -- device/dev/dri/renderD128
, there was no errorThe result of entering
vainfo -- display drm -- device/dev/dri/card0
is the same as above After re-verifying and enteringglxgears
, I observed the window in the process of rendering, and in the task manager, I noticed that about half of the Intel GPU's workload is attributed to 3D rendering.Why does entering 'vainfo' prompt 'd3d12 driver parameter error 18', and what other verification methods are available
Diagnostic Logs