NixOS Gaming | 713 Members | |
| Gaming things, my hands are typing words. | 183 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Nov 2023 | ||
| 07:03:30 | ||
| hexa: Likely latency | 07:50:37 | |
| Hi! 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 | |
| Enabling gnome with wayland makes it better, but doesnt remive the problem completely | 09:34:08 | |
| * Enabling gnome with wayland makes it better, but doesnt remove the problem completely | 09:34:20 | |
| I've never heard of frame ordering issues. Good one, Nvidia. Have you tried buying an AMDGPU? (slightly /s) | 09:34:40 | |
| Does it also happen under Xorg? | 09:34:49 | |
| Nope, no money for another gpu | 09:35:16 | |
In reply to @atemu12:matrix.orgDidnt test it, will soon | 09:35:28 | |
| I had also flickering issues with electron apps, after i installed some nvidia kernel modules and it fixed | 09:36:17 | |
| This game uses dxvk, it might be the problem | 09:38:13 | |
| Doubt it. | 09:38:22 | |
| Nvidia and Wayland usually don't mix well | 09:40:46 | |
| I know, but it worked perfectly on same hardware + arch | 09:41:44 | |
| Dont want to go arch back | 09:41:57 | |
| * Dont want to go arch back | 09:42:12 | |
| No yoga for you? :p | 09:42:34 | |
| Is there anything in dmesg? Which kernel are you on? | 09:43:22 | |
| :S | 09:43:32 | |
| I will send my nvidia config in a moment + kernel version | 09:44:25 | |
| 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 | |
| forgot to say, this game uses wine | 09:59:20 | |
| Redacted or Malformed Event | 10:00:17 | |
| Kernel: 6.1.62 GPU: NVIDIA GeForce GTX 1060 3GB GPU Driver: NVIDIA 545.29.02 | 10:01:27 | |
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 | |
forceFullCompositionPipeline looks like a likely candidate, I'd try removing that. | 10:03:27 | |
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 | |
| it builds | 10:06:11 | |
In reply to@atemu12:matrix.orgok, i will try that | 10:06:43 | |
In reply to@atemu12:matrix.org+ that | 10:06:50 | |