Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

AIdventure

Text adventure game with an AI. No rules, no censorship, the only limit is your imagination, not someone else's. · By Lyaaaaaaaaaaaaaaa

The GPU question

A topic by XAzraelX created Oct 10, 2022 Views: 536 Replies: 7
Viewing posts 1 to 2

The game didn't seem to call my GPU, I had the option to use the GPU turned on but my CUDA usage remained at 0% throughout the game

My video card is Msi Geforce RTX3060 12G

Excuse me for using an interpreter. My English is not very good

Developer

Hello, I noticed some graphical cards aren’t used but the first thing to do is test with a small AI.

You can do the following:

  • Download Distilgpt2
  • See if your GPU is used with this model

If it’s not, send me the server’s logs. You can find them in the game’s folder. They are named server_logs.text.

By the way, what OS are you using?

I've tried it. It doesn't seem to work. I'm win11 

11:47:07,154 asyncio ERROR Task exception was never retrieved

future: <Task finished name='Task-10' coro=<WebSocketServerProtocol.handler() done, defined at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\server.py:143> exception=SystemExit(None)>

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 119, in handler

    data_to_send = handle_request(p_websocket, json_message)

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 164, in handle_request

    shutdown_server()

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 242, in shutdown_server

    exit()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\_sitebuiltins.py", line 26, in __call__

    raise SystemExit(code)

SystemExit: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\runners.py", line 44, in run

    return loop.run_until_complete(main)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 629, in run_until_complete

    self.run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\windows_events.py", line 316, in run_forever

    super().run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 596, in run_forever

    self._run_once()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 1890, in _run_once

    handle._run()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\events.py", line 80, in _run

    self._context.run(self._callback, *self._args)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\server.py", line 224, in handler

    await self.ws_handler(self, path)

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 134, in handler

    shutdown_server()

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 242, in shutdown_server

    exit()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\_sitebuiltins.py", line 26, in __call__

    raise SystemExit(code)

SystemExit: None

11:47:07,156 asyncio ERROR Task was destroyed but it is pending!

task: <Task pending name='Task-9' coro=<IocpProactor.accept.<locals>.accept_coro() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\windows_events.py:566> wait_for=<_OverlappedFuture cancelled> cb=[gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]>

11:47:07,156 asyncio ERROR Task exception was never retrieved

future: <Task finished name='Task-5' coro=<WebSocketServerProtocol.handler() done, defined at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\server.py:143> exception=SystemExit(None)>

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 119, in handler

    data_to_send = handle_request(p_websocket, json_message)

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 164, in handle_request

    shutdown_server()

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 242, in shutdown_server

    exit()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\_sitebuiltins.py", line 26, in __call__

    raise SystemExit(code)

SystemExit: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\runners.py", line 44, in run

    return loop.run_until_complete(main)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 629, in run_until_complete

    self.run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\windows_events.py", line 316, in run_forever

    super().run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 596, in run_forever

    self._run_once()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 1890, in _run_once

    handle._run()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\events.py", line 80, in _run

    self._context.run(self._callback, *self._args)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\server.py", line 224, in handler

    await self.ws_handler(self, path)

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 134, in handler

    shutdown_server()

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 242, in shutdown_server

    exit()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\_sitebuiltins.py", line 26, in __call__

    raise SystemExit(code)

SystemExit: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 117, in handler

    async for message in p_websocket:

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py", line 481, in __aiter__

    yield await self.recv()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py", line 535, in recv

    await asyncio.wait(

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py", line 413, in wait

    return await _wait(fs, timeout, return_when, loop)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py", line 529, in _wait

    await waiter

asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 256, in <module>

    asyncio.run(main())

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\runners.py", line 47, in run

    _cancel_all_tasks(loop)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\runners.py", line 63, in _cancel_all_tasks

    loop.run_until_complete(

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 629, in run_until_complete

    self.run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\windows_events.py", line 316, in run_forever

    super().run_forever()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 596, in run_forever

    self._run_once()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\base_events.py", line 1890, in _run_once

    handle._run()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\events.py", line 80, in _run

    self._context.run(self._callback, *self._args)

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\server.py", line 224, in handler

    await self.ws_handler(self, path)

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 134, in handler

    shutdown_server()

  File "D:\steam\steamapps\common\AIdventure\server\server.py", line 242, in shutdown_server

    exit()

  File "D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\_sitebuiltins.py", line 26, in __call__

    raise SystemExit(code)

SystemExit: None

11:47:07,158 asyncio ERROR Task was destroyed but it is pending!

task: <Task pending name='Task-8' coro=<WebSocketCommonProtocol.close_connection() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:1288> wait_for=<Task cancelled name='Task-6' coro=<WebSocketCommonProtocol.transfer_data() done, defined at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:935>> cb=[gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]>

11:47:07,161 asyncio ERROR Task was destroyed but it is pending!

task: <Task cancelling name='Task-11' coro=<WebSocketCommonProtocol.transfer_data() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:944> wait_for=<Future cancelled> cb=[<TaskWakeupMethWrapper object at 0x000002596EB19730>(), gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]>

11:47:07,161 asyncio ERROR Task was destroyed but it is pending!

task: <Task pending name='Task-12' coro=<WebSocketCommonProtocol.keepalive_ping() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:1233> wait_for=<Future cancelled> cb=[gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]>

11:47:07,161 asyncio ERROR Task was destroyed but it is pending!

task: <Task pending name='Task-13' coro=<WebSocketCommonProtocol.close_connection() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:1288> wait_for=<Task cancelling name='Task-11' coro=<WebSocketCommonProtocol.transfer_data() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\site-packages\websockets\legacy\protocol.py:944> wait_for=<Future cancelled> cb=[<TaskWakeupMethWrapper object at 0x000002596EB19730>(), gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]> cb=[gather.<locals>._done_callback() at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventure\lib\asyncio\tasks.py:766]>

11:47:07,161 asyncio ERROR Task was destroyed but it is pending!

task: <Task pending name='Task-7' coro=<WebSocketCommonProtocol.keepalive_ping() running at D:\steam\steamapps\common\AIdventure\mamba\envs\aidventu

Developer

There is currently a problem with the server, can you check the logs while the server is still running? Otherwise, did you install the game with the installer? I see a steam path.

By the way, is the game correctly working with the CPU ?

The CPU and RAM were working while I was playing except CUDA was at 0% all the time

I bought and installed the game on Steam

00:51:10,402 AIdventure_Server DEBUG loading generator

00:51:38,4 AIdventure_Server INFO Model successfully loaded from local file

00:51:38,25 AIdventure_Server INFO Is CUDA available: False

00:51:38,26 AIdventure_Server DEBUG Is GPU enabled for the generator: False

Strangely, I turned on the GPU option, but it was off

Developer

Someone actually managed to fix this problem by trying the demo of AIdventure on Steam. You can try the demo and see if the GPU works on it.

If it does, then copy the mamba folder from the demo to the full game’s folder and erase everything.

I'm sorry to trouble you again.  I've tried to do this, but it still doesn't work

I thought it was because my GPU didn't support CUDA, but I tried AI Roguelite and it ran my CUDA perfectly and improved the response speed a lot

Developer (1 edit)

I shipped the installer with the game. It is not necessary on Steam to use it, but I’m pretty sure it can solve your problem. However, the installer is broken right now. You will have to wait until the next patch.

Sorry.