Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

step7 gpu_available判断异常 #275

Open
borzj opened this issue Nov 20, 2024 · 3 comments
Open

step7 gpu_available判断异常 #275

borzj opened this issue Nov 20, 2024 · 3 comments

Comments

@borzj
Copy link

borzj commented Nov 20, 2024

我的电脑是amd核显, 为什么这里会判断我有NVIDIA GPU.
image
而我自己运行check_gpu_available函数的时候却是False
image

@Huanshere
Copy link
Owner

这个 h264_nvenc 应该是仅限于 N 卡的(AMD 显卡应该是使用 h264_amf),对于你的情况,正确显示应该是没有检测到 N 卡。请问具体两个情况是什么呢?听起来像是一键运行显示有 N 卡,单步运行显示没 N 卡?

@borzj
Copy link
Author

borzj commented Nov 21, 2024

我是amd核显,没有独立显卡,上面第一张图是我运行st.py正常启动项目的,第二张图是我单独跑了一下check_gpu_available函数。
跑项目的时候这里判断错误导致后面的步骤失败了。我也没搞清楚为什么正常启动会判断错误,而单独跑check_gpu_available会正确。

@Huanshere
Copy link
Owner

确实很奇怪,不是很清楚是什么导致的 QAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants