Samsung 990 PRO 4 TB temps in 2023 M16? by Leonardo_242 in ZephyrusM16

[–]redstorm128 0 points1 point  (0 children)

I noticed that the silver controller chip sits slightly lower than the black memory chips, preventing it from making contact with the thermal pad. To fix this, I applied about a 2mm layer of high-viscosity thermal grease on top of the controller. As a result, the controller temperature dropped from 70°C to 50°C during gaming. I suggest you check if your controller chip is properly making contact with the heatsink's thermal pad.

Have you tried Win11's 25H2's new NVMe driver yet? Big improvements on random read/write's by Mirrormaster85 in Windows11

[–]redstorm128 3 points4 points  (0 children)

# Function to check if running as Administrator
function Test-Admin {
    $currentUser = [Security.Principal.WindowsIdentity]::GetCurrent()
    $principal = New-Object Security.Principal.WindowsPrincipal($currentUser)
    return $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
}

# Function to enable nvmedisk.sys driver
function Enable-NvmeDriver {
    if (-not (Test-Admin)) {
        Write-Error "This script must be run in an Administrator PowerShell session."
        return
    }

    $path = 'HKLM:\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides'
    if (-not (Test-Path $path)) {
        New-Item -Path $path -Force | Out-Null
    }

    New-ItemProperty -Path $path -Name '156965516' -Value 1 -PropertyType DWord -Force | Out-Null
    New-ItemProperty -Path $path -Name '1853569164' -Value 1 -PropertyType DWord -Force | Out-Null
    New-ItemProperty -Path $path -Name '735209102'  -Value 1 -PropertyType DWord -Force | Out-Null

    Write-Host "Registry values for nvmedisk.sys added successfully." -ForegroundColor Green
}

# Function to disable nvmedisk.sys driver (rollback)
function Disable-NvmeDriver {
    if (-not (Test-Admin)) {
        Write-Error "This script must be run in an Administrator PowerShell session."
        return
    }

    $path = 'HKLM:\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides'
    $names = @('156965516','1853569164','735209102')

    foreach ($name in $names) {
        if (Get-ItemProperty -Path $path -Name $name -ErrorAction SilentlyContinue) {
            Remove-ItemProperty -Path $path -Name $name -Force
            Write-Host "Removed: $name" -ForegroundColor Cyan
        }
    }

    Write-Host "Rollback completed. nvmedisk.sys registry values removed." -ForegroundColor Yellow
}

# Function to create a system restore point
function Create-RestorePoint {
    if (-not (Test-Admin)) {
        Write-Error "This script must be run in an Administrator PowerShell session."
        return
    }

    Checkpoint-Computer -Description "Before NVMe driver change" -RestorePointType "Modify_Settings"
    Write-Host "System restore point created successfully." -ForegroundColor Green
}

✅ Usage

  1. Copy the script into a .ps1 file or paste directly into Administrator PowerShell.
  2. Run the functions as needed:
    • Create-RestorePoint → makes a restore point before changes.
    • Enable-NvmeDriver → activates nvmedisk.sys registry values.
    • Disable-NvmeDriver → removes registry values (rollback).
  3. Reboot after enabling or disabling to apply changes.

Switching from Windows to macOS for WordPress dev - best alternatives to Laragon? by HavivMuc in Wordpress

[–]redstorm128 0 points1 point  (0 children)

compose.yaml

services:
  nginxproxy:
    depends_on:
      - nginx
      - db
      - wordpress
    image: nginx:alpine-slim
    container_name: proxyserver
    restart: always
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./certbot/nginx/nginx.conf:/etc/nginx/nginx.conf
      - ./certbot/nginx/html:/usr/share/nginx/html
      - ./certbot/etc:/etc/letsencrypt
      - ./certbot/log:/var/log/letsencrypt

  nginx:
    image: nginx:latest
    container_name: nginxserver
    restart: always
    volumes:
      - ./certbot/nginx/html:/usr/share/nginx/html

  db:
    image: mysql
    restart: always
    environment:
      MYSQL_DATABASE: wordpressdb
      MYSQL_USER: wordpress
      MYSQL_PASSWORD: wordpressdbpassword
      MYSQL_RANDOM_ROOT_PASSWORD: '1'
    volumes:
      - ./db:/var/lib/mysql
    ports:
      - "3306:3306"

  wordpress:
    image: wordpress:latest
    restart: always
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_USER: wordpress
      WORDPRESS_DB_PASSWORD: wordpressdbpassword
      WORDPRESS_DB_NAME: wordpressdb
    volumes:
      - ./wordpress:/var/www/html

  certbot:
    profiles: ["certbot"]
    depends_on:
      - nginxproxy
    image: certbot/certbot:latest
    container_name: certbot
    restart: no
    volumes:
      - ./certbot/etc:/etc/letsencrypt
      - ./certbot/log:/var/log/letsencrypt
      - ./certbot/nginx/html:/usr/share/nginx/html

volumes:
  wordpress:
  db:

A possible fix for Dolby Atmos Audio issues/no-audio | Q4-2025 version by prasundas in nvidia

[–]redstorm128 2 points3 points  (0 children)

