DustinHLand / vkDOOM3

Vulkan DOOM 3 port based on DOOM 3 BFG Edition
GNU General Public License v3.0
850 stars 90 forks source link

Resolution resets back to 1280x720 #23

Open rustyx opened 4 years ago

rustyx commented 4 years ago

For some reason I cannot get vkdoom3 to use any resolution other than 1280x720. An attempt to change it in the game crashes the game with VK: VK_ERROR_OUT_OF_DATE_KHR - vkQueuePresentKHR( vkcontext.presentQueue, &presentInfo ). Setting set r_windowHeight "1080", set r_windowWidth "1920" in the cfg file is ignored and gets rewritten back to 1280,720.

Running Win 10 x64 on an Intel i7-7700HQ/nvidia 1050 setup (disabling the latter also does not help).

Here's the log:

Command line: 
QA Timing INIT: 000003ms
D3BFG 1.1400 win-x86 Aug 25 2017 01:04:32
2808 MHz Intel CPU with MMX & SSE & SSE2 & SSE3 & HTT
16272 MB System Memory
-1 MB Video Memory
Winsock Initialized
Found interface: {8CBE6D5C-7F19-48CB-94B8-C45FB446C240} Bluetooth Device (Personal Area Network) - 0.0.0.0 NULL netmask - skipped
Found interface: {070773E2-BCA2-40C8-88EA-56CBFE5F0E97} Hyper-V Virtual Ethernet Adapter - 172.18.88.225/255.255.255.240
Found interface: {792FB2E6-8FF8-4154-97DB-77C2F0699BEA} Hyper-V Virtual Ethernet Adapter #2 - 10.0.75.1/255.255.255.0
Found interface: {0E9EC891-E09F-48F7-B1EC-0E694527DF08} Intel(R) Dual Band Wireless-AC 8265 - 192.168.1.9/255.255.255.0
Found interface: {D81043C9-66EE-4735-9237-7E4BE47134ED} Microsoft Wi-Fi Direct Virtual Adapter - 0.0.0.0 NULL netmask - skipped
Found interface: {6F358A1B-93A5-4798-847C-9F0765CDAA95} Microsoft Wi-Fi Direct Virtual Adapter #2 - 0.0.0.0 NULL netmask - skipped
Sys_InitNetworking: adding loopback interface
doom using MMX & SSE for SIMD processing
enabled Flush-To-Zero mode
enabled Denormals-Are-Zero mode
------ Initializing File System ------
Loaded resource file _common.resources
Loaded resource file _ordered.resources
Loaded resource file _sound_pc.resources
Loaded resource file _sound_pc_en.resources
Loaded resource file _sound_pc_fr.resources
Loaded resource file _sound_pc_gr.resources
Loaded resource file _sound_pc_it.resources
Loaded resource file _sound_pc_jp.resources
Loaded resource file _sound_pc_sp.resources
Current search path:
C:\dev\doom3/base
C:\Users\<...>\Saved Games\id Software\DOOM 3 BFG/base
file system initialized.
--------------------------------------
WARNING: Unable to open resource file maps/_startup.resources
----- Initializing Decls -----
------------------------------
Couldn't open journal files
execing default.cfg
execing D3BFGConfig.cfg
couldn't exec autoexec.cfg
----- Initializing Sound System ------
  0: Speakers (Realtek High Definition Audio)
     2 channels, 48000 Hz
     Front Left and Front Right
     Default Console Device, Multimedia Device, Communications Device, and Game Device
Using device 0
sound system initialized.
--------------------------------------
------- Initializing renderSystem --------
----- idRenderBackend::Init -----
Initializing Vulkan subsystem with multisamples:0 fullscreen:1
...getting default gamma ramp: success
...registered window class
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1920
          dmPelsHeight      : 1080
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
...calling CDS: ok
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1280
          dmPelsHeight      : 720
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
...created window @ 0,0 (1280x720)

------- Input Initialization -------
Initializing DirectInput...
mouse: DirectInput initialized.
keyboard: DirectInput initialized.
------------------------------------
----- Initializing Render Shaders -----
renderSystem initialized.
--------------------------------------
WARNING: Couldn't load image: splashbink : splashbink#__0200
Reading strings/english.lang as UTF-8
9104 strings read
--------- Initializing Game ----------
gamename: baseDOOM-1
gamedate: Aug 25 2017
Initializing event system
...535 event definitions
Initializing class hierarchy
...158 classes, 248240 bytes for event callbacks
Initializing scripts
Compiled 'C:\dev\doom3\base\script\doom_main.script': 1024.2 ms
---------- Compile stats ----------

Memory usage:
     Strings: 120, 14868 bytes
  Statements: 95386, 1907720 bytes
   Functions: 3070, 386208 bytes
   Variables: 206532 bytes
    Mem used: 3558832 bytes
 Static data: 3515932 bytes
   Allocated: 4998764 bytes
 Thread size: 7072 bytes

...6 aas types
game initialized.
--------------------------------------
----- idRenderModelManagerLocal::EndLevelLoad -----
    0 models purged from previous level,     3 models kept.
---------------------------------------------------
----- idImageManager::EndLevelLoad -----
   29 images loaded in   0.0 seconds
----------------------------------------
----- idSoundSystemLocal::EndLevelLoad -----
    7 sounds loaded in   0.0 seconds
----------------------------------------
------------- Warnings ---------------
during DOOM 3: BFG Edition initialization...
WARNING: Unable to open resource file maps/_startup.resources
WARNING: Couldn't load image: splashbink : splashbink#__0200
2 warnings
requiredSizeBytes: 5242880
Preloading images...
00362 images preloaded ( or were already loaded ) in   0.1 seconds
----------------------------------------
00259 sounds preloaded in   0.0 seconds
----------------------------------------
WARNING: Couldn't load image: _doomclassic : _doomclassic#__0200
--- Common Initialization Complete ---
QA Timing IIS: 006849ms
Opening IP socket: localhost:27015
execing joy_righty.cfg
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1280
          dmPelsHeight      : 720
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
...calling CDS: ok
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1920
          dmPelsHeight      : 1080
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1920
          dmPelsHeight      : 1080
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
display device: 0
  DeviceName  : \\.\DISPLAY1
  DeviceString: Intel(R) HD Graphics 630
  StateFlags  : 0x5
  DeviceID    : PCI\VEN_8086&DEV_591B&SUBSYS_19701043&REV_04
  DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Video\{82F11094-9FD9-11E9-9929-966E9E5020B8}\0000
      DeviceName  : \\.\DISPLAY1\Monitor0
      DeviceString: Generic PnP Monitor
      StateFlags  : 0x3
      DeviceID    : MONITOR\CMN15E8\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
      DeviceKey   : \Registry\Machine\System\CurrentControlSet\Control\Class\{4d36e96e-e325-11ce-bfc1-08002be10318}\0003
          dmPosition.x      : 0
          dmPosition.y      : 0
          dmBitsPerPel      : 32
          dmPelsWidth       : 1920
          dmPelsHeight      : 1080
          dmDisplayFlags    : 0x0
          dmDisplayFrequency: 60
VK: VK_ERROR_OUT_OF_DATE_KHR - vkQueuePresentKHR( vkcontext.presentQueue, &presentInfo )
idRenderSystem::Shutdown()
...releasing DC: success
...destroying window
...resetting display
...restoring hardware gamma: success