howdy
howdy copied to clipboard
Howdy tries to use GPU with CNN set to false
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:[email protected]] global cap_gstreamer.cpp:2838 handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module source reported: Could not read from resource.
[ WARN:[email protected]] global cap_gstreamer.cpp:1698 open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:[email protected]] 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)
+1