# Processing runs slow on Linux

**URL:** <https://discourse.processing.org/t/processing-runs-slow-on-linux/46187>\
**Category:** Processing\
**Tags:** opportunities\
**Created:** [April 9, 2025, 10:06pm UTC](https://discourse.processing.org/t/processing-runs-slow-on-linux/46187 "2025-04-09T22:06:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yonatan](https://avatars.discourse-cdn.com/v4/letter/y/eb9ed0/32.png) [@Yonatan](https://discourse.processing.org/u/Yonatan)\
**Post date:** [April 9, 2025, 10:06pm UTC](https://discourse.processing.org/t/processing-runs-slow-on-linux/46187/1 "2025-04-09T22:06:40Z")

</div>

I am using processing to make a game and I used the same laptop to run the game and on windows when I run the code it runs smoothly with no problems but when I use fedora or debian Linux it runs about 4 times slower  
Laptop:  
Lenovo IdeaPad 3  
Intel core i3-1115g4  
8gb of ddr4 ram  
Intel integrated graphics

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [April 10, 2025, 10:33am UTC](https://discourse.processing.org/t/processing-runs-slow-on-linux/46187/2 "2025-04-10T10:33:12Z")

</div>

Hello @Yonatan,

Which version of Processing are you using on each system? Does this happen with every sketch, or only specific ones? What’s the simplest sketch where you notice the slowdown, and what framerate difference are you seeing?

If you haven’t already, could you try comparing Processing 4.3.4 and the 4.4.1 beta on Linux and let us know if performance differs between them? That would help diagnosing the issue.

Cheers,  
Raphaël

---

<div class="post-metadata">

**Author:** ![Yonatan](https://avatars.discourse-cdn.com/v4/letter/y/eb9ed0/32.png) [@Yonatan](https://discourse.processing.org/u/Yonatan)\
**Post date:** [April 11, 2025, 10:49am UTC](https://discourse.processing.org/t/processing-runs-slow-on-linux/46187/3 "2025-04-11T10:49:42Z")

</div>

I tried running it on processing 4.3.4, 4.4.1 beta and as an application and for some reason it’s still slow. Everything is slower. It feels like the game isn’t running at 60 fps because the things that are supposed to fall fast are falling slowly and the player is also moving slowly

While writing this post : I tried running mouse2D and it runs smoothly at 60 fps

Where I am learning Linux, a file called nitz13D is required to run the code so I have it on while running the code, it’s 1000 lines long so that might be the reason why it’s slow.

But that can’t be it because with the same setup it runs smoothly on windows.

Checking the task manager on fedora the PC has 1.5 gb of ram unused so it seems like something is stopping it from using more resources

I might be the dumbest person alive… I was on battery saver mode the WHOLE TIME

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [April 11, 2025, 12:58pm UTC](https://discourse.processing.org/t/processing-runs-slow-on-linux/46187/4 "2025-04-11T12:58:13Z")

</div>

> I was on battery saver mode the WHOLE TIME

It happens to the best of us 😄

Glad you found the solution!
