You are not logged in.
I've been seeing some issues with acceleration in games with primusrun, while optirun worked great, so I tried to debug it.
Here are the results :
[glow@violet ~/work/paraview/paraview_build]$ optirun glxinfo | grep string
server glx vendor string: VirtualGL
server glx version string: 1.4
client glx vendor string: VirtualGL
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 418.56
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 418.56
OpenGL shading language version string: 4.60 NVIDIA
[glow@violet ~/work/paraview/paraview_build]$ primusrun glxinfo | grep string
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: primus
client glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 418.56
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 418.56
OpenGL shading language version string: 4.60 NVIDIA
So far, so good, nothing out of places here. But then :
[glow@violet ~/work/paraview/paraview_build]$ optirun glxgears
6667 frames in 5.0 seconds = 1333.296 FPS
6706 frames in 5.0 seconds = 1341.152 FPS
[glow@violet ~/work/paraview/paraview_build]$ primusrun glxgears
317 frames in 5.0 seconds = 63.253 FPS
300 frames in 5.0 seconds = 59.984 FPS
So even though primus claims to use the nvidia GPU, it does not and is probably using the integrated chipset, which is consistent to what I'm seeing with other applications.
I'm not sure where to go from there.
Last edited by GloW_on_dub (2019-04-04 13:22:05)
Offline
Primusrun will force vsync by default: https://wiki.archlinux.org/index.php/Bu … ble_VSYNC)
Offline
Indeed, thanks.
Offline