phoronix-test-suite在离线环境里安装SVT-AV1失败的解决方法

踩坑:

离线环境安装过程中因为无法连接github遇到download e649baaa95efeb61517c06cc783287d4942ffe0e.zip失败的提示。

解决方法:

  1. 先执行一遍./phoronix-test-suite install pts/svt-av1-2.16.0
  2. 在可联网机器上下载e649baaa95efeb61517c06cc783287d4942ffe0e.zip并上传至服务器放在~/.phoronix-test-suite/installed-tests/pts/svt-av1-2.16.0/SVT-AV1-v3.0.0/Build/linux/Release/_deps/cpuinfo-subbuild/cpuinfo-populate-prefix/src/.下
  3. 修改~/.phoronix-test-suite/test-profiles/pts/svt-av1-2.16.0/install.sh,将里面的7z解压及SVT-AV1-v3.0.0.tar.bz2解压语句全部注释,以便后续修改make文件
  4. 修改~/.phoronix-test-suite/installed-tests/pts/svt-av1-2.16.0/SVT-AV1-v3.0.0/Build/linux/build.sh,将build()中的make clean语句全部去掉
  5. 修改~/.phoronix-test-suite/installed-tests/pts/svt-av1-2.16.0/SVT-AV1-v3.0.0/Build/linux/Release/_deps/cpuinfo-subbuild/cpuinfo-populate-prefix/src/cpuinfo-populate-stamp/download-cpuinfo-populate.cmake,去掉里面的download文件步骤
  6. 按照3步骤里的install.sh语句,手动执行"./build.sh release --enable-lto --enable-avx512",编译完成
  7. 修改~/.phoronix-test-suite/installed-tests/pts/svt-av1-2.16.0/pts-install.json
    {
        "test_installation": {
            "status": "INSTALLED",
            "environment": {
                "test_identifier": "pts\/svt-av1-2.16.0",
                "test_version": "2.16.0",
                "install_checksum": "42634b7083ba84a746bb89da55d227b0",
                "system_hash": "QU1EIFJ5emVuIDcgOTcwMFggOC1Db3JlX19VYnVudHUgMjQuMDRfX0dDQyAxMy4zLjBfXw==",
                "compiler_data": {
                    "compiler-type": "CXX",
                    "compiler": "g++",
                    "compiler-options": "-march=native -mno-avx -mavx2 -mavx512f -mavx512bw -mavx512dq"
                },
                "install_footnote": null
            },
            "history": {
                "install_date_time": "2025-04-29 02:53:49",
                "last_run_date_time": "2025-05-09 02:59:39",
                "install_time_length": 505,
                "times_run": 16,
                "average_runtime": 219,
                "latest_runtime": 111,
                "per_run_times": {
                    "all": {
                        "values": [
                            33,
                            33,
                            108,
                            109,
                            34,
                            105,
                            33,
                            33,
                            108,
                            109,
                            31,
                            31,
                            108,
                            108,
                            36,
                            144
                        ],
                        "total_times": 16,
                        "avg": 73
                    },
                    "0dd5723583ee9bbdfd8e304f19ca44d4438bab90": {
                        "values": [
                            108,
                            109,
                            105,
                            108,
                            109,
                            108,
                            108,
                            144
                        ],
                        "total_times": 8,
                        "desc": "Encoder Mode: Preset 5 - Input: Bosphorus 4K",
                        "avg": 113
                    },
                    "3c4e31fd10ca813bd548622a8b8fd0a08b7c7130": {
                        "values": [
                            36
                        ],
                        "total_times": 1,
                        "desc": "Encoder Mode: Preset 13 - Input: Bosphorus 4K",
                        "avg": 36
                    },
                    "534a0cefe4de4b72b731626603f51007c7ef973b": {
                        "values": [
                            33,
                            33,
                            34,
                            33,
                            33,
                            31,
                            31
                        ],
                        "total_times": 7,
                        "desc": "Encoder Mode: Preset 8 - Input: Bosphorus 4K",
                        "avg": 33
                    }
                }
            }
        }
    }
    

8. 执行 ./phoronix-test-suite run pts/svt-av1-2.16.0,可正常运行

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值