gameimage
gameimage copied to clipboard
Misclassification of GPU by "Tomb Raider: Anniversary"
Hardware and Environment:
- Debian 12 "Bookworm"
- Cinnamon desktop environment
- X11
- Nvidia Geforce RTX 2070 Super
- Proprietary Drivers
- (*) including i386 drivers
Steps to Reproduce (performed throughout all of my testing):
- Downloaded GOG backup installers for "Tomb Raider Anniversary"
- Launched gameimage.run (v1.3.1)
- Chose "wine-default" options
- ...for each attempt at packaging the game, further steps are detailed below
Problem (tldr):
- Upon launching "tra.exe", "Tomb Raider Anniversary" provides the user with an options menu. Here, you are given the option to change a few graphical settings, etc. Part of this menu allows you to choose your graphics card model (from a list of detected card(s), presumably). However, I am only given the option of an "Nvidia GTX 470". Upon applying these settings, the game is automatically launched. The framerate was bad enough that, even though I was able to make it to the main menu, I was hardly able to align my cursor with the "[Quit to Desktop"] option, and upon clicking it, gave up waiting for the confirmation menu to properly show-up in a clickable form. This is in contrast to the game, when installed via Lutris, being able to properly identify my card as an RTX 2070 Super and playing at a very smooth fps.
Problem (testing detailed summary):
- The process of attempting to create a flatimage of TRA was done over the course of two computer sessions, spanning two days. During both sessions the same situation with the GTX 470 occured. (*) During the first session, I attempted to perform this process, I believe, without proper proprietary Nvidia i386 drivers. During this first session I was able to download DXVK (as well as the other addon), but upon trying to either install or launch the game (apologies, I can't recall which, exactly), the process would fail, with a message stating that the game does not support DirectX12, and that I should not use the "-dx12" or "[-dx??]" (sorry, I can't remember the exact error message) flags when launching. Seeing as how I was not inputting these arguments to begin with, I reattempted the process, this time not installing "DXVK 9/10/11" or the other addon option. If I recall correctly, during these attempts, the process would fail, stating that the game required the use of Directx9. I then used the flag "-dx9" in the argument section of the executable and the game launched. However, the GTX 470 and framerate issues were present.
- After installing additional proprietary Nvidia i386 drivers, I got the idea of trying to run the game through Lutris. Here, after downloading the game, I was prompted with the option to launch the options menu, or the game directly. Upon choosing the options menu, I was provided with the my actual graphics card (an Nvidia RTX 2070 Super). After applying the settings, the game launched and ran very smoothly.
- My second attempt at packaging TRA as a flatimage was done after the Lutris testing (now with the i386 drivers). The first time, I tried to download DXVK 9/10/11. However, this process seemed to hang and would not complete. After a while, I closed gameimage and attempted another round. This second time, I couldn't even get to the DXVK page. I closed the application and tried again. This third time, I made it to the DXVK page, and upon attempting to download DXVK 9/10/11 and the other add-on, they both completed very quickly (too quickly, in fact). Upon trying to proceed to the next page, I had some more issues. After a while I came to the conclusion that during my first attempt during this session (when the application hung on the DXVK download), some processes never completed and were complicating further attempts at using the application. I went into my Process Monitor application and, indeed, found some processes still attempting to run. After killing these, I tried to package the game once more, again trying to install DXVK 9/10/11. This process ended the same as the first time this session, with the application hanging and resulting in me having to kill the orphaned processes running in the background. The last attempt I made before writing this went as follows: I went through the process again without attempting to install DXVK 9/10/11, the other add-on, making any other wine configurations, etc.; launched "tra.exe" (with no additional arguments), and was greeted with the options menu where I was only given the option of choosing a GTX 470. After applying my settings the game automatically ran, and it had the same framerate problem I was having during my first session (before installing the i386 drivers).
Additional Notes:
- Apologies in advance for some of the vague terminology and lack of detail (as well, perhaps, as some misremembered details), this all took place over the course of two days, I did not take proper notes, and it is currently very late where I am. If additional testing regarding this issue is desired, please let me know what to try and I will do what I can.
- My main reason for posting this Issue is less to have this particular problem fixed and more to, hopefully, shed light on a particular problem that might provide insight as to how the code / project might could be improved on a broader scale (particularly regarding GPU recognition, if such is a widespread issue with GameImage).
- Finally, I apologize if I'm, in some way, being improper by posting this here or am not following certain understood guidelines of posting here; I'm still learning such GitHub community standards.
Thanks