Language Selection

English French German Italian Portuguese Spanish

Kernel: Google, Xen, and Mesa

Filed under
Graphics/Benchmarks
Linux
  • Google Finally Shifting To "Upstream First" Linux Kernel Approach For Android Features

    Google's Android had been notorious for all of its downstream patches carried by the mobile operating system as well as various vendor/device kernel trees while in recent years more of that code has been upstreamed. Google has also been shifting to the Android Generic Kernel Image (GKI) as the basis for all their product kernels to further reduce the fragmentation. Looking ahead, Google is now talking of an "upstream first" approach for pushing new kernel features.

    Google's Todd Kjos talked today during Linux Plumbers Conference (LPC2021) around their Generic Kernel Image initiative. With Android 12 and their Linux 5.10 based GKI image they have further cut down the fragmentation to the extent that it's "nearly eliminated". With the Android 12 GKI, most of the vendor/OEM kernel features have now either been upstreamed into the Linux kernel, isolated to vendor modules/hooks, or merged into the Android Common Kernel.

  • Google Finally Shifting To 'Upstream First' Linux Kernel Approach For Android Feature
  • Clang-format for Xen Coding Style Checking Scheduled - Xen Project

    At the moment there is no tool that would allow to format patches in Xen. The idea of Xen-checker is to use the clang-format approach as a base for Xen ‘checkpatch’ process. The new tool consists of modified .clang-format configuration file to automate Xen patches format checking and reformatting. The tool can be used as a pre-commit hook to check and format every patch automatically. Some features are missing in the clang configurator, so new clang-format options have been proposed for more flexible code formatting. Also, the purpose of the topic is to start the discussion about the existing rules for Xen code formatting to eliminate possible inaccuracies in the work of the Xen checker. This will make it easier to adhere to the unanimous decision.

  • Mesa Merge Pending For Vulkan Ray-Tracing On Older AMD GPUs - Phoronix

    Merged yesterday for Mesa 21.3 was open-source Vulkan ray-tracing for AMD RDNA2 / RX 6000 series GPUs with the RADV driver. Opened today now is a merge request that would provide Vulkan ray-tracing with RADV to pre-RDNA2 GPUs on this driver going back to the likes of Polaris, granted the performance is another story.

    Joshua Ashton known for his work on DXVK and other Direct3D-on-Vulkan efforts for Valve has opened the merge request to enable RADV Vulkan ray-tracing for older generations of AMD GPUs.

Android to take an ?upstream first? development model for the...

  • Android to take an “upstream first” development model for the Linux kernel

    The Linux Plumbers Conference is this week, and since Android is one of the biggest distributors of the Linux kernel in the world, Google software engineer Todd Kjos stopped by for a progress report from the Android team. Android 12—which will be out any day now—promises to bring Android closer than ever to mainline Linux by shipping Google's "Generic Kernel Image" (GKI) to end-users.

    Traditionally, the Linux kernel is forked several times before it hits an Android phone, usually by each stakeholder in an Android device. First, Google forks the Linux kernel into "Android common"—the Linux kernel plus a bunch of phone- and Android-specific changes. Then SoC vendors like Qualcomm, Samsung, or MediaTek fork Android Common to make an SoC-specific kernel for each major chip release. Then each device gets a fork of the SoC kernel for device-specific hardware support.

    Android's kernel fragmentation is a huge mess, and you can imagine how long and difficult the road is for a bugfix at the top of the fork tree to reach to the bottom, where end-users live. The official Android.com documentation notes that "These modifications can be extensive, to the point that as much as 50% of the code running on a device is out-of-tree code (not from upstream Linux or from AOSP common kernels)." It's also a big time sink, and even Google phones typically ship kernels that start at two years old.

    Google has been on a journey to lessen the distance between Android and Linux with the GKI. The goal is for Google to fork the Linux kernel once for Android, instead of three times, and give SoC and device manufacturers space for their customizations via plug-in modules.

