linux
open-gpu-kernel-modules
linux | open-gpu-kernel-modules | |
---|---|---|
30 | 205 | |
2,100 | 13,945 | |
1.8% | 0.8% | |
0.0 | 6.4 | |
7 days ago | 10 days ago | |
C | C | |
GNU General Public License v3.0 or later | 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
open-gpu-kernel-modules
-
Tinygrad: Hacked 4090 driver to enable P2P
I also love that it can be done with just a few code line changes:
https://github.com/NVIDIA/open-gpu-kernel-modules/commit/1f4...
-
AMD ROCm Going Open-Source: Will Include Software and Hardware Documentation
> I do love AMD because its drivers are open source as opposed to nVidia.
AMD's drivers are not really more open that Nvidia's. Similar to Nvidia's Open GPU Kernel Module's[0], AMD's opensource drivers are mostly a shim that wrap firmware blobs[1] in which the functionality you really care about is contained.
[0] https://github.com/NVIDIA/open-gpu-kernel-modules/discussion...
-
Red Hat to Author New Linux Driver for Nvidia GPUs in Rust
My understanding is that nowadays most of the heavy lifting is done by magic going on in the firmware, so the actual driver is relatively simple and is open source: https://github.com/NVIDIA/open-gpu-kernel-modules
-
nvidia-powerd dynamic boost won't work. GPU won't reach max TGP
Check this issue
- Nvidia sued for stealing trade secrets: blunder showed rival company's code
- Open Source Nvidia drivers now have beta Gforce support
- Nvidia Linux Open GPU Kernel Module
-
Linux 6.6 to Protect Against Illicit Behavior of Nvidia Proprietary Driver
That's only for a small subset of their more recent GPUs, as you can see here: https://github.com/NVIDIA/open-gpu-kernel-modules#compatible...
- Latest Nvidia drivers cause major problems.
-
Minecraft Textures Completely Messed Up On Wayland
Update: it is a driver issue, see https://github.com/NVIDIA/open-gpu-kernel-modules/issues/522
What are some alternatives?
Amethyst - Automatic tiling window manager for macOS à la xmonad.
gamescope - SteamOS session compositing window manager [Moved to: https://github.com/ValveSoftware/gamescope]
fritter - A privacy-friendly Twitter frontend for mobile devices
mesa - Mesa 3D graphics library (read-only mirror of https://gitlab.freedesktop.org/mesa/mesa/)
linux-m1 - Linux kernel source tree
connectedhomeip - Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
docs - Hardware and software docs / wiki
MxGPU-Virtualization
ExpansionCards - Reference designs and documentation to create Expansion Cards for the Framework Laptop
com.valvesoftware.Steam.Utility.gamescope
nomicon - The Dark Arts of Advanced and Unsafe Rust Programming
MudBlazor - Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.