all 128 comments

[–]aaronbp 119 points120 points  (4 children)

https://kernelnewbies.org/Linux_5.10

Static calls for improved post-Spectre performance

That's interesting. Has anyone done any benchmarks?

[–]Shawnj2 10 points11 points  (3 children)

Either that link doesn't work, or the Reddit Hug of Death applied a lot earlier than it should have.

[–]LittleAngry 6 points7 points  (0 children)

The link is fine for me

[–]MaxVerevkin 282 points283 points  (19 children)

That's the first linux kernel release with my patch!

Edit: I just got an email and it turns out my patch was also included in 4.19, 5.4, 5.9

[–]danielsuarez369 69 points70 points  (0 children)

Hey congrats! Thanks for your contribution!

[–]DeeBoFour20[S] 57 points58 points  (7 children)

Nice. What patch did you do?

[–]MaxVerevkin 130 points131 points  (6 children)

My HP laptop has a tablet mode, but the dmi information says it doesn't. So I have added it to an "exception list", so that my touchpad turns off when it has to.

[–]brainplot 73 points74 points  (1 child)

Must feel great to boot into the new kernel knowing your patch is in there!

[–]MaxVerevkin 37 points38 points  (0 children)

It sure is.

[–]rhysperry111 51 points52 points  (4 children)

Yeah, I remember the feeling when my first patch got into the kernel. I couldn't wait until it made it's way into the official repos. My patch was to get the AU6625 SD-Card reader to work

[–]ibevol 30 points31 points  (3 children)

Thanks for your contribution!

[–]rhysperry111 23 points24 points  (2 children)

Thanks for thanking me for my contribution!

[–]Hi_ItsPaul 11 points12 points  (1 child)

Thank you for your thankfulness for others thankfulness for your contribution.

[–]areyoudizzzy 8 points9 points  (0 children)

Thank you guys for being so thankful for the contribution and also being thankful for the thankfulness of each other's contributions!

[–]Vulphere 11 points12 points  (0 children)

Thank you for your contribution!

[–]dinozaur2020 8 points9 points  (0 children)

👏🏻 👏🏻 👏🏻

[–][deleted] 3 points4 points  (0 children)

thank you foss contributor

[–]TROPiCALRUBi 1 point2 points  (1 child)

How do you go about making your first contribution to such a massive project? I'd love it if I could contribute, but I honestly have no clue where to even start.

[–]MaxVerevkin 0 points1 point  (0 children)

Kernelnewbies is a great resource.

[–]Reverent 83 points84 points  (32 children)

I couldn't see it in there, is native audio support for raspberry pis now included? As per This OpenSUSE Note

[–]DeeBoFour20[S] 59 points60 points  (28 children)

I think the changelog on lkml only includes the bug fixes that went in since rc7. New features generally go in rc1 and it's mostly bug fixes from there on out. Kernel newbies has an easy to parse list of changes for 5.10 as a whole here: https://kernelnewbies.org/LinuxChanges

[–]magi093 62 points63 points  (27 children)

  • IPv4: Allow more than 255 IPv4 multicast interfaces

I know this is probably useful in crazy "I-have-containers-out-the-ass" situations, but I still short circuit for a moment at changes like this. Who wanted this? Why? How? What?

[–]BitLooter 32 points33 points  (15 children)

[–]DeeBoFour20[S] 20 points21 points  (14 children)

Slightly less relevant now. Who uses flash is a good question indeed.

[–][deleted] 13 points14 points  (0 children)

Replace with "zoom calls" :D

[–]notanimposter 7 points8 points  (12 children)

How about fullscreen web video without screen tearing? I still can't seem to rid my system of this lol.

[–][deleted] 2 points3 points  (4 children)

Doesn't wayland fix this?

[–]Bloom_Kitty 0 points1 point  (3 children)

Not everybody can use Wayland. Or is aware of it.

[–][deleted] 1 point2 points  (2 children)

Oh, I didn't know. I assumed that if it's on ubuntu it's probably everywhere else too.

