Reply To: Freezes completely.

Forum › Forums › New users › New Users and General Questions › Freezes completely. › Reply To: Freezes completely.

#186988
clamclocker
Member

    “Execute disable bit capability” was already disabled in BIOS.

    I need to emphasize – freezes even after a fresh and during a live dvd boot during apt upgrade. I have already spent so much time trying to get better video playback in mpv. I do not want to spend anymore time with mpv until i can stop the freezing issue as i believe there is a root cause of freezing that happens without mpv. i can try to re optimize mpv again once the os is stable.

    i have already optimized mpv player as it is right now.

    # =======================
    # mpv.conf (AntiX setup)
    # =======================

    # ———- YouTube format selection ———-
    # Prefer <=480p H.264 (low CPU), fallback to best available
    ytdl-format=bestvideo[height<=480][vcodec^=avc]+bestaudio/best[height<=480]/best

    # ———- User-Agent spoof (pretend SeaMonkey/Firefox) ———-
    ytdl-raw-options-add=add-header=User-Agent:Mozilla/5.0 (X11; Linux i686; rv:128.0) Gecko/20100101 Firefox/128.0

    # ———- Video output ———-
    vo=xv,x11
    hwdec=no
    scale=nearest

    # ———- Caching ———-
    cache=yes
    cache-secs=45
    demuxer-max-bytes=125MiB
    demuxer-readahead-secs=45

    # ———- Audio ———-
    ao=alsa
    audio-channels=stereo

    # ———- Stability / Convenience ———-
    pause=no
    osc=yes
    keep-open=yes

    cookies script

    #!/bin/bash
    # Export SeaMonkey cookies → strict Netscape format for yt-dlp/mpv

    OUTFILE=”$HOME/.config/mpv/seamonkey-cookies.txt”
    PROFILE=$(ls -d “$HOME/.mozilla/seamonkey/”*.default* | head -n 1)
    SQLITE=”$PROFILE/cookies.sqlite”
    TMPDB=”/tmp/seamonkey_cookies_$$.sqlite”

    # Copy DB first (avoids lock if SeaMonkey is running)
    cp -f “$SQLITE” “$TMPDB”

    # Extract cookies
    sqlite3 -separator $’\t’ “$TMPDB” \
    “SELECT host, path, isSecure, expiry, name, value FROM moz_cookies;” \
    | awk -F’\t’ ‘{
    host=$1; path=$2; isSecure=$3; expiry=$4; name=$5; value=$6;
    include_subdomains = (substr(host,1,1)==”.”) ? “TRUE” : “FALSE”
    secure = (isSecure==1) ? “TRUE” : “FALSE”
    print host “\t” include_subdomains “\t” path “\t” secure “\t” expiry “\t” name “\t” value
    }’ >”$OUTFILE”

    # Add Netscape header
    sed -i ‘1i# Netscape HTTP Cookie File’ “$OUTFILE”

    chmod 600 “$OUTFILE”
    rm -f “$TMPDB”

    not sure what this does
    #!/bin/bash

    case $(tty) in
    */pts/*) arg= ;;
    *) arg=”–vo=drm” ;;
    esac

    [ -n “$DISPLAY” ] && arg=

    /usr/bin/mpv $arg “$@”