LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 02-03-2023, 05:18 PM   #1
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
AI Roguelite from Steam with NVIDIA GPU acceleration?


I have purchased and installed AI Roguelite from Steam and I can generate one of the built-in story types and play. But, it seems to be using my CPU not my GPU to generate despite my selecting the relevant option for NVIDIA GPU.
Has anyone got this working on Linux with NVIDIA GPU acceleration?
I have stable-diffusion-ui and Blender working on my GPU so I know [well am pretty sure] my drivers etc. are in place.

Last edited by 273; 02-08-2023 at 04:18 PM.
 
Old 02-12-2023, 10:44 AM   #2
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 83
There is very little information on Steam about its system requirements.
If it is using DirectX then maybe it is using DirectCompute, which would mean that PROTON or is it VKD3D would have to convert the DirectCompute function calls to OpenCL.
Does PROTON do it? I do not know. Games don’t typically use DirectCompute.

There are 3 versions of this technology:
1. There is DirectCompute of Microsoft.
2. There is CUDA from nVidia. (This is bc nVidia typically does not wait for the Khronos group. They quickly develop their own API.)
3. There is OpenCL from the Khronos group (This is the group that handles the specifications for OpenGL, OpenCL, OpenGL ES (for embedded devices), WebGL (OpenGL for the web. I imagine this is a lightweight version of OpenGL), Vulkan.

The drivers for OpenGL, Vulkan, OpenCL should come from your video card driver maker. So I think it is already installed on your OS.

According to
https://linuxhandbook.com/setup-opencl-linux-docker/
you can just run clinfo from the command line and it will give you info about your system’s OpenCL.


For example, I have a AMD Radeon 6800 and Kubuntu 22.04 and I am using the open source drivers. I did not do anything special. I just had to install clinfo which is a 100 KB file.

and it gives a very long list, starting with the first 5 lines:
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 22.0.5
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA


Are you using the nVidia driver or the open source nVidia driver?
 
Old 02-12-2023, 10:54 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks vmelkon, I am using the NVIDIA proprietary drivers and installed CUDA and tested Blender using it to make sure it was installed - I like to have things installed "just in case"
I'm wondering whether, as you mention, Proton would need to convert the system calls and it's not set up to do so. Usually I can just google and find something to install or, at least, a complicated set of instructions to attempt to get it working but in this case I'm not seeing anything.
It looks like I have OpenCL installed:
Code:
$ clinfo
Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 3.0 CUDA 12.0.139
  Platform Profile                                FULL_PROFILE
...
 
  


Reply

Tags
ai, ai roguelike, nvidia


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New stable Steam Client up, fixing Steam Survey and NFS mounts on Linux, plus other Steam news LXer Syndicated Linux News 0 01-23-2020 10:24 PM
Handbrake GPU Acceleration - Inexpensive AMD GPU for Old PC Mr. Macintosh Linux - Software 8 01-03-2018 03:11 PM
LXer: Copod, A Roguelite Game Of Survival As A Tiny Creature LXer Syndicated Linux News 0 03-25-2014 04:30 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration