titron
Posts: 9
Joined: Fri Jan 29, 2021 7:42 am
Location: Nizhniy Novgorod

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 7:53 am

aBUGSworstnightmare wrote:
Fri Jan 29, 2021 6:32 am
I'm on 5.10.10 atm and just noted there is a 5.11 on GitHub. As I want to start a driver development for a DSI bridge from today what's your recommendation: stay at 5.10 for now or start from 5.11?

What are the major differences though?
5.10 is LTS (long-term support) release. I think, 5.10 will be the main raspberry OS kernel for about 2 years until new LTS will be released.
And I don't think there are any major differences in driver development betweet 5.10 and 5.11.

titron
Posts: 9
Joined: Fri Jan 29, 2021 7:42 am
Location: Nizhniy Novgorod

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 8:04 am

DougieLawson wrote:
Fri Jan 29, 2021 7:32 am
It's not 5.11. It's 5.10.11 (which is a small bug fix step ahead of 5.10.10).
There is 5.11 branch on github https://github.com/raspberrypi/linux/tree/rpi-5.11.y

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4601
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 8:59 am

As titron said. 5.10 is an LTS kernel, and one we will be moving to for our Raspberry Pi OS releases very soon - think days, not weeks or months. It's unlikely that we'll change the RPiOS kernel again until the next LTS - it's the best way to get bug fixes.

If you are planning on distributing your driver to people outside the power-user/keen-hobbyist group then I would target 5.10.

Mikael
Posts: 43
Joined: Wed Feb 11, 2015 12:35 pm

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 1:18 pm

PhilE wrote:
Fri Jan 29, 2021 8:59 am
As titron said. 5.10 is an LTS kernel, and one we will be moving to for our Raspberry Pi OS releases very soon - think days, not weeks or months. It's unlikely that we'll change the RPiOS kernel again until the next LTS - it's the best way to get bug fixes.

If you are planning on distributing your driver to people outside the power-user/keen-hobbyist group then I would target 5.10.
Not completely kernel related, although I believe the kernel needs to be updated first: Can you share the plan in regards to updating Mesa? Is that also coming soon, or still some way off?

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6108
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 1:23 pm

Mikael wrote:
Fri Jan 29, 2021 1:18 pm
Not completely kernel related, although I believe the kernel needs to be updated first: Can you share the plan in regards to updating Mesa? Is that also coming soon, or still some way off?
Yes, unrelated to kernel bump.
Mesa will get fixes that go into debian buster, but that tends to be bug fix only, not new features.
You will probably have to install your own mesa if you want bleeding edge.

Bluestang
Posts: 90
Joined: Sat May 30, 2020 8:43 pm

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 2:12 pm

dom wrote:
Fri Jan 29, 2021 1:23 pm

Yes, unrelated to kernel bump.
Mesa will get fixes that go into debian buster, but that tends to be bug fix only, not new features.
You will probably have to install your own mesa if you want bleeding edge.
Is this going to be the norm, i.e. no apt support for the Vulkan driver and GLES improvements from MESA?

I’m asking because I think there is an impression that the display drivers are going to be updated from apt rather than having to build manually from the source. Your last response makes it sound like it needs to be done from the latter moving forward...

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4601
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 2:26 pm

New features are likely arrive with new versions of Debian.

Double L
Posts: 28
Joined: Thu Aug 29, 2019 12:26 pm

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 8:03 pm

aBUGSworstnightmare wrote:
Fri Jan 29, 2021 6:32 am

Code: Select all

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.10.10-v7l+ #1 SMP Tue Jan 26 07:10:39 CET 2021 armv7l GNU/Linux
I'm on 5.10.10 atm and just noted there is a 5.11 on GitHub. As I want to start a driver development for a DSI bridge from today what's your recommendation: stay at 5.10 for now or start from 5.11?

What are the major differences though?
Linux 5.12 seem to be getting new RPi4 commits:

https://www.phoronix.com/scan.php?page= ... -10-12-BPC

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 13104
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Moving Linux Kernel to 5.10

Fri Jan 29, 2021 9:41 pm

Double L wrote:
Fri Jan 29, 2021 8:03 pm
Linux 5.12 seem to be getting new RPi4 commits:

