r/linux • u/ShaderCompilation • 10h ago
Kernel Linux security vulnerabilities fixed per kernel version
This seems to be the impact of AI tools. In my experience AI is very good at finding bugs(not particularly great at good fixes though)
r/linux • u/ShaderCompilation • 10h ago
This seems to be the impact of AI tools. In my experience AI is very good at finding bugs(not particularly great at good fixes though)
r/linux • u/keremdev • 6h ago

The original operating system was VirtuOS, similar to MS-DOS and includes multitasking support, was developed by Microbase. It was used in the 1996, 1998 and 2000 elections. In 2002, Unisys was unable to renew their partnership with Microbase, and were unable to reuse the VirtuOS based code. Microsoft stepped in, and provided licenses for the Windows CE operating system free of charge. In 2008, under initiative from the TSE Electronic voting team migrated to a Linux (dubbed UEnux) OS to reduce costs and take full control of development cycle.
- From Wikipedia
Thought this was a fun thing to share given yesterday's elections and how fast the votes were tallied.
r/linux • u/xmBQWugdxjaA • 8h ago
r/linux • u/throwaway16830261 • 7h ago
r/linux • u/sharky6000 • 16h ago
Saw this post on Bluesky and having had casually followed the trashing of X for about 20 years, the whole Canonical/Mir fiasco, and finally the extremely slow adoption of Wayland, this was cool to see! 😁
👀💃
Faith Ekstrand's write-up on Kraid, the new shader compiler for the open source Panfrost/PanVK drivers:
https://www.collabora.com/news-and-blog/news-and-events/panfrost-is-now-using-kraid.html
Starting with Mesa 27.0, all Mali GPUs with Valhall (v9) or newer will use it by default. Mesa 26.3 is the last release with the old compiler.
Highlights compared with the old compiler:
- ~18-20% fewer shader instructions across OpenGL and Vulkan shader sets
- Over 80% less register spilling
- Proper 64-bit integer support
- Much faster shader compilation with lower memory use
It went from start to default in under six months!
None of the substantive code was written by AI.
I used AI to help with the mechanical parts of porting (e.g. translating autotools to CMake, replacing ioctl calls with tcgetwinsize, translating the C structs into Rust), as well as to write some of the smoke tests (e.g. cairo-test, mesa-test).
Where Claude really shines though is in reviewing your own commits. You give it a hash, and it tells you about the silly memory leak or deadlock that you left in, before you can make a fool of yourself.
r/linux • u/vudueprajacu • 6m ago
For a while my PC froze about twice a day. Not a crash I could recover from: the screen stopped, audio sometimes kept going, and even Ctrl+Alt+F3 did nothing. Only the reset button helped.
Setup: CachyOS, kernel 7.3.0, niri (Wayland), RTX 4060, nvidia-open 615.78.08, Huananzhi X99-BD4 motherboard.
After a reboot, journalctl -b -1 -k showed the same pattern every time:
NVRM: dmaAllocMapping_GM107: can't alloc VA space for mapping.
NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY]
NVRM: Xid (PCI:0000:03:00): 56, ...
NVRM: krcWatchdog_IMPL: RC watchdog: GPU is probably locked!
The process that hit it first changed. Once it was a Godot game I'm developing, twice it was Brave (its Media process died with SIGILL right before the lockup). So it wasn't one bad app.
nvidia-smi -q | grep -A3 BAR1 showed the problem: BAR1 was only 256 MiB. Without Resizable BAR, the driver maps GPU memory for the CPU through that small window, and when it fills up, the open driver can lock the whole GPU instead of just failing that one request. There's an open upstream issue with the exact same logs from people on Fedora, Bazzite, Arch and CachyOS, mostly with Chromium-based browsers or Discord as the trigger:
https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1396
My BIOS had "Above 4G Decoding" but no Resizable BAR option. It turns out Huananzhi publishes an official BIOS for the X99-BD4 with ReBAR added, on the board's download page. I flashed it, enabled Above 4G Decoding and Re-Size BAR, and now:
BAR1 Memory Usage
Total : 8192 MiB
No VA errors in the kernel log since, no freezes, and the whole system feels smoother, including games.
If you have an NVIDIA card on an older board and see "can't alloc VA space" before a freeze, check your BAR1 size. A lot of X99 and other older boards have official or community BIOS updates that add ReBAR. Flash carefully and only the file for your exact board model. If you can't enable it, people in that issue report that turning off hardware acceleration in Chromium-based browsers makes it happen much less often.
r/linux • u/SpaghettiFails • 18m ago
r/linux • u/Fcking_Chuck • 1d ago
r/linux • u/Ph0sph3rus • 20h ago
Hey everyone,
I'm developing Linux Subsystem on Android (LSA), an experimental project that runs a native Linux userspace on rooted Android devices while keeping Android as the host operating system.
The goal isn't just to run a Linux desktop. I'm trying to make Android's hardware and services usable through normal Linux interfaces, without requiring applications to be rewritten for Android.
LSA uses the Android kernel directly. It's not PRoot, emulation, or a VM.
What's currently working in development testing on a Blackview N6000:
Debian ARM64 with a graphical desktop and native Linux applications
Hardware-accelerated OpenGL through Mesa/VirGL and Android's GPU stack
Audio playback and microphone capture
USB storage integration, including automatic NTFS mounting
Applications including Firefox, OpenArena, and SuperTuxKart
This is still pre-alpha. Some applications require workarounds, graphics compatibility is incomplete, and hardware support varies. Some of the results above are from a private development preview and may not be present in the current public release.
I'm looking for people who have spare rooted Android phones and are willing to help test LSA on different hardware.
Useful experience includes Android rooting, ADB, Linux debugging, shell scripting, Mesa/VirGL, graphics drivers, audio, and embedded Linux. You don't need to be an expert.
There are two ways to help:
Independent testing: Try LSA on a spare device, collect logs, report bugs, and share hardware compatibility results. No remote access required.
Direct development collaboration: For volunteers who want more involved help, I'm open to supervised SSH debugging on a dedicated test device. Any access would be optional, explicitly authorized, and governed by a written agreement restricting my activity to the agreed testing and development work.
Please don't run this on your primary phone or anything you can't recover. This is experimental rooted system software, and things can break.
GitHub: https://github.com/Phsphorus/LinuxSubsystemOnAndroid
If you're interested, let me know your phone model, chipset, Android version, and rooting method.
I'm also looking for feedback from people familiar with Linux systems programming or Android internals.
Thanks!
Disclaimer:
This project has been developed with the assistance of AI. I'm not an expert in every field this project covers, and I don't claim to be. LSA is an experimental learning project, and I welcome technical feedback, corrections, and contributions.
A dream can only be achieved if you try.
---
Example of the experimental UI.

