ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.97k stars 1.05k forks source link

Mega Man X Legacy Collection Issue (743890) #1556

Open mikeyjoel opened 5 years ago

mikeyjoel commented 5 years ago

After install, game draws window and then outputs the following "Fatal error."

E_FAIL : IRender ->getDevice()-

CreateTexture1D(&desc,NULL,&ptex)

Using Steam Play/Proton 3.7-6/Ubuntu 18.04 LTS Nvidia 390. Let me know if there are any logs that you will be needing so I can provide.

kisak-valve commented 5 years ago

Hello @mikeyjoel, please copy your system information from steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report. Additionally, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

You may have better luck with nvidia 396.54 or newer.

Hedgie commented 5 years ago

Getting same issues as Mikey but got the gist file. https://gist.github.com/Hedgie/70ddaf764511b277c2e193d94ff33c56

Awesome to see the start of a serious compatibility option. Works great with a few titles I have tried so far.

PS: Forgot the app log

steam-743890.log

ventsin commented 5 years ago

I'm going to leave my own gist and log here, I tested for Megaman X Legacy Collection 2, for the sake of completion. Gist: https://gist.github.com/ventsin/b6d1fc10b71cb82b837c25c9f8ee8a93 steam-743900.log

Thanks for all the hard work! I'd love to provide any other help for this title and others.

PS: Forgot to mention the error is exactly the same, hence why I'm posting in this existing issue.

yoohahn commented 5 years ago

Try to install latets nvidia. I have 410 and just played it without any problems (played megaman 2 for about 10min)

$ sudo apt-get purge nvidia* # Remove current install nvidia drivers
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt-get update
$ sudo apt install nvidia-driver-410 # install latest drivers
ventsin commented 5 years ago

Try to install latets nvidia, have 410 and just played it without any problems (play megaman 2 for about 10min)

$ sudo apt-get purge nvidia* # Remove current install nvidia drivers
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt-get update
$ sudo apt install nvidia-driver-410 # install latest drivers

This process allowed me to bypass the error in the Megaman X Legacy Collection 2, although the menu worked fine, the games themselves didn't seem to startup, resulting in a backscreen along with the game background. I'm trying the same on the MXLC 1 to see what happens, I'll also try again later with a different computer.

UPDATE 1: (MXLC1) It seems games from the first era are working properly, i.e. Megaman X, Megaman X2 and Megaman X3. X4 stays on a black screen. (MXLC2) No games seem to be working.

flibitijibibo commented 5 years ago

@kisak-valve Requesting an XAudio2 label for this game...

kisak-valve commented 5 years ago

Mega Man X Legacy Collection 1/2: Some titles dont start

Issue transferred from https://github.com/ValveSoftware/Proton/issues/3039. @ichirou2910 posted on 2019-09-05T16:23:26:

Compatibility Report

System Information

I confirm:

Symptoms

X1-3 work fine X4-8 didnt start, stuck in black screen (though there was "loading data" message in x8 when start) X Challenges 1-2 work fine

Reproduction

Open the game and select any of the titles P/s: I did set the launch option to PROTO_LOG=1 %command% but cannot find the log file

image

BillFleming commented 4 years ago

X4 doesn't work due to have WMV video files. (TL;DR: make video files 0 bytes to get the game to launch) See here for details. https://github.com/ValveSoftware/Proton/issues/3278#issue-530799139 I played through intro stage to confirm it working.

ichirou2910 commented 4 years ago

Thank you very much BillFleming. X4-8 run normally now.

nicoco59 commented 3 years ago

Hi,

The game seems to launch only with Proton 5.0-10, you have to make sure you're not launching it from a previous Windows install or you'll get permissions issues while installing wmp11 with Winetricks / Protontricks, so redownload the game on an ext4 partition. To see wmp11 in the list make sure Winetricks is updated to the latest version, if your distro prevent you to do that, change it ^^

77boaz commented 2 years ago

Just curious if there's any updates on if this works on any proton version past 5.0-10 or there are any updates? I used to be able to get it to launch on the older versions but now I just run into protontricks version problems etc.. Every proton version just gives me a blank screen. I have to force quit out.. Thanks for all the help! :)

nicoco59 commented 2 years ago

@77boaz Videos finally works with the latest Proton Experimental (I just tried Megaman X4), but there is no sound, it's still a great step though :) Maybe in a couple of updates it'll be ok.

77boaz commented 2 years ago

@nicoco59 It worked! I also had audio! This is encouraging! Although, to note.. I was able to get it to work in endeavouros.. However my main desktop runs Manjaro and I STILL get the blank/black opening screen with no response.. I truly don't get it.. To make sure I removed all traces of the PFX and the game folders under 'common' in the steam folders. I wonder what's the difference with Manjaro. Anyways there is definitely progress being made.. Good signs :)

77boaz commented 2 years ago

I figured out the problem.. I saw in protondb that someone had to switch Fullscreen to ON in the config.ini file of the game. This worked for both The first and 2nd Mega Man X collection! :-)

77boaz commented 2 years ago

Now I'm getting a new error.. ERR03 :Failed to initialize directx 10 lol

nicoco59 commented 2 years ago

@77boaz lol It still works on my end, just the videos won't show anything except that "lost signal" screen. I guess we'll have to wait again before it's solved...

77boaz commented 2 years ago

@nicoco59 Yeah I got it to work.. The DX11 was something I think with libraries on my new linux build. But aside from that the game is very picky. I have to make sure I'm not in fullscreen but in borderless fullscreen. I had to tweak the .ini Otherwise now it's happy :)

Skiski commented 1 year ago

I've just installed the game and it is not launching. It's not crashing, making a black screen or whatever. It's just doing nothing. When I click on "play", the name of the game on the left is not turning to blue. The "Play" button changes into "Cancel" and there is "launching" on the right of the button. But nothing else. I can't get a log file, as if Proton was not even launching. I've tried deleting and reinstalling the game. I've tried proton 8.0-3 and experimental but it's the same. When I quit Steam, there are still some processes running. I have to kill them to launch Steam again. Strangely enough, I can launch other games without problems. I've tried Mega Man Legacy Collection (the one with the nes games) and it works great. If I try to verify the install files after launching the game, it gets stuck at "resetting the install script". But if I kill all Steam processes and try to verify the game without launching it, if works and it says that everything is ok. I've tried launching the game multiple times, but it is still noted as "unplayed" in Steam. I don't even know what to try. I'm on Fedora 38.

Skiski commented 1 year ago

When I quit Steam, after having tried to launch the game, here are the processes that are still running:

