TGViewer
Channel Public Channel
Linux - Reddit

Linux - Reddit

@r_linux

Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Subscribers
1.06K
Photos
4.6K
Videos
207
Links
41.9K

Showing posts older than #42184 · Back to latest

Older Posts 20 shown
Post #42183 51
Post #42182 62
Open source kept my 2009 Logitech G19 alive

TL;DR: Fixed a long-standing bug in the Linux driver for my 2009 Logitech G19. Instead of replacing perfectly good hardware, I repaired the software. This is why I love Linux and open source.

Today I fixed a bug in the Linux driver for my Logitech G19.

What makes this special is that the keyboard was released in 2009.

Logitech stopped supporting it years ago, but thanks to an open-source project called g19daemon, the keyboard still works under Linux.

One feature never worked correctly for me: the G-keys could only be triggered once and then stopped responding as expected. The issue had been reported before, but nobody seemed to know the root cause.

After digging through the code, tracing the event handling and testing different approaches, I finally found the bug and fixed it.

Now the G-keys, media keys, volume wheel, mute button, LCD display and backlight controls all work properly on a modern Linux system.

Moments like this remind me why I love Linux and open source.

A 17-year-old piece of hardware is not obsolete when the source code is available and people are willing to understand how things work.

Instead of replacing the keyboard, I repaired the software.

That's freedom.

https://redd.it/1tze9pd
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
Post #42181 49
Post #42180 46
Post #42177 41
What distro is actually noob friendly?

Hi,

This will be a dumb rant. I am not asking for support.

I was distro-hopping with Linux \~7 years ago and it ended in frustration so I went back to Windows. I tried a dozen different distros from Ubuntu to Manjaro to Elementary OS. Only Mint worked out of the box. All other distros had some sort of annoying bug. And the Mint software center was actually useful, but the selection was pretty limited. So I went back to Windows.

It didn't help that Windows 10 was actually good. I know it sounds blasphemous to say this here. Fast forward to now, Windows 11 makes me want to switch to Linux again.

Lately, I watched a bunch of Linux videos. I am so overwhelmed by the number of distros. But they all look the same. They all use a desktop environment like Gnome, KDE or Cinnamon (looks like KDE). So what's the point!? I went on Distrosea to try out every major distro. I was so bored by the amount of Gnome/KDE desktops. I can't tell Aeryn Linux from Alma Linux, from Debian, from Fedora apart. They're all the same.

Oh... The point is: software installation. Y'all are crazy. There are different formats like flatpak, snap, dnf etc... I am so confused.

Apparently, snap will make your computer explode upon installation. Snap is the devil. So does that automatically exclude Ubuntu and its variants?

Is there a distro somewhere with an easy to use software center with a huge selection? Or are you supposed to enable flathub and get on with your life?

My point is: I have a hard time seeing why Almalinux is less "beginner friendly" than Ubuntu if you're gonna install flathub anyways...

https://redd.it/1tz50q2
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
Post #42176 39
Tristim: a tool that measures how your Wayland compositor actually reproduces color (SDR and HDR), using a Spyder/i1Display colorimeter

A capture in progress: each measured sample embedded in CIELAB at its own color, with the trial's gamut cage and expected→measured error vectors, while the colorimeter works through the remaining patches

A few months ago I wanted to try dialing in the color representations on my monitor array to match each other, so I got one of the standard Spyder colorimeter tools off of amazon. Turns out that all the drivers and applications for it are locked to either x11 or one of the proprietary OS's -- neither of which was going to help me with my project. This is the solution to that.

Tristim is a rust GUI tool and some new crates built around using usb colorimeters on Wayland. It focuses on using the hardware and correlating what color points and formats were presented to your compositor with what readings the sensor is making. The display test component also speaks the full wp_color_management_v1 protocol, so patches can be presented as real HDR (PQ/BT.2020) content.

It also features an interactive 3d representation of the results -- letting you see visually where the compositor+display stackup is coherent versus out-of-spec. Exporting both .csv and .ti3 representations of session data is also possible for your own use. This means you can use the ArgyllCMS toolchain to build ICC profiles with the data collected by Tristim.

