diff --git a/doc/chromium.md b/doc/chromium.md index 4c2bbd1..592f1d6 100644 --- a/doc/chromium.md +++ b/doc/chromium.md @@ -1,3 +1,4 @@ +# refer 1. install vaapi vdpau package: archlinux ```sh @@ -8,3 +9,11 @@ - chrome://flags/#enable-accelerated-video-decode 3. verification - chrome://gpu + +# references + +- [How To Enable Hardware Accelerated Video Decode In Google Chrome, Brave, Vivaldi And Opera Browsers On Debian, Ubuntu Or Linux Mint - Linux Uprising Blog](https://www.linuxuprising.com/2021/01/how-to-enable-hardware-accelerated.html) + +``` +google-chrome-stable --use-gl=desktop --enable-features=VaapiVideoDecoder +``` diff --git a/doc/golang.md b/doc/golang.md new file mode 100644 index 0000000..98a7dce --- /dev/null +++ b/doc/golang.md @@ -0,0 +1,6 @@ +# Debugging +- debug a specific test-case +```sh +dlv test --build-flags='path/to/module' -- -test.run ^TestFunctionName$ +``` +