Lutris failing to install Battle.net

Hey folks! I’m getting peer pressured into trying Overwatch 2 so I’m trying to jump through the hoops to get Battle.net working with Lutris but the install keeps failing. I was able to clear up a couple issues (old openssl version causing fonts to fail to download) but I’m getting a pretty clean log now with just one warning which sticks out. Here’s the full log:

[tstrimple@tstrimple-desktop:~]$ lutris -d
INFO     2022-10-04 17:29:45,071 [startup.init_lutris:173]:Starting Lutris 0.5.10.1
WARNING  2022-10-04 17:29:45,099 [libretro.get_libretro_cores:24]:No folder at /home/tstrimple/.local/share/lutris/runners/retroarch/
DEBUG    2022-10-04 17:29:45,106 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
INFO     2022-10-04 17:29:45,138 [startup.check_driver:57]:Using NVIDIA drivers 515.48.07 for x86_64
INFO     2022-10-04 17:29:45,139 [startup.check_driver:61]:GPU: NVIDIA GeForce RTX 3080
INFO     2022-10-04 17:29:45,139 [startup.check_driver:77]:GPU: 10DE:2206 1043:87CE (nvidia drivers)
INFO     2022-10-04 17:29:45,240 [startup.update_runtime:213]:Startup complete
DEBUG    2022-10-04 17:29:45,326 [lutriswindow.update_store:437]:Showing 0 games
DEBUG    2022-10-04 17:29:54,048 [application.show_window:332]:Showing window AddGamesWindow{}
DEBUG    2022-10-04 17:29:58,338 [http.get:83]:GET https://lutris.net/api/games?search=battlenet&with-installers=True
DEBUG    2022-10-04 17:30:00,646 [api.get_game_installers:160]:Fetching installer https://lutris.net/api/installers/battlenet
DEBUG    2022-10-04 17:30:00,646 [http.get:83]:GET https://lutris.net/api/installers/battlenet
DEBUG    2022-10-04 17:30:00,872 [application.show_window:332]:Showing window InstallerWindowbattlenet
DEBUG    2022-10-04 17:30:00,872 [application.on_app_window_destroyed:350]:Removed window AddGamesWindow{}
DEBUG    2022-10-04 17:30:02,828 [xrandr._get_vidmodes:15]:Retrieving video modes from XrandR
Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())` in NixOS's wrapper.c failed.
ERROR    2022-10-04 17:30:02,914 [system.read_process_output:100]:['mount', '-v'] command failed: Command '['mount', '-v']' died with <Signals.SIGABRT: 6>.
INFO     2022-10-04 17:30:04,522 [runner.get_runner_version:324]:Getting runner information for wine
DEBUG    2022-10-04 17:30:04,522 [http.get:83]:GET https://lutris.net/api/runners/wine
DEBUG    2022-10-04 17:30:04,722 [interpreter.get_runners_to_install:223]:Default wine version is lutris-7.2-2
DEBUG    2022-10-04 17:30:04,726 [interpreter.get_extras:159]:Checking if service provide extra files
DEBUG    2022-10-04 17:30:04,726 [installer.prepare_game_files:146]:No service to retrieve files from
DEBUG    2022-10-04 17:30:06,561 [downloader.start:65]:⬇ https://www.battle.net/download/getInstallerForGame?os=win&gameProgram=BATTLENET_APP&version=Live
DEBUG    2022-10-04 17:30:10,469 [downloader.download_cb:125]:Finished downloading https://www.battle.net/download/getInstallerForGame?os=win&gameProgram=BATTLENET_APP&version=Live
INFO     2022-10-04 17:30:10,570 [file_box.on_download_complete:252]:Download completed
DEBUG    2022-10-04 17:30:10,570 [files_box.on_file_available:93]:setup is available
INFO     2022-10-04 17:30:10,570 [files_box.on_file_available:99]:All files available
INFO     2022-10-04 17:30:10,570 [installerwindow.on_files_available:463]:All files are available, continuing install
DEBUG    2022-10-04 17:30:10,571 [interpreter._iter_commands:317]:Installer command: {'task': {'arch': 'win64', 'name': 'create_prefix', 'prefix': '$GAMEDIR'}}
INFO     2022-10-04 17:30:10,572 [wine.create_prefix:96]:Creating a win64 prefix in /home/tstrimple/Games/battlenet
DEBUG    2022-10-04 17:30:10,572 [system.execute:56]:Executing /home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wineboot
DEBUG    2022-10-04 17:30:10,573 [system.execute:62]:WINEARCH=win64 WINEPREFIX=/home/tstrimple/Games/battlenet WINEDLLOVERRIDES=winemenubuilder= WINE_MONO_CACHE_DIR=/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/mono WINE_GECKO_CACHE_DIR=/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/gecko
INFO     2022-10-04 17:30:11,565 [wine.create_prefix:150]:win64 Prefix created in /home/tstrimple/Games/battlenet
DEBUG    2022-10-04 17:30:11,585 [interpreter._iter_commands:317]:Installer command: {'write_file': {'content': 'dxgi.nvapiHack = False\n[Overwatch.exe]\ndxvk.hud = compiler', 'file': '$GAMEDIR/dxvk.conf'}}
DEBUG    2022-10-04 17:30:11,586 [interpreter._iter_commands:317]:Installer command: {'task': {'app': 'arial', 'arch': 'win64', 'name': 'winetricks', 'prefix': '$GAMEDIR', 'silent': True}}
DEBUG    2022-10-04 17:30:11,614 [wine.use_lutris_runtime:115]:/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine is provided by Lutris, using runtime
ERROR    2022-10-04 17:30:12,241 [wine.game_exe:521]:The game doesn't have an executable
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:__GL_SHADER_DISK_CACHE="1"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:__GL_SHADER_DISK_CACHE_PATH="/home/tstrimple/.cache/lutris/shaders/wine"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:LD_LIBRARY_PATH="/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib:/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64:/lib:/lib32:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/nix/store/hs6k3j5cca3nslxfmb8xkqbknkkmkbf5-glibc-2.34-210/lib:/lib64:/usr/lib32:/usr/lib64:/home/tstrimple/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/tstrimple/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/tstrimple/.local/share/lutris/runtime/steam/i386/lib:/home/tstrimple/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/tstrimple/.local/share/lutris/runtime/steam/i386/usr/lib:/home/tstrimple/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/tstrimple/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/tstrimple/.local/share/lutris/runtime/steam/amd64/lib:/home/tstrimple/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/tstrimple/.local/share/lutris/runtime/steam/amd64/usr/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:WINEDEBUG="-all"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:DXVK_LOG_LEVEL="none"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:WINEARCH="win64"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:WINE="/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:WINE_MONO_CACHE_DIR="/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/mono"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:WINE_GECKO_CACHE_DIR="/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/gecko"
DEBUG    2022-10-04 17:30:12,241 [command.start:141]:GST_PLUGIN_SYSTEM_PATH_1_0="/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib64/gstreamer-1.0/:/home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/lib/gstreamer-1.0/"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:WINEPREFIX="/home/tstrimple/Games/battlenet"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:WINEESYNC="1"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:WINEFSYNC="1"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:WINE_FULLSCREEN_FSR="1"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:DXVK_NVAPIHACK="0"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:DXVK_ENABLE_NVAPI="1"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:PROTON_BATTLEYE_RUNTIME="/home/tstrimple/.local/share/lutris/runtime/battleye_runtime"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:PROTON_EAC_RUNTIME="/home/tstrimple/.local/share/lutris/runtime/eac_runtime"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:WINEDLLOVERRIDES="winemenubuilder="
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:PYTHONPATH="/nix/store/g01smzg62x4jx9ddvyhkarlyi0zwwip8-lutris-original-0.5.10.1/lib/lutris:/nix/store/g01smzg62x4jx9ddvyhkarlyi0zwwip8-lutris-original-0.5.10.1/bin:/nix/store/vl15w3q3ck77gk0yi03abi3xghxhlwgw-python3-3.9.13/lib/python39.zip:/nix/store/vl15w3q3ck77gk0yi03abi3xghxhlwgw-python3-3.9.13/lib/python3.9:/nix/store/vl15w3q3ck77gk0yi03abi3xghxhlwgw-python3-3.9.13/lib/python3.9/lib-dynload:/nix/store/vl15w3q3ck77gk0yi03abi3xghxhlwgw-python3-3.9.13/lib/python3.9/site-packages:/nix/store/g01smzg62x4jx9ddvyhkarlyi0zwwip8-lutris-original-0.5.10.1/lib/python3.9/site-packages:/nix/store/f25y7crrnx6krcp4a956ysngvy09pxq4-python3.9-evdev-1.5.0/lib/python3.9/site-packages:/nix/store/1gkaf8k2paxkp0fifj24kqlv0c5cjfc5-python3.9-distro-1.7.0/lib/python3.9/site-packages:/nix/store/8i5wzwxzk9ydy14rn6g4nxdsjpc42c6q-python3.9-lxml-4.8.0/lib/python3.9/site-packages:/nix/store/2xp27277xgcdgbhp0aw8lk8dn6yra1my-python3.9-pyyaml-6.0/lib/python3.9/site-packages:/nix/store/501g3hvzys4pyrmca4l0k0c00sgrmz78-python3.9-pycairo-1.20.1/lib/python3.9/site-packages:/nix/store/s9m04f0wg25bv8rk1c0x26b2h3m0az5f-python3.9-pygobject-3.42.1/lib/python3.9/site-packages:/nix/store/6gkp7l0krw7x3i2yb48r99i3yqcvcjp9-python3.9-requests-2.27.1/lib/python3.9/site-packages:/nix/store/zf4ypjx6z3lwsbxysnq6asn6361rzszl-python3.9-certifi-2021.10.08/lib/python3.9/site-packages:/nix/store/ws6x8f02w0w7xdc8inxjph503r34d879-python3.9-idna-3.3/lib/python3.9/site-packages:/nix/store/bpcpq12frfr3lxmskcyj0pp4rnj77wgx-python3.9-urllib3-1.26.9/lib/python3.9/site-packages:/nix/store/pbd6zhzxkpb6glndzalw8450dwqbgdi8-python3.9-brotli-1.0.9/lib/python3.9/site-packages:/nix/store/bkcd0032hsmf9625yndfbjdx74a960y3-python3.9-pysocks-1.7.1/lib/python3.9/site-packages:/nix/store/l7rilraibd95gcvyylrpq1xh0mc21121-python3.9-chardet-4.0.0/lib/python3.9/site-packages:/nix/store/ia08isk6qvbqyqawjpbnjg566c3r9brg-python3.9-brotlicffi-1.0.9.2/lib/python3.9/site-packages:/nix/store/42ggpb1xdhz5a8dqbwvvjvfx6613i7br-python3.9-pycparser-2.21/lib/python3.9/site-packages:/nix/store/1f2blf3k8s7khbf7r2088f0lffs41br3-python3.9-cffi-1.15.0/lib/python3.9/site-packages:/nix/store/35jcdf37s8gqza07jdcis2h4h4wnlwdn-python3.9-charset-normalizer-2.0.12/lib/python3.9/site-packages:/nix/store/i4mxmyfpp7b5gljv67x2w3hpra5chzj6-python3.9-pillow-9.1.0/lib/python3.9/site-packages:/nix/store/2clb4q8gkdjn5jl31y4j95np23g9z7n2-python3.9-olefile-0.46/lib/python3.9/site-packages:/nix/store/yy12ga7r15q74m2hmch2w51v8q06adji-python3.9-defusedxml-0.7.1/lib/python3.9/site-packages:/nix/store/ljpcfcbh0pxn2blmiq24lrilj6p13gcz-python3.9-dbus-python-1.2.18/lib/python3.9/site-packages:/nix/store/3zlxcnpn3339l0afm9mh6svx4lkh22j7-python3.9-keyring-23.5.1/lib/python3.9/site-packages:/nix/store/avwhfvcfmrrbzyn24nasncrrb2rw1d8x-python3.9-importlib-metadata-4.11.3/lib/python3.9/site-packages:/nix/store/a7jc7nnwqagsppjxxmhl49xliwd4pd4x-python3.9-toml-0.10.2/lib/python3.9/site-packages:/nix/store/415lsncxgirdzx40hbp7vlfsh8rqbs4g-python3.9-zipp-3.7.0/lib/python3.9/site-packages:/nix/store/yqbylmrd561xrx186687x6kz161m7pc6-python3.9-jeepney-0.8.0/lib/python3.9/site-packages:/nix/store/k3i97zd1wsh6qp354ckqfr8xlwcjh5lb-python3.9-secretstorage-3.3.2/lib/python3.9/site-packages:/nix/store/qbsx72aq9rylhi8x5cx0g35sp6lshm52-python3.9-cryptography-36.0.2/lib/python3.9/site-packages:/nix/store/0q2rk34qppggnzv3j59h75x8kir3ml1c-python3.9-python-magic-0.4.25/lib/python3.9/site-packages"
DEBUG    2022-10-04 17:30:12,242 [command.start:141]:LUTRIS_GAME_UUID="9b2f1a89-ad78-42c4-a4d4-4326bc2011a3"
lutris-wrapper: /home/tstrimple/.local/share/lutris/runtime/winetricks/winetricks
Started initial process 174 from /home/tstrimple/.local/share/lutris/runtime/winetricks/winetricks --unattended arial
Start monitoring process.
------------------------------------------------------
warning: Github down? version '' doesn't appear to be a valid version
------------------------------------------------------
Executing mkdir -p /home/tstrimple/Games
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 28
drwxr-xr-x  7 tstrimple users 4096 Oct  4 14:37 .
drwxr-xr-x  4 tstrimple users 4096 Oct  4 17:24 ..
drwxr-xr-x  3 tstrimple users 4096 Oct  4 14:37 ProgramData
drwxr-xr-x  6 tstrimple users 4096 Oct  4 14:37 Program Files
drwxr-xr-x  6 tstrimple users 4096 Oct  4 14:37 Program Files (x86)
drwxr-xr-x  4 tstrimple users 4096 Oct  4 14:37 users
drwxr-xr-x 21 tstrimple users 4096 Oct  4 14:58 windows

Registry info:
/home/tstrimple/Games/battlenet/system.reg:#arch=win64
/home/tstrimple/Games/battlenet/userdef.reg:#arch=win64
/home/tstrimple/Games/battlenet/user.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: /home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "" 
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
DEBUG    2022-10-04 17:30:12,597 [command.on_stop:195]:Process 149 has terminated with code 256
DEBUG    2022-10-04 17:30:13,246 [commands._monitor_task:449]:Return code: 256
ERROR    2022-10-04 17:30:13,246 [errors.__init__:18]:Command exited with code 256
None

The warning is warning: /home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine cmd.exe /c echo '%AppData%' returned empty string, error message "" . When I try to run that command myself via steam-run, it does show an error but also returns a path.

[tstrimple@tstrimple-desktop:~]$ steam-run /home/tstrimple/.local/share/lutris/runners/wine/lutris-7.2-2-x86_64/bin/wine cmd.exe /c echo '%AppData%'
wineserver: using server-side synchronization.
002c:fixme:winediag:LdrInitializeThunk Lutris Wine 7.2 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please don't report bugs about it on winehq.org and use https://github.com/lutris/wine/issues instead.
002c:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
C:\users\tstrimple\AppData\Roaming

I’ve tried installing gnutls, but that has not made any difference here. I noticed that there is an updated version of lutris (0.5.11 vs 0.5.10.1) available which is supposed to fix some 256 errors, but I’ve not been able to get it installed successfully from the nixpkgs-unstable channel. Any thoughts on what might be going on or next steps for debugging? In case it’s helpful, here is my full configuration.nix file:

{ 
	config, 
	pkgs ? import <nixpkgs> { },
	unstable-pkgs ? import <nixpkgs-unstable> { }, 
	...
}:

{
	imports = [ 
		./hardware-configuration.nix
	];
	hardware.video.hidpi.enable = true;
	boot.loader.systemd-boot.enable = true;
	boot.loader.efi.canTouchEfiVariables = true;
	networking.hostName = "tstrimple-desktop";
	time.timeZone = "America/Chicago";

################################
# X SERVER CONFIG
################################
	services.xserver.enable = true;

################################
# NVIDIA CONFIG
################################
	nixpkgs.config.allowUnfree = true;
	services.xserver.videoDrivers = [ "nvidia" ];
	hardware.opengl.enable = true;
	hardware.opengl.driSupport32Bit = true;

################################
# PLASMA CONFIG
################################
	services.xserver.displayManager.sddm.enable = true;
	services.xserver.desktopManager.plasma5.enable = true;
	services.xserver.screenSection = ''
		Option	"metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}"
		Option	"AllowIndirectGLXProtocol" "off"
		Option	"TripleBuffer" "on"
		'';

################################
# SOUND CONFIG
################################
	security.rtkit.enable = true;
	services.pipewire = {
		enable = true;
		alsa.enable = true;
		alsa.support32Bit = true;
		pulse.enable = true;
		config.pipewire = {
			"context.properties" = {
				"default.clock.allowed-rates" = [48000 88200 96000 176400 192000];
			};
		};
		media-session.config.alsa-monitor = {
			rules = [
			{
				matches = [ { "node.name" = "alsa_output.*"; } ];
				actions = {
					update-props = {
						"audio.format" = "S32LE";
						"audio.rate" = 192000;
						"api.alsa.period-size" = 32; 
					};
				};
			}
			];
		};

	};

	boot.blacklistedKernelModules = [ "snd_pcsp" ];


################################
# USER CONFIG
################################
	users.users.tstrimple = {
		isNormalUser = true;
		extraGroups = [ "wheel" "docker" ];
		packages = with pkgs; [
			google-chrome
			firefox
			vscode
			kitty
			yakuake
			obsidian
			git
			conda
			gimp
			audacity
			vlc
		];
	};

 	programs.steam = {
  		enable = true;
  		remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
  		dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
	};

	fonts.fonts = with pkgs; [
		corefonts
	];


################################
# SYSTEM CONFIG
################################
	environment.systemPackages with pkgs; = [
		pkgs.vim
		pkgs.wget
  		(pkgs.steam.override {
   			withPrimus = true;
   			extraPkgs = pkgs: [ pkgs.glxinfo ];
  		}).run
		pkgs.steam-run
		pkgs.steamcmd
		pkgs.openssl
		pkgs.gnutls
		pkgs.lutris
	];

	virtualisation.docker.enable = true;

	system.stateVersion = "22.05"; 
}

I’m not sure what the difference is, but I tried installing Battle.net using the .exe I downloaded directly from Blizzard instead of trying to use the one referenced in the Lutris options and the install kicked off as expected. I’ve no idea why it fails when trying to install via the Lutris menu.

3 Likes