This also includes a clean-room re-implementation of usb drivers for a few of the most common colorimeter pucks (thanks to ArgyllCMS for the protocol docs). While I only have the one device (Spyder 2024) to validate against, we have also implemented drivers for a few of the other common variants that had the necessary reference material (SpyderX, i1Display Pro/ColorMunki family, etc) -- any help testing them would be greatly appreciated.

GitHub | AUR

(Most of the actual implementation was done by Claude, closely supervised -- the design decisions are all my own, and everything is validated on the hardware I have)

https://redd.it/1tz3g0n
@r_linux
Post #42175 51
It looks like Vulkan video decode has finally merged for Firefox 153

https://bugzilla.mozilla.org/show_bug.cgi?id=2021722

This *should* mean out of the box hardware accelerated video decode for Nvidia users without needing hacky third party translation to vaapi or weird permissions or any of that (no offense to the good work elfarto has done with that [workaround driver](https://github.com/elFarto/nvidia-vaapi-driver)).

This should also work with every major vendor including AMD, Intel, and any other vendor that implements a vulkan driver with vulkan video decode extensions even on arm as mentioned in the bug report. This could simplify things in the future with the potential of every GPU vendor on firefox just using vulkan video decode, even on Windows. One less bit of fragmentation to develop around.

It could even allow Nvidia video decode on the open source NVK driver in the future as they are working on Vulkan video for that as well. Media capabilities like encode and decode with nvenc and nvdec are among the top features that would keep many on the proprietary driver so any further vulkan video progress on that would be a great thing to boost the open source driver.

Now we just need chrome to do the same so that functionality extends to applications like discord and others based on chromium as well. It looks like [Nvidia was starting that work months ago](https://www.phoronix.com/news/NVIDIA-Vulkan-Video-Chrome-Help) but with the [latest update from Google](https://issues.chromium.org/issues/324003973) a few weeks ago it appears they have seen no progress yet, which is disappointing.

https://redd.it/1tz1o0p
@r_linux
bugzilla.mozilla.org 2021722 - Add Vulkan Video path to FFmpegVideoDecoder in Firefox RESOLVED (tboiko) in Core - Audio/Video: Playback. Last updated 2026-07-20.
Post #42172 49
Using AI for troubleshooting with full system access

So I've been having a nagging issue with my laptop: it has both an integrated Intel UHD 770 and a dedicated NVIDIA RTX A1000, and I suspected the system wasn't actually using the A1000 for anything. Instead of spending an hour googling, I decided to let Claude Code (Anthropic's CLI AI tool) walk through the diagnosis with me.

Here's the thing though, every single command it wanted to run got shown to me first, with a plain-English explanation of what it was doing and why. I approved or denied each one before it executed. Nothing ran silently in the background.

What it actually did, step by step:

1. lspci | grep -i vga — Listed all GPU hardware on the PCI bus to confirm both GPUs were physically present.
2. glxinfo | grep "OpenGL renderer" — Checked which GPU was actually handling OpenGL rendering (spoiler: Intel, not NVIDIA).
3. nvidia-smi — Checked NVIDIA driver status, GPU temperature, power draw, and what processes were using the card. Only Xorg was on it, using 4MB.
4. lsmod | grep nvidia — Confirmed the NVIDIA kernel modules were loaded.
5. pacman -Qs nvidia — Listed installed NVIDIA packages to see what driver stack was in place.
6. cat /proc/cmdline — Checked kernel boot parameters (confirmed nvidia-drm.modeset=1 was already set correctly).
7. udevadm info /dev/dri/card1 and card2 — Identified which DRI device node corresponded to which GPU.
8. cat /etc/sddm.conf — Checked the display manager config for any GPU preferences.
9. echo $XDG_SESSION_TYPE — Confirmed I'm running KDE Plasma on Wayland, not X11.

The diagnosis: The NVIDIA driver is installed and working fine. The issue is just how hybrid GPU laptops work on Linux, the display output is physically wired through the Intel chip, so by default KWin (the KDE compositor) uses Intel for everything. NVIDIA sits idle in "offload" mode unless you explicitly tell an app to use it.

The fix is either:

Install `nvidia-prime` and use `prime-run <app>` to launch specific apps on the NVIDIA GPU.
Or force KWin to use NVIDIA as the primary renderer by setting KWIN_DRM_DEVICES=/dev/dri/card1 in /etc/environment.

My question:

What do you all think about this workflow, giving an AI access to your whole system, but with a human-in-the-loop approval step for every command?

On one hand it's genuinely useful. It ran 9 targeted diagnostic commands, explained each one clearly, and gave me a well-reasoned diagnosis in maybe 5 minutes.

On the other hand, it did have read access to things like kernel parameters, installed packages, hardware IDs, and system config files. Even with approval gates, you're trusting the AI to be honest about what a command does before you run it. A malicious or hallucinating model could describe a command as benign when it isn't.

Is the approval-per-command model enough of a safeguard? Or is "AI with full system access, even supervised" a line you wouldn't cross? Curious where people draw the line.

https://redd.it/1tyv75o
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
Post #42170 56
Crate - a daemonless container runtime I built in Go to learn how Docker works

Hey folks,

I’ve been working on Crate for the past few weeks. It’s a small daemonless container runtime written in Go for Linux.

The goal was to understand how container runtimes work under the hood instead of treating Docker/Podman as magic. It launches containers directly, stores state on disk, and supports both rootless and rootful execution.

Currently, it supports the core pieces of a basic container runtime:

pulling and running Docker Hub images
container lifecycle commands like run, create, start, stop, ps, logs, and rm
Linux namespaces for process, mount, hostname, user, and network isolation
root filesystem setup with pivot_root / chroot
bind mounts, image env/CMD/entrypoint handling, and interactive PTYs
rootless private networking with pasta and port publishing (doesn't support networking in root gonna add that soon)

I’ve also written a small guide/docs series for anyone else who wants to understand or build something similar: docs

It’s still experimental and not production-ready. Big missing pieces include cgroups/resource limits, stronger security hardening, full OCI compliance, better registry support, multi-platform support and probably a million other things that Im forgetting.

Repo: https://github.com/aayushkdev/crate/

I’m still improving it, so I’d love to hear feedback, ideas, or suggestions. If you like the project, a star on GitHub would mean a lot.

https://redd.it/1tyk9r0
@r_linux
GitHub crate/docs at main · aayushkdev/crate Crate is a small daemonless container runtime for Linux written in Go, with support for both rootless and rootful execution. - aayushkdev/crate
Post #42169 58
Ubuntu Server Tutorial (Beginner Guide)

For those trying to degoogle and trying to replace their saas with self hosted alternatives, I have done a tutorial on how to setup a ubuntu server on virtualbox for those who want to get started in homelabing. This is a great way to learn without having to use hardware you don't have or buying hardware.

https://youtu.be/SM2ZP3J-KCw

https://redd.it/1tykh6q
@r_linux
YouTube Beginners Guide To Homelabbing: How To Install Ubuntu Server 26.04 on Virtualbox Want to learn how to run your own server, host apps, or study for sysadmin certs, but don't want to buy a bunch of expensive equipment? In this step-by-step tutorial, I’ll show you exactly how to build your very first home lab using only the computer you…
Post #42167 65
I don't understand why people get confused with the file system of linux?

I heard a few youtubers saying people don't understand linux file system that everything is stored in / that kind of stuff. I picked up just fine coming from windows and no computer degree.

Your files stayed in a folder in Windows so it does here too. I think people get confused as there are no paritions as windows have. And when using more than one drive you need to Mount it, windows does that automatically which is good for ease of use but bad for security. what are your opinions?

https://redd.it/1tye5gk
@r_linux
Reddit From the linux community on Reddit Explore this post and more from the linux community
Post #42165 56
VMware Blast protocol alternative to Horizon app

Hi there, in our company our VDI is hosted by AWS on Nutanix platform. What we're having issues with is Omnissa Horizon app on Linux-when trying to connect it kicks out few times from the cloud and then gets stable. My question: is there a way to create some kind od Blast protocol addon for Remmina? I'm using Remmina to go with HTML protocol, but thats me on my arch host laptop, company uses thin clients with different distro and it's centralized with endpoint manager, and some do have issues, some don't. Same settings being pushed to all. Thanks.

https://redd.it/1tyep3k
@r_linux
Reddit From the linux community on Reddit: VMware Blast protocol alternative to Horizon app Posted by dvuk99 - 3 votes and 4 comments
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →