sultim-t / Serious-Engine-RT

GNU General Public License v2.0
204 stars 12 forks source link

Not working on Radeon 6900XT with 21.8.2 #5

Open St0RM53 opened 3 years ago

St0RM53 commented 3 years ago

Faulting application name: SeriousSamTFE.exe, version: 0.0.0.0, time stamp: 0x612ce59d Faulting module name: vulkan-1.dll, version: 1.2.176.1, time stamp: 0x6092fac9 Exception code: 0xc0000005 Fault offset: 0x000000000004b1f2 Faulting process id: 0x4f28 Faulting application start time: 0x01d7a175beb7bc53 Faulting application path: C:\GOG Games\Serious Sam RX\Bin\SeriousSamTFE.exe Faulting module path: C:\WINDOWS\SYSTEM32\vulkan-1.dll Report Id: 4477b9e7-f0e0-4ae5-9ea7-587495001a7e Faulting package full name: Faulting package-relative application ID:

issue is the same for both steam and gog version

sultim-t commented 3 years ago

Please, provide SeriousSamTFE.log that was created in the root directory of the game.

The port wasn't tested on AMD GPUs. Sadly, testers had only Nvidia ones.

St0RM53 commented 3 years ago

Here you go:

--- Serious Engine Startup --- SeriousEngine Build: 10000.10

Executable: C:\GOG Games\Serious Sam RX\Bin\SeriousSamTFE.exe Assumed engine directory: кÔý 

Examining underlying OS... Type: WinNT Version: 6.2, build 9200 Misc:

Detecting CPU... Vendor: cAMD Type: 0, Family: 15, Model: 1, Stepping: 0 MMX : Yes CMOV: Yes Clock: 3400MHz

Global memory status... Physical memory used: 15635/65476MB Page file used: 27307/69572MB Virtual memory used: 4224/134217727MB Memory load: 23% Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt': Cannot open file `C:\GOG Games\Serious Sam RX\DefaultMod.txt' (No such file or directory) () Current mod: Loading group files... C:\GOG Games\Serious Sam RX\SE1_10.gro: 1802 files C:\GOG Games\Serious Sam RX\1_04_patch.gro: 1 files C:\GOG Games\Serious Sam RX\1_00c_scripts.gro: 28 files C:\GOG Games\Serious Sam RX\1_00c_Logo.gro: 1 files C:\GOG Games\Serious Sam RX\1_00c.gro: 2267 files C:\GOG Games\Serious Sam RX\1_00_music.gro: 55 files C:\GOG Games\Serious Sam RX\1_00_ExtraTools.gro: 58 files

Detecting input devices... joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5

Desktop settings... Color Depth: 32bit Screen: 2560x1440 Virtual screen: 5120x1440 Monitors directly reported: 2

Current display: 'C' version 1025 - 2560x1440x32

Initializing sound... libvorbisfile.dll loaded, ogg playing enabled MPX playing disabled: Cannot load amp11lib.dll. Detected devices: 2 device 0: S ver: 2560, id: 1.100 form: 0x000fffff, ch: 2, support: 0x0000002e device 1: O ver: 2560, id: 1.100 form: 0x000fffff, ch: 2, support: 0x0000002e

WARNING: Gamma, brightness and contrast are not adjustable!

Error loading ImmWraper.dll. IFeel disabled Command line: '' joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5 Loading game library 'C:\GOG Games\Serious Sam RX\Bin\Game.dll'... include "Scripts\Game_startup.ini"; (1): Cannot load script file 'Scripts\Game_startup.ini"': Cannot open file C:\GOG Games\Serious Sam RX\Scripts\Game_startup.ini' (No such file or directory) () Cannot load game settings: Cannot open fileC:\GOG Games\Serious Sam RX\Data\SeriousSam.gms' (No such file or directory) () Using defaults SS: RT is starting for the first time. If you experience any problems, please check ray tracing features on your GPU and update drivers to the latest version.

! EAX error: Cannot query property support. Setting sound format ... Direct Sound initialization ... ! EAX error: Cannot query property support. Direct Sound initialization ... 44100Hz, 16bit, default device, mix-ahead: 0.2s mixer buffer size: 34 KB decode buffer size: 34 KB EAX: Disabled

