NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.38k stars 69 forks source link

Half-Life 2 attaching but not rendering correctly #25

Closed svelle closed 1 year ago

svelle commented 1 year ago

So I got several versions of half-life/source engine to run with rtxr injected. However once I get into the game, past the menu the game world quickly turns to black nothingness, some decals are still being rendered and I can toggle several rtxr settings but overall everything stays completely empty of textures. I can move around and "interact" with the world, as much as I can without seeing anything, and the game seems to be working fine.

https://user-images.githubusercontent.com/7526550/231582470-926ec147-de1c-42f5-aa67-90221ccc6f53.mp4

It doesn't really matter what startup parameters I use, the results stay very similar.

Here are the hl2_d3d9.log contents from the last run I did (tried exporting to USD a couple of times when I couldn't see anything)

info:  Game: hl2.exe
info:  DXVK_Remix: v1.9.3
info:  Found built-in config:
info:  Effective configuration:
info:    rtx.rayPortalModelHeightAxis = 0.0, 0.0, 1.0
info:    rtx.baseGameModPathRegex = -game "([a-zA-Z]:.*sourcemods.*)"
info:    rtx.nonOffsetDecalTextures = 727B75DD886D94FD,64A2E9E0169AE37F,C4826ABA6336F7FF,5E53185FD64EEFF2,
info:    rtx.zUp = True
info:    rtx.isRemixCompatible = True
info:    rtx.baseGameModRegex = sourcemods
info:    rtx.playerModelTextures = 8DD6F568BD126398,EEF8EFD4B8A1B2A5,4A066E5A5292D273,AC869B6F32D8BBDB,2D5AC1ADC56A42FD,E53AE01AC1FF9E03,9FC25F8E3D685EA5,9DED9E2A03234E95,EEEF6F901EEE1164,4DEEF5C779DDC88A,3CD4F0E2A8AAD575,F2A8C629EF1809C3,4FEB275B85245FB9,1BE7E510328AB010,2AF8E51AAA752D40,234A8CD5F00F220D,3B21664B1B19F463,3A349F1B5FD0B874,1E94FE2ABE6A3777,D2B78D811954C600,571EE878F3238A3F,DC8E4C587DF53D4C,CBDCB2327A1BB55B,163DCDE80551AFE2,7957972EDFF7EECC,17AE2077ADBE2A57,959F1B8A7563FDBB,126DEB020C4E0D2D,C3F3985DC82F765E,7D177970C35D7225,
info:    rtx.lightConverter = 2ef850e6fbfd8c87,11bdb0aec66e413a,5d2b45a0e4d62133,1d7191114ae3cab2,2c53b6d1412d82ee,6a7de931f906f159,8f877d11c0c69b09,e7afd1a8e179429b,c02fe462ba62838a,edda43a7194b6597,460306e97fb2d4b5,bcd2ca5224499175,2d5ac1adc56a42fd,b847641d0db70d7a,6d1c7640f8e75e57,3c9d70691e07b676,81adda2b5d6af17b,94c8baa2be97e3a, d6a162813f232ec5,407b3900391f92bb,87dfcd7146139c4a,7dc0376066ac76bc,687c5f75f2c8d860,cdeb53e58a94a92b,7eb3f191000f642a,de77f4f94de3dfc3,4fd7aea93bcc3833,f4a7f6be329029ca,a3979feff1010a75,89d244855965b001,3b2c78b35e0a88d5,f9387048e84ace7c,e88e5843fd107382,d0425187257ec023,9158e4ac55129ecb,aa16c42fa367111c
info:    rtx.lightmapTextures = 050173DFF733DBE1,913E194A071E2720,8D39476483C92F63,8BF8566E3C8B006F,54392326AF548522,AF312EE92AAD9609,A66CF9B74461F3DE,BD904729C36EEFE8,DB0E52AC3A7C8F12,C44E50BC6B433C6E,EE61086C4E281087,5371BABD1CDD7707,E4CFD8B693D251DD,BDD5ACBF489E7853,7B16D306254AB39E,C12951B8D7192A9E,7DE4CAEA279A9A09,5AF15B44D7E92568,CFB3E770A1FAF3F2,CDC07C4F6BD631F5,1B8F23FC10195395,8D6ACC0820F0D424,FAD3E22AA96D7B51,E9BEA521567E008E,AA2B1355C046AA80,26172AB99925C7AD,7B16D306254AB39E,7DE4CAEA279A9A09,BDD5ACBF489E7853,C12951B8D7192A9E,5AF15B44D7E92568,264724EA902655F8,E51A3DB8B4CE10AF,C8DECC54A0085620,33D41383CC45BCE1,CE19CDCC72E90FDF, 08790A05BF2829FB, 5F7DE781C2993BEC, A60D1CF2839DC373, FEE6D3D200FF4220, 216C17AA33DB5D75
info:    rtx.rayPortalSamplingWeightMinDistance = 100.0
info:    rtx.ignoreTextures = 2EF850E6FBFD8C87,2F40734A713AABCE,C5D5E4DC2C8B16A4,193E96F2A664E570,4BEE64E543B72DE8,A73A56119D34B9A8,CCF171A5B95F42AC,3588CCE077177F37,C511630F7EE7383C,0B0B3516EC8F2672,CA4AA3441DAA53CA,1A82AD51BADE42C6,525F90354488C30B,BAD0E1288F3F5A5A,6A7DE931F906F159,E7AFD1A8E179429B,C02FE462BA62838A,EDDA43A7194B6597,11BDB0AEC66E413A,260EAE29EC4727F3,A0EF42611EFCDBA5,6010A18E22F8CE34,A08B874535052615,8AA105C2149F4119,EFAC5FE5EB531111,A0EF42611EFCDBA5,8AA105C2149F4119,068E64C3DB849782,92e275beee2d2c12,ace20008ae3a0a5b,
info:    rtx.uiTextures = 7C47908363E9FB46,49C49D3F95609C9D,0ACC5AF8C7A6A72C,25F9AA6D11F0F1E0,0F707B765176FA99,A0B13F306011D748,71C560B061683B20,b1efb6a865b3082c,aedb4949ec308638,BC840D956C24C33C,010500D8F9BC71A1,65C067A6504C559E,7E20D6C917522EE4,1F06EE8596B7DD41,1FB0EBA5FEBD1B5A,C0F138D79131F8C1
info:    rtx.volumetricTransmittanceColor = 0.9, 0.89, 0.88
info:    rtx.volumetricTransmittanceMeasurementDistance = 20000.0
info:    rtx.ignoreLights = 460306E97FB2D4B5,2D5AC1ADC56A42FD,
info:    rtx.hideInstanceTextures = 
info:    rtx.viewModel.enable = True
info:    rtx.playerModelBodyTextures = 2D5AC1ADC56A42FD,1BE7E510328AB010,DC8E4C587DF53D4C,
info:    d3d9.maxEnabledLights = 32
info:    rtx.particleTextures = C0BE016F97F55259,2CB02C7BB3702A1F,F12275CBAFC9CA75,12A8733BBDF0FE20,3AEFA6FD5CF2DEB4,9F874078BE0C83FF,A5153B06569D6510,CD28C5A663826A6C,9C5D83E7E6B76A7A,F54E5ECA2E1504FD,577C6F86C18AAAA5,EEEF6F901EEE1164,F3DF557E6DDC103C,554AE68A890A90FB,FFC88527F4693A87,9DED9E2A03234E95,4DEEF5C779DDC88A,bd6fe490eca6a50f,63FF8A68ADB06117,05054E94DD6BB441,0C50217D8C6FDCC2,49E4EC22E559AFC2,280AC336CFC68401,394800E61100412F,285E8D0537EBEBA1,7862B129760B74F0,6253F3CDC90DC6FB,69E5FE25984A5529,FFCE11F1540354CA,232AE6FEF8EEF0BD,105F7D19ED93147E,
info:    rtx.fogRemapMaxDistanceMin = 100.0f
info:    rtx.beamTextures = ad7af1c4fca862e4,f116b8e9da308ee8,059b0044c2e2d9dd,
info:    rtx.decalTextures = 0464EB8194DD2139,077416B246F7EBF9,0D21C78830B9B87E,0E0905D9231B2621,0F4986B12FBC9B10,1CC7CA1FD5C7CEBC,2288A5A74C035053,25AF94A27B585E5A,2DBF6CC9A5652816,2F38DA65B73883EE,35961208D8AA165B,37AF209A1A371D8F,3CE13ABFA28FB599,3DB98F1B93F4679A,40D969C3B7B837F2,474E1B6A2EA8F082,4E9D342DFAD12947,4F33C5B2342FA20B,5073D083DAE15E8B,508B88AC09F56141,51BD52AFFAAD4BE7,53841B078528D4EF,58DFED2F17277010,60F5B0BF449D5C5C,6643F8FF7C42CB18,6C9DB83C1D5A5254,7A619D021C573F04,7FE3253F3EC79C0D,810643D7974355CF,8B3FA1ED9319A08B,8D0AACAE9911101A,8DA1232E36B0AB4D,90B63328CD155524,9B35406FACCF2C8F,A5D050857A01EE5D,AAAB0CB0C06F9934,AE6FC0599B192217,B0BA2CC643F93597,B68F559B25BF12AE,B798B753E4B43330,B93C3AF34B6F3980,C045D91DACCA62EB,C3BA8F2EC836E2B1,C41860E9CD66844C,C805C1C433BE9CC3,C9603739E8F2686B,C97FD37AF7708F22,D466A216C1A295DA,D51BD114D87C00BD,E0062D64AC9BAC08,E37B04B0085B6401,E83D04C31FE08619,E9FD72BAAB0C5FD0,EF607C1AF136DF26,F4661A1B6AA2E97B,F600C3C5174DBF69,F974DA687E700B25,FAD5EEA07EE81FCA,FBF1F662D1232979,FCF7F7862B76C49F,FF487E33FC613B9C,ED9A4736E697A97B,5585E3941BBD8A30,27C8BA6D1FB47A6A,6F1EAF2F9481C02F,121AF2BCC5B5AFCA,215BAAFC5A07B208,739825af5ff7b600,8f622d6d3b46b751,
info:    rtx.postfx.motionBlurDynamicDeduction = 0.075
info:    rtx.dynamicDecalTextures = f017847a501d804b,a65293be7ea5f7b7,
info:    rtx.rayPortalModelWidthAxis = 0.0, 1.0, 0.0
info:    rtx.worldSpaceUiTextures = 2F0654813BA4509B,E5A693D8A8BE5D34,62902E857F4B7230,38F233758BDF24F1,D764F53F9492150B,03027CD7C8492876,20D8A0C0EF108A33,49B4A977C4971EBC,34EBDE3214C50C43,FCECEDB4661B60EE,903E97BD3086C74B,CA8490701F86CB04,353CEC6EDBFBE689,28CB3CB457979BDC,49A6D4FA0F562B5C,1954FDFC34E8D819,9C16F4679F33F113,87770D9B57CED8C1,C7E5ED72431C4A6F,
info:    rtx.viewModel.viewRelativeOffsetMeters = 0.005, -0.002, -0.055
info:    rtx.worldSpaceUiBackgroundTextures = ece63a6d1de44f11
info:    rtx.froxelGridResolutionScale = 16
info:    rtx.skyBoxTextures = ED271AB781D49A9A,3574F482B41905E8,C5C302766FA5F91D,B25CD04A355C45D9,BD2CBBFAECF0168C,9083D293A167C5B,6CB534F9ACD206D5,CA4F5DA4FBB99FFC,
info:    rtx.animatedWaterTextures = 522E5513DB9638B6,
info:    rtx.uniqueObjectDistance = 300.0
info:    rtx.enableNearPlaneOverride = True
info:    rtx.rayPortalModelTextureHashes = 5EC61BC800744B26, DFDACB6DE1C7741E
info:    rtx.postfx.motionBlurMinimumVelocityThresholdInPixel = 1.5
info:    rtx.postfx.blurDiameterFraction = 0.02
info:    rtx.enableVolumetricLighting = True
info:    rtx.fogRemapTransmittanceMeasurementDistanceMin = 2000.0f
info:    rtx.temporalAA.colorClampingFactor = 1.0f
info:    rtx.rayPortalEnabled = True
info:    rtx.rayPortalModelNormalAxis = 1.0, 0.0, 0.0
info:    rtx.useObsoleteHashOnTextureUpload = True
info:    rtx.rayPortalSamplingWeightMaxDistance = 10000.0
info:    rtx.viewModel.scale = 0.4
info:    rtx.rayPortalCameraHistoryCorrection = True
info:    rtx.rayPortalCameraInBetweenPortalsCorrection = True
info:    rtx.postfx.exposureFraction = 0.4
info:    rtx.effectLightPlasmaBall = True
info:    rtx.enableFogRemap = True
info:    rtx.froxelDepthSlices = 48
info:    rtx.fogRemapMaxDistanceMax = 4000.0f
info:    rtx.fogRemapTransmittanceMeasurementDistanceMax = 12000.0
info:    rtx.temporalAA.maximumRadiance = 10000.0f
info:    rtx.temporalAA.newFrameWeight = 0.05f
info:    rtx.postfx.chromaticAberrationAmount = 0.0
info:    rtx.postfx.motionBlurSampleCount = 4
info:    rtx.postfx.motionBlurJitterStrength = 0.6
info:    rtx.postfx.vignetteRadius = 0.8
info:    rtx.postfx.enableMotionBlurNoiseSample = True
info:    rtx.postfx.chromaticCenterAttenuationAmount = 0.975
info:    rtx.postfx.vignetteIntensity = 1.0
info:    rtx.postfx.vignetteSoftness = 0.1
info:    rtx.nativeMipBias = 0.9
info:    rtx.upscalingMipBias = -0.4
info:    rtx.assetEstimatedSizeGB = 12
info:    rtx.legacyMaterial.roughnessConstant = 0.1
info:    rtx.geometryGenerationHashRuleString = positions,indices,texcoords,legacypositions0,legacypositions1,legacyindices,geometrydescriptor
info:  Found config file: rtx.conf
info:   positions
info:   indices
info:   texcoords
info:   legacypositions0
info:   legacypositions1
info:   legacyindices
info:   geometrydescriptor
info:   positions
info:   indices
info:   geometrydescriptor
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Enabled Layer Names:
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  NVIDIA GeForce RTX 4080:
info:    Driver: 531.41.0
info:    Vulkan: 1.3.236
info:    Memory Heap[0]: 
info:      Size: 16064 MiB
info:      Flags: 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:      Memory Type[4]: Property Flags = 0x7
info:    Memory Heap[1]: 
info:      Size: 16340 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:  Process set as DPI aware
info:  Detected GPU device ID is 0x2704, vendor ID is 0x10de
info:  Device properties:
info:    Device name:     : NVIDIA GeForce RTX 4080
info:    Driver version   : 531.41.0
info:  Enabled device extensions:
info:    VK_EXT_4444_formats
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state
info:    VK_EXT_full_screen_exclusive
info:    VK_EXT_memory_priority
info:    VK_EXT_opacity_micromap
info:    VK_EXT_robustness2
info:    VK_EXT_shader_demote_to_helper_invocation
info:    VK_EXT_shader_viewport_index_layer
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_acceleration_structure
info:    VK_KHR_buffer_device_address
info:    VK_KHR_create_renderpass2
info:    VK_KHR_deferred_host_operations
info:    VK_KHR_depth_stencil_resolve
info:    VK_KHR_draw_indirect_count
info:    VK_KHR_driver_properties
info:    VK_KHR_image_format_list
info:    VK_KHR_pipeline_library
info:    VK_KHR_push_descriptor
info:    VK_KHR_ray_query
info:    VK_KHR_ray_tracing_pipeline
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_float16_int8
info:    VK_KHR_shader_float_controls
info:    VK_KHR_swapchain
info:    VK_KHR_synchronization2
info:    VK_NVX_binary_import
info:    VK_NVX_image_view_handle
info:    VK_NV_low_latency
info:    VK_NV_ray_tracing_invocation_reorder
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 0
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 1
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderStorageImageExtendedFormats      : 0
info:    shaderStorageImageReadWithoutFormat    : 0
info:    shaderStorageImageWriteWithoutFormat   : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 0
info:    hostQueryReset                         : 1
info:  VK_EXT_4444_formats
info:    formatA4R4G4B4                         : 1
info:    formatA4B4G4R4                         : 1
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_extended_dynamic_state
info:    extendedDynamicState                   : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 1
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 0
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_demote_to_helper_invocation
info:    shaderDemoteToHelperInvocation         : 1
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 1
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_buffer_device_address
info:    bufferDeviceAddress                    : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 1
info:    Async Compute : 2
info:  DXVK: Read 3837 valid state cache entries
info:  DXVK: Using 16 compiler threads
info:  [GameCapturer] DXVK_RTX_CAPTURE_ENABLE_ON_FRAME: 
warn:  [GameCapturer] LSS USD Plugins failed to load.
warn:  Cannot find rtx-remix\mods\ under current directory: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2
info:  Automatic Raytrace Mode Preset in use (Set rtx.raytraceModePreset to something other than Auto use a non-automatic preset)
info:  NVIDIA architecture detected, setting default raytrace modes to Trace Ray (GBuffer/Indirect Integrate) and Ray Query (Direct Integrate)
info:  [RTX info] Opacity Micromap: supported
info:  [RTX info] Shader Execution Reordering: supported
info:  [RTX info] Shader Execution Reordering: disabled
info:  CPU supports SIMD: AVX2
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1080
info:      - Format:             D3D9Format::A8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           true
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1920x1080
info:    Image count:  2
info:    Exclusive FS: 2
info:  No winproc detected, initiating bridge message channel for: 0000000000310542
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_MULTISAMPLEANTIALIAS
warn:  D3D9Texture2D::QueryInterface: Unknown interface query
warn:  794950f2-adfc-458a-905e-10a10b0b503b
info:  Message channel UWM_REMIX_BRIDGE_REGISTER_THREADPROC_MSG established.
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1920x1080
info:    Image count:  2
info:    Exclusive FS: 2
info:  [RTX-Compatibility-Info] Shader usage detected, try enabling VertexCapture for this application.
info:  [RTX-Compatibility-Info] Trying to raytrace but not detecting a valid camera.
info:  Reflex enable attempt, mode=true
info:  [RTX-Compatibility-Info] Found a draw call to a non-primary render target. Falling back to rasterization
info:  [RTX-Compatibility-Info] Skipped drawcall, colour write disabled.
info:  Serializing config file: rtx.conf
info:  Serializing config file: rtx.conf
info:  Serializing config file: rtx.conf
info:  uitextures - added 8CB9ADDB9289B478
info:  uitextures - removed 8CB9ADDB9289B478
info:  Serializing config file: rtx.conf
info:  uitextures - added 441282E47FE7CB64
info:  Serializing config file: rtx.conf
info:  [RTX] Opacity Micromap: enabled
info:  [GameCapturer][0000] New capture
info:  RenderPass GBuffer Raytrace Mode: Trace Ray (RGS)
info:  RenderPass Integrate Direct Raytrace Mode: Ray Query (CS)
info:  RenderPass Integrate Indirect Raytrace Mode: Trace Ray (RGS)
info:  [GameCapturer][0000] Begin USD export
info:  [GameExporter][0000] Export start
info:  [GameExporter][0000] Export end
info:  [GameCapturer][0000] End USD export
dbwrush commented 1 year ago

I also tried with a few Source games, all from the 2013 branch (Half-Life 2, Portal and Portal 2). I haven't even seen evidence that they are attaching.

mralexs5 commented 1 year ago

I also tried with a few Source games, all from the 2013 branch (Half-Life 2, Portal and Portal 2). I haven't even seen evidence that they are attaching.

You have to put the DLL in the bin folder at the root of the game

SystemShocker287 commented 1 year ago

Putting it in the bin folder makes it worse image

SirenGlitch commented 1 year ago

You have to put the DLL in the bin folder at the root of the game

Which DLL? I'm guessing d3d9.dll?

SystemShocker287 commented 1 year ago

yep

SirenGlitch commented 1 year ago

I'm currently trying it with GMod, game runs in backround with no invocation that it runs at all besides Task Manager and Steam

SirenGlitch commented 1 year ago

No evidence of Remix injecting either

halfpeeps commented 1 year ago

Putting it in the bin folder makes it worse image

I'm having this issue too, with .trex and .dll moved to bin

dbwrush commented 1 year ago

Putting it in the bin folder makes it worse image

I'm having this issue too, with .trex and .dll moved to bin

I didn't even get as far as Route Kanal. After the Gman speech at the beginning, the entire map went gray except for a few bullet holes in the train car. The instructions talk about selecting specific textures to filter out, but I don't think that's related. I'll have to load up a few other maps and see what they look like. Also, halfpeeps, hello from a subscriber!

zerogott commented 1 year ago

Pretty sure Source won't work/will barely work out of the box. Twitter User igorzdrowowicz is currently working on RTX for HL2 by redoing the meshes and textures, and also using custom fixes to make it work in the first place.

SystemShocker287 commented 1 year ago

Is he using the Portal version?

halfpeeps commented 1 year ago

As far as I'm aware, the grey screen occurs when decals for impacts appear

dbwrush commented 1 year ago

Yes, he's been at it for months now.


From: SystemShocker287 @.> Sent: Thursday, April 13, 2023 4:38:42 PM To: NVIDIAGameWorks/rtx-remix @.> Cc: David @.>; Comment @.> Subject: Re: [NVIDIAGameWorks/rtx-remix] Half-Life 2 attaching but not rendering correctly (Issue #25)

Is he using the Portal version?

— Reply to this email directly, view it on GitHubhttps://github.com/NVIDIAGameWorks/rtx-remix/issues/25#issuecomment-1507641176, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKMJK7KAXFTI63YZZL4RWPDXBBW6FANCNFSM6AAAAAAW4HMI7Q. You are receiving this because you commented.Message ID: @.***>

zerogott commented 1 year ago

Is he using the Portal version?

Yes, he started the work when RTX for Portal was released.

dbwrush commented 1 year ago

Has anyone tried running HL2 with DirectX 8 instead of 9? Nvidia chose to use DX8 for their RTX release of Portal, I wonder if we might get better luck if we use it also.

SirenGlitch commented 1 year ago

Portal seems to work failry well with Remix actually, need to do the HL2 specific setup (put .trex and d3d9.dll in /bin/ folder) as opposed to regular but works fine after setting up UI textures in Remix Menu

SirenGlitch commented 1 year ago

actually never mind, portal rendering doesn't exist

RoyaleNoir commented 1 year ago

Source 2013 clamps the dxlevel to a minimum of 80, which will still use shaders if it absolutely can (sm1.1 or 1.4). This seems to stop remix from being able to capture most of the world geometry.

Setting client.shaderVersion to 0 in bridge.conf just causes Source to crash immediately, rather than forcing the fixed function fallback that the Portal RTX version of remix seemed to.

sniperstyx commented 1 year ago

I'm currently having a hard time understanding how to use RTX Remix at all for HL2 or any other games based on Source Engine.

MarkEHenderson commented 1 year ago

Please try running Half Life 2 using these instructions:

Half Life 2 recommended installation instructions:
1. Install Half Life 2 and PortalRTX.  Make sure both are fully updated - Portal With RTX just got a bugfix patch as of 2:30 PST today.
2. Copy the contents of "common\PortalRTX\portal_rtx\cfg" to "common\Half-Life 2\hl2\cfg" overwriting existing files
3. Copy the contents of "common\PortalRTX\bin" to "common\Half-Life 2\bin" overwriting the existing files
4. Copy rtx.conf and dxvk.conf from "common\PortalRTX" to "common\Half-Life 2"
5. Extract the contents of Remix 0.1.1 to "common\Half-Life 2\bin" overwriting existing files
6. Launch from steam.
sniperstyx commented 1 year ago

https://user-images.githubusercontent.com/52759847/232166882-3c3674ab-89fe-435c-b843-452047ca9fbe.mp4

It works now, but it looks... odd. EDIT: Ignore the music, I sometimes listen to music while doing... well, anything.

svelle commented 1 year ago

@sniperstyx go to:

common/Half Life 2/hl2/cfg/autoexec.cfg

add these lines:

// disable 3d skies
r_3dsky 0

// set correct fov for viewmodels
viewmodel_fov 90

and change this:

cl_first_person_uses_world_model 0
sniperstyx commented 1 year ago

@sniperstyx go to:

common/Half Life 2/hl2/cfg

add these lines:

// disable 3d skies
r_3dsky 0

// set correct fov for viewmodels
viewmodel_fov 90

and change this:

cl_first_person_uses_world_model 0

Those aren't the major issues, but the textures in general are. They are all shiny and weird and somewhat misplaced. They all seem to reflect everything, including on NPCs, rough surfaces and any other surface it shouldn't be able to reflect anything.

svelle commented 1 year ago

Those aren't the major issues, but the textures in general are. They are all shiny and weird and somewhat misplaced. They all seem to reflect everything, including on NPCs, rough surfaces and any other surface it shouldn't be able to reflect anything.

That's to be expected. Raytracing needs "physical" properties of surfaces to properly work. In an ideal situation we'd now go in and add this information for all the materials in the world. For now you can go in and edit the material override settings in the developer options of rtx remix.

as a quick fix you can set the roughness here to max and it'll get rid of the shinyness image

sniperstyx commented 1 year ago

Ohhh, I see now. Thanks for the clarification.

nunorelvao commented 1 year ago

can't we just disable that player VR view? annoying thing, anyone knows how to?

svelle commented 1 year ago

can't we just disable that player VR view? annoying thing, anyone knows how to?

https://github.com/NVIDIAGameWorks/rtx-remix/issues/25#issuecomment-1509398793

svelle commented 1 year ago

closing as @MarkEHenderson 's steps resolved this for me.

chaosclarity84 commented 1 year ago

@MarkEHenderson Just tried this with fresh installs of each game. Sadly this method no longer works and the game ends up rendering barely anything. I can see the skybox and a few poly's but that's it.

DrSharky commented 1 year ago

@MarkEHenderson Just tried this with fresh installs of each game. Sadly this method no longer works and the game ends up rendering barely anything. I can see the skybox and a few poly's but that's it.

try this https://github.com/NVIDIAGameWorks/rtx-remix/issues/25#issuecomment-1509404885