hardware acceleration for 8845HS on Linux

Somehow I noticed that my Chrome is not using hardware acceleration, even though all amd drivers and vaapi are all set up correctly. After struggling a lot with the flags in Chrome, I realize it is likely something not my fault. This makes me doubt that how many KWh have I wasted on Chrome in the past in Linux….

My solution is to use firefox instead, with the following flags. The CPU usage on 8k videos is now below 10%.

media.ffmpeg.vaapi.enabled = True

wifi6e with mt7922 on Linux

I recently got a laptop with MT7922 on it, and I happen to have a WIFI-7 router. So it it naturally that I want to connect to 6GHz. But somehow my Linux was able to see the 6GHZ wifi SSID, but unable to connect it.

Turns out it is my ieee80211 region not being set correctly. It is showing as region 00 (world), but not my local region.

Doing the following and reboot can make it work.

echo “options cfg80211 ieee80211_regdom=US” | sudo tee /etc/modprobe.d/mt7921-kernel67-fix.conf

https://forums.linuxmint.com/viewtopic.php?t=429474