Hi.
On Sat, 02 May 2020 13:16:37 +0530 Sreyan Chakravarty wrote:
On 5/2/20 5:55 AM, Roger Heflin wrote:
You will want these commands: sudo "echo ON > /sys/kernel/debug/vgaswitcheroo/switch" sudo "echo DIS > /sys/kernel/debug/vgaswitcheroo/switch"
These commands fail with the error:
sudo: echo ON > /sys/kernel/debug/vgaswitcheroo/switch: command not found
This should work:
sudo bash -c "echo ON > /sys/kernel/debug/vgaswitcheroo/switch" sudo bash -c "echo DIS > /sys/kernel/debug/vgaswitcheroo/switch"
For a small graphical bench I use glmark2, for a 10s test, for example 'glmark2 -b build'
with an nvidia card:
glmark2 -b build ======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: NVIDIA Corporation GL_RENDERER: Quadro K4000/PCIe/SSE2 GL_VERSION: 4.6.0 NVIDIA 440.59 ======================================================= [build] <default>: FPS: 6507 FrameTime: 0.154 ms ======================================================= glmark2 Score: 6507 =======================================================
without: (from within an Xvnc virtual session):
glmark2 -b build ** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control! ** Failed to set swap interval. Results may be bounded above by refresh rate. ======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: VMware, Inc. GL_RENDERER: llvmpipe (LLVM 9.0, 256 bits) GL_VERSION: 3.1 Mesa 19.2.8 ======================================================= ** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control! ** Failed to set swap interval. Results may be bounded above by refresh rate. [build] <default>: FPS: 330 FrameTime: 3.030 ms ======================================================= glmark2 Score: 330 =======================================================
I'm interested to know if you obtain good results when configuring vgaswitcheroo.