Agent_Name in creation: agent_5cc7e1a1, Type: <...
# ask-ai
e
Agent_Name in creation: agent_5cc7e1a1, Type: <class 'str'> 2025-09-23 143024,719 - DEBUG asyncio - Using selector: EpollSelector 2025-09-23 143024,720 - INFO livekit.agents - starting worker {"version": "1.2.11", "rtc-version": "1.0.13"} 2025-09-23 143024,721 - INFO livekit.agents - preloading plugins {"packages": ["livekit.plugins.openai", "livekit.plugins.simli", "livekit.plugins.elevenlabs", "livekit.plugins.silero", "livekit.plugins.turn_detector", "av"]} 2025-09-23 143024,723 - INFO livekit.agents - starting inference executor 2025-09-23 143026,031 - INFO livekit.agents - initializing process {"pid": 51759, "inference": true} 2025-09-23 143026,666 - DEBUG livekit.agents - initializing inference runner {"runner": "lk_end_of_utterance_multilingual", "pid": 51759, "inference": true} None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. 2025-09-23 143027,645 - ERROR livekit.plugins.turn_detector - Could not find model livekit/turn-detector with revision v0.3.0-intl. Make sure you have downloaded the model before running the agent. Use
python3 your_agent.py download-files
to download the models. {"pid": 51759, "inference": true} 2025-09-23 143027,647 - INFO livekit.agents - process initialized {"pid": 51759, "inference": true, "elapsed_time": 1.62} 2025-09-23 143027,645 - ERROR livekit.agents - error initializing inference runner Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/ipc/inference_proc_lazy_main.py", line 82, in initialize runner.initialize() File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/plugins/turn_detector/base.py", line 115, in initialize raise RuntimeError( RuntimeError: livekit-plugins-turn-detector initialization failed. Could not find model livekit/turn-detector with revision v0.3.0-intl. {"runner": "lk_end_of_utterance_multilingual", "pid": 51759, "inference": true} 2025-09-23 143027,646 - DEBUG asyncio - Using selector: EpollSelector {"pid": 51759, "inference": true} 2025-09-23 143030,663 - INFO livekit.agents - registered worker {"id": "AW_LhGaEAoZ8Ug9", "url": "wss://navigence-85r0jkqk.livekit.cloud", "region": "Singapore", "protocol": 16} 2025-09-23 143031,111 - INFO livekit.agents - received job request {"job_id": "AJ_UN8XDafCjrvB", "dispatch_id": "", "room_name": "room_c179da4c", "agent_name": "agent_5cc7e1a1", "resuming": false} 2025-09-23 143031,548 - INFO livekit.agents - initializing process {"pid": 51782} 2025-09-23 143032,240 - INFO livekit.agents - process initialized {"pid": 51782, "elapsed_time": 0.69} 2025-09-23 143032,240 - DEBUG asyncio - Using selector: EpollSelector {"pid": 51782, "job_id": "AJ_UN8XDafCjrvB"} Failed to load CUDA modules. maybe the NVIDIA driver is not installed? Failed to initialize CUDA context. implib-gen: libva-drm.so.2: failed to load library 'libva-drm.so.2' via dlopen: libva-drm.so.2: cannot open shared object file: No such file or directory 2025-09-23 143032,428 - ERROR livekit.agents - process exited with non-zero exit code -6 {"pid": 51782, "job_id": "AJ_UN8XDafCjrvB"} 2025-09-23 143132,895 - WARNING livekit.agents - failed to connect to livekit, retrying in 0s Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/worker.py", line 689, in _connection_task await self._run_ws(ws) File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/worker.py", line 770, in _run_ws await asyncio.gather(*tasks) File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/worker.py", line 742, in _recv_task raise Exception("worker connection closed unexpectedly") Exception: worker connection closed unexpectedly 2025-09-23 143134,786 - WARNING livekit.agents - failed to connect to livekit, retrying in 2s Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1532, in _create_direct_connection hosts = await self._resolve_host(host, port, traces=traces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1148, in _resolve_host return await asyncio.shield(resolved_host_task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1179, in _resolve_host_with_throttle addrs = await self._resolver.resolve(host, port, family=self._family) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/resolver.py", line 40, in resolve infos = await self._loop.getaddrinfo( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 867, in getaddrinfo return await self.run_in_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/worker.py", line 649, in _connection_task ws = await self._http_session.ws_connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 1067, in _ws_connect resp = await self.request( ^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 770, in _request resp = await handler(req) ^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 725, in _connect_and_send_request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 642, in connect proto = await self._create_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1209, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1538, in _create_direct_connection raise ClientConnectorDNSError(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host navigence-85r0jkqk.livekit.cloud:443 ssl:default [Temporary failure in name resolution] 2025-09-23 143136,800 - WARNING livekit.agents - failed to connect to livekit, retrying in 4s Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1532, in _create_direct_connection hosts = await self._resolve_host(host, port, traces=traces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1148, in _resolve_host return await asyncio.shield(resolved_host_task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1179, in _resolve_host_with_throttle addrs = await self._resolver.resolve(host, port, family=self._family) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/resolver.py", line 40, in resolve infos = await self._loop.getaddrinfo( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 867, in getaddrinfo return await self.run_in_executor( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/livekit/agents/worker.py", line 649, in _connection_task ws = await self._http_session.ws_connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 1067, in _ws_connect resp = await self.request( ^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 770, in _request resp = await handler(req) ^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/client.py", line 725, in _connect_and_send_request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 642, in connect proto = await self._create_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1209, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dev/Projects/NavigenceAI/NavigenceAI/venv/lib/python3.11/site-packages/aiohttp/connector.py", line 1538, in _create_direct_connection raise ClientConnectorDNSError(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host navigence-85r0jkqk.livekit.cloud:443 ssl:default [Temporary failure in name resolution] 2025-09-23 143143,290 - INFO livekit.agents - registered worker {"id": "AW_CfaAHQGFv2pJ", "url": "wss://navigence-85r0jkqk.livekit.cloud", "region": "Singapore", "protocol": 16} ^C2025-09-23 143754,332 - INFO livekit.agents - shutting down worker {"id": "AW_CfaAHQGFv2pJ"} 2025-09-23 143754,333 - INFO livekit.agents - process exiting {"reason": "", "pid": 51759, "inference": true}
t
Thanks for reaching out, blue. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like you're seeing the error "Could not find model livekit/turn-detector with revision v0.3.0-intl" because the necessary model files haven't been downloaded to your local setup yet. No worries, we can get this sorted out together! 1. First, please run this command to download the required model files:
python your_agent.py download-files
2. Once the download finishes, go ahead and restart your agent. This should make sure the model files are right where they need to be, and the error should go away. If you run into any other issues or have questions, feel free to reach out—I'm here to help! Sources: livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector... | plugins/livekit/src/index.ts | LiveKit turn detector plugin | LiveKit Docs
e
implib-gen: libva-drm.so.2: failed to load library 'libva-drm.so.2' via dlopen: libva-drm.so.2: cannot open shared object file: No such file or directory 2025-09-24 000631,245 - ERROR livekit.agents - process exited with non-zero exit code -6 {"pid": 118593, "job_id": "AJ_rWwueFwH2HYm"}
t
It looks like you're encountering the error "libva-drm.so.2: cannot open shared object file," which usually means the library needed for hardware-accelerated video encoding/decoding is missing. Don’t worry, I’m here to help you through this! Here’s what you can do: 1. First, install the VAAPI DRM library:
sudo apt-get install libva-drm2
(for Debian/Ubuntu)
sudo dnf install libva-drm
(for RHEL/CentOS/Fedora) 2. Next, install some additional dependencies:
sudo apt-get install libva2 vainfo
3. Then, check if the library is properly in your system path:
ldconfig -p | grep libva-drm
If you don’t see it listed, just run
sudo ldconfig
to update. 4. Also, please make sure your GPU drivers are installed and that your user has access to GPU render nodes (like
/dev/dri/renderD128
). Once you’ve gone through these steps, try restarting your agent. If you run into any issues or have questions along the way, feel free to reach out—I’m here to help! Sources: Rust SDKs | livekit/livekit_composite | DeepWiki | webrtc-sys/src/vaapi/implib/libva.so.tramp.S
e
INFO: 127.0.0.1:34942 - "POST /api/v1/avatar/getToken HTTP/1.1" 200 OK Agent_Name in creation: agent_cd187f2b, Type: <class 'str'> 2025-09-24 001303,898 - DEBUG asyncio - Using selector: EpollSelector 2025-09-24 001303,902 - INFO livekit.agents - starting worker {"version": "1.2.11", "rtc-version": "1.0.13"} 2025-09-24 001303,902 - INFO livekit.agents - preloading plugins {"packages": ["livekit.plugins.openai", "livekit.plugins.simli", "livekit.plugins.elevenlabs", "livekit.plugins.silero", "av"]} 2025-09-24 001305,914 - INFO livekit.agents - registered worker {"id": "AW_8nXrT3hVaKV9", "url": "wss://navigence-85r0jkqk.livekit.cloud", "region": "Singapore", "protocol": 16} 2025-09-24 001306,368 - INFO livekit.agents - received job request {"job_id": "AJ_9j74rGbo5f4U", "dispatch_id": "", "room_name": "room_fed7a1e8", "agent_name": "agent_cd187f2b", "resuming": false} 2025-09-24 001308,333 - INFO livekit.agents - initializing process {"pid": 120456} 2025-09-24 001309,040 - INFO livekit.agents - process initialized {"pid": 120456, "elapsed_time": 0.71} 2025-09-24 001309,040 - DEBUG asyncio - Using selector: EpollSelector {"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} Failed to load CUDA modules. maybe the NVIDIA driver is not installed? Failed to initialize CUDA context. Failed to open VA display. Maybe the AMD video driver or libva-dev/libdrm-dev is not installed? Failed to open VAAPI display. Failed to load CUDA modules. maybe the NVIDIA driver is not installed? Failed to initialize CUDA context. 2025-09-24 001319,045 - WARNING livekit.agents - The room connection was not established within 10 seconds after calling job_entry. This may indicate that job_ctx.connect() was not called. {"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} CTX.Room.Name: room_fed7a1e8 Agent Session SIMLI_ENABLE_AVATAR disabled. Running audio-only agent. Agent Start Room:rtc.Room(sid=unknown, name=room_fed7a1e8, metadata={ "job_title": "Full Stack Developer", "job_description": "Full Stack Developer", "company_name": "Full Stack Developer", "avatar_id": "", "avatar_type": "female", "interview_type": "medium", "room_name": "room_fed7a1e8", "session_id": "554bad0ed1c3422590e6" }, connection_state=CONN_CONNECTED) ctx connect 2025-09-24 001327,346 - DEBUG livekit.agents - input stream attached {"participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_MICROPHONE"], "pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} 2025-09-24 001327,346 - DEBUG livekit.agents - input stream attached {"participant": null, "source": "SOURCE_UNKNOWN", "accepted_sources": ["SOURCE_CAMERA", "SOURCE_SCREENSHARE"], "pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} generate Reply... 2025-09-24 001327,353 - DEBUG livekit.agents - using audio io:
RoomIO
->
AgentSession
->
TranscriptSynchronizer
->
RoomIO
{"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} 2025-09-24 001327,353 - DEBUG livekit.agents - using transcript io:
AgentSession
->
TranscriptSynchronizer
->
RoomIO
{"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} 2025-09-24 001327,353 - DEBUG livekit.agents - using video io:
RoomIO
>
AgentSession
> (none) {"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"} 2025-09-24 001327,365 - DEBUG livekit.agents - http_session(): creating a new httpclient ctx {"pid": 120456, "job_id": "AJ_9j74rGbo5f4U"}
t
It looks like you're seeing the error "Failed to open VA display. Maybe the AMD video driver or libva-dev/libdrm-dev is not installed?" This usually means the system is having trouble initializing VAAPI for hardware-accelerated video encoding. Don’t worry, I’m here to help you through it! Here’s what you can do: 1. First, let’s make sure the necessary VAAPI and DRM development libraries are installed:
sudo apt update
sudo apt install -y libva-dev libdrm-dev
2. If you’re using an AMD GPU, it’s important to have the right drivers installed. For Debian-based systems, try:
sudo apt install -y mesa-vulkan-drivers vulkan-icd-loader
3. Next, let’s check if VAAPI is set up correctly by running:
vainfo
This will help confirm if your GPU is detected and supports H.264 encoding. 4. Also, make sure the user running the agent has permission to access GPU render nodes. You can add the user to the
render
group with:
sudo usermod -aG render $USER
Remember to log out and back in so the changes take effect. Once you’ve gone through these steps, please restart your agent. If you run into any other issues or have questions, just let me know—I’m here to support you! Sources: webrtc-sys/src/vaapi/implib/libva.so.init.c | steam-headless/overlay/etc/cont-init.d/60-configure_gpu_driver.sh | docs/backend/SYCL.md | Rust SDKs | livekit/livekit_composite | DeepWiki
e
I dont have GPU