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.