

Game requires modified controls to utilize mouse controls. Executable swap is also recommended for better performance in seed selection menu
Shoutouts to Koopaloop for making the community layout. Utilizing both trackpads has a bit of a learning curve but is recommended because of more nuanced control.

gamescope -S integer -F nearest -- %command%
Fullscreening game results in visual artifacting (namely that columns of pixels get moved up and down, distorting graphics and making the one pixel thick bitmap font used harder to read) and lowered performance.
Without the executable file swap the game suffers from degraded performance at the plant selection screen, and will still have worse performance when in fullscreen mode. To bypass this it's recommended that you use gamescope or some other workaround. Using gamescope will allow you to resize the window as you please as well as fullscreen the game (externally within gamescope, not in-game) without performance degredation.
Also, I'm using the -S
and -F
flags for a sharper upscale, if you don't mind how the game normally scales up natively, feel free to leave all flags out and simply use gamescope with default settings.
Works perfectly out the box

If one has the same setup as me, a lousy Acer laptop, it will get annoying to do basic adjustments.
Something is wrong with my game, when I turn it to window screen, the window becomes blank. Using multiple versions of Proton doesnt help.
When pressing volume or brightness buttons.
Sometimes, pressing volume or brightness.
Just cause most people have functioning PvZ experiences does not mean all have it working.
Running great, slowness issues seen in the past seem to no longer exist.

Wine does open it but gives a error "cannot load steam.dll"
Attempted everything lol. Wine did get it to open but promped the error "Unable to load Steam.dll"
wanted to play the game :(

Runs good, make sure to disable 3D acceleration through ingame settings
Lag during cutscenes and plant choosing screen, completely trivial to gameplay though

Don't you dare activate 3D acceleration, game may crash
For the third time I repeat: do not activate 3D acceleration, the game could crash and I don't know if your save files will be compromised, other than that it works fine natively

Significant lag in choosing plants but after starts it becomes smooth again
Game works but you will need to get used to lag while choosing the plants until a new hotfix

Lagging during plant choices
The .exe everyone else is talking about does not exist in my same directory. Unable to fix it.

Plays fine with the simple .exe swap. I was able to use Steam Input to play with a controller as well.
Replaced PlantsVsZombies.exe with popcapgame1.exe as per the instructions of other users.

Monitor issues fixed by using Gamescope.
Significant lag on plant selection screen, fixed with switching out the EXE as other reviews suggest.

The game is very playable even without the .exe fix but if you want to play in windowed mode, it could be annoying.
When starting the game with fullscreen disabled, the window becames a black screen that you can interact with the buttons (noticeable by its sounds) but its unplayable. The only fix I could thought of is exiting the game with fullscreen enabled. The problem does not occur with the flatpak version of Steam.
FPS drop in the plant selection without the .exe fix.
In my case, never forgetting to exit the game with fullscreen enabled (Might be a Gnome issue, I am not sure, but worked flawlessly in the flatpak version of Steam).

Technically not needed
FPS drop to around 1-4 FPS during cutscenes (Crazy Dave's dialog) and seed selection.
This can be fixed by replacing PlantsVsZombies.exe (in ~/.steam/steam/steamapps/common/Plants\ Vs\ Zombies/
) with popcapgame1.exe (from ~/.steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap\ Games/PlantsVsZombies/
):
- Play the game to make
popcapgame1.exe
appears - Run
cp ~/.steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap\ Games/PlantsVsZombies/popcapgame1.exe /tmp/pvz.exe
on your terminal - Close the game
- Run the following commands on your terminal:
# Backup the original executable
mv ~/.steam/steam/steamapps/common/Plants\ Vs\ Zombies/PlantsVsZombies.exe ~/.steam/steam/steamapps/common/Plants\ Vs\ Zombies/PlantsVsZombies.exe.old
# Replace the old executable with popcapgame1.exe
cp /tmp/pvz.exe ~/.steam/steam/steamapps/common/Plants\ Vs\ Zombies/PlantsVsZombies.exe
- Re-play the game, the issue should now be fixed

I went to ~/.steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap Games/PlantsVsZombies/ copied popcapgame1.exe, went to ~/.steam/steam/steamapps/common/Plants Vs Zombies/ and replaced PlantsVsZombies.exe with it.
Some sound sounded low quality compared to Windows. (i.e. the laugh when clicking Adventure)
FPS drop during picking your seeds for a level.
After changing the .exe file, the game worked perfectly fine out of the box, and for those new to Linux like I am, you can just copy and paste those directories into Dolphin or whatever your file explorer is, and I believe it should work.

You can enjoy the game without tinkering, but the fixes are so easy to do that they are worth looking into them
gamemoderun gamescope -W 1920 -H 1080 -f -F fsr -S stretch -- %command%
Had issues with an nvidia card + 565 drivers + Xorg - worked fine in Wayland (linux mint)
As other users have stated, you've to switch the .exe file to solve lag
In order to force the game to fit into my screen's 16:9 aspect ratio I used gamescope, including parameters to upscale the game a little bit with FSR - You will get the typicial...smooch/blurriness? that it carries but not a deal breaker at all. You can of course play just fine with the default resolution and 4:3 aspect ratio - it's just me that I like to tinker

As per instructions elsewhere:
Launch the game first, then while the game is running, go to ~/.steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap Games/PlantsVsZombies. Copy popcapgame1.exe to ~/.steam/steam/steamapps/common/Plants Vs Zombies/ and rename the file to PlantsVsZombies.exe.
On seed selection fps fell to around 8. Solution was to swap the .exe file.
Ran out of box
fps drops when a level loads but otherwise the game runs smoothly

e subido una guia a youtube ( https://www.youtube.com/watch?v=eNBFV7moCwo )
el juego se ralentiza mucho al escojer plantas puedes revisar mi video de youtube o simplemente copear y pegar estos tres comandos mientras el juego esta abierto. 1.- cd ~/.steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap\ Games/PlantsVsZombies/ 2.- mv popcapgame1.exe PlantsVsZombies.exe 3.- cp PlantsVsZombies.exe ~/.steam/steam/steamapps/common/Plants\ Vs\ Zombies/

Followed the instructions in this comment https://www.protondb.com/app/3590#qFmv1xsjp8
1 to 4 FPS during plant selection / intermediary
Ran pretty well before the fix was implemented, but after doing so and restarting the game it's truly flawless now.

Framerate was an easy 60 in windowed mode, but struggled and hovered around 30 in fullscreen
you should really follow instructions at https://www.protondb.com/app/3590#qFmv1xsjp8

Everything runs smoothly :D

the method explained here [protondb.com/app/3590#qFmv1xsjp8] is used to prevent significant slowdown on the pool level's plant selection screen
taking a steam screenshot while in fullscreen will freeze the screen with very heavy artifacting on the top and bottom, the only work around i could find was either running in windowed mode or not taking screenshots
runs at only around ~6FPS while on the plant selection screen on pool levels, may also happen on other levels and in the zen garden
the performance slowdowns are manegable and don't seem to happen while in a level but since the fix is so easy no one should be having difficulty

disable the 3d setting
to get the game to stop lagging when in a level disable 3d acceleration. this is the fix i found

gamemoderun PROTON_USE_WINED3D=1 %command%
On Proton versions above 8.0-5 couldn't get fullscreen to work.
Do not forget to copy the other exe as mentioned above.
Also do not forget to use the launch options mentioned.

Runs flawlessly
Did the game from beginning to 100% achievements, no problems seen during this time.

protondb.com/app/3590#qFmv1xsjp8
major lag in cutscenes and plant selection screen.
Frame drop in plant selection menu

I'm writing this additional report to inform people that the Steam Achievements still work and unlock normally after replacing the EXE as previously mentioned.

gamemoderun %command%
When playing in fullscreen, graphics quality is lowered. This is a cross-platform issue, and it's caused by the fact that the game has low-resolution sprites only.
Slowness when selecting plants cards before a new level starts.
To fix the slowness: while the game is running, copy the .exe from "steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap Games/PlantsVsZombies/" to "steamapps/common/Plants Vs Zombies/"; then, close the game, delete the "PlantsVsZombies.exe" from the game installation folder and rename the copied .exe from ProgramData to "PlantsVsZombies.exe" (the same name as the original .exe).
I recommend playing in windowed mode to get the most of the graphics quality. Also make sure to have 3D acceleration enabled in the game's options.
Have fun!

Even with fix (protondb.com/app/3590#qFmv1xsjp8) there is small lags

Disabled Fullscreen, 3D Acceleration, capped TDP usage at 4W.
High power consumption, low FPS when selecting plants
This game is power hungry. By default, it consumes 10-11W, wasting whole LCD Deck battery in 2-3 hours!
I suggest turning off fullscreen, 3D Acceleration and capping TDP Limit to 4-5 Watts. The visuals are not significantly impacted (personally I didn't notice anything). Sometimes framerate drops to 40 FPS when there are tons of zombies, but it doesn't affect the gameplay. But now the battery lasts 5-6 hours now, which is a significant improvement.
There is an issue where framerate drops to 10 FPS when you're selecting plants before starting a level. Follow this guide to replace executable file and fix this issue: https://www.protondb.com/app/3590#dYYLZr30F2. Don't worry, Steam Achievements and Cloud still work.
Default config uses gamepad controls, which is weird, since PC release of this game never supported controllers. Just select any KBM config, the one by Koopaloop is perfectly fine.
I also uploaded my personal config, which features radial menu on left trackpad, allowing to select plants slightly faster. Make sure to turn off fullscreen, otherwise set cursor positions will be messed up.

fixed the performance issues using this method: protondb.com/app/3590#qFmv1xsjp8 very easy around 2 minutes fix
5-8 FPS while picking a plant also only around 20FPS in fullscreen

On minigames where the cursor is hidden but is shown when hovering over pickups such as sun or coins, for example: whack-a-zombie, the cursor will jump away from the pickups when visibility is toggled, making you unable to pick up the items or place any plants.
the crazy dave selection screen slowdown as others have explained
I have not seen anyone experiencing this cursor issue, please help!!
10/10 no notes.
Game only works properly on primary monitor, cannot move to secondary monitor.

There is one thing you should do to play the game without issues. In plant selection screen, fps goes down, to solve that: 1- Run the game 2- Open your file manager and do CTRL + H to see hidden folders 3- In your home partition, follow this path: ".steam/steam/steamapps/compatdata/3590/pfx/drive_c/ProgramData/PopCap\ Games/PlantsVsZombies/" and copy "popcapgame1.exe" 4- Now, follow this path: ".steam/steam/steamapps/common/Plants Vs Zombies/" paste the file here. 5- Change the name of "PlantsVsZombies.exe" to anything you'd like and change the name of "popcapgame1.exe" to "PlantsVsZombies.exe". 6- Close the game and run it again. Enjoy!