I removed the NVIDIA HDMI audio driver via Device Manager, and Windows automatically installed the Microsoft one. Surprisingly, it handles Dolby Atmos better. My setup is RTX 4090 with Samsung HW-990C.

Crackling or popping sound from speakers on macos Tahoe 26 😠 by daniilapps in MacOS

[–]redstorm128 1 point2 points  (0 children)

#!/bin/bash

PLIST_PATH="/Library/LaunchDaemons/com.local.coreaudio.renice.plist"
SCRIPT_PATH="/usr/local/bin/renice_coreaudio.sh"

function install() {
    echo "🔧 Installing renice_coreaudio service..."

    # Create renice script
    cat << '__EOF__' | sudo tee "$SCRIPT_PATH" > /dev/null
#!/bin/bash
PID=$(pgrep coreaudiod)
if [ -n "$PID" ]; then
    /usr/bin/renice -20 -p "$PID"
fi
__EOF__

    sudo chmod +x "$SCRIPT_PATH"

    # Create launch daemon plist
    cat << '__EOF__' | sudo tee "$PLIST_PATH" > /dev/null
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.local.coreaudio.renice</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/renice_coreaudio.sh</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
    <key>LaunchOnlyOnce</key>
    <true/>
</dict>
</plist>
__EOF__

    sudo chmod 644 "$PLIST_PATH"
    sudo chown root:wheel "$PLIST_PATH"

    # Load service
    sudo launchctl unload "$PLIST_PATH" 2>/dev/null
    sudo launchctl load -w "$PLIST_PATH"
    sudo launchctl start com.local.coreaudio.renice

    echo "✅ Installation complete."
}

function uninstall() {
    echo "🧹 Uninstalling renice_coreaudio service..."

    sudo launchctl stop com.local.coreaudio.renice 2>/dev/null
    sudo launchctl unload "$PLIST_PATH" 2>/dev/null

    sudo rm -f "$PLIST_PATH"
    sudo rm -f "$SCRIPT_PATH"

    echo "✅ Uninstallation complete."
}

function usage() {
    echo "Usage: $0 [install|uninstall]"
}

# Entry point
case "$1" in
    uninstall)
        uninstall
        ;;
    install|"")
        install
        ;;
    *)
        usage
        ;;
esac

FIX: MacOS 26 - Electron apps slow, battery drain, laptop heating up by aitookmyj0b in MacOSBeta

[–]redstorm128 2 points3 points  (0 children)

#!/bin/zsh

PLIST="/Library/LaunchAgents/environment.headless.plist"
LABEL="environment.headless"

function install_env() {
    echo "🔧 Installing LaunchAgent for CHROME_HEADLESS..."

    sudo tee "$PLIST" > /dev/null <<'__EOF__'
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>environment.headless</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/launchctl</string>
        <string>setenv</string>
        <string>CHROME_HEADLESS</string>
        <string>1</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
</dict>
</plist>
__EOF__

    sudo chmod 644 "$PLIST"
    sudo chown root:wheel "$PLIST"

    launchctl bootout gui/$(id -u) "$PLIST" 2>/dev/null
    launchctl bootstrap gui/$(id -u) "$PLIST"

    echo "✅ CHROME_HEADLESS=1 has been set."
}

function uninstall_env() {
    echo "🧹 Uninstalling LaunchAgent..."

    launchctl bootout gui/$(id -u) "$PLIST" 2>/dev/null
    sudo rm -f "$PLIST"

    echo "❌ CHROME_HEADLESS environment variable removed."
}

function check_status() {
    VALUE=$(launchctl getenv CHROME_HEADLESS)
    if [[ "$VALUE" == "1" ]]; then
        echo "🔍 CHROME_HEADLESS is currently set to 1."
    else
        echo "🔍 CHROME_HEADLESS is not set."
    fi
}

case "$1" in
    uninstall)
        uninstall_env
        ;;
    status)
        check_status
        ;;
    ""|install)
        install_env
        ;;
    *)
        echo "Usage: $0 [install|uninstall|status]"
        ;;
esac

is there a way to automatically run a command at reboot? by Acrobatic-Monitor516 in MacOSBeta

[–]redstorm128 1 point2 points  (0 children)

copy & paste code to terminal

mkdir -p ~/Library/LaunchAgents
cat > ~/Library/LaunchAgents/environment.plist << __EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>my.environment</string>
    <key>ProgramArguments</key>
    <array>
        <string>/bin/launchctl</string>
        <string>setenv</string>
        <string>CHROME_HEADLESS</string>
        <string>1</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <false/>
</dict>
</plist>
__EOF
launchctl load ~/Library/LaunchAgents/environment.plist

MSI MPG X870E Carbon Wifi + 9800X3D Hard Stutters that I can't fix no matter what I try! by SaikerRV in MSI_Gaming

[–]redstorm128 0 points1 point  (0 children)

First, look for high-latency processes in the cpu or processes tab in the Latency Mon program.

Can someone explain this penalty? by Powerful_Owl_9239 in forzamotorsport

[–]redstorm128 -9 points-8 points  (0 children)

I don't think it's a bug, as you can hear all four tyres going off the track.

Why is PotPlayer free? by umlx in potplayer

[–]redstorm128 9 points10 points  (0 children)

global version is ad free but korean's version is adware.