!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

661 Members
Gaming things, my hands are typing words.174 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Oct 2023
@datedorangejamjar:matrix.orgWindows XPFor most part things work nicely with nvidia + plasma + wayland. Most games I play work even. (Excluding bg3)17:04:52
@woobilicious:matrix.org@woobilicious:matrix.org
In reply to @atemu12:matrix.org
The difference is that we could at least in theory do something about it
Yeah, I did dig in to the code to see if I could write a work around, most of it is alien to me. I did notice that they have 0 delay for disconnect event on DP, I do wonder if bumping it up to 2ms (like the DP spec says) might fix some of the issues they're having, their HDMI delay is 100ms.
17:05:45
@woobilicious:matrix.org@woobilicious:matrix.org Windows XP: maybe look at proton-ge or dxvk for issues/workarounds. 17:12:44
@woobilicious:matrix.org@woobilicious:matrix.org Considering I can compile my kernel in only 17mins now, maybe I should try my sketchy patch idea and see what happens lmao. 17:15:16
@Lownin:matrix.org@Lownin:matrix.org K900 (drm/amd#1417 when) and Atemu and woobilicious listening to you folks talk I had the idea to switch from DisplayPort to HDMI to see if that solved it. And it did. I can run with Full Composition Pipeline without locking up if I don't have a DisplayPort monitor plugged in. 17:27:11
@woobilicious:matrix.org@woobilicious:matrix.orgOh nice. I don't know what FCP is, but maybe something else related, Gsync or something causing issues?17:33:17
@Lownin:matrix.org@Lownin:matrix.org

woobilicious: on Nvidia, there is often screen tearing on Linux even with vsync on. Probably some driver issue, super annoying.

On the NixOS Nvidia page, https://nixos.wiki/wiki/Nvidia under "Screen Tearing Issues" you'll see where you can mitigate it by enabling an option "Force Full Composition Pipeline"

In my experience, this works pretty well, but it has some side effects; the worst for me is it introduces some input latency, but it's tolerable.

I recently started experiencing an issue where if I enabled force full composition pipeline, games would lock up right after they started. Gsync is enabled and disabled for me separately, and only available when using DisplayPort, but even disabled, I had the problem.

I've been trying to solve this all weekend and listening to you mention DisplayPort, and knowing the composition pipeline affects sync, and thinking about how I re-arranged my monitors somewhat recently and I guess decided to use different cables (a vague memory so wasn't thinking about it before) I decided to try it. HDMI only, no display port, and it worked.

17:39:02
@woobilicious:matrix.org@woobilicious:matrix.org Do you even need that with wayland? that looks like a hack for X compositors (after googling around). Lownin does enabling Vsync not work? I have no perceptable latency with sway+vsync+180hz. 17:46:42
@woobilicious:matrix.org@woobilicious:matrix.orghere's my 5head patch: https://gist.github.com/YellowOnion/eed6071d1b4226ba54be787ad1b81b3117:50:12
@Lownin:matrix.org@Lownin:matrix.org woobilicious: Enabling vsync by itself smooths out the framerate, and gives me a nice, consistent tear line right on my screen. Same problem regartdless of if I have KDE's compositor enabled or disabled. Googling around shows a lot of people still have the issue with Wayland. I tried Wayland briefly, but had to switch to lightdm because it failed to start with sddm. Not a big deal, but I'm also on NixOS 23.05, not unstable, and my understand a lot of work is going into Wayland support right now so I figured I'd give it a go on the next stable release. 17:50:45
@woobilicious:matrix.org@woobilicious:matrix.org Lownin: ahh that sucks :-( tearing is so much better when your game is doing 300fps and not anywhere close to vsync. 17:53:15
@Lownin:matrix.org@Lownin:matrix.org woobilicious: I think that's only true on a high refresh monitor? Mine are all 60hz, so you always see the tear line and microstutters introduced by the lack of sync. 17:56:07
@woobilicious:matrix.org@woobilicious:matrix.org Lownin: at 300fps the difference per-frame is small, and if the tear line moves unpredictably up and down the screen it's hard to see, Source games tend to be better for this, but if you have like a game with a frame-rate cap close to vsync the line becomes more noticable, I only just upgraded to >60hz this year so I know all the tricks because I hate input latency lol. 18:04:11
@Lownin:matrix.org@Lownin:matrix.orgI was actually just experimenting with Portal 2 since I was trying to rule out native vs proton games locking up. I was running at and around 300 fps, and i could still see lots of microstutters and some tearing. I guess in theory the tearing should be less noticeable since at such a high frame rate, the difference between frames is more minimal. Couple things might be exacerbating them for me though. The microstuttes, and being on ultrawide so a big horizontal plane difference is a bit extra for me.18:12:18
@woobilicious:matrix.org@woobilicious:matrix.org Lownin: does wayland itself tear like when you're in windowed mode?, disabling scanout in sway fixed a VFR bug for me, maybe that'll work for tearing as well. 18:14:37
@Lownin:matrix.org@Lownin:matrix.orgI sort of bounced off wayland before I really tested it. Nix make it easy to try it out though. My old config is just commented out. I could take another swing at it really quick if you like.18:15:30

Show newer messages


Back to Room ListRoom Version: 6