Google is bringing Android closer to the Linux kernel

  • Google is bringing Android closer to the Linux kernel

    Google has shared more details about how it aims to bring the Android kernel a lot closer to the mainline Linux kernel with the impending release of Android 12.

    The news came courtesy of a presentation at the Linux Plumbers Conference by Google’s software engineer Todd Kjos.

    Commenting on the development, Ars Technica shares that typically the mainline Linux kernel goes through three major forks before it is shipped to the end users on an Android device.

Google plans to bring Android's kernel closer to the Linux...

  • Google plans to bring Android's kernel closer to the Linux upstream

    Google has spent nearly half a decade attempting to make it easier for OEMs to keep their devices updated, most notably with the introduction of Project Treble in 2017. The company has previously proposed efforts to bring Android closer to the Linux kernel, something it's finally attempting with the upcoming release of Android 12. At this week's Linux Plumbers Conference, Google laid out how it's planning to accomplish its lofty goal.

    As reported by Ars Technica, Android is moving to a new "upstream" model and away from the traditional forked layout that can cause software delays. Before a device is upgraded, the Linux kernel goes through multiple forks — from Linux into "Android common," then into the SoC-specific version, before finally reaching its device-specific iteration. That's a ton of work for every company involved, and it's one of the main contributing factors to Android's fragmentation issue.

Android is shifting to an “upstream first” development model

  • Android is shifting to an “upstream first” development model for new Linux kernel features

    But what’s coming next is even more important, and is arguably the most important part of Google’s long-term strategy. When we pointed out earlier how Treble modularized Android by separating the OS framework from the vendor implementation, we included the “device-specific Linux kernel fork” as part of that vendor code. Anyone who’s familiar with Linux on desktops will recognize a problem there: Why is it lumped in with closed-source vendor code? The problem is that while Android devices do ship with the Linux kernel, that kernel features a lot of out-of-tree code.

Google will move to develop innovations for Android...

  • Google will move to develop innovations for Android in the main Linux kernel

    At the last Linux Plumbers 2021 conference, Google spoke about the success of the initiative to move the Android platform to use a regular Linux kernel instead of using its own version of the kernel, which includes changes specific to the Android platform.

    The most important development change was the decision to move after 2023 to the “Upstream First” model, which implies the development of all new kernel features required in the Android platform directly in the main Linux kernel, and not in its separate branches (functionality will be promoted to the main kernel, and then used in Android, and not vice versa). In 2023 and 2024, it is also planned to transfer to the main core of all additional patches remaining in the Android Common Kernel branch.

    As for the near future, for the Android 12 platform expected in early October, assemblies of the Generic Kernel Image (GKI) kernel will be offered, as close as possible to the usual 5.10 kernel. For these assemblies, a regular release of updates will be provided, which will be placed in the ci.android.com repository. In the GKI kernel, Android-specific additions, as well as hardware-related handlers from OEMs, are moved into separate kernel modules. These modules are not tied to the main kernel version and can be developed separately, which greatly simplifies the maintenance and transfer of devices to new kernel branches.

Google Working to Bring Android Closer to Linux Kernel

  • Google Working to Bring Android Closer to Linux Kernel

    Google is working to bring Android closer to the Linux kernel in a move that could significantly speed up development time.

    Android is arguably the biggest Linux-based operating system (OS) in existence, powering billions of devices the world over. Unfortunately, the OS is a far cry from the base Linux kernel, being forked several times before it gets to a user’s device. The first fork occurs when Google takes the Linux kernel to create the base Android kernel, and then again by each chip maker, and yet again by device manufacturers.

    The end result of repeated forking is that it can take a significant amount of time for improvements, features and fixes to make their way from the top all the way to the end user.

Google plans to use regular Linux kernel for Android

  • Google plans to use regular Linux kernel for Android - itsfoss.net

    Google plans to change the process of preparing the Linux kernel for Android. Currently, before the kernel is ready for use on the target Android device, a number of actions are performed on it.

    The circuit looks something like this:
    LTS Kernel Linux → Android Common Kernel → Vendor Kernel → OEM/Device Kernel

    First, Google creates a fork of the regular LTS Linux kernel, then a lot of patches that are specific to Android phones are applied to it. Thus, the core is obtained – Android Common. Then chip makers like Qualcomm, Samsung or MediaTek fork Android Common and form the Vendor Kernel for their chips. Then the OEM / Device Kernel is formed from the Vendor Kernel for hardware support for a specific device.

    Thus, before the initial kernel reaches the final state, you have to go a long way in applying patches and other preparatory actions. This process can be delayed for a long time, you have to solve a lot of problems, catch errors, and conduct testing cycles.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

