| 24 Nov 2023 |
gaata | This game uses dxvk, it might be the problem | 09:38:13 |
@atemu12:matrix.org | Doubt it. | 09:38:22 |
K900 | Nvidia and Wayland usually don't mix well | 09:40:46 |
gaata | I know, but it worked perfectly on same hardware + arch | 09:41:44 |
gaata | Dont want to go arch back | 09:41:57 |
gaata | * Dont want to go arch back | 09:42:12 |
@atemu12:matrix.org | No yoga for you? :p | 09:42:34 |
@atemu12:matrix.org | Is there anything in dmesg? Which kernel are you on? | 09:43:22 |
gaata | :S | 09:43:32 |
gaata | I will send my nvidia config in a moment + kernel version | 09:44:25 |
gaata | 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 |
gaata | forgot to say, this game uses wine | 09:59:20 |
gaata | Redacted or Malformed Event | 10:00:17 |
gaata | Kernel: 6.1.62
GPU: NVIDIA GeForce GTX 1060 3GB
GPU Driver: NVIDIA 545.29.02 | 10:01:27 |
@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 | forceFullCompositionPipeline looks like a likely candidate, I'd try removing that. | 10:03:27 |
@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 |
gaata | it builds | 10:06:11 |
gaata | 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 |
gaata | In reply to@atemu12:matrix.org
forceFullCompositionPipeline looks like a likely candidate, I'd try removing that. + that | 10:06:50 |
@atemu12:matrix.org | 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 |
@atemu12:matrix.org | I should open a bug on that. | 10:07:38 |
gaata | okeey, good to know, defenetely will try what u said | 10:08:18 |
gaata | 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. cuz i might use x instead of wayland and it will fail cuz of this vars? | 10:30:25 |
@atemu12:matrix.org | Yes. These env vars will be set by the wayland session itself. You should not set them globally. | 10:31:33 |
@atemu12:matrix.org | * Yes. Many of these env vars will be set by the wayland session itself. You should not set them globally. | 10:31:55 |
@atemu12:matrix.org | Some of them enable rather experimental things that you shouldn't be using | 10:32:08 |
@atemu12:matrix.org | Like the VK WLR_RENDERER | 10:32:15 |
@atemu12:matrix.org | I don't believe it's ready for primetime yet | 10:32:23 |
gaata | 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 |