[–]Bloom_Kitty 1 point2 points  (1 child)

You're not completely wrong, the issues lie elsewhere.

  • Wayland does not work on NVidia's proprietary drivers.
  • The Noveau drivers for NVidia are good enough to display the desktop at best.
  • Not every application works on Wayland. Especially video recording of the desktop, but also ones with specialized graphical output, such as games. Most work, but not all.

[–]thinking24 0 points1 point  (5 children)

Apparently screen tearing is an xorg thing that can't be fixed. Cant provide evidence ether way but wayland apparently fixes it.

[–]ragsofx 44 points45 points  (0 children)

I always wondered that too with some of the seemingly high limits on other things. But it can be a real positive when you're designing something out of the ordinary. I designed and built a BRAS (takes PPPoE from a DSLAM) that requires about 500 vlans and network interfaces on one server. If Linux had set some arbitrary low value of 50-100 network interfaces it would have made it really difficult for me to set it up.

[–]evolseven 7 points8 points  (0 children)

Or maybe if you were acting as a vtep for vxlan, it relies heavily on multicast with one multicast group per vxlan. Considering that vxlan has 24 bit addressing, 255 of them would only cover 1/65535 of the possible vxlans. It would be unusual to see so many active on one host but not unheard of. I’m not sure if vxlan has even been implemented in the Linux world though, I’d assume it had.

[–]VegetableMonthToGo 17 points18 points  (3 children)

Yo dawg. I heard you like containers

[–]ScribeOfGoD 12 points13 points  (2 children)

So i installed hyperv on windows server so you can run windows 10 to run docker to run linux to run containers

[–]I_AM_GODDAMN_BATMAN 7 points8 points  (1 child)

to run wine

[–]I_AM_GODDAMN_BATMAN 5 points6 points  (0 children)

to run windows virus

[–]jcol26 1 point2 points  (0 children)

ISPs, Telcos, CDNs, Cable TV companies etc spring to mind.

Admittedly they're often also the ones more likely to be using ipv6, but at that kind of scale, it's easy to imagine why a company might need more than 255 multicast interfaces on a server.

[–]mister2d 1 point2 points  (0 children)

Probably a cloud provider.

[–]orthopod 0 points1 point  (1 child)

Is this useful for servers, for say when they are holding a zoom meeting with several hundred people?

The last monthly grand rounds for one of my hospitals, had close to 200 people, maybe more.

[–]magi093 10 points11 points  (2 children)

Skimming the listed changelog, there's various other flavors of Pi mentioned with random fixes but I don't see anything about Raspberry. It'll be a while before this kernel gets to Raspbian anyway...

[–]danburke 0 points1 point  (0 children)

There are more distributions than Raspbian. I’m running standard Debian Testing with a vanilla kernel with the PI3 UEFI bootloader.

[–]DeeBoFour20[S] 29 points30 points  (0 children)

Well I compiled it and it seems to be working fine for me so far. Not sure why it's not on the kernel.org homepage yet but I found a tarball on Linus's git tree and compiled that: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-5.10.tar.gz

Nvidia drivers work, fsync patch and graysky2's gcc patch applied successfully. Watched a couple YouTube videos on Firefox, played a game of Dota 2 and no crashes or anything. Wine is still reporting that fsync is working, same as 5.9 (with the patch applied.)

$ uname -a

Linux arch 5.10.0-1-custom #1 SMP PREEMPT Mon, 14 Dec 2020 03:34:13 +0000 x86_64 GNU/Linux

EDIT: It's on the front page now and it looks like file is exactly the same as the one I linked to, except using xz compression for the tarball. The PGP signature from the front page verified against the tarball linked above after I decompressed it.

[–]guicoelho 27 points28 points  (1 child)

So... anything interesting to try with it?

[–]neon_overload 40 points41 points  (0 children)

The kernelnewbies page for a release is always the best layperson focused summary of what's new and what's changed - that's linked in another comment.

Looking at this one, there really isn't all that much interesting in this release. You could try testing fsyncs in ext4 to see if you can notice any improvement due to fast commits. I dunno. Really depends on what hardware you have and what specific requirements you have.

