Issues with Nvidia Driver - poor performance


#1

Another problem I’m having with the drivers now also is that desktop framerate is awful, limiting things to around 30-ish to 40-ish FPS for desktop animations. If I have KDE use something like 59.96 or so FPS, this problem is mostly fixed, but since most default at 60 FPS, and the driver seems to have a problem with that, I get lag. :frowning:


Issues with Nvidia driver - Can't suspend
#2

Adding more detail to this issue: updating the kernel did help a bit (I feel though It just gave the Nvidia driver a reinstall and fix some of its inital bugginess) but it still is not fixed. There is slight stuttering in some moments on KDE, Compiz is limited to 30 FPS mostly unless it’s just a simple menu or indicator popping up.

Besides that though, there is also the issue of gaming performance. When playing Overgrowth via Steam, it stutters horribly, despite in-engine frame rates being at the 40s, or even going up to the 60s or 80s. I need to get 150 FPS to get 40-60 FPS in reality. It also takes a little while to load and especially exit, because KDE I guess works a lot like Windows in that it flips to a new fullscreen environment meant for the game.


#3

Does glxinfo | grep render indicate direct rendering is available?


#4

glxinfo | grep:

direct rendering: Yes
OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop,
GL_NV_command_list, GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range,
GL_NV_shader_thread_shuffle, GL_NV_stereo_view_rendering,
GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
GL_NVX_conditional_render, GL_NVX_gpu_memory_info, GL_NVX_nvenc_interop,
GL_NV_command_list, GL_NV_compute_program5, GL_NV_conditional_render,
GL_NV_parameter_buffer_object2, GL_NV_path_rendering,
GL_NV_path_rendering_shared_edge, GL_NV_pixel_data_range,
GL_NV_shader_thread_shuffle, GL_NV_stereo_view_rendering,
GL_EXT_multisample_compatibility, GL_EXT_multisampled_render_to_texture,
GL_EXT_multisampled_render_to_texture2, GL_EXT_occlusion_query_boolean,
GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB,
GL_NV_clip_space_w_scaling, GL_NV_conditional_render,
GL_NV_packed_float_linear, GL_NV_path_rendering,
GL_NV_path_rendering_shared_edge, GL_NV_pixel_buffer_object,
GL_NV_stereo_view_rendering, GL_NV_texture_array, GL_NV_texture_barrier,
GL_OES_fbo_render_mipmap, GL_OES_geometry_point_size,


#5

From what I’ve seen (mainly via IRC support), this is due to the screen not being well-recognized, here’s xrandr:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.06 + 60.01 59.97 59.96* 59.93 40.04
1680x1050 59.95 59.88
1400x1050 59.98
1600x900 59.99 59.94 59.95 59.82
1280x1024 60.02
1400x900 59.96 59.88
1280x960 60.00
1440x810 60.00 59.97
1368x768 59.88 59.85
1280x800 59.99 59.97 59.81 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
HDMI-1-2 disconnected (normal left inverted right x axis y axis)

As you can tell, it’s not telling what is my refresh rate correctly. As a result, games like Overgrowth stutter and the desktop stutters. This issue doesn’t exist when plugging the laptop to a TV, where the GPU has a direct connection and correctly scans the TV. I found that it was a common issue found in Nvidia on Optimus-powered laptops in Arch, where it even has its own troubleshooting section here, https://wiki.archlinux.org/index.php/NVIDIA_Optimus#Resolution.2C_screen_scan_wrong._EDID_errors_in_Xorg.log. The problem is I don’t know how to get my EDID information correctly, as the fix provided there is a mere example, and is different on my PC. How do I get my EDID information correctly for the config, so my games won’t suffer anymore?