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.

  • TheDarkQuark@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    3 months ago

    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.

    • (⬤ᴥ⬤)@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      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

  • zurohki@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    3 months ago

    Mint 21.3 might be a bit too ‘stable’ for your new GPU.

    Linux graphics move fast. You generally won’t have a good experience with an older distro and a brand new GPU.

      • seaQueue@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        There’s not really an upgrade path from Mint to a rolling release distro like Fedora or Arch. The simplest thing to do is rsync -axHAX your /home directory onto external storage and then install Fedora, Bazzite, Arch or EndeavourOS and copy data back as needed.

          • seaQueue@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            3 months ago

            I mean, that’s your path forward if you want a current graphics stack. Linux Mint is a Ubuntu derivative, there’s no supported frankendistro that updates everything on your current mint release to current versions of the kernel, drivers, mesa and all the rest of the libraries you want for up to date software support - you get that with a rolling release distro rather than a snapshot distro frozen 6-24mo ago when they cut your current release version.

  • Bad_Engineering@fedia.io
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    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.

  • catch22@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    3 months ago

    Just had a similar issue a few days ago, where my system would freeze and spent 2 days trying to solve it. Ran a memory test, no issues. Tried NVIDIA drivers 470,535 and 550 with different combinations of the kernel including 6.x and 5.x (make sure you’re using generic). Issue was still there, grabbed a copy of windows and tried it there, same issue. That narrowed it down to a hardware issue. Started tweaking the bios and found the problem was a pcie gen issue, my motherboard was automatically setting it to 5 which was causing the crash I set it to 3, no more problems. You could use the same techniques to narrow down your problem as well. (Nothing was ever reported in any logs since it was a hard freeze, which made this a huge pain in the ass to fix)

  • Fecundpossum@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    3 months ago

    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.

      • Fecundpossum@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        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.

      • Telorand@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        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.

  • sanpo@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    3 months ago

    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.

  • Soviet Pigeon@lemmygrad.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Usually dmesg should tell you something. If you tried everything you can and the problem is still there, try it on Windows. If it works on Windows, then the gpu should be fine. Then I would try different kernels and maybe also try different drivers.

    • seaQueue@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      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