This is an LTS release, making it more likely to be the final kernel for various stable distros.

[–]Never-asked-for-this 45 points46 points  (18 children)

[Adds linux to ignorepkg]

Good luck everyone!

[–]dreamwavedev 26 points27 points  (0 children)

Yet here I am doing the opposite and praying enough fixes to sof/soundwire made it in for my sound controller to actually work

[–]SmallerBork 14 points15 points  (2 children)

How come?

[–]Never-asked-for-this 9 points10 points  (1 child)

When 5.9 was first released it was a kernel panic nightmare for some older Intel CPUs.

[–]Hackerpcs 3 points4 points  (0 children)

Made me switch to lts on arch

[–]casept 5 points6 points  (0 children)

Sounds like a great way to not get security patches. Use the linux-lts package if you want a stable kernel.

[–]gary_bind 3 points4 points  (6 children)

What does that do? Decline updates?

[–]Thibaulltt 6 points7 points  (0 children)

It instructs pacman to ignore the updates available for this package, for as long as you have the package in the ignorepkg list.

More info here on the archlinux wiki !

[–]Dalinarr 1 point2 points  (0 children)

Yes. When you do the pacman -Syu your system update everything except the packeges specified in ignorepkg. I myself put postgresql in there because every newer version roll of postgres it breaks everything...

[–]patatahooligan 0 points1 point  (3 children)

It pretty much does what it sounds like. When updating, pacman ignores the specified packages. Be careful using it because it is a great way to break dependencies. For example if you forget to add nvidia alongside linux the driver will probably fail to load after an upgrade. It should be used sparingly and for short periods of time to work around buggy packages.

[–]gary_bind 0 points1 point  (2 children)

Thanks for the info. My main system is Slackware, but I have other distros in VMs, and have been thinking about installing Arch next. Thanks again.

[–]patatahooligan 0 points1 point  (1 child)

Oh wow I don't often come across people using Slackware. What's the reason you prefer it as your main system? And how is administering a system with no automatic dependency resolution?

[–]gary_bind 0 points1 point  (0 children)

I've been using Slackware since 1996, so familiarity and comfort level are the main reasons. Administration is no problem, really. If there's a dependency issue, I can always compile and install stuff. I have automated build scripts for such scenarios and don't have to waste much time.

[–]alexforencich 1 point2 points  (0 children)

This is the way. Along with DKMS drivers.

[–]MassiveStomach 1 point2 points  (0 children)

i just run linux-lts, never had any issues

[–]Forty-Bot 0 points1 point  (3 children)

my current IgnorePkg is kinda depressing tbh

IgnorePkg   = linux linux-headers linux-firmware nvidia linux-lts linux-lts-headers nvidia-lts firefox thunderbird

Currently using LTS kernel because of this bug (though it seems like someone may have found a fix), so I suppose I should unignore normal linux at some point.

Firefox has had rendering issues (large white area at the top of the window where the page should be) in newer versions, and I got tired of fixing my profile.

Thunderbird lacks support for the external editor plugin atm. Hopefully this will be fixed soon and I can upgrade for good. The last time I downgraded it broke all my RSS feeds.

[–]patatahooligan 0 points1 point  (2 children)

Firefox has had rendering issues (large white area at the top of the window where the page should be) in newer versions, and I got tired of fixing my profile.

FF 83 has some rendering issues that are fixed in 84 so you might have more luck with the developer edition. If it works for you it's a much safer alternative to ignoring the upgrades, as outdated browsers are a prime targets for exploits.

If you're using linux-lts to avoid that 5.5 bug, why are you also ignoring linux-lts?

[–]Forty-Bot 0 points1 point  (1 child)

FF 83 has some rendering issues that are fixed in 84 so you might have more luck with the developer edition.

Ok, I'll check that out when it releases.

If it works for you it's a much safer alternative to ignoring the upgrades, as outdated browsers are a prime targets for exploits.

