bstone
bstone copied to clipboard
(Windows) Game falls back to software renderer
Currently on commit 6699d5a421c912f2b6e74daf4677cc3e2267729b, building 64-bit using MSVC v17.
Regardless of renderer selected, the game always falls back to Direct3D + Software. Log contents below.
This is on a Windows 10 machine with an RTX 3080 card and up-to-date drivers.
Debugging into this, C:\git\bstone\src\bstone_detail_ren_3d_gl_error.cpp around line 199, assert fails. ERROR_CODE is 1282.
Call stack:
bstone.exe!common_assert_to_message_box<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 388
bstone.exe!common_assert<wchar_t>(const wchar_t * const expression, const wchar_t * const file_name, const unsigned int line_number, void * const return_address) Line 424
bstone.exe!_wassert(const wchar_t * expression, const wchar_t * file_name, unsigned int line_number) Line 444 C++
bstone.exe!bstone::detail::Ren3dGlError::ensure_assert() Line 199
> bstone.exe!bstone::detail::Ren3dGlSamplerImpl::sampler_deleter(unsigned int gl_name) Line 339
bstone.exe!bstone::UniqueResource<unsigned int,&bstone::detail::Ren3dGlSamplerImpl::sampler_deleter>::close() Line 157
bstone.exe!bstone::UniqueResource<unsigned int,&bstone::detail::Ren3dGlSamplerImpl::sampler_deleter>::~UniqueResource<unsigned int,&bstone::detail::Ren3dGlSamplerImpl::sampler_deleter>() Line 86
bstone.exe!bstone::detail::Ren3dGlSamplerImpl::~Ren3dGlSamplerImpl() Line 194
[External Code]
bstone.exe!bstone::HwVideo::fail_nested(const char * message) Line 944
bstone.exe!`bstone::HwVideo::initialize_video'::`1'::catch$2() Line 11590
[External Code]
bstone.exe!bstone::HwVideo::initialize_video() Line 11582
bstone.exe!bstone::HwVideo::HwVideo() Line 87
[External Code]
bstone.exe!bstone::make_hw_video() Line 11600
bstone.exe!VL_Startup() Line 1712
bstone.exe!VW_Startup() Line 331
bstone.exe!InitGame() Line 1368
bstone.exe!freed_main() Line 1529
bstone.exe!SDL_main(int argc, char * * argv) Line 10016
bstone.exe!main_getcmdline() Line 71
Log:
VID] --------------------
[VID] Common configuration
[VID] --------------------
[VID] Renderer: OpenGL 3.2 core
[VID] Window positioned: false
[VID] Windowed x: 0
[VID] Windowed y: 0
[VID] Windowed width: 1280
[VID] Windowed height: 800
[VID] UI stretched: false
[VID] Widescreen: true
[VID] 2D texture filter: linear
[VID] 3D texture image filter: linear
[VID] 3D texture mipmap filter: linear
[VID] Texture anisotropy: 16
[VID] Texture upscale filter: xbrz
[VID] Texture upscale xBRZ factor: 4
[VID] Anti-aliasing kind: msaa
[VID] Anti-aliasing value: 8
[VID] --------------------
[VIDHW]
[VIDHW] Initializing 3D renderer.
[VIDHW] Trying to initialize "OpenGL 3.2 core".
[VIDHW]
[VIDHW] Device features
[VIDHW] ===============
[VIDHW] V-Sync: true
[VIDHW] V-Sync requires restart: false
[VIDHW] Texture max dimension: 32768
[VIDHW] Viewport max width: 32768
[VIDHW] Viewport max height: 32768
[VIDHW] Anisotropy: true
[VIDHW] Anisotropy max degree: 16
[VIDHW] Non-power-of-two textures: true
[VIDHW] Mipmap auto-generation: true
[VIDHW] Samplers: true
[VIDHW] MSAA: true
[VIDHW] MSAA (render-to-window): false
[VIDHW] MSAA requires restart: false
[VIDHW] MSAA max degree: 32
[VIDHW] Vertex input max locations: 16
[ERROR] [VID] [HW_VIDEO] HwVideo
[VID] Falling back to software accelerated video system.
[VID] --------------------
[VID] Common configuration
[VID] --------------------
[VID] Renderer: OpenGL 3.2 core
[VID] Window positioned: false
[VID] Windowed x: 0
[VID] Windowed y: 0
[VID] Windowed width: 1280
[VID] Windowed height: 800
[VID] UI stretched: false
[VID] Widescreen: true
[VID] 2D texture filter: linear
[VID] 3D texture image filter: linear
[VID] 3D texture mipmap filter: linear
[VID] Texture anisotropy: 16
[VID] Texture upscale filter: xbrz
[VID] Texture upscale xBRZ factor: 4
[VID] Anti-aliasing kind: msaa
[VID] Anti-aliasing value: 8
[VID] --------------------
[VIDSW] Available renderer drivers:
[VIDSW] 1. direct3d
[VIDSW] 2. opengl
[VIDSW] 3. opengles2
[VIDSW] 4. software
[VIDSW] Renderer: "direct3d".
[VIDSW] Pixel format: "SDL_PIXELFORMAT_ARGB8888"