mmtrt / legendsofruneterra-snap

GNU Lesser General Public License v2.1
10 stars 0 forks source link

Launcher is Black and Programm error (Ubuntu 20.04 LTS) #13

Open Gaaius opened 2 years ago

Gaaius commented 2 years ago

The Installation seems to work including the Download of the Launcher. But starting the launcher leads to it beeing completely black with a "Programm error" on top that says: "A program on your system has crashed, but WineDbg was unable to attach to the progress to obtain a gacktrace" The Terminal output until that point is: ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. 04b0:err:winediag:WS_getaddrinfo Failed to resolve your host name IP 0608:err:rpc:I_RpcGetBuffer no binding wine: Unhandled exception 0x80000003 in thread 1e4 at address 126FE566 (thread 01e4), starting debugger...

The (black) Window can be dragged by clicking the area where the top-bar would be, but does not react to any other input. Killing the window or the progess in the terminal results in: X connection to :1 broken (explicit kill or server shutdown). Im using the latest version of this installer. Using the virtual desktop from wine results in the same problem. The first run of this installer resulted in 06e0:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 06e8:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found line additionaly, but just stoping the process and re-running it leads to the above error. I also deleted and reinstalled this with the exact same result.

mmtrt commented 2 years ago

Try purge remove snap and install again with dxvk

snap remove legendsofruneterra

Install dxvk

snap run legendsofruneterra.winetricks dxvk

Gaaius commented 2 years ago

Thanks for your fast answer (and sorry for my late one). However, the problem/result (exaclty) remains the same. I did: $ snap remove --purge legendsofruneterra legendsofruneterra removed $ sudo apt-get update (...) $ sudo apt-get install dxvk (...) $ snap run legendsofruneterra.winetricks dxvk error: cannot find current revision for snap legendsofruneterra: readlink /snap/legendsofruneterra/current: no such file or directory $ snap install --edge legendsofruneterra legendsofruneterra (edge) 1.0 from Taqi Raza (mmtrt) installed snap run legendsofruneterra.winetricks dxvk (...) $ legendsofruneterra ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. Executing mkdir -p /home/gaaius/snap/legendsofruneterra/common \------------------------------------------------------ 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. \------------------------------------------------------ Using winetricks 20220411-next - sha256sum: 59e8ea1a924fd74effd7fbdc63746e9b709f8f323f1dcbb1877454dbc0367014 with wine-5.18 ( TkG Staging Esync Fsync Vkd3d ) and WINEARCH=win64 Executing w_do_call d3dx9 Executing mkdir -p /home/gaaius/snap/legendsofruneterra/common \------------------------------------------------------ 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. \------------------------------------------------------ d3dx9 already installed, skipping Gtk-Message: 13:06:48.772: Failed to load module "canberra-gtk-module" Gtk-Message: 13:06:48.772: Failed to load module "canberra-gtk-module" Gtk-Message: 13:07:01.456: Failed to load module "canberra-gtk-module" Gtk-Message: 13:07:01.457: Failed to load module "canberra-gtk-module" 0254:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 025c:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 0334:err:module:__wine_process_init L"C:\\windows\\system32\\.exe" not found $ 02fc:err:winediag:WS_getaddrinfo Failed to resolve your host name IP 03b4:err:rpc:I_RpcGetBuffer no binding 0730:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 0738:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found wine: Unhandled exception 0x80000003 in thread 6c0 at address 126FE566 (thread 06c0), starting debugger... X connection to :1 broken (explicit kill or server shutdown). Wich ends in a black lanucher and the Error message above, only killing it leads to "X connection..."

Additional calls of "legendsofruneterra" result in: ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. 07f4:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 07fc:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 0198:err:winediag:WS_getaddrinfo Failed to resolve your host name IP 01e8:err:rpc:I_RpcGetBuffer no binding wine: Unhandled exception 0x80000003 in thread 548 at address 126FE566 (thread 0548), starting debugger... X connection to :1 broken (explicit kill or server shutdown).