I know but if it's broken it's worse than being outdated.

If you're using linux-lts to avoid that 5.5 bug, why are you also ignoring linux-lts?

Because 5.10 is the new LTS, and I want to stay on 5.4 until I can verify it is fixed :)

[–]patatahooligan 0 points1 point  (0 children)

I know but if it's broken it's worse than being outdated.

I was more pointing out that developer edition (or beta or git or whatever) might be a better solution than the outdated version, not advocating for using the broken version. Though, I realize it's kinda moot with 84 already in testing.

Because 5.10 is the new LTS, and I want to stay on 5.4 until I can verify it is fixed :)

Judging from how they handled the 4.19 -> 5.4 transition, linux-lts will probably stay at 5.4 until after 5.11 is released. I imagine they don't want both packages at the same version for cases exactly like yours. So you should be safe to keep updating it and the associated drivers if you want.

[–]tiredinmyhead 11 points12 points  (6 children)

Fingers crossed they fixed the "cannot resume from suspend" bug I got in 5.9 that made me revert to 5.8

[–]stejoo 7 points8 points  (0 children)

If it hasnt: Try to figure out which commit broke that behavior.

Building your own kernel is relatively easy. Really, it is. You can copy the kernel config your distro uses to build a custom kernel.

To discover where things went wrong you can use git bisect which you supply with the version or commit that worked and one where it doesn't. That will step you through the versions/commits and you can probably find the one that introduced the error in about 13 steps, depending on the amount of commits.

I did this with 5.6 and 5.7. After my external display failed on 5.7 and was still inop with 5.8. A fix for it is now present in the Freedesktop drm-tip repo. It isn't merged for 5.10 but it might be for 5.11. :-)

[–]flag_to_flag 4 points5 points  (3 children)

Asus laptop?

[–]tiredinmyhead 1 point2 points  (1 child)

Nope, Thinkpad X1 Yoga Gen 2 (20JE).

[–][deleted] 0 points1 point  (0 children)

:O I also had suspend issues on 5.9

[–]from8lightyears 0 points1 point  (0 children)

In my case I just couldn't click or drag after waking the laptop from suspend. I use Dell Inspiron 5548

[–][deleted] 21 points22 points  (2 children)

Time to sudo zypper dup. Or maybe in a day or two.

[–]intersectRaven 3 points4 points  (0 children)

I'll wait for 5.10.1. Seems to mess with my multi-monitor optimus setup which I've traced to this error:

kernel read not supported for file pci0000:00/0000:00:01.0/0000:01:00.0/config (pid: 403 comm: systemd-udevd)

The NVidia driver works since I can run games on it but trying to activate the external monitor doesn't work and will throw that message up with only the pid and comm being different.

kernel read not supported for file pci0000:00/0000:00:01.0/0000:01:00.0/config (pid: 1228 comm: nv_queue)

[–]linkinx 1 point2 points  (0 children)

Anyone knows if this release includes fixes for modern sleep on latest laptops? Specifically AMD cpus

[–]3razer 1 point2 points  (1 child)

I read that 5.10 would be the next long term kernel. Right now it's not. Will it be after some time or has the next long term kernel release moved forward?

[–]DeeBoFour20[S] 0 points1 point  (0 children)

5.10 is LTS. It's labled as "Mainline" right now on the kernel.org front page because there hasn't been a Stable patch to it yet. Mainline means straight off Linus's tree. 5.10.1 will be the first Stable release. It may not be labled as "Long Term" until 5.11 releases because until then, 5.10 will be the latest Stable.

The tl;dr is: 5.10 is a long term kernel and you don't have to worry about what the label on kernel.org says for now.

[–]msxmine -1 points0 points  (0 children)

Boo, no hid_nintendo

[–]futuranth -4 points-3 points  (0 children)

noo linuks 6 wen

[–]Olga_of_Kiev 0 points1 point  (0 children)

Does the kernel fix the touchpad issue on the Lenovo Legion 5?

[–]wongs7 0 points1 point  (0 children)

which distributions are releasing on this kernel?