linux | PKGBUILDs | |
---|---|---|
30 | 6 | |
2,100 | 73 | |
1.8% | - | |
0.0 | 7.3 | |
7 days ago | 12 days ago | |
C | Shell | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
linux
-
Red Hat to Author New Linux Driver for Nvidia GPUs in Rust
You're missing on a lot of things Rust (or any language with non-toy types) can provide. Lock ordering, better accessible complex structures, enforcement of enumerated options, rich description of APIs, and many others. Atomic values are usable transparently https://github.com/AsahiLinux/linux/blob/97c628055904a7f2ef1... and multithreaded reference counting is easily enforced https://github.com/AsahiLinux/linux/blob/bd0a1a7d465fcb60685... also issues like type confusion https://www.vicarius.io/vsociety/posts/a-type-confusion-bug-... are less likely if you can easily use tagged unions checked by the compiler.
-
Asahi Linux project's OpenGL support on Apple Silicon officially surpasses Apple
From the gpu issue tracker[0]:
> For a bit of context -- Google Maps loads images to the GPU at.. inopportune times. While games would typically load their images during a load screen (so slow image loading just means longer loading screens), Google Maps loads when scrolling around I think (so slow image loading means the whole map stutters). I don't think there's a fundamental driver bug we can fix here, but we can make image loading a lot faster which makes the symptoms go away.
[0]: https://github.com/AsahiLinux/linux/issues/72#issuecomment-1...
-
Committing to Rust for Kernel Code
> Is this mostly just a thing to get more young people interested in kernel development...allowing them to start out in less important areas and in a language they are passionate about?
Not likely. At the moment you need to do extra work to get Rust working well. It's not exactly beginner friendly and doing work in the kernel, you'll need to dig into C anyway.
> Or is this a serious proposal about the future of operating systems and other low level infrastructure code?
Serious code already exists, so... Yes?
> Do you just program everything in unsafe mode? What about runtimes?
Why would you? You need that only when interfacing with something that can't hold the Rust compiler assumptions. See for example https://github.com/AsahiLinux/linux/blob/gpu/rebase-6.4/driv...
The few places that need direct access / unsafe are almost all single-line areas with an explanation.
-
Speaker Support in Asahi Linux
I think the idea with the M-series laptops in particular is that you can drive the speakers at volumes that actually damage them very quickly ( see https://github.com/AsahiLinux/linux/issues/53 ). The idea AIUI is that you can use a DSP along with a physical model of the voice coil to get better sound than you would if the speakers were volume-limited.
-
Ask HN: How is Rust used in the Linux kernel today?
I am using Asahi Linux and the GPU driver works great, it even supports OpenGL 3.1 (https://asahilinux.org/2023/06/opengl-3-1-on-asahi-linux/). Definitely not alpha, I would say it's close to a "release candidate". Many bugs got resolved, nothing much left (besides newer OpenGL and Vulkan of course, but current state is very stable): https://github.com/AsahiLinux/linux/issues/72
- Charging Threshold for Gnome Asahi Linux users
-
The Linux Kernel Module Programming Guide
There aren't really any non-trivial mainline modules, since the Rust support is so new. There's the non-mainline Asahi M1 GPU driver though! It will eventually be mainlined, but IIRC some more Rust support code needs to be mainlined first.
https://github.com/AsahiLinux/linux/tree/asahi/drivers/gpu/d...
- Asahi Linux: Initial Apple M2 Pro/Max device trees and early support added to the Linux kernel (bringup)
- Initial M2 Pro/Max device trees and early support added to m1n1 and Linux kernel
-
Fix Asahi Linux Screen Temperature?
You can follow the progress here: https://github.com/AsahiLinux/linux/issues/91
PKGBUILDs
-
Rebuilding mesa and failing hardware acceleration
Hardware acceleration is not upstream and does not have a stable kernel interface yet. You need to use the corresponding tag in our repo to the kernel you are running. The mapping isn't really maintained anywhere explicitly but you can look at the commit log of our PKGBUILDs repo to get an idea, since I keep them matched there.
-
Help with Linux Headers
I finally got them working. Here's what I did: sudo pacman -S linux-asahi-headers base-devel git clone https://github.com/AsahiLinux/PKGBUILDs.git cd PKGBUILDs/linux-asahi makepkg sudo cp -rf src/linux-asahi-6.2-11/build/edge/ /usr/lib/modules/6.2.0-asahi-11-1-edge-ARCH/build
-
How to build asahi kernel and external module
git clone https://github.com/AsahiLinux/PKGBUILDs.git cd PKGBUILDs/linux-asahi
-
Asahi Linux is mainly just the kernel, right? So why does Pacman not replace it with an Arch one?
Because it's a separate package (linux-asahi), that provides the linux package name, so it stands in for the standard kernel persistently. Only new versions of linux-asahi can update it automatically, you'd have to manually install another kernel package to switch it out. See the PKGBUILDs guide for more information on how this works.
- Is it possible to build the edge kernel from sources?
- [question] when fedora will support apple M1 SoC ?
What are some alternatives?
Amethyst - Automatic tiling window manager for macOS à la xmonad.
droidcam - GNU/Linux/nix client for DroidCam
fritter - A privacy-friendly Twitter frontend for mobile devices
rtl8188eus - Realtek RTL8XXXU driver
linux-m1 - Linux kernel source tree
asahi-fedora-builder - Builds a minimal Fedora image to run on Apple M-series systems
docs - Hardware and software docs / wiki
ExpansionCards - Reference designs and documentation to create Expansion Cards for the Framework Laptop
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
foundation.rust-lang.org - website for Rust Foundation
asahi-audio - Userspace audio for Asahi Linux
stable-diffusion - A latent text-to-image diffusion model