Hi, I am trying to a way we can have a desktop performance compared to windows/macos on linux where system is optimus-enhanced (nvidia) focused.
I have read about off-screen mesa. So ubuntu has gl_dispatcher strategy, why not make osmesa defaults and let gl_dispatcher take care of relative device (nvidia, amd, nvidia) when optimus-enhanced is in set. On-demand nvidia-prime profile runs Xorg nvidia's vram, ok? an alternative config says intel/nvidia as default opengl ... Maybe osmesa (off-screen mesa) default background, when optimus-enhanced is needed/set, should communicate gl_dispatcher and decision what device take control could be set. I think it is a good strategy together with envvars. We could have hybrid-profile (nvidia-prime on-demand) in addition to powersave (intel/amd) amd performance (nvidia-only) For testing i have set: LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe/llvmpipe And desktop lag was terrible Thx Luiz