r/linux • u/pwreit2042 • 1d ago
I wanted to share a project that's been making some interesting progress in PC-based home theatre.
CroqueMr (u/Croque_Mr) is developing native Dolby Vision support for Kodi through a custom LibreELEC build, including Profile 7 FEL reconstruction. Development has moved quickly, with regular releases bringing performance improvements, new rendering modes and broader hardware support.
The latest Beta 5 release includes further improvements to playback stability, FEL handling, scaling and display detection. Results and compatibility can vary depending on the hardware, TV, source material and rendering mode.
The developer has outlined plans for a GPLv2-or-later licensing rebuild, further AMD improvements, HDR10+ support and Dolby Vision-to-HDR10+ metadata reinterpretation, alongside expanded compatibility with older Intel graphics and additional NVIDIA hardware.
The longer-term goal is to make PC-based Dolby Vision playback more capable and accessible, including on affordable mini PCs.
Full credit to u/Croque_Mr for the development, along with the community members contributing testing, feedback and improvements.
It's been impressive to see how much the project has evolved in such a short time. If you're interested in the technical details, supported hardware or latest builds, the links above have all the information.
Flatpak needs bubblewrap, bubblewrap needs user namespaces, and Android kernels ship without them. So flatpak run can't work on a phone, root or not.
In Tessera (GPL-3.0, an Android app that runs Linux desktop apps as native Android windows), flatpak still downloads, but Tessera builds each app's root itself:
- the runtime at /usr and the app at /app, read-only;
- the runtime's GL extension where the runtime expects it, on a tmpfs over its parent since the folder doesn't exist in the read-only runtime;
- /etc from the runtime, with passwd, group, hosts and resolv.conf written for the session;
- the session's X11 directory shared, carrying its D-Bus and PulseAudio sockets, so the app gets the same bus, sound and theme portal as the Debian side.
Without root that's PRoot's path translation. With root, each launch gets a private mount namespace, an unprivileged uid and no_new_privs, so per-app permissions are kernel-enforced.
The rest is about making Linux apps feel native on a phone: each app (and each of its windows) gets its own Android task and Recents card; GTK, libadwaita and Qt take Material You colors and follow dark mode live through a settings portal Tessera serves; apps rescale live from a slider; and the Android keyboard opens on text fields by listening to AT-SPI focus events. GPU acceleration is a bundled Mesa with Turnip and Zink for Adreno, which also loads inside Flathub runtimes.
Source: https://github.com/daryan044/tessera-linux
Note: AI WAS USED IN THE PROCCESS OF CREATING THIS APP
Happy to go deeper on any part.
r/linux • u/MMORPGDev • 2d ago
r/linux • u/throwaway16830261 • 3d ago
Original guide for Arch. Worked for a colleague on a different distro.
You can find two proprietary driver versions on the Lenovo website. One is the "Linux version" which requires OpenSSL 1.1 and the other is the "Ubuntu version" which requires OpenSSL 3. Both are .so libraries that work on any distro if the requirements are satisfied. Use the second one.
Depending on your distro, you also need to choose one way to obtain the libfprint-2-tod.so.1 library. Alternatively, you can build it from this source using meson/ninja.
Necessary udev rules:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f3", ATTRS{idProduct}=="0c4b", ATTRS{dev}=="*", TEST=="power/control", ATTR{power/control}="auto", MODE="0660", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="04f3", ATTRS{idProduct}=="0c4b", ENV{LIBFPRINT_DRIVER}="Elan Fingerprint Sensor"
this goes to /etc/udev/rules.d/60-libfprint-2-tod1-elan.rules.
After installing and restarting the services (or rebooting), you can use any usual ways to enroll fingerprint.
Just wanted to post this so that people with similar issues see.
Hi all, AdobeWine 0.3.1 is out. It's a patched Wine (11.18 plus 90 patches) that runs Adobe's Creative Cloud apps on Linux. You install the apps yourself with Adobe's own Creative Cloud installer and your own subscription; nothing from Adobe is bundled or downloaded by the project.
This time there's a video: a short showreel made entirely in the Adobe apps on Linux, from a pen-pressure painting in Photoshop to the cut in Premiere and the export in Media Encoder:
(To be upfront: the pen strokes come from a simulated tablet and most steps were scripted. The point is that the apps themselves run, draw and render correctly.)
What works right now (tested on an RTX 4070 laptop, with community reports on RTX 4060, RTX 4090 and Intel UHD 620):
Not there yet: AMD isn't confirmed (a Premiere fix is waiting for someone to test it), AMD and Intel GPUs don't get the CUDA features, After Effects can eat a lot of RAM while previewing heavy 3D comps, and Bridge is barely tested.
It's free, open source and non-profit.
A word on AI, since it always comes up: AI slop is bad, the same way anything pre-produced and left unfinished looks bad. People who produce slop are, in fact, sloppy: they don't care to finish and finalize their ideas. This project is a construction, ongoing, and it needs the community. Even though it was done almost entirely with AI, it's driven by a human, and it's meant to help other people in their lives.
So if you use Adobe and Linux (or would like to), please try it and tell me what breaks, especially on AMD and Intel GPUs, other distros and your real workflows. Issues and PRs are welcome, and so are plain "it worked for me" reports.
GitHub: https://github.com/le-birnes/AdobeWine (install guide in docs/INSTALL.md)
r/linux • u/InadequateUsername • 1d ago
I understand the need for controlling the onslaught of low effort projects, but surely declaring that you are English only goes against the site's rules?
just because it's a lingua franca doesn't mean it's superior. Users should be allowed to share their opensource contributions with the Reddit community in the language of their choice.
r/linux • u/ScootSchloingo • 3d ago