https://bugs.winehq.org/show_bug.cgi?id=51543
Bug ID: 51543 Summary: Origin client doesn't understand/know that the game has quit and doesn't log game details in Linux. Product: Wine-staging Version: 6.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sampingu02@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 70386 --> https://bugs.winehq.org/attachment.cgi?id=70386 This is the screenshot of the issue.
General Information:- I am having Battlefield 4 (Origin Version) through Lutris. I tried playing with Lutris-Wine-6.13 Runner, Wine-GE-Custom-6.13 Runner and system installed Wine-Staging 6.13. I have used the Lutris Script to install Battlefield 4 with mangohud, __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1, __GL_SHADER_DISK_CACHE_PATH, DXVK_HUD=compiler environment variables set. Also I have ran it with WineD3D and the same problem occurs. So this isnt a DXVK issue.
Steps To Reproduce:- 1. Open Origin through wine-staging 6.13 or the other wine runners. 2. Play a game from Origin Client (like Battlefield 4 in my case). 3. Launch the game and quit it. 4. Origin Client doesn't change the state of the game. The play button remains greyed out. When quitting it either from system tray icon or from Menu Bar > Origin > Quit Origin, it says that Battlefield (in my case) is sill running and the information like "Hours Played" and "Last Played" wont be updated when force quitting. Restarting Origin is the only way to play the game again.
Expected Result:- The Origin client should recognize/know that the game has quit and show the play button again, restart shouldn't be necessary to restart the game. The client also should log the "Hours Played" and "Last Played" details.
System Specifications:- OS/Kernel:- Arch Linux/Linux-TKG-PDS-5.13.6 (Also tested with Linux-Zen Kernel). Desktop Environment:- KDE Plasma 5.22.4 (All up-to-date - KDE Frameworks, Qt Version). CPU:- Intel Core i5 7500. GPU:- NVIDIA GeForce GTX 1060 6 GB. GPU Driver:- NVIDIA 470.52 Proprietary Driver.
Additional Information:- The attached screenshot shows that the Play button is greyed out even after quitting the game and a dialog is visible when quitting Origin saying "Battlefield 4 is still running" even though it clearly isn't. Also the Last Played and Hours Played information are from the time I played in Windows. I played this game for nearly 20 hours and last played on August 30 in Linux.
https://bugs.winehq.org/show_bug.cgi?id=51543
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- Well, probably the issue is that Battlefield 4 actually *didn't* quit, i.e. even though it closed all its windows, the process is still running. You can probably test this with `ps aux | fgrep -i .exe`.
Does this bug occur with upstream (non-staging) wine?
https://bugs.winehq.org/show_bug.cgi?id=51543
--- Comment #2 from Samuel sampingu02@gmail.com --- Created attachment 70388 --> https://bugs.winehq.org/attachment.cgi?id=70388 Output of `ps aux | fgrep -i .exe`
https://bugs.winehq.org/show_bug.cgi?id=51543
--- Comment #3 from Samuel sampingu02@gmail.com --- (In reply to Zebediah Figura from comment #1)
Well, probably the issue is that Battlefield 4 actually *didn't* quit, i.e. even though it closed all its windows, the process is still running. You can probably test this with `ps aux | fgrep -i .exe`.
Does this bug occur with upstream (non-staging) wine?
I have attached the output of `ps aux | fgrep -i .exe` command while origin is running (after I quit the game). bf4.exe doesnt seem to be running. Tested with upstream wine-6.14, DXVK and ESync/FSync turned off. Same issue as when tested with staging wine.
https://bugs.winehq.org/show_bug.cgi?id=51543
soredake gi85qht0z@relay.firefox.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gi85qht0z@relay.firefox.com
https://bugs.winehq.org/show_bug.cgi?id=51543
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |-unknown Product|Wine-staging |Wine
https://bugs.winehq.org/show_bug.cgi?id=51543
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |