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

Howdy tries to use GPU with CNN set to false #887

Open
kalebealvs opened this issue Feb 7, 2024 · 1 comment
Open

Howdy tries to use GPU with CNN set to false #887

kalebealvs opened this issue Feb 7, 2024 · 1 comment
Labels
v2 Old version of Howdy (2.*)

Comments

@kalebealvs
Copy link

kalebealvs commented Feb 7, 2024

I have a Zephyrus g14 2022, an all-AMD laptop. From what I understand, howdy cannot use AMD GPUs, so it should never try to use that, but every time I use Howdy, it probes all my GPUs, including the discrete one. The problem here is that since I'm using dri_prime, the discrete GPU is almost always disabled, and enabling it takes quite some time, which creates a massive delay every time I use Howdy, to the point where I can type my password multiple times before howdy even starts the camera, not to mention increased power consumption for no good reason. I can verify that that's the case because if I completely disable my dGPU or enable it before using Howdy then there is no delay, also ROG control center notifies me that the dGPU is being enabled every time the process starts.

Is this behavior expected? If so, Is there a way to completely block Howdy from trying to use any GPU? That would be useful in my case since my iGPU and dGPU are both AMD and useless to Howdy.


log from howdy execution:

$ sudo howdy test
[ WARN:0@3.602] global cap_gstreamer.cpp:2838 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not read from resource.
[ WARN:0@3.602] global cap_gstreamer.cpp:1698 open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0@3.602] global cap_gstreamer.cpp:1173 isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created

Opening a window with a test feed

Press ctrl+C in this terminal to quit
Click on the image to enable or disable slow mode

config.ini file:

[core]
detection_notice = false
no_confirmation = false
suppress_unknown = false
ignore_ssh = true
ignore_closed_lid = true
disabled = false
use_cnn = false

[video]
certainty = 3.5
timeout = 6
device_path = /dev/video2
max_height = 350
frame_width = -1
frame_height = -1
dark_threshold = 80
recording_plugin = opencv
device_format = v4l2
force_mjpeg = false
exposure = -1

[snapshots]
capture_failed = true
capture_successful = true

[debug]
end_report = false

my GPUs(680M + 6800S):

lspci | grep -i vga        

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] (rev c0)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev c7)

Linux distribution: Arch (kernel Linux 6.7.3-arch1-2 #1 SMP PREEMPT_DYNAMIC)

Howdy version: 2.6.1(from AUR howdy package, no modifications)

@musikid musikid added the v2 Old version of Howdy (2.*) label Apr 13, 2024
@littleblack111
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2 Old version of Howdy (2.*)
Projects
None yet
Development

No branches or pull requests

3 participants