https://www.phoronix.com/scan.php?page= ... -10-12-BPC
All those patches are already in our rpi-5.10.y branch.
Maxime Ripard who is doing the upstreaming work is under contract with Raspberry Pi. It's not all magic fairy dust from the mainline kernel.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
pi-anazazi
Posts: 1062
Joined: Fri Feb 13, 2015 9:22 pm
Location: EU

Re: Moving Linux Kernel to 5.10

Sat Jan 30, 2021 1:36 pm

PhilE wrote:
Fri Jan 29, 2021 2:26 pm
New features are likely arrive with new versions of Debian.
It's time for a (Tumbleweed-like) rolling release of RaspiOS :-D
Kind regards

anazazi

User avatar
graysky
Posts: 201
Joined: Fri Apr 05, 2013 11:43 am
Location: /run/user/1000

Re: Moving Linux Kernel to 5.10

Sat Jan 30, 2021 1:48 pm

pi-anazazi wrote:
Sat Jan 30, 2021 1:36 pm
PhilE wrote:
Fri Jan 29, 2021 2:26 pm
New features are likely arrive with new versions of Debian.
It's time for a (Tumbleweed-like) rolling release of RaspiOS :-D
There are other RPi distros that use a rolling release model you can use if this is important to you.

HappyTux
Posts: 150
Joined: Mon Jan 18, 2021 8:13 pm

Re: Moving Linux Kernel to 5.10

Sat Jan 30, 2021 6:44 pm

PhilE wrote:
Fri Jan 29, 2021 2:26 pm
New features are likely arrive with new versions of Debian.
Unless backported that is a certainty as it is Debian policy to never include new features in a Stable release during it lifetime. They go into the next testing release until it is frozen like now with Bullseye and released with them features and program versions locked in, only to rinse and repeat for next release. It has been this way since Woody, the first I used of it. The backports they do are for things like web browser which need to be updated and the kernel most times, for a time the zfs packages I use were there. Though I would think it is possible you know this, I put it here for others to understand the process more thoroughly.

Bluestang
Posts: 90
Joined: Sat May 30, 2020 8:43 pm

Re: Moving Linux Kernel to 5.10

Mon Feb 01, 2021 5:01 am

Is there an easier way to switch from the AV JACK and HDMI devices in the terminal rather than using the desktop sound applet?

On a fresh install, the default device output is AV JACK and I couldnt find a way to do it in the terminal without X11. Not a huge deal, but rather save myself from entering the desktop if I could.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4601
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Mon Feb 01, 2021 9:07 am

You're getting off-topic there, but reading through the raspi-config script will show you that "pacmd list-sinks" lists all the PulseAudio outputs, each of which has a "name" property, and "pactl set-default-sink alsa_output.platform-bcm2835_audio.digital-stereo" selects the HDMI output (use "...analog-stereo" for the headphone output).

Bluestang
Posts: 90
Joined: Sat May 30, 2020 8:43 pm

Re: Moving Linux Kernel to 5.10

Mon Feb 01, 2021 6:19 pm

PhilE wrote:
Mon Feb 01, 2021 9:07 am
You're getting off-topic there, but reading through the raspi-config script will show you that "pacmd list-sinks" lists all the PulseAudio outputs, each of which has a "name" property, and "pactl set-default-sink alsa_output.platform-bcm2835_audio.digital-stereo" selects the HDMI output (use "...analog-stereo" for the headphone output).
Sorry to get off topic.

Resolved.
Last edited by Bluestang on Tue Feb 02, 2021 12:36 am, edited 1 time in total.

fruitoftheloom
Posts: 27225
Joined: Tue Mar 25, 2014 12:40 pm

Re: Moving Linux Kernel to 5.10

Mon Feb 01, 2021 6:33 pm

Bluestang wrote:
Mon Feb 01, 2021 6:19 pm
PhilE wrote:
Mon Feb 01, 2021 9:07 am
You're getting off-topic there, but reading through the raspi-config script will show you that "pacmd list-sinks" lists all the PulseAudio outputs, each of which has a "name" property, and "pactl set-default-sink alsa_output.platform-bcm2835_audio.digital-stereo" selects the HDMI output (use "...analog-stereo" for the headphone output).
Sorry to get off topic. I can create a new thread if needed...

Just to clarify, raspi-config was first used to set the output to HDMI but still no sound was heard. It wasn’t until the user started X11 and then chged the settings through the desktop applet that the sound came on.

