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
“Hardware video acceleration” and “Firefox” on ArchLinux are very useful and detail resource.
Most AMD cards earlier than Graphics Core Next (GCN) architecture fails to play YouTube videos with 1080p 60p with the help of UVD. The GPU decoder is just too slow.
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
Identifier "Intel Graphics"
Option "TearFree" "true"
Option "DRI" "3"
Continue reading “Tearing with Intel Graphics in Ubuntu Portrait Mode” →
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)
nVidia: [FIXED] Suspend / Resume issues with the driver version 470 nVidia: Ubuntu 20.04 with nvidia-460 driver freezes randomly after resume from suspend/hibernate askUbuntu: Ubuntu 20.04 doesn’t wake up after suspend
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 GPU Supported Video Codec Use CloudReady to Test Test Procedure CloudReady Test Result i5-6500 with Intel HD Graphics 530 i5-9400f with nVidia gt720 J3455 Ryzen 2200g Monitor Hardware Video Acceleration Intel AMD NVIDIA Terminology Vulkan, VA-API, & VD-PAU ANGLE Installation & Configuration GPU Drivers Chrome & Chromium Firefox VA-API Extra Codecs Firefox Configurations Verify Final Thoughts Chrome Firefox Reference Quick Guide
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. Continue reading “Enable Hardware Video Acceleration in Chrome / Chromium / Firefox on Ubuntu 20.04” →
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
184.108.40.206 +12V CPU Power Connector (Required) in Single Rail Power Supply ATX12VO Design Guide and 220.127.116.11 +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.
Intel: Single Rail Power Supply ATX12VO Design Guide Intel: Power Supply Design Guide for Desktop Platform Form Factors molex: 39012040 molex: 444761112 molex: 39299042
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 Continue reading “Prepare the LAMP Development Environment with VisualStudio Code and VirtualBox” →