Ubuntu 21.04 on the Framework Laptop

I have re-installed using ZFS with encryption, no issues so far with deep sleep enabled!

2 Likes

Great! That’s so weird though.

1 Like

Hello all, running fedora. Currently, I have my “Grub_CMDLINE_LINUX_DEFAULT” set to =“i915.enable.psr=0”. How can I have both settings be put in place?

For deep sleep on and panel self refresh off:

GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash mem_sleep_default=deep i915.enable.psr=0”

And you probably already know this, but update-grub doesn’t work on Fedora and requires an alternative: Fedora 34 on the Framework Laptop - #49 by Jeremy_Schneider

1 Like

Is this being tracked internally? Or is there a public issue tracker I should file a ticket against?

I also just realized, the HDMI module doesn’t work either. It seems to detect that it’s plugged in and even detects the model and supported resolution of my TV, but no signal.

I have an existing USB-C to HDMI dongle from my last computer that seems to be working well.

@tombo Maybe check if the HDMI module works when attached to a different slot in the laptop?

@tombo If you find that it works in a different bay, try out the instructions here: https://knowledgebase.frame.work/en_us/one-port-on-my-laptop-does-not-function-correctly-r1mqMnTet

Usage note:

I found that my screen was changing brightness in response to the ambient light level so rapidly that it was practically flickering. Turning off “Automatic Brightness” in Settings > Power fixed it.

(Thanks to @jeshikat for this tip!)

6 Likes

I tried upgrading to Linux kernel version 5.14.1 on Ubuntu 21.04:

Bad news: Laptop refuses to wake up from sleep. Black screen; no fan spin; no response to key presses; power button LED stays on. Ditto for deep and s2idle.
Good news: Wifi and BT were both working well.

Rolled back to 5.12. Sleep working again.

1 Like

So on 5.11-31 everything is working, but I do notice a behavior when resuming from deep sleep. The power LED is on when lifting the lid, but the screen is blank and everything is unresponsive for about 5 seconds. Then the screen comes on and everything is normal. This seems to happen ONLY when resuming from deep sleep.

It is consistent and reliable so I’m not too bothered by it, but I’m wondering if anyone else had this, and if they were able to fix it?

1 Like

@2disbetter Same experience here (kernel 5.12.0-051200). Takes ~5 seconds for the login screen to show up after I wake up from deep sleep. s2idle is almost instantaneous though.

1 Like

Is anyone else having issues with getting Ubuntu to recognize a headset with mic when plugged in? I have a TRRS headset and apparently it’s a TRRS port, but when I plug my headset in, it just recognizes the headphones but not the mic.

Edit: the mic works properly on other laptops, like my work Mac.

@Simon_Pratt ditto. I tried a couple of headsets with microphones built in but they don’t show up in the sound input devices list.

After digging around various stackexchange questions, I finally got my headset mic working on Ubuntu 21.04 kernel 5.12:

  1. I checked my codec version
    cat /proc/asound/card0/codec* | grep Codec
    This told me Realtek ALC295.

  2. Then I looked through the kernel documentation page here. In the ALC22x/23x/25x/269/27x/28x/29x section it lists dell-headset-multi for headsets that can also be used as mic-in.

  3. In /etc/modprobe.d/alsa-base.conf I added this line at the end:
    options snd-hda-intel model=dell-headset-multi

  4. Then restarted the laptop, plugged in my headset and now I see headset microphone and internal microphone as audio input device options in my sound settings.

8 Likes

Just installed Ubuntu 21.04.
The good: OS has automatically recognized my WiFi&BT.
The bad: the speedtest shows the same ping, same upload speed as the same test that I run on this laptop under Win10 with the latest drivers pack. But… the download speed is 2 times lower under Ubuntu( 64-67MBps) vs (148-150MBps) under Win10.
I have checked lib/firmware – and the latest Intel firmware for AX210 is not there. So I have downloaded the latest one, copied to lib/firmware and rebooted my Laptop. I have repeated test and now the download speed has been improved – I’ve got 75-77MBps for Ubuntu. So yes, the latest firmware brings some improvement, but still… 2 times slower than under Win10… :sob:

@KOSTYANTYN_RUKHLIS did you try updating to kernel 5.12 first?

No, it’s ~3AM here in ON, Canada, I’m done as for now, got only 4 hours to sleep before the business day start. :joy: Will play later with the different kernel. Thanks for the hint.

@KOSTYANTYN_RUKHLIS

The default option for WiFi on Linux is to be on power saver mode. Try disabling that using this guide and try the speed test again. Be warned, however, that this does have a significant effect on battery life.

1 Like

@zmk5 Ok, I’ve checked, but this is definitely not my case. First of all, I test it with power plug connected. Also, in battery settings I set the top performance mode for both AC and battery scenarios.
But today it’s another miracle – the download speed is almost the same as via Win10 ( 110-155MBps for Ubunty vs 160-177MBps for Win10). But the upload speed is surprisingly low today for Ubunty – 10MBps vs yesterday’s 20MBps( and today Win10 shows 20 MBps as well). So it looks like the new driver is better than the one included with Ubuntu 21.04, but it’s not that stable as Win10 driver from the performance perspective.

Update: Yes, I have created tiny automation that runs multiple speedtests sequentially. And I can confirm the Win 10 running this automation shows pretty stable performance for the download and upload( within 5% difference between runs), whilst Ubuntu 21.04 has strange speed fluctuations for both download and upload( some runs have ~50% difference). I’m using the same conditions for both Win10 and Ubuntu runs. Just to conclude – newest Intel driver for Linux is better than stock one, but it’s not that stable as Intel’s driver for Win10 from the performance perspective. All Ubunty tests done with the stock kernel: 5.11.0-34. The last thing to try is to update to the 5.12 kernel – maybe it’s more stable and compatible with the Intel’s WiFi driver.

P.S. Just for the record – I’m using Meshed routers infrastructure in my house. But both Windows and Ubuntu tests done from the same table and as far as I see in both cases they connect to the same Mesh Pod