i’ve recently acquired a 4060 ti for €300 from a seller that i’ve been told was reliable. after installing the gpu and updating the drivers to the latest recommended ones i’ve noticed odd lag spikes lasting several seconds when using blender, these did not happen when i used my previous gtx 1060 ti.
How can i go about diagnosing if it’s a gpu or driver issue? any benchmarks or tools i should use?

i’m on linux mint 21.3 cinnamon.

3 points

Anecdotal and likely not very helpful, when I was running a laptop with a 2060, I regularly had freezing issues launching steam, that would freeze the entire desktop on whichever I display I launched it on for anywhere from 10 seconds to a minute. The same issue occurred across multiple Linux distros running multiple Nvidia proprietary driver versions.

I built a desktop with an AMD GPU to solve the problem and it worked. I really wish I could give you something better than that.

permalink
report
reply
4 points

doubt it’s the same problem i’m having because the lag spikes only affect blender, the rest of the DE works fine

permalink
report
parent
reply
1 point

Admittedly, I don’t know much about the ins and outs of GPUs, but perhaps it’s a GTX vs. RTX issue. They’re different enough that the NVK project is targeting only RTX and up.

permalink
report
parent
reply
2 points

I guess the takeaway for me is despite making some strides in last couple years nvidia is still just kinda janky on Linux. Good luck getting to the bottom of it.

permalink
report
parent
reply
7 points
*

Try launching the program from a terminal, and see if there are any GPU specific log messages. May be also have a look via journalctl.

Also nvtop and nvitop gives you a GPU monitor.

permalink
report
reply
4 points

journalctl doesn’t seem to report any GPU specific errors. nvtop shows no oddities that i could find.

i found that dragging the preview image on the fps showcase videos in nvidea’s 4060 page makes firefox lag out with a glib-CRITICAL logged to the console. it says

(firefox:4349): GLib-CRITICAL **: 12:40:07.460: g_strv_length: assertion 'str_array != NULL' failed
[Parent 4349, Main Thread] WARNING: g_strv_length: assertion 'str_array != NULL' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:187

dunno if that has to do with anything tho

permalink
report
parent
reply
2 points

Maybe you can try to check if you’re using legacy drivers or the new version that’s party open-source.
I think Nvidia switched to those for their most recent cards not long ago.

permalink
report
reply
1 point
*

i’m on 550.107.02, the ubuntu-drivers command shows there are two 550 drivers one with -open after it, is that what you’re talking about?

permalink
report
parent
reply
2 points

Yeah, I think open should be the new one.

permalink
report
parent
reply
1 point

Sometimes the best driver comes with the kernel. It’s a per model thing.

permalink
report
reply
1 point

That’s not really the case with current Nvidia GPUs (yet anyway) - the Nvidia provided dkms driver is the best option outside very limited use cases

permalink
report
parent
reply
4 points

Glmark2 is a pretty decent GPU tester for Linux, I used it just last night to diagnose memory issues on my new card. Be sure to use the -s command to set a higher resolution as the default is 800x600.

permalink
report
reply

Linux

!linux@programming.dev

Create post

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Community stats

  • 2.1K

    Monthly active users

  • 642

    Posts

  • 5.3K

    Comments