[optimus] intel graphic performs faster than nvidia

hey folks.

nvidia PowerMizer profile is already set to Maximum Performance.

glxspheres result
nvidia

[mn@localhost bin]$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia vblank_mode=0 ./glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
GLX FB config ID of window: 0x134 (8/8/8/0)
Visual ID of window: 0x2c3
Context is Direct
OpenGL Renderer: GeForce MX150/PCIe/SSE2
61.169557 frames/sec - 68.265225 Mpixels/sec
60.012409 frames/sec - 66.973849 Mpixels/sec

glxspheres result
intel

[mn@localhost bin]$ vblank_mode=0 ./glxspheres64
Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
ATTENTION: default value of option vblank_mode overridden by environment.
GLX FB config ID of window: 0x250 (8/8/8/0)
Visual ID of window: 0x2c7
Context is Direct
OpenGL Renderer: Mesa DRI Intel® UHD Graphics 620 (Kabylake GT2)
168.975927 frames/sec - 188.577134 Mpixels/sec
102.478463 frames/sec - 114.365964 Mpixels/sec

glxgears result
nvidia

[mn@localhost ~]$ __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia vblank_mode=0 glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
304 frames in 5.0 seconds = 60.717 FPS
301 frames in 5.0 seconds = 60.059 FPS

glxgears result
intel

mn@localhost ~]$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
40030 frames in 5.0 seconds = 8005.974 FPS
38780 frames in 5.0 seconds = 7755.880 FPS

any idea guys?

as explained here

It's the same for me, but in games it is totally different, I have a much better performance with the Nvidia card. You shouldn't use glxspheres/glxgears to mesure performance.

i’d leave it here anyway

UPDATE:
here’s the result with unigine valley:

NVIDIA

Unigine Valley Benchmark 1.0

FPS: 14.6
Score: 611
Min FPS: 9.1
Max FPS: 25.8

System

Platform: Linux 5.5.5-200.fc31.x86_64 x86_64
CPU model: Intel® Core™ i7-8550U CPU @ 1.80GHz (1991MHz) x8
GPU model: Unknown GPU (256MB) x1

Settings

Render: OpenGL
Mode: 1920x1080 8xAA fullscreen
Preset Extreme HD

INTEL

Unigine Valley Benchmark 1.0

FPS: 3.5
Score: 146
Min FPS: 2.2
Max FPS: 6.0

System

Platform: Linux 5.5.5-200.fc31.x86_64 x86_64
CPU model: Intel® Core™ i7-8550U CPU @ 1.80GHz (1991MHz) x8
GPU model: Unknown GPU (256MB) x1

Settings

Render: OpenGL
Mode: 1920x1080 8xAA fullscreen
Preset Extreme HD

conclusion:
when it comes to benchmarking your optimus setup, do not go near any of glxgears or glxspheres

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.