Closed Tell-Sackett closed 2 months ago
Hi @Tell-Sackett , thanks a lot for the detailed information on this issue! Always feel free to post problems that you find, doesn't matter how small they might seem to be.
Let's try to determine why the game is running poorly, it could be because dxvk is not installed properly or because the GPU drivers are not properly detected by flatimage (and using the integrated graphics instead).
By default you should install dxvk to avoid using the default opengl wine backend which much slower, you can check if the game is running with dxvk by adding the environment variable DXVK_HUD
with the value full
, like this:
And then running the game with dxvk installed, which should show up like this:
It already shows you the graphics adapter being used to run the game, it is normal for the dxvk process to stall without any output for some time (this is done by winetricks, not gameimage). Try to restart the process with a clean build directory (remove the previous one).
If it is still not possible to use dxvk, try to create the image anyway (where it is running in a sluggish manner) and open in the terminal like this:
FIM_DEBUG=1 ./tomb-raider.flatimage
This would output information about the GPU bindings as well as the currently selected one, if possible try to post it here so I can take a look.
Here is a summary of the process I performed, including the results. Relevant .txt files, containing terminal and log output are attached as well.
Attempt 1 (installed DXVK, set environment variable "DXVK_HUD" "full" on, as well as attempting with them off):
Attempt 2 (did not install DXVK):
Attempt 3:
I think that covered everything. Sorry for including all the .txt files as downloads; I attempted to try and work-out GitHub's dropdown-menu system, but the logs were too squished together to be readable. If you know of a better way to do this, just let me know.
Thanks a lot for this information, and sorry for the troubles. I have identified the issue, the nvidia drivers are not being properly bound to the container, you can see this by these two lines:
I :: [o] :: [wine.sh] GPU Vendor : mesa
I :: [o] :: [wine.sh] GPU Device : llvmpipe (LLVM 17.0.6, 256 bits)
I will setup a debian/nvidia system to try to re-create the issue from my end. Your attempt 2 works probably because the integrated graphics supports opengl and does not suport vulkan.
Np, and thank for identifying the issue! I glanced at the outputs but was unable to understand what was being said due to my, still very limited, knowledge on this kind of thing.
In case it helps: I just recently distro-hopped to this from a well-maintained Arch spin (it's my first time running base Debian), so I hope this isn't all just a result of my incompetence in driver installation and management. I attempted to follow (and presumably succeeded in, as the "NVIDIA Settings" app is installed and functioning properly) the guide on Debian's official site for replacing the stock Nouveau drivers for Bookworm with the proprietary Nvidia ones. Of particular note are sections: 1.2.2.2 for Bookworm proprietary driver installation, 1.8.4 for replacing the Nouveau drivers, and (this last section was only followed during the middle of my first post, as noted) 1.2.3 for 32-bit driver libraries installation.
I've managed to replicate the issue on my side, it should be all fixed now. The issue was that some nvidia files on debian are symlinks to update-alternatives
, so I just needed to reference that to the real file before creating a symlink from inside the container. The driver installation for my side required to run the command sudo nvidia-xconfig --egpu
doc, because I'm using a thunderbolt one.
Start up with a clean build directory, re-download the files and that should do it.
Sorry for the late response. I've been out of the house for a number of days now, and will not be back for at least another week (probably longer); sorry about that, some life stuff is going on. For reference once I do get back: I have not seen an update to the program since you made your last post; what files, exactly, should I move or symlink where?
No problem, no need to hurry. You shouldn't need to change anything, I updated the runners with the changes (the files you download in the fetch screen). So just starting fresh and building a project from scratch should work.
Sorry for the long wait; lots of irl life changes.
Just tried it out: the game recognized my GPU, monitor refresh rate, AND ran buttery smooth!
Thanks soo much!
Hardware and Environment:
Steps to Reproduce (performed throughout all of my testing):
Problem (tldr):
Problem (testing detailed summary):
Additional Notes:
Thanks