NixOS Gaming | 696 Members | |
| Gaming things, my hands are typing words. | 182 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Nov 2023 | ||
| 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 | |
| The options checker hasn't been reporting setting undeclared options for me too, so it might build but not actually do what you want it to. Make sure options use the correct "paths". | 10:07:26 | |
| I should open a bug on that. | 10:07:38 | |
| okeey, good to know, defenetely will try what u said | 10:08:18 | |
In reply to@atemu12:matrix.orgcuz i might use x instead of wayland and it will fail cuz of this vars? | 10:30:25 | |
| Yes. These env vars will be set by the wayland session itself. You should not set them globally. | 10:31:33 | |
| * Yes. Many of these env vars will be set by the wayland session itself. You should not set them globally. | 10:31:55 | |
| Some of them enable rather experimental things that you shouldn't be using | 10:32:08 | |
| Like the VK WLR_RENDERER | 10:32:15 | |
| I don't believe it's ready for primetime yet | 10:32:23 | |
enableNvidiaPatches was enables.I did all u said, but it didnt help much. It has less lags now, but its probably because i rebooted and have not much background processes | 10:38:16 | |
| i will try x11 now | 10:38:47 | |
* enableNvidiaPatches was enabled.I did all u said, but it didnt help much. It has less lags now, but its probably because i rebooted and have not much background processes | 10:39:31 | |
| * i will try x11 with gnome now | 10:40:22 | |
| Wellp, it is working fine on x, but wayland with gnome also works good. It looks like gnome is more optimised in some way, it does not completely remove the problem with frame order on wayland, but this problem appears very rare. | 10:46:51 | |
| Or, wait a sec, can it be cuz in hyprland i have dual-monitor setup with fractional scaling? My first monitor is highres (4k) | 10:48:51 | |
| And in gnome session it just goes with 1x scalinh | 10:49:17 | |