Cannot load variable from 'Data\Var\Sam_Version.var': Cannot open file C:\GOG Games\Serious Sam RX\Data\Var\Sam_Version.var' (No such file or directory) () Cannot load variable from 'Data\Var\ModName.var': Cannot open fileC:\GOG Games\Serious Sam RX\Data\Var\ModName.var' (No such file or directory) () Serious Sam version: 1.10 Active mod: - R A Y T R A C E D - unable to setup OpenGL settings list: Cannot open file `C:\GOG Games\Serious Sam RX\Scripts\GLSettings\GLSettings.lst' (No such file or directory) () Reading levels directory... file 'Levels\01_Hatshepsut.wld' : 'Hatshepsut' spawn=0x0005000f file 'Levels\02_SandCanyon.wld' : 'Sand Canyon' spawn=0x0005000f file 'Levels\03_TombOfRamses.wld' : 'Tomb Of Ramses' spawn=0x0005000f file 'Levels\04_ValleyOfTheKings.wld' : 'Valley Of The Kings' spawn=0x0005000f file 'Levels\05_MoonMountains.wld' : 'Moon Mountains' spawn=0x0005000f file 'Levels\06_Oasis.wld' : 'Oasis' spawn=0x0005000f file 'Levels\07_Dunes.wld' : 'Dunes' spawn=0x0005000f file 'Levels\08_Suburbs.wld' : 'Suburbs' spawn=0x0005000f file 'Levels\09_Sewers.wld' : 'Sewers' spawn=0x0005000f file 'Levels\10_Metropolis.wld' : 'Metropolis' spawn=0x0005000f file 'Levels\11_AlleyOfSphinxes.wld' : 'Alley Of The Sphinxes' spawn=0x0005000f file 'Levels\12_Karnak.wld' : 'Karnak' spawn=0x0005000f file 'Levels\13_Luxor.wld' : 'Luxor' spawn=0x0005000f file 'Levels\14_SacredYards.wld' : 'Sacred Yards' spawn=0x0005000f file 'Levels\15_TheGreatPyramid.wld' : 'The Great Pyramid' spawn=0x0005000f file 'Levels\Deathmatch\DesertTemple.wld' : 'Desert Temple' spawn=0x000201ff file 'Levels\Intro.wld' : 'Intro and Flyover' spawn=0x00000000 file 'Levels\KarnakDemo.wld' : 'Karnak Demo' spawn=0x00050000 file 'Levels\TechTest.wld' : 'Technology Test Level' spawn=0x00010000 Reading demos directory... Levels\Intro.wld

nhac-lly commented 3 years ago

This is mine, i5 10400 and RX 6800. Cannot even start :(

--- Serious Engine Startup --- SeriousEngine Build: 10000.10

Executable: E:\TFE_RT\Bin\SeriousSamTFE.exe Assumed engine directory: à5,¥à

Examining underlying OS... Type: WinNT Version: 6.2, build 9200 Misc:

Detecting CPU... Vendor: ntel Type: 0, Family: 6, Model: 5, Stepping: 3 MMX : Yes CMOV: Yes Clock: 2904MHz

Global memory status... Physical memory used: 6858/16284MB Page file used: 10985/57244MB Virtual memory used: 4211/134217727MB Memory load: 42% Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt': Cannot open file `E:\TFE_RT\DefaultMod.txt' (No such file or directory) () Current mod: Loading group files... E:\TFE_RT\SE1_10.gro: 1802 files E:\TFE_RT\1_04_patch.gro: 1 files E:\TFE_RT\1_00c_scripts.gro: 28 files E:\TFE_RT\1_00c_Logo.gro: 1 files E:\TFE_RT\1_00c.gro: 2267 files E:\TFE_RT\1_00_music.gro: 55 files E:\TFE_RT\1_00_ExtraTools.gro: 58 files

Detecting input devices... joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5

Desktop settings... Color Depth: 32bit Screen: 3840x2160 Virtual screen: 3840x2160 Monitors directly reported: 1

Current display: 'C' version 1025 - 3840x2160x32

sultim-t commented 3 years ago

It's a bit non-trivial to debug without having AMD GPU, so it would be handy if you:

The log will contain more data to work with. Thanks!

kwahoo2 commented 3 years ago

Hi, I cannot get validation layer this way:

  • Set the variable srt_bDebugValidation to 1 inside Scripts\PersistentSymbols.ini file. This enables Vulkan validation layer.

  • Then launch the game and resend the SeriousSamTFE.log.

I used Vulkan Configurator from LunarG instead:

Launching Vulkan Application:
- Layers overridden by "Validation" configuration.
- Executable Path: D:\ssrt\Bin\SeriousSamTFE.exe
- Working Directory: D:\ssrt\Bin
- Log file: D:\ssrt\SeriousSamTFE.txt

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x23e8a2e2150, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x23e8a2e2150, type: 1, name: NULL

UNASSIGNED-API-Version-Violation(ERROR / SPEC): msgNum: -996803404 - Validation Error: [ UNASSIGNED-API-Version-Violation ] Object 0: VK_NULL_HANDLE, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xc495fcb4 | Attemped to call vkGetPhysicalDeviceFeatures2() with an effective API version of 1.0.0 (0x00400000), which is the minimum of version requested in pApplicationInfo (1.0.0 (0x00400000)) and supported by this physical device (1.2.182 (0x004020b6)), but this API was not promoted until version 1.1.0 (0x00401000).
    Objects: 1
        [0] 0, type: 1, name: NULL

Process terminated

AMD Radeon RX 6600 XT with Vulkan 1.2.182

St0RM53 commented 3 years ago

It's a bit non-trivial to debug without having AMD GPU, so it would be handy if you:

  • Set the variable srt_bDebugValidation to 1 inside Scripts\PersistentSymbols.ini file. This enables Vulkan validation layer.
  • Then launch the game and resend the SeriousSamTFE.log.

The log will contain more data to work with. Thanks!

I've put: srt_bDebugValidation=1; inside the file you mentioned; the file was empty

