winepak / applications

A collection of flatpak manifest for building Microsoft Windows applications with Wine via flatpak
https://www.winepak.org
414 stars 39 forks source link

[WoW] Does not launch #83

Open kemra102 opened 6 years ago

kemra102 commented 6 years ago

After installing and running WoW I get the following error:

wine: cannot find 'C:/Program Files (x86)/Battle.net/Battle.net Launcher.exe'

Full error when ran with -vv: https://paste.ubuntu.com/p/hFrsFXNT4y/

OS: OpenSuse Tumbleweed Flatpak Version: 0.11.8.3

julianrichen commented 6 years ago

Recently the BattleNet basapp has been changed considerably. Can you uninstall/install again and test.

flatpak remove com.blizzard.BattleNet.BaseApp
flatpak remove com.blizzard.WoW
rm -rf $HOME/.var/app/com.blizzard.WoW/data/wine
flatpak install winepak com.blizzard.WoW
flatpak run com.blizzard.WoW
kemra102 commented 6 years ago

Still getting a failure after Battle.net installs: https://imgur.com/gallery/TqeoFfv

julianrichen commented 6 years ago

Do you run Nvidia? If so do you have org.freedesktop.Platform.GL32.nvidia-XXX-XX from flathub installed, with XXX-XX being the version of your Nvidia driver?

Looks like the same issue as https://github.com/winepak/applications/issues/23#issuecomment-396772447

kemra102 commented 6 years ago

I do run NVIDIA yes, and no I don;t have that particular Flatpak installed:

➜ kemra102@iacon  ~  flatpak list
Ref                                                   Options       
com.blizzard.WoW/x86_64/stable                        system,current
org.winepak.Platform.Compat32/x86_64/3.0              system,runtime
org.winepak.Platform.Extension.corefonts/x86_64/3.0   system,runtime
org.winepak.Platform.Extension.vcrun2015/x86_64/3.0   system,runtime
org.winepak.Platform.Wine.Compat32/x86_64/3.9-staging system,runtime
org.winepak.Platform.Wine/x86_64/3.9-staging          system,runtime
org.winepak.Platform/x86_64/3.0                       system,runtime
julianrichen commented 6 years ago

Install that GL32 extension for you driver, seems to fix that issue. It should auto download when you install the org.winepak.Platform for the first time but if you already had it installed it might not :/

flatpak install flathub org.freedesktop.Platform.GL32.nvidia-XXX-XX

Again XXX-XX being you Nvidia driver version.

kemra102 commented 6 years ago

Installing that additional GL flatpak sorts out the initial error, but it doesn't get us to a running game.

After battle.net launches and you hit the Install button, you get the usual pop-up to select the options for the install but it never fully loads and you just get a pop-up with a loading symbol: https://imgur.com/a/Xdb04L2

kemra102 commented 6 years ago

After coming back to my machine today, the install seems to kick off as expected...

kemra102 commented 6 years ago

Game does not launch after installation: https://imgur.com/a/rdkFcrk

The required Nvidia GL Flatpak is installed:

➜ kemra102@iacon  ~  flatpak list  
Ref                                                    Options       
com.blizzard.WoW/x86_64/stable                         system,current
org.freedesktop.Platform.GL32.nvidia-390-48/x86_64/1.4 system,runtime
org.winepak.Platform.Compat32/x86_64/3.0               system,runtime
org.winepak.Platform.Extension.corefonts/x86_64/3.0    system,runtime
org.winepak.Platform.Extension.vcrun2015/x86_64/3.0    system,runtime
org.winepak.Platform.Wine.Compat32/x86_64/3.9-staging  system,runtime
org.winepak.Platform.Wine/x86_64/3.9-staging           system,runtime
org.winepak.Platform/x86_64/3.0                        system,runtime

Driver version matches the hosts Nvidia driver. Additionally the card (a 1060) is supported by WoW.

sc10n commented 6 years ago

I received the same error as @kemra102. I am running Ubuntu 18.04.1 with the Nvidia 390-48 driver on a GTX 1070ti.

jet@quantum:~$ flatpak list
Ref                                                    Options       
com.blizzard.WoW/x86_64/stable                         system,current
org.freedesktop.Platform.GL32.nvidia-390-48/x86_64/1.4 system,runtime
org.winepak.Platform.Compat32/x86_64/3.0               system,runtime
org.winepak.Platform.Extension.corefonts/x86_64/3.0    system,runtime
org.winepak.Platform.Extension.vcrun2015/x86_64/3.0    system,runtime
org.winepak.Platform.Wine.Compat32/x86_64/3.9-staging  system,runtime
org.winepak.Platform.Wine/x86_64/3.9-staging           system,runtime
org.winepak.Platform/x86_64/3.0                        system,runtime

Something I noted in addition to the WoW error is in the console from where I ran the flatpak I received:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

Hope this extra information helps.

julianrichen commented 6 years ago

@sc10n swrast is the software render for mesa, do you have it installed?

apt-get intall -y mesa-utils and libgl1-mesa-glx

It might be a link issue as well but I'm not 100% sure: https://askubuntu.com/a/566522

julianrichen commented 6 years ago

@kemra102 What kind of GPU do you have? is it better than any of the following?

Source

kemra102 commented 6 years ago

@julianrichen Better than those yes, I have an NVIDIA GeForce GTX 1060 3GB

sc10n commented 6 years ago

@julianrichen I did install the mesa-utils and I am not getting that error anymore. However, it still won't run. I get:

$ flatpak run com.blizzard.WoW 
Verify "Battle.net Helper.exe" doesn't launch...
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
$ wine: Unhandled exception 0xc0000417 in thread 70 at address 0x523586 (thread 0070), starting debugger...`

I get the login portion of the launcher then the launcher itself is just a black window before I get the Blizzard error for "Failed to create Graphics context"

I did go through the thread you provided, but it looks as though everything is linked correctly.

DavidZemon commented 6 years ago

Ubuntu 18.04.1 NVidia driver 390 installed: 390.77-0ubuntu0~gpu18.04.1 Intel i7-6700k NVidia 1050 Ti

I have libgl1-mesa-glx and mesa-utils installed.

I'm able to open the Battle.net launch and install WoW, but upon trying to play the game I get a few errors:

  1. Graphical popup error that reads:

    Your 3D accelerator card is not supported by World of Warcraft. For more information please see https://..........

  2. Output in the terminal
    david@balrog:~$ LIBGL_DEBUG=verbose flatpak run com.blizzard.WoW
    Verify "Battle.net Helper.exe" doesn't launch...
    wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
    david@balrog:~$ wine: Unhandled exception 0xc0000417 in thread 70 at address 0x523586 (thread 0070), starting debugger...
    libGL: screen 0 does not appear to be DRI2 capable
    libGL: OpenDriver: trying /lib/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /lib/dri/swrast_dri.so
    libGL: Can't open configuration file /home/david/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/david/.drirc: No such file or directory.
    libGL error: No matching fbConfigs or visuals found
    libGL error: failed to load driver: swrast

    The first three lines occur during launch startup. All of the libGL errors occur when I attempt to launch the game.