I’m going try to reproduce this later today from a fresh 64-bit image again.

This post is related to Kernel 5.10, so yes if it is not related to Kernel 5.10 it does not belong here as the Mod stated above.
Take what I advise as advice not the utopian holy grail, and it is gratis !!

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6108
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 1:25 pm

5.10.11 kernel is now available from apt.

If you were just using these builds for access to the 5.10 kernel that should no longer be necessary
(the apt kernel update will replace the existing rpi-update kernel).

Feel free to keep updating through rpi-update kernels if you want to help with the testing effort.
(there will be a 5.10.13 kernel shortly).

The default tree of https://github.com/raspberrypi/linux/ is now rpi-5.10.y, and that tree will no longer be rebased.

valentim
Posts: 23
Joined: Sat Jul 25, 2020 6:10 pm

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 5:12 pm

Following the apt kernel update which happened today I have now serious audio issues with video conference software (namely Google Meet with Chromium and Zoom).

It seems whenever I choose the Analog Output (with the USB webcam on) the all system starts lagging to the point of disfunction.

It works if I choose Digital Stereo (HDMI/DisplayPort) instead. But it then hangs again if I switch on a bluetooth headset.

I am on Pi4 8GB.

uname -a is: Linux 5.10.11-v7l+ #1399 SMP Thu Jan 28 12:09:48 GMT 2021 armv7l GNU/Linux

/boot/config.txt has:
dtoverlay=vc4-fkms-v3d
dtparam=audio=on

Does anyone have an idea of what may be wrong?

_____________________
Edit:

Gave it a try with full kms and this recipe for audio.

Same behaviour.
Last edited by valentim on Sat Feb 06, 2021 3:35 pm, edited 4 times in total.

uncarvedblock78
Posts: 20
Joined: Mon Oct 30, 2017 3:30 pm

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 6:00 pm

Following the update, the fan on my PoE hat seems to have stopped working as well.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4601
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 6:08 pm

That's due to a firmware change - it will be fixed in the next release.

uncarvedblock78
Posts: 20
Joined: Mon Oct 30, 2017 3:30 pm

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 6:49 pm

PhilE wrote:
Fri Feb 05, 2021 6:08 pm
That's due to a firmware change - it will be fixed in the next release.
Thanks. Is there a method of manually setting the PWM in the meantime? my 3B is idling at about 70 degrees in my media enclosure.

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4601
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 7:18 pm

No, but you can revert to an earlier firmware using:

Code: Select all

$ sudo SKIP_KERNEL=1 rpi-update 32f92809

uncarvedblock78
Posts: 20
Joined: Mon Oct 30, 2017 3:30 pm

Re: Moving Linux Kernel to 5.10

Fri Feb 05, 2021 7:47 pm

PhilE wrote:
Fri Feb 05, 2021 7:18 pm
No, but you can revert to an earlier firmware using:

Code: Select all

$ sudo SKIP_KERNEL=1 rpi-update 32f92809
Awesome, thanks!

User avatar
imabuddha
Posts: 16
Joined: Tue Nov 10, 2020 3:02 am
Location: Miyazaki, Japan

Re: Moving Linux Kernel to 5.10

Sat Feb 06, 2021 8:14 am

Quick Q: Has the "USB bootloader booting results in non-working USB when booted." issue been fixed yet with 5.10.11-v7l+?

User avatar
AkulaMD
Posts: 225
Joined: Fri Jun 19, 2020 6:51 am

Re: Moving Linux Kernel to 5.10

Sat Feb 06, 2021 5:45 pm

6by9 wrote:
Fri Jan 29, 2021 9:41 pm
Double L wrote:
Fri Jan 29, 2021 8:03 pm
Linux 5.12 seem to be getting new RPi4 commits:

https://www.phoronix.com/scan.php?page= ... -10-12-BPC
All those patches are already in our rpi-5.10.y branch.
Maxime Ripard who is doing the upstreaming work is under contract with Raspberry Pi. It's not all magic fairy dust from the mainline kernel.
Thanks for the clarification. Really glad to hear that.
Raspberry Pi OS (32-bit) with desktop and recommended software
Raspberry Pi 4 Model B 8GB at stock speed (never overclock)

Never overclock your Pi.
Encourage optimization instead.

Return to “Advanced users”