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

WSL2 Failed to Use Host's Hardware Even Unter Steamed Mode #11415

Open
1 of 2 tasks
Sgt-Harry opened this issue Apr 2, 2024 · 3 comments
Open
1 of 2 tasks

WSL2 Failed to Use Host's Hardware Even Unter Steamed Mode #11415

Sgt-Harry opened this issue Apr 2, 2024 · 3 comments
Labels
emailed-logs Logs have been emailed question

Comments

@Sgt-Harry
Copy link

Sgt-Harry commented Apr 2, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3296]

WSL Version

WSL Version: 2.1.5.0 Kernel Version: 5.15.146.1-2 WSLg Version: 1.0.60 MSRDC Version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.146.1

Distro Version

Ubuntu 22.04

Other Software

Google Chrome 123.0.6312.105
Carla 0.9.15

Repro Steps

Follow the official tutorial to install Ubuntu 22.04 and Chrome.
run google-chrome.

Download Carla 0.9.15.tar.gz, unzip
run ./CarlUE4.sh

Expected Behavior

Chorme should works well, the Videos can also play sound.

Carla should works well two.

Actual Behavior

For Chrome

It can be used, but the terminal report Issues when opening and during using.
Which is not as same as my previious experience.

harryiron@LAPTOP-9IQUT527:~$ google-chrome
[59947:59972:0403/004058.802360:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.802494:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.802553:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.802629:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.814173:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.814216:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59970:0403/004058.839539:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.850114:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004058.850180:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59947:0403/004058.926369:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[59947:59980:0403/004058.926472:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:60097:0403/004058.939194:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[59947:60097:0403/004058.939407:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[59947:60097:0403/004058.939653:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[59947:59947:0403/004058.946507:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[59947:59973:0403/004058.946795:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59947:0403/004058.955631:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[59947:59970:0403/004058.955760:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59947:0403/004058.958190:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
[59947:59973:0403/004058.958653:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59947:0403/004058.959394:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
[59947:59972:0403/004154.673357:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory
[59947:59972:0403/004154.673646:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/user/1000/bus: No such file or directory

For Carla

I downloaded the Relase 0.9.15 and unzip it with
tar -xzvf CARLA_0.9.15.tar.gz -C
run ./CarlUE4.sh

Then there is only a black window.

1712099619818

Than it reports after a while

4.26.2-0+++UE4+Release-4.26 522 0
Disabling core dumps.
LowLevelFatalError [File:Unknown] [Line: 1214]
GameThread timed out waiting for RenderThread after 60.00 secs
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554
CommonUnixCrashHandler: Signal=11
Malloc Size=131160 LargeMemoryPoolOffset=196744
Malloc Size=131160 LargeMemoryPoolOffset=327928
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault

Diagnostic Logs

Here is my wsl.config in the distro:

[boot]
systemd=true

And my .wslconfig

[wsl2]
memory=20GB

only some unimportant configuration.

Those problems occur after I reinstall the Ubuntu, before that everything works pretty well.

I always like to use WSL2 and treate it like a real Linux, but in the moment i feel like that there are still a lot of difference between him and a real Linux.
Some problems just comes like nowhere and it very difficult to find the solution especially for WSL2 user.

I would be very happy even just be able to have some suggestions for learning using WSL2.

WslLogs-2024-04-03_16-34-10.zip

Copy link

github-actions bot commented Apr 2, 2024

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 scipt will output the path of the log file once done.

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Sgt-Harry
Copy link
Author

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 scipt will output the path of the log file once done.

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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

/question

Here is the log files
WslLogs-2024-04-03_16-34-10.zip

Copy link

github-actions bot commented Apr 3, 2024

Diagnostic information
Found '/question', adding tag 'question'
Found '/feature', adding tag 'feature'
Found '/emailed-logs', adding tag 'emailed-logs'
.wslconfig found
Detected appx version: 2.1.5.0

@github-actions github-actions bot added emailed-logs Logs have been emailed feature question labels Apr 3, 2024
@OneBlue OneBlue removed the feature label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emailed-logs Logs have been emailed question
Projects
None yet
Development

No branches or pull requests

2 participants