-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wine: could not load kernel32.dll, status c0000135 #4269
Comments
I have this issue as well. Tried today with Proton 5.13-1 and get this:
|
Same issue here. Can't seem to get anything to run. Can still run everything in 5.0-9 no problem. |
Same. Unable to launch anything. Proton 5.0-9 and 5.9-GE-ST-8 still work completely fine. |
I'm in the same boat, nothing will run with Proton 5.13 on Fedora 33 on a Gnome/Wayland session. Quake Champions (2017), Prey (2006), FarCry (2004), DOOM 3 (2004) or Quake IV (2005). I tried restarting my client, verify Proton and all of my games, run an Xorg session, but they won't launch. Thankfully I can still manually fall back to proton 5.0-9 and the previous runtime. Logfile: vyfuMCwE.log Full system specifications: 9MRtQFwe.log
|
Yesterday Proton 5.13-1 worked for me, but today (after computer shutdown) I've got the same problem. |
I had this problem too. Even when I changed my game (A Hat In Time and Doom 2016) back to an older version of proton, I still had the kernel32 issue. This fixed itself when I deleted the compatdata folder for each game and relaunched with the older Proton versions. |
same issue none of games run, new version? |
I also tried with a new proton prefix and the issue was the same :/ |
Ok, I just fixed it somehow. I reinstalled the steam and downloaded the proton 5.13 again. |
I also have this:
with the actual folder:
as in, is |
I also was not able to run anything with new Proton-5.13-1 version, then I started debugging the issues using the missing XDG_RUNTIME_DIR env variableThe first issue i found is that on my system (Slackware64 14.2) the
This can be fixed by preparing a temp dir inside your user $HOME (seems like the script does not like world-readable paths) for that before launching steam: mkdir -p ~/steam-tmp
export XDG_RUNTIME_DIR=~/steam-tmp
steam This is a just stop-gap solution: I think it would be better for the libdconfsettings.so errorIt seems like there's an issue with this library, as this appears in the output using
Does not seem to be fatal, though. empty
|
Same problem, kernelbase.dll is a 0 byte file, so I replaced it with the one(it's a 64,008 bytes file) from Proton 5.0-9 but now it fails with "error 4000000e" |
So by replacing kernelbase.dll and explorer.exe(this failed to load when I replaced kernelbase.dll) in lib64/wine in proton 5.13-1 directory with files from here https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-staging-amd64_5.13~focal_amd64.deb Proton 5.13-1 starting working for me |
What I've noticed is that the error code I have is because the symlinks are broken |
Something I forgot to mention, I use Proton 5.0-9 by itself, I just use steam to download it. |
Yesterday it was working. Now Ive tried with both 5.09 and 5.13-1 and both has the same issue. [user@ws Proton 5.0]$ ./proton run '/home/user/.wine/drive_c/DOOME/DOOMEternalx64vk.exe' |
huh, weird |
[laza@lazacenter Proton 5.0]$ ./proton run '/home/laza/.wine/drive_c/DE/DOOMEternalx64vk.exe' Yes I think it set the prefix automatically. Otherwise how to do it manually? |
well that's weird, I just install opensuse tumbleweed and it works for me... |
I can't run anything with Proton 5.13-1 or 5.13-2. |
I still have this problem in proton-5.13-2 |
Same issue here, error c0000135 on the launch of Metal Gear ground zero and red dead redemption 2. |
symlinks copied to pfx directory were using wrong relative paths ./pfx/drive_c/windows/syswow64/kernel32.dll -> dist/lib/wine/fakedlls/kernel32.dll fixed to use absolute path
After doing a clean install of Steam, I could install and run a couple of games with 5.13-2. |
@clebercasali I had the same issue, but was able to get the games to work by removing the This did require me to reinstall the games, but it's fairly quick because steam will first check the destination for existing game files, so you won't have to do a whole re-download. |
In case if someone is also having a problem with this, I was able to solve this by reinstalling Proton 5.13. It was previously installed on NTFS partition, and I reinstalled it to ext4 root partition. Game seems to boot up well. If your steam refuses to uninstall it due to unexpected error, It's probably because some games are set to use Proton 5.13:
Change them to use other versions like 5.0, and you will be able to uninstall it. EDIT: I am using Fedora 32, using Steam package provided from RPMfusion. The game I tested with was GTA V. |
I was getting this issue right after a system rebuild to include a reinstallation of Steam (but keeping all my old game files), and this fixed everything. Thank you! |
Same issue with 2 different distro |
@0xC0ncord how does one verify integrity of tool files? Nevermind...had to do a search within steam for proton 5.13 and Steam Runtime Soldier after I followed the above steps |
I also have this problem with Proton 5.13-4. So how exactly do I fix it? To me it seems everyone above got it working in a different way and I am somewhat confused. So is this something wrong with Proton or is it me not using Proton correctly? One of the things that confuses me is that Proton seems to run fine when launched through Steam, but it no longer does from command line which worked fine in Proton 5.0. |
#4409 |
Not work for me |
Getting this issue now. Steam was running the whole time, no reboot - all of a sudden something that ran yesterday will now no longer run with the same error. |
As previously mentioned, the issue seems to be with the wine prefix created by Proton 5.13 containing incorrect relative links that point to non-existent files in places like #4409 fixes this issue and can be easily applied in a few minutes. I've left instructions on how to do that in a comment on that PR. |
Hey @opl- , I saw #4409 and just did it on a completely fresh install and nothing changed for me. I'm tried it on Satisifactory and Rocket League, and then I reinstalled steam and did it again and I got a new error message. This was outputted after reinstalling steam: $ pwd
/home/dan/.steam/debian-installation/steamapps/common/Proton 5.13
$ STEAM_COMPAT_DATA_PATH=~/.steam/debian-installation/steamapps/compatdata/526870 ./proton run ~/.steam/debian-installation/steamapps/common/Satisfactory/FactoryGame.exe
Proton: Upgrading prefix from None to 5.13-1 (/home/dan/.steam/debian-installation/steamapps/compatdata/526870/)
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
esync: up and running.
$ echo $?
0
$ screenfetch -n
dan@dan-MS-7641
OS: Ubuntu 20.04 focal
Kernel: x86_64 Linux 5.8.0-36-generic
Uptime: 1h 59m
Packages: 3820
Shell: zsh 5.8
Resolution: 5760x1080
DE: GNOME 3.36.4
WM: i3
GTK Theme: Adwaita-dark [GTK2/3]
Icon Theme: DMZ-Black
Font: Cantarell 11
Disk: 101G / 468G (23%)
CPU: AMD FX-8350 Eight-Core @ 8x 4GHz
GPU: GeForce RTX 2060
RAM: 4363MiB / 16008MiB Your PR comment changed something, but I don't know what to do from here. Any thoughts? |
Hello @danhab99, |
new problem? where did the file go? kernelbase.dll missing from broken empty link is created under $USER/.steam/steam/steamapps/compatdata/$APPID/pfx/drive_c/windows/system32
validating proton5.13 files does not replace it. what happened? ahhh...... i see https://dl.winehq.org/wine-builds/debian/dists/stable/main/ extracted -- replaced missing kernelbase.dll NEXT:
same thing, explorer.exe is 1kb file well look at that explains why verify files didnt work, proton extracts from that .tar file what happened???????? |
I was having this problem intermittently. Not sure why it was inconsistent. But I have solved it by realizing that my ntfs drive that my Steam library was on has been mounted with my username as the uid but root was the gid. So I just updated my fstab to include 'gid=1000' and the 'permissions' option then rebooted. Then for good measure I went ahead and completely removed all proton versions and reinstalled from steam. Works perfectly now. So the issue must have been with permissions. My fstab entry: |
I saw this failure mode recently, and on investigating, I found that The I was able to this by deleting the I think the fact that multiple people have had this file become empty might suggest that something is semi-consistently going wrong with unpacking the archive. It would be useful if there was a way for Steam to signal to Proton that the user has asked to verify installed files, so that Proton could either validate the contents of the @D1G1T4L3CH0 wrote:
It could be the permissions, or it could be something that can be fixed by reinstalling Proton (like the empty file that I had) - after reinstalling, you can't tell which any more. For instance, if you had the same issue with an empty file that I did, then reinstalling Proton is likely to have fixed it. |
okay so I'm on fedora 34 running wine 6.11. and I just literally had to do this simple step similar to the solve here...
So, what I did was just copy the whole folder of "steam" from the location: $USER/.steam/ There's a temporary solution of adding wineprefix and setting a temporary location to run winecfg but it was inconsistent. Now, just typing winecfg in terminal works just fine. |
I have been encountering this issue for a while now, and none of the mentioned fixes seem to do anything, and even more recent versions of Proton don't seem to fix anything. Running on Debian 11. |
@Laporte12974 I had some weird problems some time ago like this one: The solution for me was deleting steam runtime soldier from the NTFS partition and moving it to an ext4. |
FYI. This happens when I use "sudo", but it works without "sudo" Had to install with sudo, then it worked with both sudo and no sudo sudo apt install wine64 |
Received a similar issue when trying to download Wine on a Chromebook. Here's what happened: |
winecfg |
This is the issue tracker for Proton, a Steam compatibility layer installed via Steam, which includes its own version of Wine. Valve does not maintain any other version of Wine that you might be using, so even if you get a similar error message, commenting on this issue will not result in a solution for you.
The same applies here...
... and here. This issue tracker is specifically for Proton, not for any other version of Wine you might have installed outside Steam. |
same problem, 32-bit only, and I can't infer meaning from the error |
For me, my antivirus killed the DLL as a heuristic broken executable. Check that the file exists and is executable by your user. |
As title, says, I can't run anything with Proton 5.13-1, not even winecfg.
All i get is
esync: up and running.
wine: could not load kernel32.dll, status c0000135
I googled and apparently "c0000135" means not found, so I decided to check the location of kernel32.dll in Proton 5.0-9 and it's in the same places as in Proton 5.13-1, only difference is that now it uses symlinks.
The text was updated successfully, but these errors were encountered: