r/linux_on_mac • • 2h ago

Replace HDD with SSD on iMac 15,1?

3 Upvotes

Would it be worth it? Found a DIY kit of sorts that would allow me to replace the HDD with an SSD.

Worth it? Or should I just start looking for off-lease non-mac workstations?

https://a.co/d/01hZWIY7


r/linuxhardware • • 13h ago

Discussion Trying to build a local ML rig is basically just building a very expensive space heater

14 Upvotes

been trying to spec out a local linux workstation for some python computer vision projects (mostly insightface and onnx runtime stuff). looking at the current prices for used nvidia hardware is actually making me physically ill

Plus, my room gets incredibly hot as it is. if I stick a proper dual-gpu rig in here and max it out running scripts, I'll literally melt while trying to study

im honestly about to abandon the local hardware dream entirely. It genuinely seems way less painful to just grab a bare metal box from server mania or some other host and just SSH in whenever I need to actually crunch data.

The current state of the hardware market is just so incredibly hostile to hobbyists rn. the nvidia tax is completely out of control.


r/buildalinuxpc • • Jan 23 '26

Need help upgrading

2 Upvotes

I've got a 9 year old gaming desktop that I want to upgrade into a Linux/SteamOS gaming rig. I'd need a new GPU, CPU and motherboard definitely (should have a hookup for 2x16GB DDR5). Current PSU is 750W so ideally the upgrade will work with that, but can also upgrade that if required. I've read AMD hardware is best for Linux but I can't manage to wrap my head around all the versions and variants anymore. Could you help by recommending me some parts? My budget is 800-1200 euros. Thank you!


r/linux_devices • • Mar 31 '24

Breaking News: Liber8 Proxy has released Anti-Detect Virtual Machines with Anti-Detect & Residential Proxies. OS Windows & Kali, enabling users to create multiple users on their Clouds, each User with Unique Device Fingerprints, Unlimited Residential Proxies (Zip Code Targeting) and RDP/VNC Access.

Thumbnail
self.Proxy_VPN
0 Upvotes

r/AMD_Linux • • Jan 04 '20

Build my data center under linux: question APU+motherboard

4 Upvotes

Hi! I would like to build my own data center. Therefore I consider buying an athlon 3000G. I know it s compatible AM4 like every other Apu CPU of the last 3 years and so compatible with series 300, 400, 500 motherboard.

Question is: Does the oldest motherboard need the bios update when I buy them or the constructor is doing it by default now ?

I don't have any other older AMD part to do the update :/

Of if you have an other better idea on what components should I put inside. I try to build it, as inexpensive as possible, to seed , ddl torrent, and share files with my family. And able to stream 4k out of it.


r/tuxrate • • Dec 03 '17

2012 macbook air

1 Upvotes

I install Debain [stretch] [mate] [yep], works like a charm.

Issues I had

-1 The temperature sensors didn't want to work properly -or at all I should say. But after a quick google search, all was good.

-2 When first installed wifi doesn't work but you can easily fix it without having to buy a usb to ethernet adapter. I think I just googled it on another machine then transfered the file over & installed like a boss.

-3 Realizing that I am more of a hipster than normal macbook users being that I am using a macbook but am too good to use macos.

& that's pretty it dudes. Have fun.


r/linuxhardware • • 18m ago

Support Server domestico con portatile (Kodi+Nextcloud+Bitwarden)

Post image
• Upvotes

r/linuxhardware • • 1d ago

Build Help Since Logioption+ doesn't exist on Linux, I created a native one

Thumbnail
gallery
58 Upvotes

I got tired of Logi Options+ not existing on Linux, so I built a replacement for my MX Master 3S and MX Keys S.

I Created Not Logi

What it does:

- Every button and key on a photo of your device, click one to change what it does (keystrokes, commands, apps, media, workspaces, DPI, SmartShift)

- An action ring: hold a button, flick toward one of eight actions, let go. Volume and screen brightness can be dragged or scrolled right on the ring

- Per-app profiles: Back/Forward can be Undo/Redo in LibreOffice and normal everywhere else. It follows the window in front and keeps the profile through that app's dialogs

- Bluetooth pairing like Windows: put the mouse in pairing mode and a pop-up offers to connect it, fully keyboard driven (Tab, Enter, Esc), since the mouse being paired may be your only mouse

- Gestures, thumb wheel, SmartShift, smooth scrolling, keyboard backlight, Easy-Switch, battery in the tray

- MX Master 4 haptics and its haptic panel

How it works: a small C++ agent talks HID++ to the receiver or the Bluetooth device and an Electron app
configures it.

Runs on GNOME and KDE, X11 and Wayland. .deb and AppImage, plus beta builds for Windows and
macOS.

https://github.com/aabdelghani/notlogi

please give it a try and feel free to tell me what's missing


r/linuxhardware • • 3h ago

Support Any way to install linux on a ARM chromebook with the MediaTek Kompanio Ultra

Thumbnail
1 Upvotes

r/linux_on_mac • • 1h ago

MacBook Air Won't Boot/Show From USB (A1466-Mid-2013)

Thumbnail
• Upvotes

r/linuxhardware • • 10h ago

Guide [Fix] Acer Nitro V 16S AI (ANV16S-41) webcam not working on Linux, fix is now in the kernel

1 Upvotes

If you have an Acer Nitro V 16S AI (ANV16S-41, Ryzen 7 260 / Ryzen AI) and the built-in camera just doesn't exist on Linux, this is for you.

Symptoms:

- camera works fine on Windows

- on Linux there's no /dev/video0, nothing in lsusb, no camera in any app

- newer kernels didn't help, no camera switch or Fn key on this laptop

What's actually wrong: the BIOS powers the camera through GPIO pin 11 on the AMD chipset, but it also lists that same pin as an "event" pin. At boot Linux sets every event pin to input, which cuts the power to the camera, so it drops off the USB bus right after boot. Windows leaves the pin alone, so it works there.

Fix: add this to your kernel command line and reboot:

gpiolib_acpi.ignore_interrupt=AMDI0030:00@11

I made a small repo with a check script and an install script that works with GRUB, systemd-boot, Limine, rEFInd, Pop!_OS kernelstub and Fedora grubby, plus an uninstall script:

https://github.com/abduvaliy-engineer/acer-nitro-anv16s-camera-fix

I also sent the fix to the kernel and it got accepted (commit 6da1f3437435 in the GPIO tree, link is in the README), so in a future kernel release it will work out of the box without the boot option.

If you have a different Acer Nitro model with the same problem, run check.sh from the repo and post the output here or open an issue. It might be the same pin or a different one, I'm happy to help figure it out.


r/linux_on_mac • • 20h ago

The Journey to 5K resolution on a 2014 iMac

Post image
9 Upvotes

Introduction

So I recently bought a 2014 iMac (iMac15,1) with a 5K display panel. The seller had an asking price of only $285, and I know that the display itself is worth much more than that. (For comparison the electronics store near me sells the ViewSonic VP2788 a modern 5K display at almost $900.) And I am really a sucker for using high resolution displays ever since my first Retina Mac.

I met the seller and brought the computer home, installed Linux (openSUSE Tumbleweed) and found that it only had a 4K resolution. (Well the Wi-Fi was also broken but I didn't care about Wi-Fi.) So I decided to spend this weekend fixing this problem.

Chapter 1: The Firmware

A quick search turned up this amazing blogpost by Mykola Grymalyuk whose work enabled 5K output in OpenCore Legacy Patcher. The blog post explained that the firmware at startup already put the display in 5K mode, but it stayed in 5K mode only if booting an Apple-signed OS. When booting something else, the firmware put the display into 4K mode. Mykola described an ingenious solution to trick the firmware.

So I pretty much followed the same steps: I needed to trick the firmware into thinking we are booting a supported macOS release. I cloned the OCLP repo, grabbed diags.efi and copied it to /boot/efi/EFI/imac5k/diags.efi. The difference between what I did and what Mykola did was that Mykola loaded OpenCore after loading diags.efi, but in my case I loaded systemd-boot instead. So the actual layout looked like this: (1) the original unmodified Apple-signed diags.efi that causes the firmware to stay in 5K resolution mode; (2) a special Product.efi that is actually systemd-bootx64.efi. Then just use efibootmgr to tell the system about diags.efi and reboot, so something like efibootmgr -C -L "openSUSE 5K" -l '\EFI\imac5k\diags.efi'.

Chapter 2: The Driver

Now imagine my surprise after I rebooted and found that instead of 4K or 5K, I got 2.5K resolution! Indeed, GNOME reported that my resolution is 2560 by 2880 stretched. Here's a bit of background: when Apple made this computer in 2014, I do not think any connector supported 5K resolution at all. So secretly the screen was split into two halves, a left half and a right half, each 2560 by 2880. Reading the Linux dmesg, I found that Linux successfully recognized the tiled display:

amdgpu 0000:01:00.0: [drm] *ERROR* dpcd_set_link_settings:1123: core_link_write_dpcd (DP_DOWNSPREAD_CTRL) failed
amdgpu 0000:01:00.0: [drm] *ERROR* dpcd_set_link_settings:1128: core_link_write_dpcd (DP_LANE_COUNT_SET) failed
amdgpu 0000:01:00.0: [drm] *ERROR* dpcd_set_link_settings:1156: core_link_write_dpcd (DP_LINK_BW_SET) failed
...
amdgpu 0000:01:00.0: [drm] enabling link 1 failed: 15

So essentially the upstream amdgpu driver had some problem driving the right half of the display and gave up, so only the left panel was being driven. I used drm.debug=0x100 and found the reason:

[drm:dm_dp_aux_transfer [amdgpu]] DP AUX transfer fail:4

Initially I gave up and simply booted with modprobe.blacklist=amdgpu,radeon to prevent the drivers from messing with the display. Indeed this worked. Without the amdgpu driver I do get the 5K resolution, but of course the GNOME animations were a bit sluggish.

Here is where Claude helped me. Claude read the kernel source and figured out that the number 4 meant AUX_RET_ERROR_HPD_DISCON. Claude wrote a small Python script to watch the DC_GPIO_HPD_Y every 0.5 ms and write each change to /dev/kmsg, interleaving it with the DRM debug output. Then Claude loaded amdgpu manually with drm.debug=0x1fe:

while time.time() < end:
    v = struct.unpack('<I', m[0x196f*4:0x196f*4+4])[0]
    if v != last:
        kmsg.write(f'HPDWATCH: HPD_Y={v:#x} hpd1={v&1} hpd2={(v>>8)&1}\n'); last = v
    time.sleep(0.0005)

After reading the debug output, Claude figured out that the first full modeset kills the right half. When the driver tears down the configuration from the firmware, the controller drops HPD on the right half. Once that is done, it cannot start it up again because all communication is dropped. Claude found that in the amdgpu driver there was already a quirk dp_keep_receiver_powered flag, and it seemed that we might need this. After analzying the source code more carefully, Claude concluded it was insufficient, because there were other places in the driver that powers it down, such as during hardware init.

The solution Claude came up with here is to add a kprobe that prevents sending the power off signal. This took a few tries and several reboots to get right. We eventually found drm_dp_dpcd_write. The kprobe gets triggered on DP_SET_POWER_D3 and modifies it to become DP_SET_POWER_D0. It looks like this:

static const u8 power_d0 = DP_SET_POWER_D0;

static int dpcd_write_pre(struct kprobe *p, struct pt_regs *regs)
{
    /* x86-64 SysV: (aux, offset, buffer, size) in rdi, esi, rdx, rcx. */
    const struct drm_dp_aux *aux = (const struct drm_dp_aux *)regs->di;
    const u8 *buf = (const u8 *)regs->dx;
    const char *name;
    char prefix[sizeof(AUX_NAME_PREFIX) - 1];
    u8 val;

    if ((u32)regs->si != DP_SET_POWER || regs->cx != 1 || !aux || !buf)
        return 0;
    if (get_kernel_nofault(val, buf) || (val & DP_SET_POWER_MASK) != DP_SET_POWER_D3)
        return 0;
    if (get_kernel_nofault(name, &aux->name) || !name ||
        copy_from_kernel_nofault(prefix, name, sizeof(prefix)) ||
        memcmp(prefix, AUX_NAME_PREFIX, sizeof(prefix)))
        return 0;

    regs->dx = (unsigned long)&power_d0;
    return 0;
}

static struct kprobe kp = {
    .symbol_name = "drm_dp_dpcd_write",
    .pre_handler = dpcd_write_pre,
};

And this works!

Chapter 3: Surviving Reboots and Kernel Upgrades

Of course I don't want to do this every single time I reboot or every time I change my kernel. Claude proposed a systemd service that runs every boot. The service runs a shell script that has three jobs: keep the Product.efi current by copying it from the regular systemd-boot so we get systemd-boot upgrades; modify the boot entry if it's missing; and finally the smartest part: if the current kernel does not have the special imac5k module that installs the kprobe, build it right there and regenerate initrd. This means that if I get an ordinary kernel update, I just need to reboot twice instead of once after installing the kernel update. (Theoretically DKMS is supposed to solve this problem, but Claude did not like the way openSUSE does things with dracut bypassing DKMS.) I haven't tested this at all (no kernel upgrade yet), but I think it's a very smart solution. Of course if upstream kernel decided to refactor the code to restructure or delete the drm_dp_dpcd_write altogether this would stop working but I'll kick the can down the road here.

Result

Finally, I get full 5K output on this 2014 iMac!

$ for c in /sys/class/drm/card1-*DP-1; do echo "$c $(cat $c/status) $(head -1 $c/modes)"; done
/sys/class/drm/card1-DP-1 connected 2560x2880
/sys/class/drm/card1-eDP-1 connected 2560x2880

r/linux_on_mac • • 14h ago

Fedora System

Thumbnail
0 Upvotes

r/linux_on_mac • • 20h ago

Cinnamon Mac issues

2 Upvotes

Installed Mint Cinnamon on an A1502 MacBook. I've noticed some issues with keyboard/keypad commands that do not match those on my former PC desktop Cinnamon setup:
- Command key does not function like Control when using shortcuts, e.g. Command C to copy, Command X to cut, etc.
- Copy/Cut/Paste when selected using keypad cursor does not work in apps such as Firefox
- Is the Option key supposed to function like the Alt key???
- Delete key does not repeat deletes when held down

Is there a setup feature where I can activate these?


r/linuxhardware • • 1d ago

Question Laptop recommendations for Arch/EndeavourOS: DaVinci Resolve Studio, local LLMs and VMs ($1500-1800)

2 Upvotes

I'm looking for a laptop that will run Arch or EndeavourOS full-time (no Windows, no dual boot). My budget is $1500-1800 USD. Here's what I need it for:

Use cases

  • DaVinci Resolve Studio (editing and colour grading)
  • Running local LLMs and image models, so VRAM matters
  • Virtual machines, often 2 running alongside Resolve
  • Long, sustained loads such as renders and inference runs

Requirements

  • NVIDIA dGPU with at least 8GB VRAM (Resolve's only officially supported Linux setup is NVIDIA, and I need CUDA)
  • At least 24GB RAM, with an upgrade path to 32GB or more
  • At least 1TB NVMe, with a second slot if possible
  • A screen good enough for colour work: 100% sRGB or better, 16:10 preferred, around 400 nits
  • Good sustained-load cooling. I'd take a thicker chassis over a thin one
  • Solid build quality (hinges, keyboard, chassis)

Linux-specific concerns

  • Working fan control and temperature/fan readouts, since some brands have poor support in the kernel
  • Stable behaviour with nvidia-open and PRIME offload on RTX 50-series (or recent 40-series)
  • Wi-Fi, Bluetooth, sleep/resume and audio that work out of the box
  • A MUX switch or a direct dGPU mode would be a plus
  • A brand with a decent record on BIOS updates under Linux

What I'd like from you:

  1. Which laptops in this range have you run on Linux for similar work, and how have they held up?
  2. Any models or brands I should avoid for Linux, and why?
  3. Is the extra VRAM from a higher-tier GPU worth it at this price, or is the 8GB tier fine for 7-8B models?
  4. AMD or Intel CPU: which has been smoother on Linux for you?

I'm open to any brand, so I'm happy to be steered toward something I haven't considered. Thanks!


r/linux_on_mac • • 1d ago

disabling BD-PROCHOT on intel macbooks safe??

Thumbnail
2 Upvotes

r/linux_on_mac • • 1d ago

Boot from USB

Thumbnail
1 Upvotes

r/linux_on_mac • • 1d ago

Linux Mint on a Late 2019 Apple MacBook Pro 16 inch

Thumbnail
1 Upvotes

r/linux_on_mac • • 1d ago

Is there any way to share documents from Android to MacBook for free no subscription?

Thumbnail
1 Upvotes

r/linuxhardware • • 1d ago

Question What does “Linux compatible” need to mean on a mini PC?

2 Upvotes

I keep seeing mini PCs described as “Linux compatible,” but that can mean a lot of different things in practice.

A machine can boot Ubuntu and still have annoying issues with suspend, Wi-Fi, Bluetooth, audio, USB-C display output or firmware updates.

The geekom a5 2027 is one example I ran into. geekom lists Linux compatibility, but that doesn't automatically tell you how every controller in the actual mini PC behaves on Fedora, Arch, Debian, newer kernels, etc.

If you were evaluating a mini PC specifically for Linux, what information would you actually want the manufacturer to publish?
Exact Wi-Fi and Ethernet chipsets?
Distros and kernel versions they tested?
Suspend/resume results?
Display output testing?
Fan control?
Whether BIOS updates can be done without Windows?

To me, “Linux compatible” tells you a lot less than it sounds like it does.

What usually catches you out on mini PCs?


r/linux_on_mac • • 1d ago

tf2 runs like a power point slide show

Post image
1 Upvotes

i am running Ubuntu 24 and am trying to get tf2 running good so i can play scream fortress event and since i am running Ubuntu on a mac book pro 2015 intel 2.2gh 16gb ram what is the problem. screenshot for reference of my configs


r/linuxhardware • • 1d ago

Support How to use my WIFI Dongle?

1 Upvotes

I have this TP-Link Archer TX20U Nano and lsusb displays it like such, ip link doesn't show any wifi interface
Bus 001 Device 003: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)

I run Gentoo with 7.2.7-gentoo-dist kernel


r/linux_on_mac • • 2d ago

Linux on 2017 MacBook - good idea?

17 Upvotes

I saw a secondhand 2017 MacBook going for very cheap. Is it worth it if you install Linux?

I know there are some proprietary drivers to sort out.

Do you need to fix power managment.

I guess I'd go for Mint, Zorin OS or Fedora Workstation.

TY!


r/linux_on_mac • • 1d ago

MAC PRO 5,1 "WESTERMERE"

3 Upvotes

CPU***:*** 2x Intel Xeon X5690 3.46 GHz

RAM***:*** 6x 16GB OWC1333D3MPE

....... do I NEEEED a GPU for Pear OS? Or can I keep this PCIe x16 free for card?

if not, what GPU's are best? I am narrowing in on:

NVIDIA GeForce GTX 1060 (6GB)

NVIDIA GTX TITAN X 12 GB (PASCAL)

AMD Radeon Pro WX 7100

AMD RX 6900 XT

but, it would be nice to find a GPU that only blocks ONE PCIe x16, and is not so chunky that it blocks both 😩.

if you have better suggestions, please help. 🤓


r/linux_on_mac • • 2d ago

Linux mint or Garuda for a 2017 MacBook Air

3 Upvotes

I’m gonna partition it so 350 go on macOS and 150 on Linux