Open McBride-SallyJoeBob opened 2 years ago
One more point of information. I notice when I Fullscreen the glxgears, with the llvmpipe renderer, my fps drops from 600 to 100. For the vgpus (both NVIDIA discrete and AMD integrated), despite the fact that I increased the resolution, the fps remained the same. It seems like there is some sort of bottleneck happening here. Perhaps it has to do with my hardware or something else...
I am having the same issue. Horrible performance with hardware rendering on discrete GPU. Software rendering is much faster:
❯ LIBGL_ALWAYS_SOFTWARE=0 glxgears
130 frames in 5.0 seconds = 25.827 FPS
❯ LIBGL_ALWAYS_SOFTWARE=1 glxgears
5096 frames in 5.0 seconds = 1019.083 FPS
Did you try older mesa versions or other ppas? For me the default Ubuntu Impish 21.2.2 package works much better than kisak or oibaf on Intel iGPU.
@McBride-SallyJoeBob Running
MESA_D3D12_DEFAULT_ADAPTER_NAME="AMD" glxinfo -B
still shows NVIDIA against OpenGL renderer string. Any idea why it could be happening?
Environment
Steps to reproduce
export MESA_D3D12_DEFAULT_ADAPTER_NAME="AMD" is set in ~/.profile
WSL logs:
Weston.log
Expected behavior
glxgears with vGPU accelaration gives high FPS. Additionally, only my amd GPU is utilized since only it is being used to render
Actual behavior
This issue is troublesome for me because when the NVIDIA GPU is idling it draws a constant 5 watts which would result in almost 40% battery life loss on my system. The only way I can currently run wslg applications wiout the NVIDIA GOU turning on is in software ony mode with the llvmpipe renderer.