[fedoski@fixe ~]$ ps aux | grep steam
fedoski    25648  0.0  0.0 223940  4096 ?        S    00:19   0:00 bash /home/fedoski/.local/share/Steam/steam.sh
fedoski    25793  6.0  0.7 670824 258772 ?       Sl   00:19   0:06 /home/fedoski/.local/share/Steam/ubuntu12_32/steam
fedoski    25805  3.2  0.0      0     0 ?        Zs   00:19   0:03 [steamwebhelper] <defunct>
fedoski    26880  0.0  0.0   2400   896 ?        S    00:20   0:00 /home/fedoski/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=743890 Install=1 -- /home/fedoski/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /home/fedoski/jeux_ssd/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=run -- /home/fedoski/.local/share/Steam/steamapps/common/Proton - Experimental/proton run /home/fedoski/.local/share/Steam/legacycompat/iscriptevaluator.exe legacycompat\evaluatorscript_743890.vdf
fedoski    26881  1.0  0.0   4576  1536 ?        S    00:20   0:00 /home/fedoski/jeux_ssd/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/pv-bwrap --args 31 /usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb --generate-locales --fd 18 --regenerate-ld.so-cache /run/pressure-vessel/ldso --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu --set-ld-library-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases --exit-with-parent --subreaper --assign-fd=1=6 --assign-fd=2=7 --shell=none --terminal=none -- /home/fedoski/jeux_ssd/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0 container-runtime /home/fedoski/.local/share/Steam/steamapps/common/Proton - Experimental/proton run /home/fedoski/.local/share/Steam/legacycompat/iscriptevaluator.exe legacycompat\evaluatorscript_743890.vdf
fedoski    26969  0.0  0.0 249208  5504 ?        Ss   00:20   0:00 /usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb --generate-locales --fd 18 --regenerate-ld.so-cache /run/pressure-vessel/ldso --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu --set-ld-library-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases --exit-with-parent --subreaper --assign-fd=1=6 --assign-fd=2=7 --shell=none --terminal=none -- /home/fedoski/jeux_ssd/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0 container-runtime /home/fedoski/.local/share/Steam/steamapps/common/Proton - Experimental/proton run /home/fedoski/.local/share/Steam/legacycompat/iscriptevaluator.exe legacycompat\evaluatorscript_743890.vdf
fedoski    26993  0.2  0.1 339004 40656 ?        S    00:20   0:00 python3 /home/fedoski/.local/share/Steam/steamapps/common/Proton - Experimental/proton run /home/fedoski/.local/share/Steam/legacycompat/iscriptevaluator.exe legacycompat\evaluatorscript_743890.vdf
fedoski    26994  0.3  0.2 2154804 71168 ?       S    00:20   0:00 c:\windows\system32\steam.exe /home/fedoski/.local/share/Steam/legacycompat/iscriptevaluator.exe legacycompat\evaluatorscript_743890.vdf
fedoski    26996  1.1  0.0  16116 14724 ?        Ss   00:20   0:00 /home/fedoski/.local/share/Steam/steamapps/common/Proton - Experimental/files/bin/wineserver
fedoski    27066  0.1  0.0 1797188 21312 ?       Ss   00:20   0:00 legacycompat\SteamService.exe /installscript Z:\home\fedoski\.local\share\Steam\steamapps\common\Steamworks Shared\runasadmin.vdf 228980
fedoski    27071  0.2  0.2 4038008 78752 ?       S    00:20   0:00 Z:\home\fedoski\.local\share\Steam\steamapps\common\Steamworks Shared\_CommonRedist\DirectX\Jun2010\DXSETUP.exe /silent
fedoski    27330  0.0  0.0 222564  2560 pts/2    S+   00:21   0:00 grep --color steam
Skiski commented 1 year ago

I've just tried Mega Man Zero/ZX Collection and I've got the exact same problem.

kisak-valve commented 1 year ago

Replying to https://github.com/ValveSoftware/Proton/issues/1556#issuecomment-1674004066

Hello @Skiski, that looks like #6859. Please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.

Skiski commented 1 year ago

Here are the diagnostics: https://gist.github.com/Skiski/eb54e444c8ef0109b94d8e1a17393031 And I've tried launching Mega Man Zero Collection with Proton 7 and it worked. And now, it also work with Proton 8. Yesterday, I also downloaded and launch Maquette with Proton 8 for the first time, and it worked without any problem. I can confirm it's a game specific issue. I don't want to use Proton 7 with Mega Man X Collection for the moment, in case you need more informations on this problem.

o-alquimista commented 1 week ago

ERR03: Failed to initialize DirectX10

ERR03: Failed to initialize DirectX10

Interestingly, it works on my Dell laptop (Intel graphics, Fedora Workstation).

o-alquimista commented 1 week ago

Yeah I got it to work.. The DX11 was something I think with libraries on my new linux build. But aside from that the game is very picky. I have to make sure I'm not in fullscreen but in borderless fullscreen. I had to tweak the .ini Otherwise now it's happy :)

@77boaz How exactly did you fix it? Did you install a specific package? I have no clue what to look for.

kisak-valve commented 1 week ago

Hello @o-alquimista, your system is missing 32 bit Vulkan drivers for your video card. Install the mesa-vulkan-radeon-32bit system package and retest.

o-alquimista commented 1 week ago

Hello @o-alquimista, your system is missing 32 bit Vulkan drivers for your video card. Install the mesa-vulkan-radeon-32bit system package and retest.

Thank you, that was it. I had to install mesa-vulkan-radeon-32bit ~and amdvlk-32bit~. The respective 64-bit packages were already installed, but the 32-bit ones were not.

EDIT: removed amdvlk (will only keep mesa-vulkan-radeon).

~Should I report this to the steam package maintainer on Void Linux? To add these packages as dependencies.~

EDIT: Actually, I don't think they will agree to this. The template file doesn't have any graphics driver packages in its dependency list. Installing graphics drivers is up to the user, and it's documented here and here