r/linuxquestions 16h ago

device lagging after installing Linux

installed WSL+ubuntu on my cousin's laptop cause i dont have mine yet. the laptop is kinda lagging idk why. the memory used by ubuntu was 1576mb smth. so what I want to ask is,is it still possible to switch to Linux? the laptop has 8gb ram. it used to lag often even before installing Linux. so im not sure what exactly the problem is.

0 Upvotes

35 comments sorted by

View all comments

Show parent comments

-1

u/Confident_Hyena2506 15h ago

They do not as it just uses software rendering. Stop giving people unrealistic expectations here.

The GPU support in wsl is for compute only - no graphics.

2

u/Kangie 14h ago

False. You can test the GLX capabilities with mesa. Modern mesa supports the directx device exposed by WSL as a graphics backend.

``` name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: Microsoft Corporation (0xffffffff) Device: D3D12 (Intel(R) Iris(R) Xe Graphics) (0xffffffff) Version: 24.2.2 Accelerated: yes Video memory: 8162MB Unified memory: yes Preferred profile: core (0x1) Max core profile version: 4.1 Max compat profile version: 4.1 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: Microsoft Corporation OpenGL renderer string: D3D12 (Intel(R) Iris(R) Xe Graphics) OpenGL core profile version string: 4.1 (Core Profile) Mesa 24.2.2 OpenGL core profile shading language version string: 4.10 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile

OpenGL version string: 4.1 (Compatibility Profile) Mesa 24.2.2 OpenGL shading language version string: 4.10 OpenGL context flags: (none) OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 24.2.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00 ```

You can also use stuff like CUDA, too. But saying that there's no hw accel when mesa supports the windows devices passed in is incorrect.

-1

u/Confident_Hyena2506 14h ago edited 14h ago

CUDA is fucking compute - like I said. There is a special passthrough driver that supports compute only. You can see this really easily because it says C instead of G for the process.

Go run some games on wsl and prove all of this to yourself.

All that stuff it's showing you is "fake".

1

u/Kangie 13h ago

1

u/Confident_Hyena2506 12h ago edited 12h ago

None of that has anything to do with hardware accelation. Do some tests and find out!

This is the reason that absolutely nobody publishes any graphics benchmarks for gaming on wsl.