Very small differences appear in the log as below:

--- Serious Engine Startup --- SeriousEngine Build: 10000.10

Executable: C:\GOG Games\Serious Sam RX\Bin\SeriousSamTFE.exe Assumed engine directory: ¯ôcî

Examining underlying OS... Type: WinNT Version: 6.2, build 9200 Misc:

Detecting CPU... Vendor: cAMD Type: 0, Family: 15, Model: 1, Stepping: 0 MMX : Yes CMOV: Yes Clock: 3400MHz

Global memory status... Physical memory used: 25147/65476MB Page file used: 39614/69572MB Virtual memory used: 4223/134217727MB Memory load: 38% Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt': Cannot open file `C:\GOG Games\Serious Sam RX\DefaultMod.txt' (No such file or directory) () Current mod: Loading group files... C:\GOG Games\Serious Sam RX\SE1_10.gro: 1802 files C:\GOG Games\Serious Sam RX\1_04_patch.gro: 1 files C:\GOG Games\Serious Sam RX\1_00c_scripts.gro: 28 files C:\GOG Games\Serious Sam RX\1_00c_Logo.gro: 1 files C:\GOG Games\Serious Sam RX\1_00c.gro: 2267 files C:\GOG Games\Serious Sam RX\1_00_music.gro: 55 files C:\GOG Games\Serious Sam RX\1_00_ExtraTools.gro: 58 files

Detecting input devices... joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5

Desktop settings... Color Depth: 32bit Screen: 2560x1440 Virtual screen: 5120x1440 Monitors directly reported: 2

Current display: 'C' version 1025 - 2560x1440x32

Initializing sound... libvorbisfile.dll loaded, ogg playing enabled MPX playing disabled: Cannot load amp11lib.dll. Detected devices: 2 device 0: S ver: 2560, id: 1.100 form: 0x000fffff, ch: 2, support: 0x0000002e device 1: O ver: 2560, id: 1.100 form: 0x000fffff, ch: 2, support: 0x0000002e

WARNING: Gamma, brightness and contrast are not adjustable!

Error loading ImmWraper.dll. IFeel disabled Command line: '' joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5 Loading game library 'C:\GOG Games\Serious Sam RX\Bin\Game.dll'... include "Scripts\Game_startup.ini"; (1): Cannot load script file 'Scripts\Game_startup.ini"': Cannot open file C:\GOG Games\Serious Sam RX\Scripts\Game_startup.ini' (No such file or directory) () Cannot load game settings: Cannot open fileC:\GOG Games\Serious Sam RX\Data\SeriousSam.gms' (No such file or directory) () Using defaults SS: RT is starting for the first time. If you experience any problems, please check ray tracing features on your GPU and update drivers to the latest version.

! EAX error: Cannot query property support. Setting sound format ... Direct Sound initialization ... ! EAX error: Cannot query property support. Direct Sound initialization ... 44100Hz, 16bit, default device, mix-ahead: 0.2s mixer buffer size: 34 KB decode buffer size: 34 KB EAX: Disabled

Cannot load variable from 'Data\Var\Sam_Version.var': Cannot open file C:\GOG Games\Serious Sam RX\Data\Var\Sam_Version.var' (No such file or directory) () Cannot load variable from 'Data\Var\ModName.var': Cannot open fileC:\GOG Games\Serious Sam RX\Data\Var\ModName.var' (No such file or directory) () Serious Sam version: 1.10 Active mod: - R A Y T R A C E D - unable to setup OpenGL settings list: Cannot open file `C:\GOG Games\Serious Sam RX\Scripts\GLSettings\GLSettings.lst' (No such file or directory) () Reading levels directory... file 'Levels\01_Hatshepsut.wld' : 'Hatshepsut' spawn=0x0005000f file 'Levels\02_SandCanyon.wld' : 'Sand Canyon' spawn=0x0005000f file 'Levels\03_TombOfRamses.wld' : 'Tomb Of Ramses' spawn=0x0005000f file 'Levels\04_ValleyOfTheKings.wld' : 'Valley Of The Kings' spawn=0x0005000f file 'Levels\05_MoonMountains.wld' : 'Moon Mountains' spawn=0x0005000f file 'Levels\06_Oasis.wld' : 'Oasis' spawn=0x0005000f file 'Levels\07_Dunes.wld' : 'Dunes' spawn=0x0005000f file 'Levels\08_Suburbs.wld' : 'Suburbs' spawn=0x0005000f file 'Levels\09_Sewers.wld' : 'Sewers' spawn=0x0005000f file 'Levels\10_Metropolis.wld' : 'Metropolis' spawn=0x0005000f file 'Levels\11_AlleyOfSphinxes.wld' : 'Alley Of The Sphinxes' spawn=0x0005000f file 'Levels\12_Karnak.wld' : 'Karnak' spawn=0x0005000f file 'Levels\13_Luxor.wld' : 'Luxor' spawn=0x0005000f file 'Levels\14_SacredYards.wld' : 'Sacred Yards' spawn=0x0005000f file 'Levels\15_TheGreatPyramid.wld' : 'The Great Pyramid' spawn=0x0005000f file 'Levels\Deathmatch\DesertTemple.wld' : 'Desert Temple' spawn=0x000201ff file 'Levels\Intro.wld' : 'Intro and Flyover' spawn=0x00000000 file 'Levels\KarnakDemo.wld' : 'Karnak Demo' spawn=0x00050000 file 'Levels\TechTest.wld' : 'Technology Test Level' spawn=0x00010000 Reading demos directory... Levels\Intro.wld

opinali commented 3 years ago

Same here; Ryzen 5600X and Radeon 6800 XT, driver 21.8.2. My log looks like others above, including the junk value for "Assumed engine directory" (different random junk every time I retry the launch). Running on latest Windows 11 beta build.

--- Serious Engine Startup --- SeriousEngine Build: 10000.10

Executable: C:\Users\opina\SSamRT\Bin\SeriousSamTFE.exe Assumed engine directory: ð”æ@í

Examining underlying OS... Type: WinNT Version: 6.2, build 9200 Misc:

Detecting CPU... Vendor: cAMD Type: 0, Family: 15, Model: 1, Stepping: 0 MMX : Yes CMOV: Yes Clock: 3693MHz

Global memory status... Physical memory used: 6170/32690MB Page file used: 8901/37554MB Virtual memory used: 4221/134217727MB Memory load: 18% Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt': Cannot open file `C:\Users\opina\SSamRT\DefaultMod.txt' (No such file or directory) () Current mod: Loading group files... C:\Users\opina\SSamRT\SE1_10.gro: 1802 files C:\Users\opina\SSamRT\1_04_patch.gro: 1 files C:\Users\opina\SSamRT\1_00c_scripts.gro: 28 files C:\Users\opina\SSamRT\1_00c_Logo.gro: 1 files C:\Users\opina\SSamRT\1_00c.gro: 2267 files C:\Users\opina\SSamRT\1_00_music.gro: 55 files C:\Users\opina\SSamRT\1_00_ExtraTools.gro: 58 files

