Monday, October 30, 2023

HDMI and Display Port versions

 HDMI and Display Port versions:

In general, lower refresh rates the same, higher + variable fresh rates:
dp 1.4     > hdmi 2.0
hdmi 2.1 > dp 1.4
dp 2.1     > hdmi 2.1
 

Capabilities depends on graphics card, monitor, cable

Good read, overview of current hdmi + display port versions
source  https://www.tomshardware.com/features/displayport-vs-hdmi-better-for-gaming

nvidia RTX 3000/4000 and amd RX 6000/7000: hdmi 2.1
nvidia RTX 3000/4000 and amd RX 6000: dp 1.4
amd RX 7000: dp 2.1
usbc 4, thunderbolt: dp 1.2 to 2.1
source https://www.cablematters.com/Blog/HDMI/displayport-vs-hdmi

               HDMI    HDMI    HDMI     DP      DP      DP      DP 
  	       1.4     2.0     2.1     1.2     1.3     1.4     2.0
1080p @ 120Hz 	✅ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
1440p @ 30Hz 	✅ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
1440p @ 60Hz 	✅ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
1440p @ 120Hz 	❌ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
4k @ 30Hz 	✅ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
4k @ 60Hz 	❌ 	✅ 	✅ 	✅ 	✅ 	✅ 	✅
4k @ 120Hz 	❌ 	❌ 	✅ 	❌ 	✅ 	✅ 	✅
8k @ 30Hz 	❌ 	❌ 	✅ 	❌ 	✅ 	✅ 	✅
8k @ 60Hz 	❌ 	❌ 	✅ 	❌ 	❌ 	✅ 	✅
8k @ 120Hz 	❌ 	❌ 	✅ 	❌ 	❌ 	❌ 	✅
HDR 	        ❌ 	✅ 	✅ 	❌ 	❌ 	✅ 	✅

source https://www.cablematters.com/Blog/HDMI/displayport-vs-hdmi

 

-End of Document-
Thanks for reading

 

Monday, October 9, 2023

Useful Linux Commands

Some useful Linux commands


  • cat

    cat [file]

    • cat = dump file contents to terminal; ls -l to ensure small file
  • df

    df -h

    • df = show disks space per partition
      • / = separate volume/disk for root os, logs
      • /data = separate volume/disk for websites, apps
    • -h = human readable size
  • grep

    grep [search] [files]

    • grep = filter results, look for patterns in files
    • Example: grep Error *.log
  • htop

    htop

    • htop = top list of processes, nicely colored; can sort, filter
  • kill

    kill [pid]

    • kill = force stop/kill a process; only use for 'hung' process
    • [pid] = pid from ps aux list
  • ls

    ls -lhtr [dir]

    • ls = list contents of directory
    • -l = details
    • -h = human readable sizes
    • -t = sort by time
    • -r = reverse sort, so new shows at bottom
    • -1 = just list names in a single column
    • Example: ls -lhtr logs/*
  • ps

    ps aux

    • ps = process list
    • a = all, including other users
    • u = user format
    • x = register format
    • Example: ps aux | grep nginx
  • reboot

    sudo reboot

    • reboot = reboot server; should not be needed; restart individual services
  • systemctl

    sudo systemctl [action] [process]

    • systemctl = manage services such as nginx, php-fpm
    • Example: sudo systemctl status nginx
    • Example: sudo systemctl restart nginx
    • Example: sudo systemctl status php-fpm
    • Example: sudo systemctl restart php-fpm
  • tail

    tail -f -n50 [file]

    • tail = returns the last few lines of a file
    • -n# = number of lines
    • -f = follow, useful for tailing an active log file
    • Example: tail -f logs/app.log
  • vim

    vim [file]

    • vim, vi = text editor; ls -l to ensure small file
    • arrow keys = move cursor
    • shift G = go to end of file
    • ctrl u = page up
    • ctrl d = page down
    • /[patttern] = search for pattern
    • esc = get out of most vi modes
    • :q = quit
    • :q! = quit without writing
    • :wq = write, quite
    • note, if quit a SSH session with a file vi-ed/open, be sure to SSH in again and cleanup the vi auto backup [file]~; vi-ing the original file again will prompt you about
    • Example: sudo vim /var/log/messages

-End of Document- 
Thanks for reading