Page 1 of 1

How to disable hwaccel from CLI

Posted: Sun Nov 17, 2024 9:44 pm
by mhamel
Hi,
I have a ZoneMinder install running on an Ubuntu 22.04.5 LTS on a NUC5i3 with DecoderHwAccelName set to 'vaapi' in the settings. Recently I updated and now the ZoneMinder web interface is unavailable. If I check 'systemctl status zoneminder' I see:

Nov 18 10:10:17 fluffy systemd[1]: Started ZoneMinder CCTV recording and surveillance system.
Nov 18 10:10:18 fluffy zmc_m4[16548]: ERR [zmc_m4] [Failed to create hwaccel device. Generic error in an exte>
Nov 18 10:10:19 fluffy zmtelemetry[16573]: WAR [Telemetry server returned HTTP POST error code: 301]

I presume I need to turn off hwaccel, how can I do this without the Web interface?

Thanks,
Michael

Re: How to disable hwaccel from CLI

Posted: Mon Nov 18, 2024 12:46 pm
by burger
I don't think your problem is related to the hw device. There have been some errors with the web interface and 1.36.35 that relate to a missing letter in the source files. Search the 1.36 forum for more details.

But in case you want to do what you asked, the command would be:

Code: Select all

mysql -u root  zm -e "update Monitors set DecoderHWAccelName = 'NULL' where DecoderHWAccelName = 'vaapi';"

Re: How to disable hwaccel from CLI

Posted: Wed Nov 20, 2024 1:54 am
by mhamel
You are right; switching off hwaccel has no useful effect, still no web interface. I am running 1.36.35.

Searching the forum for "missing letter/character" doesn't turn up anything obviously relevant, can you suggest other keywords?

Re: How to disable hwaccel from CLI

Posted: Wed Nov 20, 2024 10:22 am
by burger
In this case, just looking at recent posts in the forum is the right answer, not searching for a keyword. This comes right up:
viewtopic.php?t=33691