Sorry in advance if this is the wrong place to ask.

Hello, everyone. I’ve recently gotten back into NixOS and immediately noticed that NVIDIA is buggy. (no surprise there) I’ve searched far and wide and it seems that no one else has these bugs? (I am most likely wrong though) I’ve gone mad trying to fix these two.

Here’s some extra info:

This is not distro exclusive, i’ve tried on fresh installs too.

I am using 565 with an RTX 3060 gpu.

I am on wayland/hyprland.

Curiously enough, this doesn’t happen on native games such as Metro 2033 or HOI4, only on proton.

apologies for the shitty gameplay and recording, and thanks.

  • RedWeasel@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 years ago

    Does hyprland support explicit sync at all? That sounds like the explicit sync issue that was fixed earlier this year.

    Edit: Could run waycheck and see if linux-drm-syncobj-v1 (explict sync) is listed. I looked for NixOS and it “should” be supported, but best to double check.

  • boegy@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    I had this happen on Fedora with amd cards as well. At the time I was using riverwm which is based on wlroots. I tried a few other WMs that also used wlroots and had the same problem, so I think the issue is somehow related to wlroots but I don’t know enough about it to be sure.

    When I tried on KDE Plasma (Kwin) I had no issue. So you may want to try Plasma or Gnome and see if the issue persists.

      • boegy@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        ok, I haven’t used hyprland so I wasn’t sure. The wayland tiling WMs I tried all had the same problem so I don’t know what the underlying cause is. I personally don’t have performance issues on wayland plasma and I don’t have an nvidia card in a linux system so I can’t test it further. I hope you are able to figure it out.

  • Malix@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 years ago

    try disabling the gsp, helped a lot with weird stutters on my system (kde/plasma, wayland, 3090, 565 driver).

    IIRC it was just setting NVreg_EnableGpuFirmware=0 to nvidia module

    edit: only works for the regular nvidia driver, not for nvidia-open

      • Malix@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        probably asking the obvious, but you did the … whatever mkinitcpio does, after changing the module’s config? Totally derped with that myself and wondered why my new settings didn’t take x)

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I had that issue before the explicit sync was implemented in the nvidia driver for Wayland. It’s got to be related to that.

    Out of order frameworks a is literally a frame syncronization error.

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        The way x11 handles frames makes this a Wayland exclusive issue sadly. I’m on plasma so that might be why my issues was fixed. Weird indeed. Good luck in any case, these kind of issues are annoying as hell.

  • morbidcactus@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    I’ve got a 4070ti running most recent nvidia-open on arch and haven’t had that happen, but I don’t tend to run with vsync often.

    What proton version are you running this on? Had some weird almost microstutters in cutscenes playing DA:Veilguard through moonlight on my steamdeck. Swapping to experimental resolved that, think it was one version of proton-ge that I had the issue with.

    Do you have vrr enabled by any chance?

    Are you running through gamescope? Have had grief with gamescope and nvidia, but that was mostly with hdr.

  • slst@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    Hey! I tried fixing this problem for years on a laptop using and AMD CPU and Nvidia GTX 1650 because it made Trackmania unplayable at my level of competition. Never managed to fix it, I just changed PC in the end.

      • slst@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Amd on desktop, amd on laptop iGPU, and amd on steam deck. Never encountered this kind of weird stutter backtrack agaim. Funniest thing, it would even happen to software like Firefox if I made em run on the gpu