!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

703 Members
Gaming things, my hands are typing words.179 Servers

Load older messages


SenderMessageTime
24 Nov 2023
@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
@atemu12:matrix.org@atemu12:matrix.orgThe 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@atemu12:matrix.orgI should open a bug on that.10:07:38
@ggaast:matrix.orggaataokeey, good to know, defenetely will try what u said10:08:18
@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.
cuz i might use x instead of wayland and it will fail cuz of this vars?
10:30:25
@atemu12:matrix.org@atemu12:matrix.orgYes. These env vars will be set by the wayland session itself. You should not set them globally.10:31:33
@atemu12:matrix.org@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@atemu12:matrix.orgSome of them enable rather experimental things that you shouldn't be using10:32:08
@atemu12:matrix.org@atemu12:matrix.orgLike the VK WLR_RENDERER10:32:15
@atemu12:matrix.org@atemu12:matrix.orgI don't believe it's ready for primetime yet10:32:23
@ggaast:matrix.orggaata 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

Show newer messages


Back to Room ListRoom Version: 6