OldUnreal / UnrealTournamentPatches

Other
1k stars 29 forks source link

[469b] Software renderer on Linux #591

Open CommonLoon102 opened 2 years ago

CommonLoon102 commented 2 years ago

How can I enable it? If I set the software renderer in UnrealTournament.ini the game changes that to OpenGL automatically. Is this on purpose?

stijn-volckaert commented 2 years ago

We currently do not have a software renderer for Linux. I suspect that the early Loki releases had an SDL-based software renderer but I do not know if it was ever functional/stable. The SoftDrv renderer that came with the Windows version had a lot of platform- and architecture-specific code. For this reason, it is only available on Win32. We do, however, have an internal fork that replaces nearly all non-portable code with portable code. This could be a good base for a future SoftDrv on Linux/macOS.

CommonLoon102 commented 2 years ago

I played the Loki version with software renderer on Athlon XP, on antix linux, two days ago.

Rush commented 2 years ago

Shouldn't OpenGL run fine on Mesa's software rendering LLVM driver?

Rush commented 2 years ago

In order to force software rendering on Linux makes sure to set LIBGL_ALWAYS_SOFTWARE=1 in your environment.

CommonLoon102 commented 2 years ago

Shouldn't OpenGL run fine on Mesa's software rendering LLVM driver?

OpenGL works, but the integrated Intel chip is so bad, that is runs worse than it would in software renderer.