Detecting input devices... joysticks found: 16 joysticks allowed: 8 joy 1: error 0x000000a5 joy 2: error 0x000000a5 joy 3: error 0x000000a5 joy 4: error 0x000000a5 joy 5: error 0x000000a5 joy 6: error 0x000000a5 joy 7: error 0x000000a5 joy 8: error 0x000000a5

Desktop settings... Color Depth: 32bit Screen: 3440x1440 Virtual screen: 3440x1440 Monitors directly reported: 1

Current display: 'C' version 1025 - 3440x1440x32

sultim-t commented 3 years ago

Try the new release, let's hope it works

https://github.com/sultim-t/Serious-Engine-RT/releases/tag/v1.2

kwahoo2 commented 3 years ago

A small step forward, it tries to create windows now instead crashing just after startup:

Vulkan Development Status:
- Layers override: "Validation" configuration
- VULKAN_SDK environment variable: C:\VulkanSDK\1.2.189.1
- Vulkan Loader version: 1.2.176
- User-Defined Layers Paths from VK_LAYER_PATH environment variable: None
- User-Defined Layers Paths from Vulkan Configurator: None
- `vk_layer_settings.txt` uses the default platform path:
    C:\Users\adik\AppData\Local\LunarG\vkconfig\override
- Available Layers:
    - VK_LAYER_AMD_switchable_graphics (1.2.182)
    - VK_LAYER_VALVE_steam_overlay (1.2.136)
    - VK_LAYER_VALVE_steam_fossilize (1.2.136)
    - VK_LAYER_LUNARG_override (1.2.189)
    - VK_LAYER_LUNARG_api_dump (1.2.189)
    - VK_LAYER_LUNARG_device_simulation (1.2.189)
    - VK_LAYER_LUNARG_gfxreconstruct (1.2.189)
    - VK_LAYER_KHRONOS_synchronization2 (1.2.189)
    - VK_LAYER_KHRONOS_validation (1.2.189)
    - VK_LAYER_LUNARG_monitor (1.2.189)
    - VK_LAYER_LUNARG_screenshot (1.2.189)
- Physical Devices:
    - AMD Radeon RX 6600 XT (Discrete GPU) with Vulkan 1.2.182

Launching Vulkan Application:
- Layers overridden by "Validation" configuration.
- Executable Path: D:\ssrt\Bin\SeriousSamTFE.exe
- Working Directory: D:\ssrt\Bin
- Log file: D:\ssrt\SeriousSamTFE.txt

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x1da3f8c5160, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x1da3f8c5160, type: 1, name: NULL

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x1da3fd7d070, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x1da3fd7d070, type: 1, name: NULL

Process terminated
sultim-t commented 3 years ago

May you set srt_bDebugValidation to 1 and sam_iGfxAPI to 1 inside Scripts\PersistentSymbols.ini to see if the rasterization renderer works?

If those variables don't exist, add to the file: persistent extern user INDEX srt_bDebugValidation=(INDEX)1; persistent extern INDEX sam_iGfxAPI=(INDEX)1;

kwahoo2 commented 3 years ago

Ok, now it does work, seems that the rasterisation renderer works.

