NOTE: I was testing on Kubuntu 23.10
I tried Wayland today and my impression is the majority of 'native' Linux games will be unplayable for a lot of people simply because Wayland defaults to the Mesa backend, ie:
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
Which for me means Average FPS<20 vs >60 if I login to X11 and run the same game.
Whilst you can try some suggestions like setting:
export SDL_VIDEODRIVER=wayland
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export DRI_PRIME=1
export __VK_LAYER_NV_optimus=NVIDIA_only
This means glxinfo will then report:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.171.04
This actually means nothing since the games I tested don't use GLX, they just use OpenGL/SDL and therefore still run terribly and report:
Factorio:
0.216 Video driver: wayland
...
0.267 Initialised OpenGL:[0] llvmpipe (LLVM 15.0.7, 256 bits); driver: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
ioquake:
SDL using driver "wayland"
Initializing OpenGL display
...
GL_RENDERER: llvmpipe (LLVM 15.0.7, 256 bits)
GL_VERSION 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
Seems like Wayland is doing more kill native Linux gaming than Microsoft.
Just imagine if MS released a new replacement for DirectX - that forces all current DirectX games use software rendering - that's basically what Wayland is doing on Linux.
Can anyone else confirm they get software rendering using wayland for 'native' games ? or if native gaming finally dead and the best we can expect now is Proton/Wine setting between the game and Wayland?
I tried Wayland today and my impression is the majority of 'native' Linux games will be unplayable for a lot of people simply because Wayland defaults to the Mesa backend, ie:
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
Which for me means Average FPS<20 vs >60 if I login to X11 and run the same game.
Whilst you can try some suggestions like setting:
export SDL_VIDEODRIVER=wayland
export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export DRI_PRIME=1
export __VK_LAYER_NV_optimus=NVIDIA_only
This means glxinfo will then report:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.171.04
This actually means nothing since the games I tested don't use GLX, they just use OpenGL/SDL and therefore still run terribly and report:
Factorio:
0.216 Video driver: wayland
...
0.267 Initialised OpenGL:[0] llvmpipe (LLVM 15.0.7, 256 bits); driver: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
ioquake:
SDL using driver "wayland"
Initializing OpenGL display
...
GL_RENDERER: llvmpipe (LLVM 15.0.7, 256 bits)
GL_VERSION 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1
Seems like Wayland is doing more kill native Linux gaming than Microsoft.
Just imagine if MS released a new replacement for DirectX - that forces all current DirectX games use software rendering - that's basically what Wayland is doing on Linux.
Can anyone else confirm they get software rendering using wayland for 'native' games ? or if native gaming finally dead and the best we can expect now is Proton/Wine setting between the game and Wayland?
Comment