Ubuntu 19.04 nvidia slower than intel gpu

I’ve been struggling with getting the nvidia drivers to work on ubuntu 19.04. I’ve managed to overcome the “black screen of death” based on this forum (my fix was to delete 20-intel.conf file).
Now I’m facing a performance issue. When on “powersaving mode (intel)” I get higher perfomance (max of 7600 fps on glxgears) than in “performance mode (nvidia)” (max of 3300 fps on glxgears). Flicker happens occasionally and hdmi output is slow as well.

Thank you.

Please see this:

I tested with Unigine and the results were:


FPS: 14.0
Score: 353
Min FPS: 6.4
Max FPS: 27.7


FPS: 15.9
Score: 401
Min FPS: 6.3
Max FPS: 29.5

The results confirm the system behaviour. The nvidia gpu is not performing :|

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).
Also post the output of
glxinfo |grep vendor

glxinfo |grep vendor

server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation

nvidia-bug-report.log (290.5 KB)

Looking at benchmark comparisons, the 920M seems to be on-par with the intel HD620:
Since the gpu is pretty much locked down, not allowing for performance logging, please check manually if it properly clocks up. Start nvidia-settings, Power-Mizer tab. Then run Unigine windowed and check if the clocks go to maximum.

The gpus can only work isolated.
I ran Unigen in “NVIDIA On-Demand” mode and got the same performance as if the Intel gpu was selected. The nvidia gpu didn’t move when the benchmark was running.

Thank you.

For offloading, please check this:

Ok, so let me see if I understood.
At the moment I have the 2 operational gpus, where the intel one takes all the tasks and there is no dispatcher to split the load between the two? And since the intel and nvidia ones are similar, there’s no significant improvement on switching between them?

Summarising, it’s like having a dual-core cpu where you have to choose one of the cpus and in order to thread between them you have to specify before launching the apps?

Thank you.

You got it. Especially on your hardware there’s not much of a difference noticeable since you only have a low-res screen (1366x768) which the intel HD620 is capable of feeding well. Once you connect an external monitor, the 920M will have an advantage, I suspect, due to having 2GB dedicated memory. Furthermore, the nvidia driver having better gaming compatibility in Vulkan/OpenGL.