So compared to the previous case the difference is that the 07f4:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found 07fc:err:module:__wine_process_init L"C:\\windows\\system32\\winemenubuilder.exe" not found lines now appear every time legendsofruneterra is called.

The snap run legendsofruneterra.winetricks dxvk installation contained warning: Please refer to current dxvk base graphics driver requirements... See: https://github.com/doitsujin/dxvk/wiki/Driver-support , the recommended driver version for Nvidia is 495 or greater and i have 510. There is also the 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. But i dont know how i would do that with snap or wether that is something your installer does And there was a warning: Working around wine bug 24013 -- Native d3dcompiler_43 may cause some d3d10 apps to crash, see https://bugs.winehq.org/show_bug.cgi?id=24013 in the output.

I chose the INSTALLER when running legendsofruneterra instead of the dxvk installer in that drop down menue, but the dxvk installer doesnt work anyway: ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. Executing mkdir -p /home/gaaius/snap/legendsofruneterra/common \------------------------------------------------------ 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. \------------------------------------------------------ Using winetricks 20220411-next - sha256sum: 59e8ea1a924fd74effd7fbdc63746e9b709f8f323f1dcbb1877454dbc0367014 with wine-5.18 ( TkG Staging Esync Fsync Vkd3d ) and WINEARCH=win64 Executing w_do_call d3dx9 Executing mkdir -p /home/gaaius/snap/legendsofruneterra/common \------------------------------------------------------ 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. \------------------------------------------------------ d3dx9 already installed, skipping Gtk-Message: 13:17:21.110: Failed to load module "canberra-gtk-module" Gtk-Message: 13:17:21.110: Failed to load module "canberra-gtk-module" gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now cp: cannot stat 'dxvk-class="d-inline/x32/d3d9.dll': No such file or directory cp: cannot stat 'dxvk-class="d-inline/x64/d3d9.dll': No such file or directory

Using the Virtual desktop also resulted in the same result. Something that seems weird it that the LoR Downloader that appears during installation is not visible at first, only when i switch back and forth between two different Workspaces, but that hasnt been a problem. I also removed LoR, restarted and installed again, same result

Anything else i can do to help you help me?

mmtrt commented 2 years ago

Which gpu you have in system, also after installing dxvk remove dxgi dlloverride should be in libraries tab.

snap run legendsofruneterra.winecfg

Gaaius commented 2 years ago

I removed the dxgi override before running legendsofruneterra after a new installation, but the result and errormessages are the same. I found a winemenubuilder (disabled) override and thought that since i get errors complaining about not finding the winemenubuilder.exe, removing that might help, but it did not change anything (as far as i could tell). Im using a NVIDIA GeForce RTX 3060. I previously tried installing LoR via Lutris, but that didnt even manage to download the game, so is stuck with this.

mmtrt commented 2 years ago

Alright I'll test game later today.

mmtrt commented 2 years ago

Just tested fresh install game without dxvk downloaded and launch also play a match just fine without any issues with NVIDIA 510 driver here as well.

Gaaius commented 2 years ago

Okay, but that should mean that dxvk has nothing to do with this. So what about those warnings, do you know what could cause them/wether they might be part of the problem? As in: What about the wine-prefix thing during installation? The 0128:err:winediag:WS_getaddrinfo Failed to resolve your host name IP might have to do with the 64bit prefix, is that something you script sets? and 018c:err:rpc:I_RpcGetBuffer no bindin also seems to appear in combination with LoL through snap During installation i also get native overrides: Using native override for following DLLs: d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29 d3dx9_30 Using native override for following DLLs: d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37 Using native override for following DLLs: d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dx9_42 d3dx9_43

And then there is the wine: Unhandled exception 0x80000003 in thread 6a8 at address 126FE566 (thread 06a8), starting debugger... That seems to be the problem, but wine cant attach the trace - is there a way to get more information / have legendsofruneterra output more stuff?

What else does your snap need/use that could be different on my system compared to yours?

