Map Database  •  FAQ  •  RSS  •  Login

Can't start KaM in fullscreen

<<

youpko

Peasant

Posts: 4

Joined: 22 Nov 2014, 18:01

KaM Skill Level: Average

Post 10 Dec 2014, 13:18

Can't start KaM in fullscreen

When I start the game in windowed mode everything is fine, but when I enable fullscreen in the options the next time I start the game it crashes with:
Exception occurred: EAccessViolation: Access violation at address 50E4E5DB in module 'atigktxx.dll'. Read of address 00000000.
The whole stacktrace:
  Code:
" Timestamp Elapsed Delta Description ======================== Date: 2014-12-10 ======================== 14:14:34.979 0,000s 0ms Log is up and running. Game version: r6720 14:14:35.016 0,037s 37ms Global settings loaded from KaM_Remake_Settings.ini 14:14:35.799 0,820s 783ms Game settings loaded from KaM_Remake_Settings.ini 14:14:37.906 2,926s 2106ms Exception occurred: EAccessViolation: Access violation at address 50E4E5DB in module 'atigktxx.dll'. Read of address 00000000. ================================================================================ START BUG REPORT ================================================================================ date/time : 2014-12-10, 14:14:36, 252ms computer name : Z77X operating system : Windows 7 x64 Service Pack 1 build 7601 system language : Dutch system up time : 9 minutes 28 seconds program up time : 1 second processors : 8x Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz physical memory : 4392/7262 MB (free/total) free disk space : (C:) 8,40 GB (D:) 104,98 GB display mode : 1920x1080, 32 bit process id : $520 allocated memory : 149,12 MB largest free block : 1,00 GB executable : KaM_Remake.exe exec. date/time : 2014-12-10 01:14 compiled with : Delphi XE3 madExcept version : 4.0.9 callstack crc : $50e4e5db, $8cc97c05, $8cc97c05 exception number : 1 exception class : EAccessViolation exception message : Access violation at address 50E4E5DB in module 'atigktxx.dll'. Read of address 00000000. main thread ($107c): 50e4e5db +000 atigktxx.dll 68fc91c1 +081 atioglxx.dll DrvDescribePixelFormat 71d95dcf +09d opengl32.dll wglDescribePixelFormat 71d96554 +039 opengl32.dll wglChoosePixelFormat 762f5ac5 +026 GDI32.dll ChoosePixelFormat 00670add +095 KaM_Remake.exe KromOGLUtils 82 +35 SetDCPixelFormat 00670c04 +038 KaM_Remake.exe KromOGLUtils 167 +10 SetContexts 00670d7e +022 KaM_Remake.exe KromOGLUtils 190 +2 SetRenderFrame 00671481 +019 KaM_Remake.exe KM_RenderControl 116 +2 TKMRenderControl.CreateRenderContext 006a31b6 +04e KaM_Remake.exe KM_Render 71 +8 TRender.Create 00812c49 +079 KaM_Remake.exe KM_GameApp 109 +7 TKMGameApp.Create 008a5086 +0d2 KaM_Remake.exe KM_Main 303 +14 TKMMain.ReinitRender 008a48e2 +1a2 KaM_Remake.exe KM_Main 128 +35 TKMMain.Start 008b7a2c +048 KaM_Remake.exe KaM_Remake 253 +5 initialization 76353388 +010 kernel32.dll BaseThreadInitThunk thread $1f40: 770b0156 +0e ntdll.dll NtWaitForMultipleObjects 76353388 +10 kernel32.dll BaseThreadInitThunk thread $1c3c: 770b1f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory 76353388 +10 kernel32.dll BaseThreadInitThunk thread $1384: 770af8ca +0e ntdll.dll NtWaitForSingleObject 769614a5 +92 KERNELBASE.dll WaitForSingleObjectEx 7635118f +3e kernel32.dll WaitForSingleObjectEx 76351143 +0d kernel32.dll WaitForSingleObject 004a9425 +0d KaM_Remake.exe madExcept CallThreadProcSafe 004a948a +32 KaM_Remake.exe madExcept ThreadExceptFrame 76353388 +10 kernel32.dll BaseThreadInitThunk >> created by main thread ($107c) at: 50e50328 +00 atigktxx.dll thread $1f14: 770b1f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory 76353388 +10 kernel32.dll BaseThreadInitThunk thread $1ca4: 770b1f3f +0b ntdll.dll NtWaitForWorkViaWorkerFactory 76353388 +10 kernel32.dll BaseThreadInitThunk modules: 00400000 KaM_Remake.exe D:\Games\Knights and Merchants Remake 08d40000 AppHookWIN6032_699E3E92-3874-4126-B42B-2CD66B3DB904.dll 7.0.0.11 C:\Program Files (x86)\DisplayFusion\Hooks 0f810000 gameoverlayrenderer.dll 2.53.74.47 D:\Steam 10000000 libzplay.dll 2.0.2.0 D:\Games\Knights and Merchants Remake 50cb0000 FaultRep.dll 6.1.7601.17514 C:\Windows\system32 50d10000 ltc_help32-90151.dll 1.0.0.1 C:\Program Files (x86)\Raptr 50e40000 atigktxx.dll 8.14.1.6413 C:\Windows\system32 50e70000 atiglpxx.dll 8.14.1.6413 C:\Windows\system32 5b700000 atiadlxy.dll 7.14.40.1301 C:\Windows\system32 68460000 DDRAW.dll 6.1.7600.16385 C:\Windows\system32 68f30000 atioglxx.dll 6.14.10.13283 C:\Windows\system32 6fa00000 PROPSYS.dll 7.0.7601.17514 C:\Windows\system32 6fe00000 uxtheme.dll 6.1.7600.16385 C:\Windows\system32 700d0000 winspool.drv 6.1.7601.17514 C:\Windows\system32 702c0000 winmm.dll 6.1.7601.17514 C:\Windows\system32 703f0000 ntmarta.dll 6.1.7600.16385 C:\Windows\system32 70420000 comctl32.dll 6.10.7601.17514 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2 70600000 dwmapi.dll 6.1.7600.16385 C:\Windows\system32 71b80000 WINSTA.dll 6.1.7601.18540 C:\Windows\system32 71bf0000 wtsapi32.dll 6.1.7601.17514 C:\Windows\system32 71d10000 DCIMAN32.dll 6.1.7601.18177 C:\Windows\system32 71d20000 GLU32.dll 6.1.7600.16385 C:\Windows\system32 71d50000 opengl32.dll 6.1.7600.16385 C:\Windows\system32 743c0000 WINNSI.DLL 6.1.7600.16385 C:\Windows\system32 743d0000 IPHLPAPI.DLL 6.1.7601.17514 C:\Windows\system32 74410000 version.dll 6.1.7600.16385 C:\Windows\system32 74420000 wsock32.dll 6.1.7600.16385 C:\Windows\system32 74a10000 CRYPTBASE.dll 6.1.7600.16385 C:\Windows\syswow64 74a20000 SspiCli.dll 6.1.7601.18637 C:\Windows\syswow64 74a80000 oleaut32.dll 6.1.7601.18640 C:\Windows\syswow64 74b10000 SHLWAPI.dll 6.1.7601.17514 C:\Windows\syswow64 74b70000 ole32.dll 6.1.7601.17514 C:\Windows\syswow64 74d70000 USERENV.dll 6.1.7601.17514 C:\Windows\syswow64 74d90000 WS2_32.dll 6.1.7601.17514 C:\Windows\syswow64 74dd0000 CFGMGR32.dll 6.1.7601.17621 C:\Windows\syswow64 74e00000 CRYPT32.dll 6.1.7601.18526 C:\Windows\syswow64 74f30000 NSI.dll 6.1.7600.16385 C:\Windows\syswow64 74f50000 USP10.dll 1.626.7601.18454 C:\Windows\syswow64 74ff0000 SETUPAPI.dll 6.1.7601.17514 C:\Windows\syswow64 75190000 MSCTF.dll 6.1.7600.16385 C:\Windows\syswow64 75260000 DEVOBJ.dll 6.1.7601.17621 C:\Windows\syswow64 75280000 profapi.dll 6.1.7600.16385 C:\Windows\syswow64 75510000 sechost.dll 6.1.7600.16385 C:\Windows\SysWOW64 75530000 shell32.dll 6.1.7601.18517 C:\Windows\syswow64 76180000 ADVAPI32.dll 6.1.7601.18247 C:\Windows\syswow64 76220000 psapi.dll 6.1.7600.16385 C:\Windows\syswow64 76230000 comdlg32.dll 6.1.7601.17514 C:\Windows\syswow64 762b0000 GDI32.dll 6.1.7601.18577 C:\Windows\syswow64 76340000 kernel32.dll 6.1.7601.18409 C:\Windows\syswow64 76450000 IMM32.DLL 6.1.7601.17514 C:\Windows\system32 76690000 RPCRT4.dll 6.1.7601.18532 C:\Windows\syswow64 76780000 MSASN1.dll 6.1.7601.17514 C:\Windows\syswow64 76790000 USER32.dll 6.1.7601.17514 C:\Windows\syswow64 768b0000 CLBCatQ.DLL 2001.12.8530.16385 C:\Windows\syswow64 76950000 KERNELBASE.dll 6.1.7601.18409 C:\Windows\syswow64 769a0000 WINTRUST.dll 6.1.7601.18526 C:\Windows\syswow64 769d0000 msvcrt.dll 7.0.7601.17744 C:\Windows\syswow64 76a80000 LPK.dll 6.1.7601.18177 C:\Windows\syswow64 76be0000 WLDAP32.dll 6.1.7601.17514 C:\Windows\syswow64 77090000 ntdll.dll 6.1.7601.18247 C:\Windows\SysWOW64 hardware: + Bluetooth Radios - CSR Bluetooth Radio (driver 2.1.61.0) + Computer - ACPI x64-based PC + Digital Media Devices - Microsoft Digital Media Renderer Module + Disk drives - OCZ-AGILITY3 - OCZ-VERT EX2 SCSI Disk Device - SAMSUNG HD154UI - Samsung SSD 840 EVO 250G + Display adapters - AMD Radeon HD 6800 Series (driver 14.501.1003.0) - Intel(R) HD Graphics (driver 9.17.10.3347) + DVD/CD-ROM drives - TSSTcorp CDDVDW SH-224DB + Human Interface Devices - Bluetooth Remote Control Device (driver 2.1.51.0) - HID-compliant consumer control device - HID-compliant consumer control device - HID-compliant consumer control device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - HID-compliant device - Logitech Gaming Virtual Keyboard (driver 3.4.131.0) - Logitech Gaming Virtual Mouse (driver 3.4.131.0) - USB Input Device - USB Input Device - USB Input Device - USB Input Device - USB Input Device + IDE ATA/ATAPI controllers - Intel(R) 7 Series/C216 Chipset Family SATA AHCI Controller (driver 11.0.0.1032) + Imaging devices - WSD Scan Device + Keyboards - HID Keyboard Device - HID Keyboard Device - HID Keyboard Device + Mice and other pointing devices - HID-compliant mouse - HID-compliant mouse - Logitech Cordless Gaming Receiver (driver 8.50.0.0) + Microchip Tools - Microchip WinUSB Device (driver 1.0.0.4) + Monitors - Generic PnP Monitor - Generic PnP Monitor - Generic PnP Monitor - Generic PnP Monitor - Generic PnP Monitor + Network adapters - Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.20) #2 (driver 2.0.4.4) - Bluetooth Personal Area Network Device (driver 2.1.51.0) - Microsoft ISATAP Adapter - Microsoft ISATAP Adapter #2 - Microsoft ISATAP Adapter #3 - TAP-Windows Adapter V9 (driver 9.0.0.9) - Teredo Tunneling Pseudo-Interface - WAN Miniport (IKEv2) - WAN Miniport (IP) - WAN Miniport (IPv6) - WAN Miniport (L2TP) - WAN Miniport (Network Monitor) - WAN Miniport (PPPOE) - WAN Miniport (PPTP) - WAN Miniport (SSTP) + Ports (COM & LPT) - Bluegiga Bluetooth Low Energy (COM3) (driver 5.1.2600.0) - Bluetooth SPP Driver (COM4) (driver 2.1.51.0) - Bluetooth SPP Driver (COM5) (driver 2.1.51.0) - Communications Port (COM1) + Processors - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz - Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz + Sound, video and game controllers - AMD High Definition Audio Device (driver 7.12.0.7719) - Bluetooth Stereo Audio (driver 2.1.60.0) - High Definition Audio Device - VIA High Definition Audio (driver 6.0.1.10200) - Virtual Audio Cable (driver 4.13.0.5811) + Storage controllers - Marvell 91xx SATA 6G Controller (driver 1.2.0.1010) + Storage volume shadow copies - Generic volume shadow copy - Generic volume shadow copy + System devices - 2nd Generation Intel(R) Core(TM) Processor Family DRAM Controller - 0100 (driver 9.2.0.1026) - ACPI Fan - ACPI Fan - ACPI Fan - ACPI Fan - ACPI Fan - ACPI Fixed Feature Button - ACPI Power Button - ACPI Thermal Zone - ACPI Thermal Zone - Composite Bus Enumerator - Direct memory access controller - File as Volume Driver - High Definition Audio Controller - High Definition Audio Controller - High precision event timer - Intel(R) 7 Series/C216 Chipset Family PCI Express Root Port 1 - 1E10 (driver 9.3.0.1011) - Intel(R) 7 Series/C216 Chipset Family PCI Express Root Port 5 - 1E18 (driver 9.3.0.1011) - Intel(R) 7 Series/C216 Chipset Family PCI Express Root Port 7 - 1E1C (driver 9.3.0.1011) - Intel(R) 7 Series/C216 Chipset Family PCI Express Root Port 8 - 1E1E (driver 9.3.0.1011) - Intel(R) 7 Series/C216 Chipset Family SMBus Host Controller - 1E22 (driver 9.3.0.1011) - Intel(R) 82801 PCI Bridge - 244E - Intel(R) 82802 Firmware Hub Device - Intel(R) Management Engine Interface (driver 8.1.0.1263) - Intel(R) Z77 Express Chipset LPC Controller - 1E44 (driver 9.3.0.1011) - IPBusEnum Root Enumerator - Logitech GamePanel Virtual Bus Enumerator (driver 3.4.131.0) - Microsoft ACPI-Compliant System - Microsoft System Management BIOS Driver - Microsoft Virtual Drive Enumerator Driver - Microsoft Windows Management Interface for ACPI - Motherboard resources - Motherboard resources - Motherboard resources - Motherboard resources - Motherboard resources - MP640 - Numeric data processor - PCI bus (driver 1.0.3.214) - PCI standard PCI-to-PCI bridge - Plug and Play Software Device Enumerator - Programmable interrupt controller - Remote Desktop Device Redirector Bus - RX-V475 - System board - System board - System CMOS/real time clock - System timer - Terminal Server Keyboard Driver - Terminal Server Mouse Driver - UMBus Enumerator - UMBus Root Bus Enumerator - Volume Manager - Xeon E3-1200/2nd Generation Intel(R) Core(TM) Processor Family PCI Express Root Port - 0101 (driver 9.2.0.1026) + Universal Serial Bus controllers - CSR BlueCore Device (driver 2.1.60.0) - Generic USB Hub - Generic USB Hub - Generic USB Hub - Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E26 (driver 9.3.0.1011) - Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D (driver 9.3.0.1011) - Intel(R) USB 3.0 eXtensible Host Controller (driver 1.0.3.214) - Intel(R) USB 3.0 Root Hub (driver 1.0.3.214) - Saleae Logic USB Logic Analyzer (driver 6.0.6000.16388) - Unknown Device - USB Composite Device - USB Composite Device - USB Root Hub - USB Root Hub - VIA USB 2 Hub (driver 6.1.7600.1902) - VIA USB 2 Hub (driver 6.1.7600.1902) - VIA USB 3 Root Hub (driver 6.1.7600.1902) - VIA USB eXtensible Host Controller (driver 6.1.7600.1902) + WSD Print Provider - WSD Print Device cpu registers: eax = 01001403 ebx = 0028f2e0 ecx = 00000000 edx = 00000000 esi = 0028f284 edi = 00000000 eip = 50e4e5db esp = 0028f244 ebp = 0028f26c stack dump: 0028f244 9c f2 28 00 c4 f2 28 00 - 00 00 00 00 5a c6 e4 50 ..(...(.....Z..P 0028f254 00 00 00 00 00 00 00 00 - c4 f2 28 00 01 00 00 00 ..........(..... 0028f264 9c f2 28 00 00 00 00 00 - 9c f2 28 00 a7 bd e4 50 ..(.......(....P 0028f274 84 f2 28 00 90 f6 28 00 - c4 f2 28 00 e8 b2 cd 00 ..(...(...(..... 0028f284 10 ab c6 06 00 00 00 00 - e0 f2 28 00 08 01 00 00 ..........(..... 0028f294 01 00 00 00 00 00 00 00 - ac f2 28 00 fa 9b e4 50 ..........(....P 0028f2a4 00 02 00 80 90 15 02 01 - ec f3 28 00 a0 86 e4 50 ..........(....P 0028f2b4 00 02 00 80 90 f6 28 00 - 58 db 9a 03 e8 b2 cd 00 ......(.X....... 0028f2c4 c0 01 00 80 00 02 00 80 - 00 00 00 00 01 00 00 00 ................ 0028f2d4 e0 f2 28 00 08 01 00 00 - 00 00 00 00 02 00 00 00 ..(............. 0028f2e4 02 00 01 00 00 00 00 00 - 00 00 00 00 70 ea fd fe ............p... 0028f2f4 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f304 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f314 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f324 00 00 00 00 08 01 00 00 - 80 00 00 00 00 00 01 00 ................ 0028f334 03 14 00 01 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f344 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f354 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f364 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ 0028f374 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................ disassembling: [...] 00670aa0 066 mov byte ptr [ebx+$12], 0 00670aa4 067 mov byte ptr [ebx+$13], 0 00670aa8 068 mov byte ptr [ebx+$14], 0 00670aac 069 mov byte ptr [ebx+$15], 0 00670ab0 070 mov byte ptr [ebx+$16], 0 00670ab4 071 mov byte ptr [ebx+$17], $10 00670ab8 072 mov byte ptr [ebx+$18], 8 00670abc 073 mov byte ptr [ebx+$19], 0 00670ac0 074 mov byte ptr [ebx+$1a], 0 00670ac4 075 mov byte ptr [ebx+$1b], 0 00670ac8 076 xor eax, eax 00670aca mov [ebx+$1c], eax 00670acd 077 xor eax, eax 00670acf mov [ebx+$20], eax 00670ad2 078 xor eax, eax 00670ad4 mov [ebx+$24], eax 00670ad7 081 test edx, edx 00670ad9 jnz loc_670ae6 00670adb 082 push ebx 00670adc push edi 00670add > call -$25ba26 ($4150bc) ; Winapi.Windows.ChoosePixelFormat 00670ae2 mov esi, eax 00670ae4 jmp loc_670ae8 00670ae6 084 mov esi, edx 00670ae8 086 test esi, esi 00670aea jnz loc_670b03 00670aec 087 push $10 00670aee push $670b30 00670af3 push $670b3c 00670af8 push 0 00670afa call -$25b11b ($4159e4) ; Winapi.Windows.MessageBox 00670aff 088 xor eax, eax 00670b01 089 jmp loc_670b28 00670b03 093 push ebx 00670b04 push esi 00670b05 push edi 00670b06 call -$25b737 ($4153d4) ; Winapi.Windows.SetPixelFormat 00670b0b test eax, eax 00670b0d jnz loc_670b26 00670b0f 094 push $10 00670b11 push $670b30 [...] ================================================================================ END BUG REPORT ================================================================================
<<

