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.

all 25 comments

sorted by: hot top controversial new old
[–] 9 points 2 years ago (1 child)
  • [–] 6 points 2 years ago* (last edited 2 years ago) (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 4 points 2 years ago* (last edited 2 years ago) (3 children)

    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

  • source
  • hideshow 3 child comments
  • [+] [S] 2 points 2 years ago* (last edited 2 years ago) (2 children)
  • [–] 4 points 2 years ago (2 children)

    Try using X11 instead of Wayland. Seems like an XWayland or Wayland issue.

  • source
  • hideshow 2 child comments
  • [–] 4 points 2 years ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [+] [S] 2 points 2 years ago* (last edited 2 years ago) (1 child)
  • [–] 2 points 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.

  • source
  • parent
  • [+] [S] 3 points 2 years ago* (last edited 2 years ago) (2 children)
  • [–] 3 points 2 years ago (2 children)

    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.

  • source
  • hideshow 2 child comments
  • [–] 3 points 2 years ago* (1 child)

    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.

  • source
  • hideshow 1 child comment
  • [–] 1 point 2 years ago (2 children)

    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.

  • source
  • hideshow 2 child comments