Gaaius commented 2 years ago

I Installed it on an old laptop with Ubuntu 20.04LTS and a GeForce 630M. It produced the same result and same warnings & errors. In addition i also got MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete I tried the Nouveau Driver, 340 and 390, no difference. I cant use dxvk, because that requires/recommends 510+. So given that different drivers, grafics gards and wether or not dxck are used, the result is still the same, that only leaves the RpcGetBuffer no binding and wine: Unhandled exception where the trace cant be attached.

For both computers i first had to also install wine-platform-5-staging and wine-platform-runtime, since the snap was complaining about these. (snap refresh --candidate wine-platform-5-staging snap refresh --candidate wine-platform-runtime)

Now i dont know, what else i could do / try.

mmtrt commented 2 years ago

err:winediag... and err:rpc... are harmless I get them here as well.

Can you post info of snap version

Also apt list --installed | grep nvidia

Gaaius commented 2 years ago

snap version on my main (first example) computer: snap 2.55.3 snapd 2.55.3 series 16 ubuntu 20.04 kernel 5.13.0-41-generic

old Laptop: snap 2.5.4.4 snapd 2.5.4.4 series 16 ubuntu 20.04 kernel 5.4.0-110-generic

apt list --installed | grep nvidia on my main has no entiries On my old laptop its: libnvidia-extra-470/focal-updates,focal-security,focal,now 470.129.06-0ubuntu0.20.04.1 amd64 [installed,auto-removable] nvidia-340/focal-updates,focal-security,focal,now 340.108-0ubuntu5.20.04.2 amd64 [installed] nvidia-opencl-icd-340/focal-updates,focal-security,focal,now 340.108-0ubuntu5.20.04.2 amd64 [installed,automatic] nvidia-settings/focal-updates,focal,now 470.57.01-0ubuntu0.20.04.3 amd64 [installed,automatic]

On my main I manually installed the 510 driver (automatic cause problems/didnt work), while on my laptop i used the software updater for the different drivers. Before installing i updated and upgraded both, so i dont know where the version difference come from.

This problem seems to be the same as / atleast looks the same as "Game crashes on start up #10" But for me it happend on the first install and i tried the variaable exports and purging&reinstalling to no avail.

mmtrt commented 2 years ago

Looks like laptop is missing i386 driver pkgs which are required for wine snaps.

Gaaius commented 2 years ago

I have no Idea how to do these i386 driver pkgs - how dod you know that these are missing / what did you expect to find?

On another note, i m now using automatic drivers on my main computer with th 510 Nvidia drivers, and the apt | grep output is: libnvidia-cfg1-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-common-510/focal-updates,focal-updates,focal-security,focal-security,focal,focal,now 510.73.05-0ubuntu0.20.04.1 all [installed,automatic] libnvidia-compute-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-compute-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 i386 [installed,automatic] libnvidia-decode-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-decode-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 i386 [installed,automatic] libnvidia-encode-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-encode-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 i386 [installed,automatic] libnvidia-extra-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-fbc1-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-fbc1-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 i386 [installed,automatic] libnvidia-gl-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] libnvidia-gl-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 i386 [installed,automatic] nvidia-compute-utils-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] nvidia-dkms-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] nvidia-driver-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed] nvidia-kernel-common-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] nvidia-kernel-source-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] nvidia-prime/focal-updates,focal-updates,now 0.8.16~0.20.04.2 all [installed,automatic] nvidia-settings/focal-updates,focal,now 470.57.01-0ubuntu0.20.04.3 amd64 [installed,automatic] nvidia-utils-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic] xserver-xorg-video-nvidia-510/focal-updates,focal-security,focal,now 510.73.05-0ubuntu0.20.04.1 amd64 [installed,automatic]

The result is still the same (with and without dxvk), am i also missing the i386 drivers here?

mmtrt commented 2 years ago

Your main system seem to have i386 driver yet it still has same issue I'm not sure what is causing this issue tbh.