-
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
Battlefield 4™ (1238860) #3994
Comments
There is also the issue of no ping indicator in multiplayer matches - the leaderboard simply shows Unfortunately I don't have the game on steam, but the ratings on ProtonDB suggest that at least some steam players also have the problem. As an attempted workaround, I tried
Personally I've never encountered any punkbuster related kicks on a vanilla Wine/Origin setup. |
Same issue with the ping, getting kicked is super annoying. Haven't managed to solve it yet with the setcap solution, but others apparently have |
Battlefield 4 no longer even opens for me with Proton 5.09, I had to switch to Proton-5.11-GE-1-MF by GloriousEggroll to get it to open. Is anyone else having this problem or is it just me? edit: the problem was just me. I had Proton installed on an external drive SteamLibrary for some reason, I was in the process of replacing the drive (which meant it no longer existed) As for the issue with ping not displaying and getting kicked for missing ping, I am not having that issue. I have tried over 10 different servers and I have yet to be kicked once I completed the initial PunkBuster setup. Everything is working as expected for me once again. |
I appear to be having an issue with the game (Origin overlay?). The game starts with Proton 5.11-GE-2-MF. The mouse works in the menus however if I join a game, neither the mouse nor the keyboard work. The keyboard doesn't work in the menus as if I try and change a key binding, there's no response from any keys. Can anyone shed any light on this? EDIT: I was using GE proton as 5.09 didn't appear to work. It seems to work using 5.09 however now although the mouse works in the menu, when selecting a deployment point, the selection "scrolls" through vertically and the mouse is frozen in game, but the keyboard works. |
I had a similar issue I think with my keyboard not working in Battlefield V, I don't believe it was related to Origin in-game overlay or Steam in-game overlay. I switched from Fullscreen to Borderless and that fixed my keyboard not working in Battlefield V, might be worth a try for you. |
I have a similar issue with keyboard not working in both menu and a game, as well as mouse in locked mode in game, though Origin overlay is disabled. Thought at first it was due to XWayland, but it doesn't work in native Xorg window manager either as well as Wine virtual desktop. |
When is the ping issue going to be fixed or is there at least a workaround for it? |
Well, there is a workaround for ping, you just need to allow wineserver and wine-preloader binaries (both 64 and 32) to use raw sockets. |
I'm having an issue with Origin not recognizing the game as installed. I get all the way through the setup, but when I press play Origin launches and says:
OS: Arch Linux |
When I try to launch the game steam just nothing happens except for Steam showing it as running. Doesn't even launch Origin OS: Arch Linux |
Any update on the no ping issue? Picked this up during the Winter summer sale on Steam and it works fine (using I've found numerous posts on Reddit / forums detailing how to fix this, however they are running these fixes (and the installs) with Lutris and not Steam+Proton. Just for clarification, I did try the fix on WineHQ and @Cherser-s suggestion but my ping is still missing/the issue remains. |
No and unfortunately there doesn't seem much interest in fixing the issue. if your total playtime is under 2-hours I sincerely suggest refunding and buying one of the other battlefields. |
The setcap issue is explained here https://www.reddit.com/r/linux_gaming/comments/gc5qss/wine_and_ping_support_on_ubuntu_a_guide/ But this solution doesn't work for me either in my ubuntu 20.04, I tried to link the custom proton-ge's libwine.so I'm using in steam to the ld.conf.so. |
After reading this #4586 (about ping issue), I tried to run bf4 from a windows steam with a lutris wine build, and after running the setcap trick on the lutris wine's binaries, it seem that ping works ingame. So the only workaround for BF4 and ping issue is to not use Proton. |
Installed yesterday and ootb was getting ping Today I tried to manually reinstall (and update) punkbuster So I removed the proton prefix I've tried various "setcap cap_net_raw+epi" solutions also tried various proton versions I'm on Debian 10 if anyone has suggestions let me know |
As it's said on my previous post, ping doesn't work with proton either with setcap trick, you must run the game directly from a wine build (lutris or wine-tkg as example) |
I hear you mate but there are plenty of ppl here playing it with proton: |
no idea if a distrib issue or a regression, I know many people is playing without the ping on servers that dont' kick for that. Fact is that proton is now bothering with setcap trick. |
Interesting, after latest Wine update I can't get Origin working, and it simply hangs while trying to connect to some api server for eternity, if I have capability cap_net_raw+epi on wine-preloader (32 bit version). If I remove this, Origin launches fine, but I think I won't be able to connect to Punkbuster servers. I simply get winsock error 10035 infinitely, this probably is connected to Origin updater checking, if new version is available. |
Has anyone found a fix yet for the ping issue that doesn’t require running Windows Steam in wine though Lutris? I was thinking of buying the game but if the ping issue means it doesn’t work in proton it might not be worth it. |
Don't buy it. I spent ages trying to fix it and couldn't. You'll be kicked from 95% of the multiplayer servers because of some stupid add-on most of them run. |
looks like a patch for the ping issue was proposed last night: Here's a proton-ge test build with the patch, i was able to play for about 45 min in multiplayer without issue (completed a match start to finish): |
Not to try and insult you by asking this, but are you 100% sure you were playing on a server that has this issue? I'm sure you're right correct and it's working - I just thought I'd double check before getting my hopes up. Still, that being said I guess that only goes to prove the old adage about the internet; "if you want the answer to something don't ask for it, Instead post the wrong answer and someone will correct you almost immediately" 😛 |
I can confirm the Proton-6.11-GE-1 fixes the issue. I tried it, ping displays nicely, sometimes it takes some couple of seconds to be refreshed and displayed, but it definitely works. |
Found this conservation by randomly googling the subject and just created a Github account in order to provide feedback for this type of thing. Going to test your new 6.11 build tonight and report back asap. In any case, thanks for taking the time to fix this issue in ProtonGE. My family and friends have moved over to Ubuntu / Suse / Fedora Linux and we all just bought BF4 on Steam a couple of days ago. Your timing is perfect in our case. Looking forward to the official release. Cheers |
Update: Ok, just played online a couple of rounds: no kicks whatsoever, ping was shown just fine. Worked like a charm. |
Interesting, this patch doesn't work for me (in vanilla wine version, that is), if I don't enable raw sockets capability for wine binary files. I've ran UPD: I allowed unprivileged ICMP requests for my user by sysctl. Also Origin started working somehow and doesn't hang just as in case with setcap, so I could start bf4 and play multiplayer with working ping. Though Origin still hangs at the start in case if wineserver wasn't initiated by Origin executable. Something isn't right with Origin itself probably. |
Another update: The game is still working just fine ping-wise (with ProtonGE 6.11), but I noticed a different issue. The game stutters heavily every second or two when playing online. I checked ProtonDB and noticed that there are other users with the same issue. I've tried a bunch of the suggested workarounds (-notexturestreaming, gamemode, turning off bandwith optimization etc.), unfortunately to no avail. According to one ProtonDB report (from the user "Arge"): "Origin, when being online, seems to heavily stutter this game (as well as Battlefield1 via Lutris) exactly every single second. If one manages to launch the game with the chat of Origin being offline, this stutter doesn't exist." Is anyone else experiencing the above? I am able to confirm the issue on two separate machines, one equipped with an RTX 2080 Super. OS: Ubuntu 21.04 and 20.04.2. Thanks! |
Are you sure it isn’t compiling shaders? On my Arch Linux i5 6500 and GTX 1060 6GB machine, it does stutter online but not as frequently as every 1 or 2 seconds.
|
Should proton logs include the games' proton compatdata setup/install? Or just the game start>fail>exit? |
You got my hopes up. https://drive.google.com/file/d/1PAR9_G4l3y2hPdXwBAteofNcxs9HfXTy/view?usp=sharing Maybe it is unrelated, but the way the initial install sequence interrupts mouse/keyboard at random intervals seems to be a direct indicator that the resulting install will fail to launch the game. |
I havn't been able to play battlefield 4 in like 8 months. I really miss my favorite game. Every proton version. |
Two things that are clearly not intended function and did not appear until a few months ago:
proton 7.0-100 Steps to reproduce:
This is extremely tedious, the game is already overly black in scenes where nothing could ever be THAT black, and if i dare enter a menu everything is suddenly even darker. 2023-05-23--23-24-42.094_Battlefield4_h264-qp18_00.00.14.932-00.00.31.698_reStream_H264-veryslow.mp4PROTON_LOG=1 %command% |
@BETLOG I have 2 suggestions to try for the 8.0 issue you are seeing. 1) Could you try changing/lowering the level of focus loss prevention in the KDE settings? The setting is under Window Management -> Window Behavior. and 2) Could you try Proton - Experimental? For this test, please delete (or move) the prefix first just in case a new prefix works better :) |
[edit] it looks like your responses may have been related to #3994 (comment) In which case, no, i cant test with proton experimental, nor any 8 series proton.
Changed from low, to none. All other settings in window behaviour>focus are unchanged (defaults).
ok, 8.0-102
Always. ... Same result. Dead black window with titlebar. PROTON_LOG=1 %command% |
Correction: I CAN run 8-series proton; but it's not a steam proton: I am still unsure which issue you asked me to disable focus stealing prevention for, but the above proton:
|
This original report was for NVIDIA gpu, proton version 5.0... so things have come a ways since then. Today the game is running for me on AMD 5700xt, with KDE Plasma. And so is the EA App.exe too (the origin launcher, multiple exes). Here is a gist with some supplementary infos. Which shows a) proton version Can confirm (like others)
Since that ^^
Which is probing for your surround sound, in game headset. etc. In fact multiple DIFFERENT executables will be doing this probing over and over again (in turn, as the EA app first loads up, then a 2nd or even 3rd launcher app, then finally the BF4.exe game itself. Anyhow this is all just to say, if the game is launching, and nothing is happening. Then maybe it is probing for audio under wine. And then the loading stages will not progress, until those audio stream endpoints have been connected (at least some of them, to satisfy the probing routine). And the EA App still does take a long time to load up (in the background). What could NOT confirm:
Whether or not it is in fact needed to enable IPV6. (If you have a system with IPV6 disabled, many of us do). This is because i was trying multiple things at the same time. However 1 of the 2 things Was indeed to re-enable IPV6 networking using the sysctl command shown in my above gist. Since I happened to boot with kernel flags disabling the ipv6. So after getting over obstacles, as of TODAY. Both EA App (Origin launcher things) + BF4 game itself. Seems to be running / works. And I did not observe any obvious bugs or glitches or crashing. Perhaps it might crash in the background after exiting I cannot remember. But in all other respects... seems to work with the other details provided as per my gist / pastie details. |
This is not to say the bug should be closed. Because it still needs to get to bottom of fixing for proton8... that new breakage: gettting the black screen for ANY Proton versions 8 and above. (or wine 8+). Whatever broke it. Until then, we remain stuck on |
I'm unsure how to reproduce the black game screen issue. |
would like to help, and go back to double check. unfortunately did not make proper note of blackscreen exact precise proton 8 version today... i should have. but failed to do this. having just gotten it working, am now loathe to break it again. |
@BETLOG Are you also using flatpak? |
Mine isn't. Or at least it produces no audio that would indicate it running, and yeah: black screen.
[edit] wait, no, disregard this. TKG is the only 8.x that works for me
no.
Just rename the
Yes, we know that. It's 8-series that the recent reports are talking about. |
Is the black screen also present when using wined3d? |
if the TKG build works, and other types of the proton-8 [and/or GE,Experimental,beta]. Then is it worth examining the TKG build options. Or asking the TKG maintainer for comment? To try to understand what might be needed to transfer from TKG to other versions (for GE or steam's own official proton). |
Ideally i need to be able to reproduce the issue first. Does the issue go away in regular Proton when you use wined3d? |
I haven't responded to this query becasue I have never used wined3d afaik, and I'm not sure how I would even go about that. From memory its a proton argument, but googling it is an SEO wasteland of windows references. |
Ye thats the one. Sorry should have written it. Made an assumption that it was already known. |
I'm tired, so I might have the dumb and not be able to brain, but I wasnt expecting this to fail in less than 3 seconds: remove compatdata/1238860 didnt even start EA, just immediately ended
|
Question: What's with that? and how can I fix it? Typically i precede %command% with:
dxvk.conf
user.cfg
|
The ping / setcap issue is still a thing. Solution: This also solves the no-ping issue on battlelog web server browser |
Perhaps a (slightly) better way... to add your user account to a new;y created sudo groupadd ping
sudo usermod --append --groups ping $USER
GID="getent group ping | cut -d":" -f3"
# to enable for this session only
sudo sysctl "net.ipv4.ping_group_range = $GID $GID"
# to make persistent across system reboots
echo "net.ipv4.ping_group_range = $GID $GID" | sudo tee -a /etc/sysctl.conf However in have not actually tried this myself yet... (but in theory according to the kernel docs, for how it's supposed to work). |
so I tryed everything i could find i used proton 7.0-6; proton experimental; proton ge 8-11 I tryed to run it stock but I always get an purple box with nothing in it Has anyone an idea what i still can try out? Info to my setup Computer Information: |
Just getting 'the app timed out' trying to launch this. Normally works for me, but then this problem starts and I have to spend 30 minutes faffing around with Proton versions and stuff, deleting the prefix and then running with Proton 7 to let the eac app install, and then switching to experimental works, but then I'll try to play the following day and I'll have the same issue and have to spend another 30 minutes faffing around to get past the ea app 'the app timed out' error. After I finally get it working, I can play a match for a few mins before being booted for some Punkbuster issue. Also sometimes I stop and start the game after it had been working again, and then simply trying to start the game again leads me to the same "the app timed out" error. Super inconsistent and frustrating. Edit; Disabling fsync appears to solve the punkbuster issue (so far), but the rest of the issues persist. |
I'm getting similar behavior as I am with gta iv. The game launches, and then a window never opens. Here's my steam-1238860.log. |
The audio disappears and reappears from time to time, sometimes music starts and repeats again and again when loading. |
As of the last steam client update the game no longer starts on the primary monitor. |
I get to the EA App opening very briefly before immediately closing. Tried many different Proton versions including the GE version which runs the app fine in Lutris. No dice. |
Compatibility Report
System Information
I confirm:
Symptoms
This isn't a problem specific to Linux with Proton, but rather, a problem that also exists on Windows. When you first install the game and enter a multiplayer game, after 5 minutes or so you will get kicked from the multiplayer game by PunkBuster, but there is an easy fix available for this. Other than that, the game seems to run quite well for me and I haven't really noticed any other issues.
Solution
The solution to this is fairly simple, it was originally posted by Feline Fowl on ProtonDB. I will crosspost it here so others can easily find it. The solution is as follows:
The text was updated successfully, but these errors were encountered: