r/linuxquestions • • 11d ago

Support Linux running extremely slow on early 2013 MacBook Pro

Hi all,

I recently uncovered an old MacBook of mine from early 2013 with 8gb ddr3, quad-core i7 and intel hd graphics 4000 + NVIDIA geforce gt 650M.

I recall back a couple years ago being able to play stardew valley, poly bridge, and minecraft on it, and after trying to boot it up after a couple years I find that steam is no longer supported on Mac 10.15.7. I thought alright maybe I’ll just use it for Microsoft Office, only to find that it’s also no longer supported.

So instead of finding dodgy workarounds I thought maybe I’ll try teach myself some Linux, and followed a guide to install Linux Mint 22.3 (Zena) Cinnamon on it. I updated the drivers, got steam downloaded, and found that stardew now barely runs on it at like 20fps.?? Even going on chrome feels slow and the mouse is jittery. In my mind I thought Linux should run faster than some bloated MacOS.

Wonder if anyone here could give a noob like me some pointers for making it run a bit smoother as it should? My specs were definitely more than enough to run many simple games back only a couple years ago.

0 Upvotes

21 comments sorted by

6

u/candy49997 11d ago

Your GPU is Kepler, so make sure you downgrade your kernel to 6.8 and install the 470 driver.

Alternatively, you can also use a distro that has patched drivers for new kernels more easily available like Fedora on RPM Fusion or Arch-based on the AUR. You will need to make sure you pick a DE that will support X11 indefinitely in this case like XFCE or Cinnamon.

If you play games via Proton, use Proton CachyOS with PROTON_DXVK_SAREK=1 %command% added to Steam game launch options.

2

u/PromordialDwarf 10d ago

Oh my gosh!! thank you so much! I downgraded to 6.8 and installed the 470 driver and now all my games run like a charm! I now have this little intel icon in the bottom right that lets me set the profile between my intel and nvidia gpu so I think it's communicating properly. Do you recommend I keep it at this for now? what's the benefit to upgrading the kernel? is it more for security/vulnerabilities?

I have yet to play games with proton, is that to help launch games made for windows? Can it optimise my laptop even further?

Thanks so much again!

1

u/candy49997 10d ago

Well, upgrading to Mint 27 when it releases in a month would remove your driver because it would be no longer packaged.

Newer kernels mostly means newer hardware support, but there are also various improvements with new kernels. Security, too, but that's not as relevant because Canonical backports fixes for critical security issues to 6.8.

And Proton is for Windows games, yes. People also use it to play the Windows build for games with Linux native builds that don't work or have other issues. If you're not experiencing any issues with the native Linux games you're playing, you don't need to use it.

1

u/PromordialDwarf 10d ago

No worries I’ll keep it at this for now and get proton if I run into any issues with games. Thanks so much 🙏🙏

1

u/PromordialDwarf 10d ago

Also one final question, when I launch into games how can I know if it’s using the Nvidia GPU and not integrated graphics? Or does it switch manually?

When I launch into minecraft it uses integrated graphics (I can see via F3 menu in-game) unless I right-click the app and “run with dedicated GPU” before launching. Worried that it might not select it for other games although they are performing much faster now..?

2

u/candy49997 10d ago

Check nvidia-smi in a terminal that the game is listed there.

For Minecraft, use Prism Launcher and select the option to use the dGPU in the launcher settings.

1

u/PromordialDwarf 10d ago

Oh wow this is weird, so I have stardew open right now and put that into the terminal, and it’s got no processes showing. Does this mean it’s just using the intel one because it doesn’t need it yet? It still seems to be running at 60 so maybe it’s leaving it off? But is there a way I can force my steam games to use my nvidia gpu regardless? I see in the bottom right there’s the option to switch to performance mode but it requires a restart, and it’s not like I want my Mac running on the dedicated gpu all the time even on desktop.. do I just leave it be?

1

u/candy49997 10d ago

On Steam, add __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_only %command% to the game's launch options.

1

u/PromordialDwarf 10d ago

Will do, I'll try downgrading first

2

u/cutememe 11d ago

Early 2013.. so hard drive? Perhaps the HD is going bad in addition to those thing being very slow in general.

1

u/PromordialDwarf 10d ago

Nah its got an SSD

1

u/nightmarevoid 11d ago

Does system monitor show that you're using all of your resources?

1

u/PromordialDwarf 10d ago

Nah not even close it gets like 20% with the game open

1

u/MongooseWonderful198 11d ago

Could you post the Graphics section from inxi -Gxx, run in your normal desktop session? It shows the detected GPUs and drivers, plus the OpenGL renderer when available. Having an NVIDIA driver installed doesn't establish which renderer the desktop is using.

If the renderer says llvmpipe, that's Mesa's CPU software renderer, which would be a useful lead for both the jittery desktop and low game FPS. If it shows hardware rendering, we can narrow down which GPU is active before trying kernel changes or Proton options.

1

u/PromordialDwarf 10d ago

Thanks for your help!!!

2

u/Some-Ad-3938 11d ago

I've done a few macs including that model. Never had mad slowness.

1

u/ipsirc 11d ago

When was that?

1

u/Corona688 11d ago

does nvidia support the 650m anywhere these days? support for it has been dropping like flies on all platforms

1

u/ipsirc 11d ago

On which driver?

1

u/Late-Cauliflower9137 10d ago

No joke , try cachyOS , for some reason its the only distro that actually got my drivers correct.

0

u/Garage-Agile 11d ago

install debian xfce