ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.86k stars 1.04k forks source link

Unreal Tournament 2004 (13230) #187

Open boombatower opened 6 years ago

boombatower commented 6 years ago

steam-system-info.txt

Launches and runs properly out of box. I can set resolution beyond settings menu to 2560x1600 and still works. Stutters occur during gameplay (see #66 as resolved in past) and opengl rendered causes everything to shift to top left of screen.

Either way I was able to play a couple games successfully.

kadogo commented 6 years ago

Hello, It's special because it work out of the box if I use my intel chipset but if I launch the game with DRI_PRIME=1 %command% I have a back screen (but I have sound).

steam-13230-ut2004.log System information: https://gist.github.com/kadogo/a72b612e48ede28a5bd7495b268de99d Not specified but I have an AMD card too.

0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz PRO [Radeon R5 M255]

Cheers.

boombatower commented 6 years ago

Would be nice if Epic Games would just publish the linux binaries to steam that were on the original disk (I've used before).

kadogo commented 5 years ago

I find my issue.

It look that I had an old version of libgl1. I upgraded it with the following command and now it works perfectly with DRI_PRIME too.

apt-get install libgl1-mesa-dri -t stretch-backports
ghost commented 5 years ago

OpenGL works fine. However tabbing out and back in doesn't work correctly. Tabbing out and back in causes the mouse to bug out and not turn 360 degrees as well as the window to move up. Furthermore tabbing out causes it to run in window mode instead of minimizing it and the window can be buggy at times rendering incorrectly.

boombatower commented 5 years ago

Sounds like related to your setup as openSUSE Tumbleweed with latest stable components does not have those problems. Perhaps attach system details.

ghost commented 5 years ago

Here are my system details https://gist.github.com/TheSIlentLink/38d68a1c1e71bd76e6907cd24451eb25 I am running Linux Mint 19 with the cinnamon desktop.

After further testing it seems to be an issue with the opengl render. It is working correctly in Directx

shoober420 commented 4 years ago

Whitelist Request

System Information

Works great out of the box, with both D3D8 render and OpenGL render. D3D9 render crashes at launch.

BlackEdder commented 2 years ago

This game has recently stopped working for me and others: https://www.protondb.com/app/13230

Rolling back to older proton versions does not seem to help. The original unreal tournament crashes with the same error

kisak-valve commented 2 years ago

Hello @BlackEdder, please add PROTON_LOG=1 %command% to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

BlackEdder commented 2 years ago

I've attached the steam-13230.log and the gist. I have also tested it on a different machine (ubuntu), which had the same error. The attached is my main machine.

Note that since it persist regardless of proton version, it seems more likely to be a problem in the steam environment. I have since installed the gog version of both ut2004 and the original ut through lutris.net, and they work fine.

Gibitwit commented 2 months ago

The windows version of this game refuses to open in fullscreen mode when run through Steam play, I have not tried other methods. The game will always open in a window, but the game can be set back to the correct resolution and fullscreen mode from the options menu.

Performance with the D3D8 renderer is terrible, tremendously lower frame rate than windows and constant large stutters. The OpenGL renderer works far better, the game will play well, but is still not as performant as windows with the D3D8 renderer. Also with the OpenGL option, the shadows setting in the game's options menu breaks, shadows must be turn on in the ini files. The OpenGL section in ut2004.ini is missing the settings UseRenderTargets=True and UsePixelShaders=True which are needed for graphics parity with the D3D8 renderer.

I tried to use Gamescope to fix the fullscreen problem but the game crashes after the splash image. Gamescope also scales the splash image to fill the screen, which is what it is supposed to do I guess. Maybe Gamescope could detect and ignore splash screens.

Gibitwit commented 2 months ago

I tried the patches here: https://github.com/aldehir/ut2004-patches in hopes of improving the games performance on Linux by using the D3D9 renderer.

Windows gains tremendously in frame rate with these patches, using the D3D9 renderer. Linux loses even more performance with these patches regardless of which renderer is used, with the OpenGL renderer, original or patched, the frame rate is now about 50% that of windows using D3D8.

The Direct3D9 renderer on Linux is unusable do to large stutters, which grow in frequency and magnitude while playing the game. I could not finish a single match.

Also whether playing on windows or Linux (Native or Wine/Proton) the OpenGL renderer does not renderer some textures, such as the bushes on the assault map AS-BP2-Acatana.

When setting the resolution and fullscreen mode in game the sound effects and voice volume are reset to 1 despite not so much as touching the audio page. The ut2004.ini file is not updated with the volume changes casued by changing resolution and fullscreen mode.

Gibitwit commented 1 month ago

I managed to get the game to exceed it's performance when using D3D8 on windows. By using the patches linked above and the included D3D9 renderer along with dgvoodoo 2 set to use D3D12, the game will achieve a bit higher frame rate on Linux than windows paired with D3D8. However the frame rate on Linux is still much lower than windows using those patches and the D3D9 renderer. Using dgvoodoo 2 also eliminates the stuttering.

I have been unable to find a solution to the game refusing to start in full screen mode.