Edit: Log after changing rasterisation to rt in the game menu:


--- Serious Engine Startup ---
  SeriousEngine Build: 10000.10

Executable: D:\ssrt\Bin\SeriousSamTFE.exe
Assumed engine directory: p뺨ó

Examining underlying OS...
  Type: WinNT
  Version: 6.2, build 9200
  Misc: 

Detecting CPU...
  Vendor: cAMD
  Type: 0, Family: 15, Model: 1, Stepping: 1
  MMX : Yes
  CMOV: Yes
  Clock: 2999MHz

Global memory status...
  Physical memory used: 4353/32718MB
  Page file used:       6957/41422MB
  Virtual memory used:  4220/134217727MB
  Memory load:  13%
  Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt':
Cannot open file `D:\ssrt\DefaultMod.txt' (No such file or directory) ()
Current mod: <none>
Loading group files...
  D:\ssrt\SE1_10.gro: 1802 files
  D:\ssrt\1_04_patch.gro: 1 files
  D:\ssrt\1_00c_scripts.gro: 28 files
  D:\ssrt\1_00c_Logo.gro: 1 files
  D:\ssrt\1_00c.gro: 2267 files
  D:\ssrt\1_00_music.gro: 55 files
  D:\ssrt\1_00_ExtraTools.gro: 58 files

Detecting input devices...
  joysticks found: 16
  joysticks allowed: 8
  joy 1:  error 0x000000a5
  joy 2:  error 0x000000a5
  joy 3:  error 0x000000a5
  joy 4:  error 0x000000a5
  joy 5:  error 0x000000a5
  joy 6:  error 0x000000a5
  joy 7:  error 0x000000a5
  joy 8:  error 0x000000a5

Desktop settings...
  Color Depth: 32bit
  Screen: 1920x1080
  Virtual screen: 1920x1080
  Monitors directly reported: 1

Current display: 'C' version 1025 - 1920x1080x32

Initializing sound...
  libvorbisfile.dll loaded, ogg playing enabled
MPX playing disabled: Cannot load amp11lib.dll.
  Detected devices: 4
    device 0: G
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e
    device 1: 5
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e
    device 2: G
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e
    device 3: G
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e

Error loading ImmWraper.dll.
    IFeel disabled
Command line: ''
  joysticks found: 16
  joysticks allowed: 8
  joy 1:  error 0x000000a5
  joy 2:  error 0x000000a5
  joy 3:  error 0x000000a5
  joy 4:  error 0x000000a5
  joy 5:  error 0x000000a5
  joy 6:  error 0x000000a5
  joy 7:  error 0x000000a5
  joy 8:  error 0x000000a5
Loading game library 'D:\ssrt\Bin\Game.dll'...
include "Scripts\Game_startup.ini";
<command>(1): Cannot load script file 'Scripts\Game_startup.ini"': Cannot open file `D:\ssrt\Scripts\Game_startup.ini' (No such file or directory) ()
SS: RT is starting for the first time.
If you experience any problems, please
check ray tracing features on your GPU
and update drivers to the latest version.

  ! EAX error: Cannot query property support.
Setting sound format ...
Direct Sound initialization ...
  ! EAX error: Cannot query property support.
Direct Sound initialization ...
  44100Hz, 16bit, default device, mix-ahead: 0.2s
  mixer buffer size:  34 KB
  decode buffer size: 34 KB
  EAX: Disabled

Cannot load variable from 'Data\Var\Sam_Version.var':
Cannot open file `D:\ssrt\Data\Var\Sam_Version.var' (No such file or directory) ()
Cannot load variable from 'Data\Var\ModName.var':
Cannot open file `D:\ssrt\Data\Var\ModName.var' (No such file or directory) ()
Serious Sam version: 1.10
Active mod: -   R A Y   T R A C E D   -
unable to setup OpenGL settings list: Cannot open file `D:\ssrt\Scripts\GLSettings\GLSettings.lst' (No such file or directory) ()
Reading levels directory...
  file 'Levels\01_Hatshepsut.wld' : 'Hatshepsut' spawn=0x0005000f
  file 'Levels\02_SandCanyon.wld' : 'Sand Canyon' spawn=0x0005000f
  file 'Levels\03_TombOfRamses.wld' : 'Tomb Of Ramses' spawn=0x0005000f
  file 'Levels\04_ValleyOfTheKings.wld' : 'Valley Of The Kings' spawn=0x0005000f
  file 'Levels\05_MoonMountains.wld' : 'Moon Mountains' spawn=0x0005000f
  file 'Levels\06_Oasis.wld' : 'Oasis' spawn=0x0005000f
  file 'Levels\07_Dunes.wld' : 'Dunes' spawn=0x0005000f
  file 'Levels\08_Suburbs.wld' : 'Suburbs' spawn=0x0005000f
  file 'Levels\09_Sewers.wld' : 'Sewers' spawn=0x0005000f
  file 'Levels\10_Metropolis.wld' : 'Metropolis' spawn=0x0005000f
  file 'Levels\11_AlleyOfSphinxes.wld' : 'Alley Of The Sphinxes' spawn=0x0005000f
  file 'Levels\12_Karnak.wld' : 'Karnak' spawn=0x0005000f
  file 'Levels\13_Luxor.wld' : 'Luxor' spawn=0x0005000f
  file 'Levels\14_SacredYards.wld' : 'Sacred Yards' spawn=0x0005000f
  file 'Levels\15_TheGreatPyramid.wld' : 'The Great Pyramid' spawn=0x0005000f
  file 'Levels\Deathmatch\DesertTemple.wld' : 'Desert Temple' spawn=0x000201ff
  file 'Levels\Intro.wld' : 'Intro and Flyover' spawn=0x00000000
  file 'Levels\KarnakDemo.wld' : 'Karnak Demo' spawn=0x00050000
  file 'Levels\TechTest.wld' : 'Technology Test Level' spawn=0x00010000
Reading demos directory...
  Levels\Intro.wld

* START NEW DISPLAY MODE ...
  Starting display mode: 1920x1080

* Vulkan context created: *------------------------------------
  (Advanced Micro Devices, AMD Radeon RX 6600 XT, 1.2)

All textures reloaded.
All textures reloaded.
Vulkan: Gamma adjustment is not available now.
All textures reloaded.
All textures reloaded.

Automatic 3D-board preferences adjustment...
Detected: Advanced Micro Devices - AMD Radeon RX 6600 XT - 1.2
No matching preferences found! Automatic adjustment disabled!

* START NEW DISPLAY MODE ...
  Starting display mode: 1920x1080
Vulkan::ERROR::[0][Loader Message]
terminator_CreateDevice: Failed in ICD C:\WINDOWS\System32\DriverStore\FileRepository\u0371001.inf_amd64_c05f2cb8e5a0d295\B370998\.\amdvlk64.dll vkCreateDevicecall

Vulkan::ERROR::[0][Loader Message]
vkCreateDevice:  Failed to create device chain.

And Vulkan Validation layers:


Vulkan Development Status:
- Layers override: "Validation" configuration
- VULKAN_SDK environment variable: C:\VulkanSDK\1.2.189.1
- Vulkan Loader version: 1.2.176
- User-Defined Layers Paths from VK_LAYER_PATH environment variable: None
- User-Defined Layers Paths from Vulkan Configurator: None
- `vk_layer_settings.txt` uses the default platform path:
    C:\Users\adik\AppData\Local\LunarG\vkconfig\override
- Available Layers:
    - VK_LAYER_AMD_switchable_graphics (1.2.182)
    - VK_LAYER_VALVE_steam_overlay (1.2.136)
    - VK_LAYER_VALVE_steam_fossilize (1.2.136)
    - VK_LAYER_LUNARG_override (1.2.189)
    - VK_LAYER_LUNARG_api_dump (1.2.189)
    - VK_LAYER_LUNARG_device_simulation (1.2.189)
    - VK_LAYER_LUNARG_gfxreconstruct (1.2.189)
    - VK_LAYER_KHRONOS_synchronization2 (1.2.189)
    - VK_LAYER_KHRONOS_validation (1.2.189)
    - VK_LAYER_LUNARG_monitor (1.2.189)
    - VK_LAYER_LUNARG_screenshot (1.2.189)
- Physical Devices:
    - AMD Radeon RX 6600 XT (Discrete GPU) with Vulkan 1.2.182

Launching Vulkan Application:
- Layers overridden by "Validation" configuration.
- Executable Path: D:\ssrt\Bin\SeriousSamTFE.exe
- Working Directory: D:\ssrt\Bin
- Log file: D:\ssrt\SeriousSamTFE.txt

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x1fbb10b1960, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x1fbb10b1960, type: 1, name: NULL

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x1fbb15e7ee0, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x1fbb15e7ee0, type: 1, name: NULL

VUID-NONE(INFO / SPEC): msgNum: 1951495332 - Validation Information: [ VUID-NONE ] Object 0: handle = 0x1fbb1b7c480, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x745174a4 | Cannot open shader validation cache at C:\Users\adik\AppData\Local\Temp//shader_validation_cache.bin for reading (it may not exist yet)
    Objects: 1
        [0] 0x1fbb1b7c480, type: 3, name: NULL

UNASSIGNED-khronos-validation-createinstance-status-message(INFO / SPEC): msgNum: -671457468 - Validation Information: [ UNASSIGNED-khronos-validation-createinstance-status-message ] Object 0: handle = 0x1fbaea26fd0, type = VK_OBJECT_TYPE_INSTANCE; | MessageID = 0xd7fa5f44 | Khronos Validation Layer Active:
    Settings File: Found at C:\Users\adik\AppData\Local\LunarG\vkconfig\override\vk_layer_settings.txt specified by VkConfig application override.
    Current Enables: None.
    Current Disables: VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT.

    Objects: 1
        [0] 0x1fbaea26fd0, type: 1, name: NULL

Process terminated
sultim-t commented 3 years ago

There were redundant features in VkPhysicalDeviceFeatures. Try to replace Bin/Engine.dll with the new one: https://github.com/sultim-t/Serious-Engine-RT/files/7147630/TFE_RT_Bin_002.zip

kwahoo2 commented 3 years ago

Still crashes, but the log is different this time https://gist.github.com/kwahoo2/5c067efd67a958b9d3d1e1f5f7036e35

St0RM53 commented 3 years ago

May you set srt_bDebugValidation to 1 and sam_iGfxAPI to 1 inside Scripts\PersistentSymbols.ini to see if the rasterization renderer works?

If those variables don't exist, add to the file: persistent extern user INDEX srt_bDebugValidation=(INDEX)1; persistent extern INDEX sam_iGfxAPI=(INDEX)1;

With the new version after i put srt_bDebugValidation and sam_iGfxAPI to 1 the game launches and plays normally in Vulkan rasterized mode. Upon selecting the raytracing renderer and hitting apply it will crash:

--- Serious Engine Startup ---
  SeriousEngine Build: 10000.10

Executable: C:\GOG Games\Serious Sam RX\Bin\SeriousSamTFE.exe
Assumed engine directory: °Xn×

Examining underlying OS...
  Type: WinNT
  Version: 6.2, build 9200
  Misc: 

Detecting CPU...
  Vendor: cAMD
  Type: 0, Family: 15, Model: 1, Stepping: 0
  MMX : Yes
  CMOV: Yes
  Clock: 3400MHz

Global memory status...
  Physical memory used: 18727/65476MB
  Page file used:       31641/69572MB
  Virtual memory used:  4223/134217727MB
  Memory load:  28%
  Process working set: 0MB-1MB

Cannot load variable from 'DefaultMod.txt':
Cannot open file `C:\GOG Games\Serious Sam RX\DefaultMod.txt' (No such file or directory) ()
Current mod: <none>
Loading group files...
  C:\GOG Games\Serious Sam RX\SE1_10.gro: 1802 files
  C:\GOG Games\Serious Sam RX\1_04_patch.gro: 1 files
  C:\GOG Games\Serious Sam RX\1_00c_scripts.gro: 28 files
  C:\GOG Games\Serious Sam RX\1_00c_Logo.gro: 1 files
  C:\GOG Games\Serious Sam RX\1_00c.gro: 2267 files
  C:\GOG Games\Serious Sam RX\1_00_music.gro: 55 files
  C:\GOG Games\Serious Sam RX\1_00_ExtraTools.gro: 58 files

Detecting input devices...
  joysticks found: 16
  joysticks allowed: 8
  joy 1:  error 0x000000a5
  joy 2:  error 0x000000a5
  joy 3:  error 0x000000a5
  joy 4:  error 0x000000a5
  joy 5:  error 0x000000a5
  joy 6:  error 0x000000a5
  joy 7:  error 0x000000a5
  joy 8:  error 0x000000a5

Desktop settings...
  Color Depth: 32bit
  Screen: 2560x1440
  Virtual screen: 5120x1440
  Monitors directly reported: 2

Current display: 'C' version 1025 - 2560x1440x32

Initializing sound...
  libvorbisfile.dll loaded, ogg playing enabled
MPX playing disabled: Cannot load amp11lib.dll.
  Detected devices: 2
    device 0: S
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e
    device 1: O
      ver: 2560, id: 1.100
      form: 0x000fffff, ch: 2, support: 0x0000002e

WARNING: Gamma, brightness and contrast are not adjustable!

Error loading ImmWraper.dll.
    IFeel disabled
Command line: ''
  joysticks found: 16
  joysticks allowed: 8
  joy 1:  error 0x000000a5
  joy 2:  error 0x000000a5
  joy 3:  error 0x000000a5
  joy 4:  error 0x000000a5
  joy 5:  error 0x000000a5
  joy 6:  error 0x000000a5
  joy 7:  error 0x000000a5
  joy 8:  error 0x000000a5
