Firefox supports hardware video acceleration via VA-API and Wayland. Both Intel and AMD support VA-API. NVIDIA needs to use the open-source Nouveau or nvidia-vaapi-driver.Continue reading “Enable FireFox Hardware Video Acceleration on Ubuntu”
I use a PicoPSU-like solution with a 120W external adapter. Sometimes the i5-9400F PC consumes up to 96W. I feel uncomfortable about it and decide to lower power consumption by setting a new turbo frequency limit.Continue reading “Turbo Frequency and Power Consumption”
I use the portrait mode in Ubuntu 20.04 running wayland on i5-9500. The build-in Intel HD Graphics 530 has tearing issues: refresh slowly while scrolling.
After several testing, the solution is to load the dri3 module and enable the “TearFree” option in 20-intel.conf or 20-intel-graphics.conf:
$sudo nano /etc/X11/xorg.conf.d/20-intel.conf Section "Module" Load "dri3" EndSection Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" Option "DRI" "3" EndSection
The Ubuntu 20.04LTS running on my i5-9400F and nVIDIA GT720 won’t wake up from suspend mode. It’s related to the proprietary driver nvidia-driver-470. Disabling nvidia-suspend solves this issue but the authentication dialog will pop up twice from suspend every time.
$sudo systemctl disable nvidia-suspend
To check if these related services are still running:
$sudo systemctl status nvidia-suspend nvidia-hibernate nvidia-resume ● nvidia-suspend.service - NVIDIA system suspend actions Loaded: loaded (/lib/systemd/system/nvidia-suspend.service; disabled; vend> Active: inactive (dead) ● nvidia-hibernate.service - NVIDIA system hibernate actions Loaded: loaded (/lib/systemd/system/nvidia-hibernate.service; enabled; ven> Active: inactive (dead) ● nvidia-resume.service - NVIDIA system resume actions Loaded: loaded (/lib/systemd/system/nvidia-resume.service; enabled; vendor> Active: inactive (dead)
This post keep tracking my test enabling video hardware acceleration on Ryzen 2200g and Intel i5-6500 using integrated graphic card.
Table of Contents
- Table of Contents
- Quick Guide
- Testing Video Hardware Acceleration on Chrome/Chromium
- Monitor Hardware Video Acceleration
- Installation & Configuration
- Final Thoughts
- No huge performance advantage when hardware accelerated video decode has been enabled in Chomre/chromium on i5-6500 and J3455. The CPU usage is still high to me.
- Fail to enable hardware accelerated video decode with Ryzen 2200g
- It’s easier to test using CloudReady to know if the hardware accelerated video decode feature in Chrome/Chromium is supported.
- Some video issues if hardware accelerated video decode is enabled on Ubuntu 20.04LTS.
Table of Contents
- Get and install nagisa’s msi-rgb utlity for msi motherboards.
- OpenRGB is an alternative solution and supports more motherboards.
- Turn off by running ‘
sudo /home/amigo/msi-rgb/target/release/msi-rgb -x 00000000 00000000 00000000‘.
- Use crontab to turn off after boot.
- Create a shell script in /lib/systemd/system-sleep/ to turn off after resume.
Table of Contents
- Quick Guide
- Feedback from Communities
- How it works
- AdGuard Home and AdGuard DNS
- Use in a Router
- Use in Asus RT-AC1200G+
- Use in Huawei B311As-853
- Use in Android Devices
- Use in iOS Devices
- AdGuard Protected DNS: 22.214.171.124, 126.96.36.199.
- AdGuard Protected DNS-over-TLS: dns.adguard.com
- The WAN DNS is the DNS used by the router.
- The DHCP DNS is the DNS assigned to the DHCP client.
- SSH login and run ‘
nvram set dhcp_dns1_x=188.8.131.52 ; nvram set dhcp_dns2_x=184.108.40.206 ; nvram commit ; service restart_dnsmasq‘ to change the DHCP DNS in RT-AC1200G+
- On Android, create a Private DNS with the DNS-over-TLS in Android 9 and newer.
- On iOS, assign the DNS SERVERS in the WiFi connection.
|[reference number]||Source links are managed in the reference section|
|[icon, button, and menu item name]||Clickable or selectable items|
|“field and label name, messages”||Fixed text strings|
|‘input string, code, command, command parameters, and url’||User-editable text strings|
|command name, script name, application, file/folder name, and post/article section||Name of a command, option, and item|
|highlight||Key items and conclusion|
|PHP color coding with line numbers|
|bash in colors|
|Do not disturb||⛔|
|Dot in the middle||⋅|
Because the i5-9400F consumes 80W at-wall while loading 300 tabs in Chrome, which is a huge jump from 30W at idle, I want to know if it is safe using the only 4-pin CPU power connector on Gigabyte H310M S2V 2.0 (rev. 1.0).
I checked the 220.127.116.11 +12V CPU Power Connector (Required) in Single Rail Power Supply ATX12VO Design Guide and 18.104.22.168 +12V Power Connector in Power Supply Design Guide for Desktop Platform Form Factors. Molex 39012040 and 444761112 are used on the PSU and 39299042 on the motherboard.
The maximum current can be found in the Part Details ➞ Electrical ➞ Current – Maximum per Contact on their datasheet respectively:
- molex 39012040: 13.0A
- molex 444761112: 11.0A
- molex 39299042: 9.0A
Because the voltage is 12V and the minimum curent of the above parts is 9.0A, the maximum power is 12V x 9.0A = 108W.
For PHP development, I preferred to code in the host and run in the guest OS. It helps to keep the host clean and stable. Because PHP and APEX are both required, I switch from NetBeans to Visual Studio Code.
- Install and Configure Visual Studio Code and PHP Extensions
- Import and Configure TurnKey LAMP Stack