today's leftovers

  • Newest Linux Optimizations Can Achieve 10M IOPS Per-Core With IO_uring - Phoronix

    Just one week ago Linux block subsystem maintainer Jens Axboe was optimizing the kernel to get 8 million IOPS on a single CPU core. He progressed the week hitting around ~8.9M IOPS per-core and began to think he was hitting the hardware limits and running out of possible optimizations. However, this week he is kicking things off by managing to hit 10 million IOPS!

  • Ubuntu Kylin 21.10 Quick overview #Shorts - Invidious

    A Quick overview of Ubuntu Kylin 21.10.

  • Reset Password On Any Linux Distro (No Root Needed) - Invidious

    Losing your access to your user account on Linux can be really frustrating but luckily resetting that lost password is actually incredibly easy but the process slightly changes depending on the bootloader you're using at least for the easy approach

  • Ubuntu Weekly Newsletter Issue 706

    Welcome to the Ubuntu Weekly Newsletter, Issue 706 for the week of October 17 – 23, 2021.

  • Rakudo Weekly News: 2021.43 Thank You

    Oleksandr Kyriukhin has released the 2021.10 version of the Rakudo Compiler, which includes all of the work of the new MoarVM dispatch mechanism. This is the culmination of more than 1.5 year work by many people, but mostly by Jonathan Worthington. A historic step forward that lays the groundwork on more efficient executing of Raku programs, and actually delivers on a number of improvements.

  • Team Profile by KDE's Cornelius Schumacher

    What makes a great team? One important factor is that you have a balanced set of skills and personalities in the team. A team which only consists of leaders won't get much work done. A team which only consists of workers will not work into the right direction. So how can you identify the right balance and combination of people? One answer is the Team Member Profile Test. It's a set of questions which team members answer. They are evaluated to give a result indicating which type of team member the person is and where it lies in the spectrum of possible types.

  • Some users on Reddit report that Windows 11 loses Internet connectivity when trying to connect to NordVPN.
  • Pat Gelsinger's Open-Source Bias, Intel's Pledge To Openness [Ed: Intel is openwashing again, but leaks from Intel show that Intel is a foe, not a a friend. It's also rather ironic that Intel puts an "open" letter in a proprietary site of Microsoft, which is viciously attacking Free software. Intel is a Microsoft booster.]

    Ahead of Intel's inaugural Intel Innovation event taking place virtually later this week, Intel CEO Pat Gelsinger published an open letter to an open ecosystem. In this open ecosystem letter, Gelsinger talks up opennness and choice, adding, "This is why I fundamentally believe in an open source bias, which powers the software-defined infrastructure that transformed the modern data center and ushered in the data-centric era."

Raspberry Pi and Arduino Leftovers

  • Fast Indoor Robot Watches Ceiling Lights, Instead of the Road

    To pull this off, [Andy] uses a camera with a fisheye lens aimed up towards the ceiling, and the video is processed on a Raspberry Pi 3.

  • Tackle The Monkey: Raspberry Pi Gets Round Screen | Hackaday

    You could argue that the project to add a round screen to a Raspberry Pi from [YamS1] isn’t strictly necessary. After all, you could use a square display with a mask around it, giving up some screen real estate for aesthetics. However, you’d still have a square shape around the screen and there’s something eye-catching about a small round screen for a watch, an indicator, or — as in this project — a talking head. The inspiration for the project was a quote from a Google quote about teaching a monkey to recite Shakespeare. A 3D printed monkey with a video head would be hard to do well with a rectangular screen, you have to admit. Possible with a little artistry, we are sure, but the round head effect is hard to beat. Honestly, it looks more like an ape to us, but we aren’t primate experts and we think most people would get the idea.

  • Move! makes burning calories a bit more fun | Arduino Blog

    Gamifying exercise allows people to become more motivated and participate more often in physical activities while also being distracted by doing something fun at the same time. This inspired a team of students from the Handong Global University in Pohang, South Korea to come up with a system, dubbed “Move!,” that uses a microcontroller to detect various gestures and perform certain actions in mobile games accordingly. They started by collecting many different gesture samples from a Nano 33 BLE Sense, which is worn by a person on their wrist. This data was then used to train a TensorFlow Lite model that classifies the gesture and sends it via Bluetooth to the host phone running the app. Currently, the team’s mobile app contains three games that a player can choose from.

Security Leftovers

today's howtos

  • How To Install Cinnamon on Debian 11 - idroot

    In this tutorial, we will show you how to install Cinnamon on Debian 11. For those of you who didn’t know, Cinnamon is the default desktop environment of the Linux Mint distribution which offers advanced features and a traditional user experience. Cinnamon is also available as an optional desktop for other Linux distributions like Ubuntu, Fedora, Arch Linux, OpenSUSE, etc. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of the Cinnamon desktop environment on a Debian 11 (Bullseye).

  • Run Nexus Repository Behind Nginx Reverse Proxy - kifarunix.com

    In this tutorial, you will learn how to run Nexus repository behind Nginx reverse proxy. Nginx can be configure to proxy HTTP requests. In this setup, Nginx receives requests and passes it onto specified proxied server, fetches the response, and sends it back to the client.

  • Linux Foundation to introduce new DevOps Bootcamp
  • SUSE documentation survey 2021 – some results
  • How to install Friday Night Funkin: Neo on a Chromebook

    Today we are looking at how to install Friday Night Funkin: Neo on a Chromebook. Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

  • How to use the Buttercup password manager on Linux

    Buttercup is an advanced, open-source password vault. It encrypts your passwords with AES 256bit cryptography to keep them safe. If you’re tired of proprietary password solutions on Linux and want something open-source, you’ll love this guide. In this tutorial, we’ll go over how to install Buttercup on Linux. We’ll also show you how to set up your password vault and generate a secure password. Note: Buttercup is also available for iOS and Android in their respective app stores.

  • How to use YouTube Music on the Linux desktop

    YouTube Music is an excellent service. But, sadly, there is no official client for Linux users to enjoy the service. Thankfully, the community has taken it upon itself to create an unofficial YouTube Music app. Here’s how to use it on your system.

  • How to use the AuthPass password manager on Linux

    AuthPass is an open-source password manager for Android, iOS, Linux, Mac OS, and Windows. It is secure and a great way to save your passwords and sensitive information. In this guide, we’ll show you how to set up AuthPass on Linux and how to use it too.

  • How to install Zoom on Elementary OS 6.0 - Invidious

    In this video, we are looking at how to install Zoom on Elementary OS 6.0.

  • How to Install and Configure RabbitMQ on Debian 11

    RabbitMQ is a free, open-source and one of the most popular message broker software. It supports multiple messaging protocols and uses plugins to communicate with popular messaging solutions like MQTT. A message broker is an application that stores messages for an application. Whenever an application wants to send data to another application, the app publishes the message onto the message broker. RabbitMQ can be deployed in distributed configurations to meet high-scale, high-availability requirements. In this post, we will show you how to install and configure RabbitMQ message broker software on Debian 11.

  • How to Create an Amazon Machine Image (AMI) and use it on AWS

    An Amazon Machine Image (AMI) provides the information required to launch an instance. An EC2 instance can not be launched without an AMI. We can create as many instances as we want from a single AMI when we need multiple instances with the same configuration. To create an instance we can use readily available AMI or we can create our own AMI. To create a custom AMI we need to first launch an instance using one of the available AMIs, make the required configuration on the instance and then use that instance to create an AMI. Instances launched from this new custom AMI include the customizations that we made when we created the AMI. We can create AMIs from either running or stopped instances. Once we create an AMI, we can either keep it private so that only we can use it, or we can share it with a specified list of AWS accounts. We can also make our custom AMI public so that the community can use it.