Loading game library 'C:\GOG Games\Serious Sam RX\Bin\Game.dll'...
include "Scripts\Game_startup.ini";
<command>(1): Cannot load script file 'Scripts\Game_startup.ini"': Cannot open file `C:\GOG Games\Serious Sam RX\Scripts\Game_startup.ini' (No such file or directory) ()
Setting sound format ...
Direct Sound initialization ...
  ! EAX error: Cannot query property support.
Direct Sound initialization ...
  44100Hz, 16bit, default device, mix-ahead: 0.2s
  mixer buffer size:  34 KB
  decode buffer size: 34 KB
  EAX: Disabled

Cannot load variable from 'Data\Var\Sam_Version.var':
Cannot open file `C:\GOG Games\Serious Sam RX\Data\Var\Sam_Version.var' (No such file or directory) ()
Cannot load variable from 'Data\Var\ModName.var':
Cannot open file `C:\GOG Games\Serious Sam RX\Data\Var\ModName.var' (No such file or directory) ()
Serious Sam version: 1.10
Active mod: -   R A Y   T R A C E D   -
unable to setup OpenGL settings list: Cannot open file `C:\GOG Games\Serious Sam RX\Scripts\GLSettings\GLSettings.lst' (No such file or directory) ()
Reading levels directory...
  file 'Levels\01_Hatshepsut.wld' : 'Hatshepsut' spawn=0x0005000f
  file 'Levels\02_SandCanyon.wld' : 'Sand Canyon' spawn=0x0005000f
  file 'Levels\03_TombOfRamses.wld' : 'Tomb Of Ramses' spawn=0x0005000f
  file 'Levels\04_ValleyOfTheKings.wld' : 'Valley Of The Kings' spawn=0x0005000f
  file 'Levels\05_MoonMountains.wld' : 'Moon Mountains' spawn=0x0005000f
  file 'Levels\06_Oasis.wld' : 'Oasis' spawn=0x0005000f
  file 'Levels\07_Dunes.wld' : 'Dunes' spawn=0x0005000f
  file 'Levels\08_Suburbs.wld' : 'Suburbs' spawn=0x0005000f
  file 'Levels\09_Sewers.wld' : 'Sewers' spawn=0x0005000f
  file 'Levels\10_Metropolis.wld' : 'Metropolis' spawn=0x0005000f
  file 'Levels\11_AlleyOfSphinxes.wld' : 'Alley Of The Sphinxes' spawn=0x0005000f
  file 'Levels\12_Karnak.wld' : 'Karnak' spawn=0x0005000f
  file 'Levels\13_Luxor.wld' : 'Luxor' spawn=0x0005000f
  file 'Levels\14_SacredYards.wld' : 'Sacred Yards' spawn=0x0005000f
  file 'Levels\15_TheGreatPyramid.wld' : 'The Great Pyramid' spawn=0x0005000f
  file 'Levels\Deathmatch\DesertTemple.wld' : 'Desert Temple' spawn=0x000201ff
  file 'Levels\Intro.wld' : 'Intro and Flyover' spawn=0x00000000
  file 'Levels\KarnakDemo.wld' : 'Karnak Demo' spawn=0x00050000
  file 'Levels\TechTest.wld' : 'Technology Test Level' spawn=0x00010000
Reading demos directory...
  Levels\Intro.wld

* START NEW DISPLAY MODE ...
  Starting display mode: 2560x1440

* Vulkan context created: *------------------------------------
  (Advanced Micro Devices, AMD Radeon RX 6900 XT, 1.2)

All textures reloaded.
All textures reloaded.
All textures reloaded.
All textures reloaded.

Automatic 3D-board preferences adjustment...
Detected: Advanced Micro Devices - AMD Radeon RX 6900 XT - 1.2
No matching preferences found! Automatic adjustment disabled!

* START NEW DISPLAY MODE ...
  Starting display mode: 2560x1440
Faulting application name: SeriousSamTFE.exe, version: 0.0.0.0, time stamp: 0x612d1415
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x884
Faulting application start time: 0x01d7a7e2198e834c
Faulting application path: C:\GOG Games\Serious Sam RX\Bin\SeriousSamTFE.exe
Faulting module path: unknown
Report Id: 5d332b4b-41a7-4f01-88a9-dca2c8d6265b
Faulting package full name: 
Faulting package-relative application ID: 
opinali commented 3 years ago

The last binary (TFE_RT_Bin_002.zip) and settings worked for me, thanks! :)

UPDATE: Well no, it only works in rasterized mode, I didn't see that I had to explicit select Raytracing.

St0RM53 commented 3 years ago

Did the dev call it quits?;p

nhac-lly commented 3 years ago

https://www.amd.com/en/support/kb/release-notes/rn-rad-win-vulkan AMD just add a few more Vulkan extension, maybe it will fit the requirement.

kwahoo2 commented 3 years ago

No difference for me with driver 21.11.3

kd-11 commented 2 years ago

RaytracedGL1 library now works with AMD, maybe it is time for an updated release.

Calinou commented 2 years ago

This should be fixed by https://github.com/sultim-t/Serious-Engine-RT/releases/tag/v1.5 – this issue can be closed.

St0RM53 commented 2 years ago

Didn't notice the update, it works, tested on latest 22.9.2 drivers, the intro text video shows black rectangles and it's kinda corrupted at places, like there elements on top of text (i can upload screenshot). FPS on non-overclocked reference 6900xt from 60 down to 20 fps during gameplay (@1440p 100% render scale, FSR disabled), changing RT settings doesn't help much..i'll consider it unplayable on an AMD card..maybe it can be optimized somehow but i don't know; input lag is really bad but didn't mess with the input settings to see if i can fix it.

I'll leave it open so @sultim-t can see my response and close it after.

kwahoo2 commented 2 years ago

Didn't notice the update, it works, tested on latest 22.9.2 drivers, the intro text video shows black rectangles and it's kinda corrupted at places, like there elements on top of text (i can upload screenshot). FPS on non-overclocked reference 6900xt from 60 down to 20 fps during gameplay (@1440p 100% render scale, FSR disabled), changing RT settings doesn't help much..i'll consider it unplayable on an AMD card..

I can confirm artefacts in the intro. 22.5.1 drivers. I had to enable FSR, Quality mode and disable V-sync to get 35-60 fps in 1080p, 6600XT. Otherwise the framerate stayed at exactly 26.1 fps for most of the time.

No issues except the intro.