1
17
submitted 6 hours ago by Detcom@lemmy.world to c/linux@lemmy.world

I've been running AMD ThinkPads for a while and always felt like the stock kernel carries a lot of dead weight, like Intel CPU/GPU drivers, NVIDIA, Dell/HP/Asus vendor blobs, server SCSI controllers, legacy filesystems, ancient WiFi drivers from 2003. None of that belongs on a ThinkPad.

So I built detkernel (yeah, I know), a custom kernel that strips all of that out and keeps only what AMD ThinkPads actually need.

What's removed:

  • Intel CPU/GPU (i915, xe, microcode)
  • NVIDIA (nouveau)
  • All non-ThinkPad vendor drivers (Dell, HP, Asus, Sony, Apple...)
  • Server SCSI controllers (Adaptec, LSI, HP SmartArray...)
  • Legacy WiFi (Prism, ZyDAS, old Ralink, IPW2100/2200...)
  • Dead filesystems (ReiserFS, HFS, UFS, JFFS2...)
  • Legacy network protocols (AppleTalk, ATM, X.25...)

What stays:

  • Full AMD support (Zen1–Zen5, RDNA GPU, ACP audio, PMC, P-state)
  • All ThinkPad WiFi chips (Intel AX, Qualcomm WCN, MediaTek MT7921/MT7925, Realtek RTW89)
  • Realtek LAN (it's in every ThinkPad)
  • HDA Realtek audio + USB audio
  • ThinkPad ACPI, HID Lenovo
  • KVM/AMD, VFIO

Two variants:

  • detkernel-universal — x86-64-v3, works on all AMD ThinkPads (T495 and newer)
  • detkernel-zen5 — znver5, for Ryzen AI 300 series (T14 G5-G6, T16 G3, P14s G5-G6), includes 500Hz tick, BBRv3 TCP, NTSYNC for Wine/Proton

Distributed as UKI (.efi) for systemd-boot users — just drop it in /boot/EFI/Linux/ and reboot. vmlinuz + initramfs also available for GRUB/rEFInd.

Currently based on Linux 7.0.12-zen1.

GitHub: https://github.com/Detcom-GH/detkernel

Looking for testers, especially on older models (T495, T14 G1-G2, L14/L15). Would love to hear how it runs on your machine.

2
25
submitted 13 hours ago* (last edited 13 hours ago) by wjrii@lemmy.world to c/linux@lemmy.world

I am planning to use this as a lightweight travel machine, smaller than my ThinkPad P15v and better than the Chrome-Tab I frankensteined into a linux tablet. I got the Macbook (in great physical condition), a new battery, and a USB-C to magsafe2 adapter for about USD 85. I'm currently calibrating the new battery, which I'm doing in EoL MacOS Monterey, but right now the plan is to replace it with MX Linux, which on the Live USB already had the Broadcom Wifi drivers. I also like Snapless distros using apt and KDE Plasma. Then, finally, I used to daily Mepis Linux years and years ago, so part of me was pleased it sort of lives on. I run Tuxedo OS on a couple of other machines, so if there's some very good reason to, I would be willing to take my chances that getting the Wifi up and running would go smoothly. Any very strong thoughts about distros on this hardware?

Beyond that, from what I've been reading, Gnome and KDE aren't really the hogs they used to be, and at 8GB this laptop should be okayish for browsing, text editing, Youtube at 720p or maybe 1080p (1440x900 screen), and the most casual of games. You know, basic stuff when you aren't doing "serious" work. Still, what would y'all recommend for making KDE itself slip into the background and use as less CPU, RAM, and GPU (particularly concerned here, given the weak onboard and shared VRAM). I don't think I need to drop down to XFCE, Fluxbox, etc., but I would like to turn off eye candy and other non-essentials.

Beyond distro, optimization, and managing expectations, is there anything I'm missing? I have a cricut and basic Inkscape skills, so I'm also open to decals. After all, what is the point of buying a decade-old laptop if I can't make it look slightly stupid?

3
13
4
96
5
32
submitted 4 days ago by alecsargent@lemmy.zip to c/linux@lemmy.world

Hello guys, I have been annoyed at this pop-up as I have to exit it every time I open any Electron (chromium based apps). Does anyone here know how to disable it?

Thanks in advance.

6
12
submitted 4 days ago by trymeout@lemmy.world to c/linux@lemmy.world

cross-posted from: https://lemmy.world/post/48010802

I created a simple Nushell script that will always disable the default/internal monitor(s) on your laptop or external display when using AR glasses. I find this useful for when using AR glasses such as the XReal One which allows you to change the mode from regular mode to ultra-wide mode and when doing this, it will act as your unplugging the XReal ones and plugging in XReal one again in a new mode, causing the other display to become enabled.

To keep the laptop display always off, weather the laptop lid is either closed or open, this simple Nushell script will always disable the screen every X seconds (You can change it by changing the wait constant)

Simply copy this script and create a new Nushell script such as disable-displays.nu, add it to your startup applications with the command of nu /path/to/disable-displays.nu and it will run in the background. You will need to run xrandr command with all of your displays enabled to get the names of the displays and change the constants values in the script accordingly.

NOTE: This script may not work with a full Wayland setup and may only work on X11.

Enjoy

# RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES
const ar_glasses_display = 'USB-C-0'
const displays = [
    'eDP',
    'HDMI-0'
]

const wait = 5

def is-ar-glasses-connected [] {
    return (xrandr | str contains $"($ar_glasses_display) connected")
}

def disable-display [display: string] {
    xrandr --output $display --off
}

def enable-display [display: string] {
    xrandr --output $display --auto
}

loop {
    if (is-ar-glasses-connected) {
        for current_display in $displays {
            disable-display $current_display
        }
    } else {
        for current_display in $displays {
            enable-display $current_display
        }
    }

    sleep ($wait * 1sec)
}
7
19
submitted 5 days ago by christos@lemmy.world to c/linux@lemmy.world

cross-posted from: https://lemmy.world/post/47988648

https://gitlab.com/christosangel/hanoi

Hanoi is a simple terminal version of the known classical game Tower of Hanoi, written in Bash.

During the game, the user can move left and right, pick disks and drop them in other stacks.

The aim is to move all the disks from the ORIGIN pile to the DESTINATION pile, in as little moves as possible

hanoi.png

8
52
submitted 6 days ago* (last edited 6 days ago) by sureshot0@discuss.online to c/linux@lemmy.world

I've got a Macbook Pro A1707

I put Mint Ubuntu on it, had some issues but it was fine. Flashed Mint Debian as an experiment and it's a lot better, even though it has a lot of the same problems and I can't get the speaker to start... I still have to adjust the txpower every single time I boot up in order to start the wifi, but the biggest difference is the fan driver.

For some reason on Mint Ubuntu it was more difficult to control when the fan came on and how sensitively it reacted to sensing heat, not really an issue on Mint Debian, it will kick on for any length of time once it senses heat, I can more easily adjust the fans manually as well.

I don't know if I'd get much money for it if I sold so I'm just trying to use it until it falls apart. I'll figure out the speakers eventually, I guess. This time it isn't the speakers, it's something else, on Mint Ubuntu the speakers just didn't work until I installed the drivers... on Mint Debian the speakers work but only display sounds from booting up or other computing actions, can't play sound from music files or video, can't even plug in headphones. When the speakers on Mint Ubuntu didn't work before I installed the driver, I could listen with my headphones only. Weird.

Anyway just sharing this experience. The command to adjust the txpower appropraitely is

sudo iwconfig [yours] txpower 10

edit: edited for typos

9
46
10
13
submitted 6 days ago by anon232@lemmy.zip to c/linux@lemmy.world

I'm running bazzite on my desktop with an AMD 7800x3d and an AMD 7900XT gpu.

I have a PBO optimizer curve offset set to -30 in bios but I'm still getting pretty high temps in my case, even when idling. CPU is water cooled with a Corsair H110. CPU temps are around mid to upper 40c and can reach up to 80c when gaming.

I don't think it's an issue with the cooler because when when idling it's blowing out hot air on the exhaust fans in my case. The cpu cooling radiator is setup as an intake so it cools the liquid with cool ambient air.

I believe bazzite might be consuming a lot of power itself but I can't prove it because I have no way of viewing power usage. I tried setting up ryzenadj but it gave me an error about how my cpu family isn't supported. (It might be laptop only?)

If anyone has any recommendations I'd greatly appreciate it.

11
12
submitted 6 days ago by fizzle@quokk.au to c/linux@lemmy.world

I have a Thinkpad T490s and would like to use an external GPU so I can power multiple monitors in High Def.

Specifically, I'm looking at the TH3P4G3 with a 5070 Ti.

From the reading I've done it seems like getting these configured and working is non-trivial. For example there's some reports of people not being able to deliver power to the laptop while docked. Also some crashes on connect / disconnect.

I'm not necessarily looking for specific "how to" advice, just a general impression. Is this worth while or is it going to be a huge muck around that never really works reliably.

12
12
Using KDE Plasma on Pop (sh.itjust.works)
submitted 1 week ago* (last edited 1 week ago) by kertain@sh.itjust.works to c/linux@lemmy.world

cross-posted from: https://sh.itjust.works/post/61415164

Hello! So I am somewhat new to linux, been trying to use it as my daily driver for about 6 months now.

Hopefully its ok to ask linux questions here: Right now I have Pop 24.04, and generally it works ok but I have frequent mouse lock/focus issues in games, which I can normally get around using proton/sdl video driver commands in Steam, but it is a constant issue.

At the suggestion of GPT, I tried loading into Gnome rather than the default Cosmic and that issue went away. So pretty sure this means its something with the cosmic composer with my setup. Really tired of beating my head against the wall with this constant issue and happy it's solved, but not sure I really like Gnome.

I DO like KDE Plasma and since I am using Dual monitors with VRR makes since to go to versions 6, but worried about dependency issues when I update. POP uses older KDE version and it would pull different versions of things like the Framework..ect

How big of an issue is this? Are their ways to block pop from pulling older versions? Any suggestions or thoughts?

Thanks!

13
85

Using Linux operating systems has always been a frustrating experience for creatives, whether it be for lack of compatibility with industry-standard creative tools or hardware complications, but in this video I'll be outlining all of the steps you can take to be a graphic designer who uses Linux.

Join my mailing list and get 200+ free design templates: https://join.logosbynick.com/

Want to learn more about how Inkscape works? Check out the Inkscape Master Class - a comprehensive series of over 50 videos where I go over every tool, feature and function in Inkscape and explain what it is, how it works, and why it's useful: https://logosbynick.com/inkscape/

🔗 RESOURCE LINKS

Hire me to design your logo: https://logosbynick.com/

Get my premium logo templates: https://logosbynick.com/design-templates/

Upgrade to the latest version of Inkscape here: https://inkscape.org/release/

🎓 EXPLAINER COURSES

Inkscape: https://logosbynick.com/inkscape/
Affinity Designer: https://logosbynick.com/affinity-designer/
GIMP: https://logosbynick.com/gimp/
Adobe Illustrator: https://logosbynick.com/illustrator/

Take my logo design workshop: https://logosbynick.com/learn/

▶️ MY OTHER CHANNELS

Adobe & Affinity tutorials: https://www.youtube.com/c/DesignMadeSimple/
Mobile tutorials: https://www.youtube.com/channel/UCe7cPBY4S6XMQZQsf2eC_5w

💬 SOCIALS

LinkedIn: https://www.linkedin.com/in/logosbynick/
Instagram: https://www.instagram.com/itslogosbynick/

🎵 MUSIC USED

In Da Mood - Combustibles

CHAPTERS

00:00 Intro
01:03 "Graphic Design"
01:40 Designing for Print
02:06 CMYK Vectors
05:33 CMYK Pixels
06:49 Considerations
07:11 Adobe Apps
08:14 Use Adobe Apps on Linux
12:36 Considerations
13:23 Conclusion

14
24
submitted 1 week ago by woelkchen@lemmy.world to c/linux@lemmy.world

15
53
submitted 2 weeks ago* (last edited 2 weeks ago) by exu@feditown.com to c/linux@lemmy.world

Edit: To clarify, this is not my personal blog. It's just intended to raise awareness and spread it around here as well. I just don't believe in editorializing titles

16
24
submitted 2 weeks ago by RegularJoe@lemmy.world to c/linux@lemmy.world
17
2

Endpoint-by-endpoint discovery checks that verify LuisCore is reachable, parseable, and usable by autonomous agents.

Canonical page: https://luiscore.com/agent-discovery-proof

Agent bootstrap: https://luiscore.com/for-agents.json Developer signup: https://luiscore.com/developers#signup Chorus Field: https://luiscore.com/chorus-field

18
-55
19
340
submitted 2 weeks ago by ekZepp@lemmy.world to c/linux@lemmy.world

Summary

  • California (AB 1856) and Colorado (SB 26-051) have enacted laws requiring operating systems to implement device-level age verification but have specifically exempted open-source software.
  • These mandates require "Operating System Providers" to collect a user's age during account setup and share a non-identifiable "age signal" with third-party apps.
  • Following significant backlash from open source community, both states narrowed their definitions to exclude Linux and open source software distributed under licenses that allow users to copy, redistribute, and modify the code.
  • While a pure Linux distribution is exempt, platforms like Valve's SteamOS may still fall under the mandate. This is because SteamOS ships with a proprietary storefront and client.
  • Similarly, while Android is technically open source, the version shipped on most phones includes proprietary Google Play Services, which would likely trigger the mandate.
20
29
submitted 2 weeks ago by alecsargent@lemmy.zip to c/linux@lemmy.world

cross-posted from: https://lemmy.zip/post/64994238

I wanted to ask your guys what setup do you have for a keyboard driven workflow in your browser and what are your reasons for it.

At the moment I am running Librewolf + Vimium. The glide browser is a good alternative but it does not have some features I like from Vimium.

Browsers:

Extensions:

21
35
submitted 3 weeks ago by pglpm@lemmy.ca to c/linux@lemmy.world

cross-posted from: https://lemmy.ca/post/65292654

For those interested on the question of age verification and GNU/Linux: be aware that Systemd v261-rc1 was recently released. It now implements an optional birth date field in the JSON user database (see second item under "Other changes").

The implementation of this field was prompted by age-verification or -attestation laws.

(Age-verification status of Open Source Operating Systems.)

22
-18
submitted 3 weeks ago by MastKalandar@piefed.ca to c/linux@lemmy.world
23
122
24
24
submitted 3 weeks ago* (last edited 3 weeks ago) by Flagstaff@programming.dev to c/linux@lemmy.world
  1. Set the custom keyboard shortcut sh -c 'pgrep -i keepassxc > /dev/null || keepassxc' to Alt+V
  2. Keep KeePassXC's default autotype prompt keybinding, which is Alt+V

One disables the other. I thought that going the grep route might make the program opener conditionally inactive, but apparently that's not doing anything. I would really like to avoid using a separate keybinding if possible. Otherwise, I guess I'd just have to have it open on launch.

25
25
submitted 3 weeks ago* (last edited 3 weeks ago) by lyrial@anarchist.nexus to c/linux@lemmy.world

This isn't really an article, but a link to the AMD Vivado Design Suite's page. If you scroll down, you will see this:

bvDBlTi04PRex0b.png

view more: next ›

Linux

17809 readers
80 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 3 years ago
MODERATORS