!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

713 Members
Gaming things, my hands are typing words.183 Servers

Load older messages


SenderMessageTime
24 Nov 2023
@guanran928:mozilla.orgCharles He changed their display name from Jason Wang [mozilla.org] to Charles He [mozilla.org].07:03:30
@atemu12:matrix.org@atemu12:matrix.org hexa: Likely latency 07:50:37
@ggaast:matrix.orggaataHi! NixOS, Hyprland, Nvidia. My game has weird frame order, sometimes it has blackscreen, sometimes show frames from the past. Smthng like that: 1,2,3,4,5,3,3,4,5,9,10,2,11,12,13,9,8 Any ideas?09:33:25
@ggaast:matrix.orggaataEnabling gnome with wayland makes it better, but doesnt remive the problem completely09:34:08
@ggaast:matrix.orggaata* Enabling gnome with wayland makes it better, but doesnt remove the problem completely09:34:20
@atemu12:matrix.org@atemu12:matrix.orgI've never heard of frame ordering issues. Good one, Nvidia. Have you tried buying an AMDGPU? (slightly /s)09:34:40
@atemu12:matrix.org@atemu12:matrix.orgDoes it also happen under Xorg?09:34:49
@ggaast:matrix.orggaataNope, no money for another gpu09:35:16
@ggaast:matrix.orggaata
In reply to @atemu12:matrix.org
Does it also happen under Xorg?
Didnt test it, will soon
09:35:28
@ggaast:matrix.orggaataI had also flickering issues with electron apps, after i installed some nvidia kernel modules and it fixed09:36:17
@ggaast:matrix.orggaataThis game uses dxvk, it might be the problem09:38:13
@atemu12:matrix.org@atemu12:matrix.orgDoubt it.09:38:22
@k900:0upti.meK900Nvidia and Wayland usually don't mix well09:40:46
@ggaast:matrix.orggaataI know, but it worked perfectly on same hardware + arch09:41:44
@ggaast:matrix.orggaataDont want to go arch back09:41:57
@ggaast:matrix.orggaata* Dont want to go arch back09:42:12
@atemu12:matrix.org@atemu12:matrix.orgNo yoga for you? :p09:42:34
@atemu12:matrix.org@atemu12:matrix.orgIs there anything in dmesg? Which kernel are you on?09:43:22
@ggaast:matrix.orggaata:S09:43:32
@ggaast:matrix.orggaataI will send my nvidia config in a moment + kernel version09:44:25
@ggaast:matrix.orggaata environment.sessionVariables = {
POLKITAUTHAGENT =
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
GSETTINGSSCHEMADIR =
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas";
LIBVADRIVERNAME = "nvidia";
VDPAUDRIVER = "vagl";
XDGSESSIONTYPE = "wayland";
GBM_BACKEND = "nvidia-drm";
_GLXVENDORLIBRARYNAME = "nvidia";
WLRNOHARDWARE_CURSORS = "1";
# NIXOSOZONEWL = "1";
MOZENABLEWAYLAND = "1";
SDL_VIDEODRIVER = "wayland";
JAVAAWTWMNONREPARENTING = "1";
CLUTTER_BACKEND = "wayland";
WLR_RENDERER = "vulkan";
XDGCURRENTDESKTOP = "Hyprland";
XDGSESSIONDESKTOP = "Hyprland";
# GTKUSEPORTAL = "1";
# NIXOSXDGOPENUSEPORTAL = "1";
};

hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
setLdLibraryPath = true;
};
nvidia = {
modesetting.enable = true;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
forceFullCompositionPipeline = true;
powerManagement.enable = true;
};
};
# services.xserver.displayManager.lightdm.enable = true;
# # services.xserver.desktopManager.plasma5.enable = true;
programs.hyprland = {
enable = true;
xwayland = {
# hidpi = true;
enable = true;
};
enableNvidiaPatches = true;

boot = {
initrd = {
kernelModules = [ "nvidia" "nvidiamodeset" "nvidiauvm" "nvidia_drm" ];
};
extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
};

services.dbus.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.xserver = {
enable = true;
videoDrivers = [ "nvidia" ];
displayManager.gdm = {
enable = true;
wayland = true;
};
# windowManager.bspwm.enable = true;
layout = "us";
xkbVariant = "";
};
09:59:04
@ggaast:matrix.orggaataforgot to say, this game uses wine09:59:20
@ggaast:matrix.orggaataRedacted or Malformed Event10:00:17
@ggaast:matrix.orggaataKernel: 6.1.62 GPU: NVIDIA GeForce GTX 1060 3GB GPU Driver: NVIDIA 545.29.0210:01:27
@atemu12:matrix.org@atemu12:matrix.org You've got a bunch of environment variables that are senseless or dangerous to set. Especially XDGSESSIONTYPE, SDL_VIDEODRIVER and WLR_RENDERER you should probably just outright remove. 10:02:47
@atemu12:matrix.org@atemu12:matrix.org forceFullCompositionPipeline looks like a likely candidate, I'd try removing that. 10:03:27
@atemu12:matrix.org@atemu12:matrix.org Your config does not look like it'd build. setLdLibraryPath is not an option known to me and enableNvidiaPatches isn't set properly (that's a hyprland option you probably need). 10:04:51
@ggaast:matrix.orggaatait builds10:06:11
@ggaast:matrix.orggaata
In reply to@atemu12:matrix.org
You've got a bunch of environment variables that are senseless or dangerous to set. Especially XDGSESSIONTYPE, SDL_VIDEODRIVER and WLR_RENDERER you should probably just outright remove.
ok, i will try that
10:06:43
@ggaast:matrix.orggaata
In reply to@atemu12:matrix.org
forceFullCompositionPipeline looks like a likely candidate, I'd try removing that.
+ that
10:06:50

Show newer messages


Back to Room ListRoom Version: 6