pawel95

Castle Guard Swordsman

Posts: 1912

Joined: 03 Oct 2008, 22:00

KaM Skill Level: Skilled

Location: "Pawel95" on Youtube.com

Post 10 Dec 2014, 13:28

Re: Can't start KaM in fullscreen

Seems like your ATI Graphic Driver isn´t installed (correctly) ?
<<

youpko

Peasant

Posts: 4

Joined: 22 Nov 2014, 18:01

KaM Skill Level: Average

Post 10 Dec 2014, 13:31

Re: Can't start KaM in fullscreen

Al other programs work fine, and KaM worked fine before the update I did to day

note: it KaM works expect launching full-screen, starting not full-screen and switching to full-screen when KaM started also works.

And in the assembly stack trace something seems to go wrong with the pixel formats.
<<

Krom

User avatar

Knights Province Developer

Posts: 3280

Joined: 09 May 2006, 22:00

KaM Skill Level: Fair

Location: Russia

Post 10 Dec 2014, 14:01

Re: Can't start KaM in fullscreen

Probably something wrong with OpenGL or GPU drivers. Please look into updating those.

KromOGLUtils SetDCPixelFormat haven't changed in years.
Knights Province at: http://www.knightsprovince.com
KaM Remake at: http://www.kamremake.com
Original MBWR/WR2/AFC/FVR tools at: http://krom.reveur.de
<<

youpko

Peasant

Posts: 4

Joined: 22 Nov 2014, 18:01

KaM Skill Level: Average

Post 10 Dec 2014, 14:25

Re: Can't start KaM in fullscreen

That was the first thing I did after it stopped working. I will take a look on a second pc if the problem arrises there as well
<<

youpko

Peasant

Posts: 4

Joined: 22 Nov 2014, 18:01

KaM Skill Level: Average

Post 10 Dec 2014, 14:51

Re: Can't start KaM in fullscreen

Second PC works fine.

Version r5503 start up is normal, the problem only occurs in r6720.

In "KaM_Remake_Settings.ini":
results in crash
  Code:
FullScreen=1
starts up normally
  Code:
FullScreen=0
I am a bit confused why this is. :O

but I find it even more interesting that starting in windowed mode and then switching to fullscreen works.

Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 12 guests