Show the graphics card beside the levels

Its name and memory, with the other cards in the tooltip. Windows has them in the
registry. On Linux the name comes from the driver or pci.ids and the memory from
amdgpu or nvidia-smi; without either there is only the name. A card in a processor
says shared memory, as what it reports is a share set in the firmware.

No rating of the card against the settings: what a ride takes depends on the
textures of its scenery and vehicles, which are not known before it starts.
This commit is contained in:
maj00r
2026-11-01 20:54:01 +01:00
parent a7c9cdb97f
commit 42b2259b7c
13 changed files with 489 additions and 4 deletions

View File

@@ -941,4 +941,6 @@
<String key="CabShadowsRange">Dosah zdrojů stínů v kabině</String>
<String key="UseGLES">Použít OpenGL ES</String>
<String key="UseGLESDesc">OpenGL ES místo OpenGL. Nefunguje s rendererem legacy.</String>
<String key="GpuCard">{0}, {1} GB</String>
<String key="GpuCardShared">{0}, sdílená paměť</String>
</Language>

View File

@@ -1193,4 +1193,6 @@
<String key="CabShadowsRangeDesc">Distance at which light sources still cast shadows inside the cab. Zero turns cab shadows off.</String>
<String key="UseGLES">Use OpenGL ES</String>
<String key="UseGLESDesc">OpenGL ES instead of OpenGL. Does not work with the legacy renderer.</String>
<String key="GpuCard">{0}, {1} GB</String>
<String key="GpuCardShared">{0}, shared memory</String>
</Language>

View File

@@ -941,4 +941,6 @@
<String key="CabShadowsRange">Vezetőállás árnyékforrásainak hatótávolsága</String>
<String key="UseGLES">OpenGL ES használata</String>
<String key="UseGLESDesc">OpenGL ES az OpenGL helyett. A legacy megjelenítővel nem működik.</String>
<String key="GpuCard">{0}, {1} GB</String>
<String key="GpuCardShared">{0}, megosztott memória</String>
</Language>

View File

@@ -1015,4 +1015,6 @@
<String key="CabShadowsRangeDesc">Odległość, z jakiej źródła światła nadal rzucają cień w kabinie. Zero wyłącza cienie w kabinie.</String>
<String key="UseGLES">Używaj OpenGL ES</String>
<String key="UseGLESDesc">OpenGL ES zamiast OpenGL. Nie działa z rendererem legacy.</String>
<String key="GpuCard">{0}, {1} GB</String>
<String key="GpuCardShared">{0}, pamięć wspólna</String>
</Language>

View File

@@ -941,4 +941,6 @@
<String key="CabShadowsRange">Дальность источников теней в кабине</String>
<String key="UseGLES">Использовать OpenGL ES</String>
<String key="UseGLESDesc">OpenGL ES вместо OpenGL. Не работает с рендерером legacy.</String>
<String key="GpuCard">{0}, {1} ГБ</String>
<String key="GpuCardShared">{0}, общая память</String>
</Language>