Zorin Lite 17.3 macbook air 2011 high cpu + fan

Hi guy. I just installed Zorin lite on my macbook air 13 a1369 from 2011 yesterday, and I have it also on a toshiba laptop, works great there. But here on the MBA the cpu take off to 100% when ever I open anything, brower, office. and then it dies down again, but just by opening a new tab to get into this forum the cpu spikes and fan blow acordingly. I cant really watch youtube or netflix, picture just dies and cpu is constantly 100% and fan just blows.. this last week om macos before the zorin install, there have been nothing, it could handle everything, but not with linux.. oh yeah if I open Software to get a new app from the repository, it wil just almost stay at 100% for almost full 10min and the first 2-5 min Software will spend on "loading" the "front-page".. Any way,.. hope you guys can help - thats.. oh btw.. I'm completly new to linux, only just started a week ago on my toshiba.

Greatings from Denmark

Yes, I agree that the hardware is probably fine, given it was running MacOS last week.
What is your terminal output for:

glxinfo | grep "renderer"

Are you falling back to llvmpipe?

In your browers, is VA_API enabled?
Is Hardware Acceleration enabled?

Welcome to the Forum!

Did You take a Look in the Program ''System Monitor'' if there are any Processes that using much Ressources in the Background?

Is secure boot disabled in your BIOS (or do you have created a MOK to use Zorin with secure boot enabled)?
Do you have an nvidia card?

I think I forgot to tell in my original post - I am a completly new user. only used linux/zorin lite sinse last tuesday I think.

But I have figured something out, it has something to do with internet or wifi. so today here after work, I was trying to test the machine, just because I had a nagging feeling. so I installed and played with Wine and Bottles and PLayOnLinux to try and install Jedi Academy and Disneys Tarzan and watch some videos from a usb stick, non of that got the CPU over 60%, but whenever PlayOnLinux or Bottles said something about updating or connecting, the cpu spiked and I could hear the fan starting to go into gear.. And so I have been able to play the Tarzan game without cpu going over 40% I cant play the Jedi Academy, wont work. but I have tested it only, if I have like this site open or just a google search I can hear the fan.. If I use one of my invoice-time manegement sites, that I use as a self employed electrician, then it's almost running at 10-20% though everytime, I press a link or update or save on my site it just goes up a little and then down. but searching the web and downloading makes the cpu just stay at 100%

not nessesarily, actually the monitor itself is sometimes a 30% one.. but the weird thing is that ,when the cpu says it's 100% I cant get the jobs running, their percentages together to be 100 only like below 20, thought as I said sometimes the monitor program itself is at 30% and then + the rest is only 5-10%

but I think it's related to internet-wifi - upload download

I read online that the Mackbook Air 13' from 2011 is too old to have secure boot.
I don't know what a MOK is.

And I don't know what card is in the one, I think it's Intel but could be nvidia - How and where do I look?

You can check in Software & Updates app > Additional drivers tab, to see if Nvidia drivers are in use.
Or, a bit more informative, in terminal run:

sudo lshw -C video

Can you also please run:

glxinfo | grep "OpenGL renderer"

This is because you are seeing CPU spike when there is network activity.
What you are seeing is likely an effect, rather than a cause. Network activity amplifies the problem, not creates it.

Which browser are you using? IF willing, could you test if Firefox ESR, with Hardware Acceleration disabled - and see if this effect is reduced?
If it is - we know it is a composting issue.
Using Firefox, you can also disable WebGL, but going to about:config, searching webgl and setting webgl:disabled to "True"

Installing Firefox ESR will need some guidance, due to Canonical being self serving and seizing control over the end user by quietly redirecting a sudo apt install command to replace it with sudo snap install, so if you want to try this out, let us know.

okay so under additional driver, there was no proprietary drivers in use at all.
but checking sudo lshw -C video in the terminal it told me that it was GeForce 320M from Nvidia :slight_smile: so now I know that :slight_smile:

I can not make this thing, this bold line thing |
but I could copy past your line in and I get this:
OpenGL renderer string: NVAF

I started by using Brave, the build-in browser, then I downloaded Chrome and Firefox, and I disabled Hardware acceleration in chrome allready, but It don't seem to have done anything, haven't really used firefox yet, just because it did not import my bookmarks from chrome.
But yes I would like to test Firefox ESR
I have disabled WebGl in my "stardard" Firefox now, but would like to try ESR

It is really annoying that I can not see my other computers on the network here at home, because I wanted to test if it was just networking or internet, and I do have most of my movies backed up on a smb network drive, so I could see if the cpu would spike watching movies via network.
But at least I know from a usb stick I can watch a movie without the cpu going over 75%

oh btw under Additional Drivers it says
"Broadcom Inc and subsidiaries: BCM43224 802.11a/b/g/n (AirPort Extreme) - this device is not working

Then I can choose: Using Broadcom 802.11 Linux STA wireless driver

right now it has chosen:
Do not use the device.

But I'm thinking, isn't this my wireless netcard? if it says do not use device, how can I be online via wifi?

Can You make a Screenshot of it?

That could be a Point. It is an old Card. It runs with Driver 340. Do You have this Driver installed?

2 Likes

I dont think so. Here are my screenshots



Yes, the the Card runs with the Nouveau Drivers.

Hmm ... there is a Driver offered for it but You don't have chosen it. Try the Terminal Command sudo lshw -C network to check Your Network Components.

is the Nouveau Drivers the same as the 340 Driver you mentioned earlier?

And no, I have not choosen the other wifi driver, because wifi was/is allready working, and I was a little confused that linux had allready choosen DO NOT USE THIS DEVICE, when my wifi was working, so I did not want to meddle...

2 Likes

Wise choice - if it is not broken, don't fix it.

Nouveau is the Open Source implementation of Nvidia Drivers provided by the Linux Community, not by Nvidia.
The 340 driver is the proprietary driver from Nvidia.

The 340 is legacy and support has ended for it - I would recommend using the 390 driver, instead...
Can you open terminal and run:

apt search nvidia-driver-390

to see if it is listed? If not... then it is not in the Jammy repositories and in order to install it, you would need to add a legacy support repo.

You can take a look at this thread:

Maybe it helps to set an environment variable for the gsk_renderer.

You could also try to add the kelebek333 ppa. I'm not sure if it works with kernel 6.8 or if you need kernel 5.15. In the ppa are given some instructions about a modulepath, maybe you need to add them?

But I'm not sure if you'll get an improvement. I personally went back to nouveau driver after testing the kelebek333 ppa with 390 driver.

You can't install 390 drivers on Jammy, they fail. You need an older kernel or the kelebek333 ppa. This was my experience with this driver.

2 Likes

Thanks, it has already been long enough, I do not remember if they are in the Jammy repos or not.
:zany_face:

The nvidia 390 driver metapackage was shown in Jammy (Zorin 17 lite) for my nvidia 5200m but the driver installation failed with kernel 6.8. This was also reported from many other users who wanted to install this driver.

I think smsdalle needs the 340 driver. I'm not sure if he can use the 390.

In Jammy is only shown a transitional package for the 340 driver.

To me it looks as if this is not the package for the 340 driver, it leads to nouveau.
Probably no nvidia driver is shown because they are not installable without ppas.

But I'm not so familar with the 340 driver. From the reports, most users decided to use the nouveau driver because the nvidia didn't work.

When it works fine, all is good. It seems from the Picture that it runs with a Driver from the Kernel. And when that works, good.

Could be worth a Try but I looked at the Nvidia Driver Page for the Card and they recommend the 340 Driver: