[Buggy Hack][query]what pixel format does gzdoom use?

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
lemonzest
Posts: 101
Joined: Wed Aug 31, 2005 19:03
Location: Nottingham, UK

[Buggy Hack][query]what pixel format does gzdoom use?

Post by lemonzest »

Hi

I've been using this method of anti aliasing alpha textures since i don't have a nvidia 7800gt and on most of the games a play (including zdoomgl) it works ok, but with gzdoom it just crashes, so any idea what pixel format gzdoom uses in opengl mode? screen res is 1280x1024 32bit

thanks.

Lemonzest

edit:oops forgot the link :O

http://www.rage3d.com/board/showthread.php?t=33821061
Last edited by lemonzest on Thu Sep 15, 2005 1:30, edited 1 time in total.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

I am first trying to get an RGBA 32bit format with 32bit depth buffer and 8 bit stencil buffer. If that fails I retry without stencil buffer. The initialization code is written by Timmie for his next ZDoomGL version with a few compatibility rewrites by me.

Could you please post your exact hardware specs, the output from a start with '+öogfile log' and the crash log? Without that I can't help you any further.
lemonzest
Posts: 101
Joined: Wed Aug 31, 2005 19:03
Location: Nottingham, UK

Post by lemonzest »

Spec

AMD Athlon64 3000+ @2.49GHz
DFI Lanparty UT NF3 250Gb nForce 7.13 Drivers
ATI Radeon X800XT Omega 5.8 Drivers
2x512MB Geil Value PC3200 Ram

Same files from the thread in question work fine in timmie's ZDoomGL 0.8a

[spoiler]

Code: Select all

Code: ACCESS_VIOLATION
Tried to read address 00000000
Flags: 00000000
Address: 00000000

Windows NT 5.1 Build 2600 Service Pack 2

GS=0000  FS=003b  ES=0023  DS=0023
EAX=9a010d1c  EBX=00060532  ECX=0013facc  EDX=7c90eb94
ESI=9a010d1c  EDI=0013fbb4
EBP=0013fb90  EIP=00000000  ESP=0013facc  CS=001b  SS=0023
EFlags=00210246
 CF- PF+ AF- ZF+ SF- TF- IF+ DF- OF- NT- RF+ VM- AC- VI- VP-

FPU State:
 ControlWord=027f StatusWord=4020 TagWord=ffff
 ErrorOffset=5ad72985
 ErrorSelector=02e9001b
 DataOffset=0013f12c
 DataSelector=ffff0023
 Cr0NpxState=00000000

MM0=bf985dffffffffff
MM1=0013fb9c00000000
MM2=00ff80080000003e
MM3=8000000000000000
MM4=0000000000000000
MM5=9a010d1c0013fbb4
MM6=0013fb909a010d1c
MM7=000000230013facc

Running threads:
00000274 at 00000000*
000007fc
0000029c
00000780
00000734
0000064c
000000c8
000001dc

Loaded modules:
00400000 - 006defff  GZDoom.exe
7c900000 - 7c9affff  ntdll.dll
7c800000 - 7c8f3fff  kernel32.dll
10000000 - 10016fff  OPENGL32.dll
77d40000 - 77dcffff  USER32.dll
77f10000 - 77f55fff  GDI32.dll
68b20000 - 68b3ffff  GLU32.dll
77c10000 - 77c67fff  msvcrt.dll
00340000 - 003d5fff  fmod.dll
77dd0000 - 77e6afff  ADVAPI32.dll
77e70000 - 77f00fff  RPCRT4.dll
77be0000 - 77bf4fff  MSACM32.dll
76b40000 - 76b6cfff  WINMM.dll
774e0000 - 7761cfff  ole32.dll
71ad0000 - 71ad8fff  WSOCK32.dll
71ab0000 - 71ac6fff  WS2_32.dll
71aa0000 - 71aa7fff  WS2HELP.dll
773d0000 - 774d2fff  COMCTL32.dll
77f60000 - 77fd5fff  SHLWAPI.dll
006e0000 - 00867fff  DevIL.dll
763b0000 - 763f8fff  comdlg32.dll
7c9c0000 - 7d1d4fff  SHELL32.dll
5cb70000 - 5cb95fff  ShimEng.dll
6f880000 - 6fa49fff  AcGenral.DLL
77120000 - 771aafff  OLEAUT32.dll
77c00000 - 77c07fff  VERSION.dll
769c0000 - 76a72fff  USERENV.dll
5ad70000 - 5ada7fff  UxTheme.dll
76390000 - 763acfff  IMM32.DLL
629c0000 - 629c8fff  LPK.DLL
74d90000 - 74dfafff  USP10.dll
00970000 - 0097dfff  MsgPlusLoader.dll
00f80000 - 00f86fff  samvcumd.dll
01110000 - 01116fff  LgWndHk.dll
76f50000 - 76f57fff  wtsapi32.dll
76360000 - 7636ffff  WINSTA.dll
5b860000 - 5b8b3fff  NETAPI32.dll
77fe0000 - 77ff0fff  Secur32.dll
73f10000 - 73f6bfff  dsound.dll
76c30000 - 76c5dfff  WINTRUST.dll
77a80000 - 77b13fff  CRYPT32.dll
77b20000 - 77b31fff  MSASN1.dll
76c90000 - 76cb7fff  IMAGEHLP.dll
72d20000 - 72d28fff  wdmaud.drv
72d10000 - 72d17fff  msacm32.drv
77bd0000 - 77bd6fff  midimap.dll
73ee0000 - 73ee3fff  KsUser.dll
76fd0000 - 7704efff  CLBCATQ.DLL
77050000 - 77114fff  COMRes.dll
6ce10000 - 6ce47fff  dinput8.dll
688f0000 - 688f8fff  HID.DLL
77920000 - 77a12fff  SETUPAPI.DLL
01e10000 - 01e1afff  LgMsgHk.dll
76080000 - 760e4fff  MSVCP60.dll

Bytes near EIP:
fffffff0: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
00000000: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
00000010: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

ZDoom version 2.0.96x (0.9.5)

Command line:
 D:\My Games\Installed Games\Doom\ZDoom96x\GZDoom.exe -iwad doom2.wad -file strain_fix.wad strain_jive.wad +logfile logfile.txt
IWAD: doom2.wad

Not in a level.

Possible call trace:
 00000000  BOOM
 004d957b  call [0057c064]
 004d9a41  call 004d94e0
 004d9beb  call 004d98c0
 005307d4  call [edx+0xc]
 004abef5  call 00530770
 004ac0ce  call 004abee0
 004ac39f  call 004ac050
 004abd50
 00418721  call 004ac0e0
 0040b851  call 0040b7a0
 0040b851  call 0040b7a0
 00538891  call 0040b840
 00538993  call 0054d6fa
 0055f4bb
 0053642d  call 00418440
 00536766  call 00536030
 00550ff9  call 005366f0
 00550e8d  call 0054e4a0
 00550e75

Stack Contents:
0013facc: 10002b15 9a010d1c 0013fbb4 00000000  ·+··············
0013fadc: 0013fbb4 10002bea 00060530 00000000  ·····+··0·······
0013faec: 00000000 00000000 00000000 77d4d4fe  ···············w
0013fafc: 00000000 00000000 10000000 00000000  ················
0013fb0c: 00000000 00000000 00000000 1000d270  ············p···
0013fb1c: ffffffff 7c919aeb 7c919ba0 10000000  ·······|···|····
0013fb2c: 0013fb5c 00000000 0013fb70 00000001  \·······p·······
0013fb3c: 0013fb64 7c80ac66 0013fb64 7c80ac78  d···f··|d···x··|
0013fb4c: 10000000 00000000 00060530 00000000  ········0·······
0013fb5c: 00150014 77f11998 0013fb74 77f44a22  ·······wt···"J·w
0013fb6c: 10000000 10002b60 0013fb90 77f44a45  ····`+······EJ·w
0013fb7c: 77f44a53 e1010cec 0013fbb4 e1010cec  SJ·w············
0013fb8c: 10000000 00ff8008 004d957b e1010cec  ········{·M·····
0013fb9c: 0013fbb4 77d4d61d 00000000 00ff8008  ·······w········
0013fbac: 00000500 00001827 00010028 00000025  ····'···(···%···
0013fbbc: 00002000 00000000 00000000 10000000  · ··············
0013fbcc: 00000000 00000000 00000000 00000000  ················
0013fbdc: 004d9a41 00000500 01016928 00000400  A·M·····(i······
0013fbec: 0013fc01 00ff8008 00000000 00000001  ················
0013fbfc: 00000276 0000019b 0013fc38 005612d6  v·······8·····V·
0013fc0c: 00000001 004d9beb 00000500 00000400  ······M·········
0013fc1c: 00000020 0000003c 0013fc01 0013fc80   ···<···········
0013fc2c: 00000500 0013fc7c 00000020 0013fccc  ····|··· ·······
0013fc3c: 005612eb 00000000 005307d4 00ff8008  ··V·······S·····
0013fc4c: 00000400 0013fc01 00000000 00000400  ················
0013fc5c: 00000500 00000020 0013fc01 004abef5  ···· ·········J·
0013fc6c: 0013fc7c 0013fc80 00000000 004ac0ce  |·············J·
0013fc7c: 00000500 00000400 00000020 00000002  ········ ·······
0013fc8c: 00000020 00000000 ffffffff 004ac39f   ·············J·
0013fc9c: 00000500 00000400 00000020 0013fcc4  ········ ·······
0013fcac: 0013fcc0 00000020 004abd50 00fccb40  ···· ···P·J·@···
0013fcbc: 00000001 00000400 00000500 00ff4520  ············ E··
0013fccc: 0013fe04 00560d9d ffffffff 00418721  ······V·····!·A·
0013fcdc: 0000026e 00000000 0013fe68 0000017e  n·······h···~···
0013fcec: 47e006c9 00fccaa0 2d8cd6ee 7cfffb85  ···G·······-···|
0013fcfc: 6d6f6f44 7475412e 616f6c6f 74730064  Doom.Autoload·st
0013fd0c: 656c6c61 61472064 2f73656d 6d6f6f44  alled Games/Doom
0013fd1c: 6f445a2f 36396d6f 6b732f78 00736e69  /ZDoom96x/skins·
0013fd2c: 6f55c40d c4155989 11759ef4 f44d2772  ··Uo·Y····u·r'M·
0013fd3c: 1dc5ec57 22a4f1ce 005d8d68 ef324506  W······"h·]··E2·
0013fd4c: 0040b851 00000002 005d8d60 ef324506  Q·@·····`·]··E2·
0013fd5c: 0040b851 00000002 005d8d60 0013fd74  Q·@·····`·]·t···
0013fd6c: 00538891 005d8d60 00538993 00000094  ··S·`·]···S·····
0013fd7c: 00000005 00000001 00000a28 00000002  ········(·······
0013fd8c: 76726553 20656369 6b636150 77003220  Service Pack 2·w
0013fd9c: 774ff601 0016c8d0 8007000e 776068e4  ··Ow·········h`w
0013fdac: 774ec2c4 00000000 0013fdd8 7752c411  ··Nw··········Rw
0013fdbc: 0016c8d0 7c80977b 0013fe00 00000000  ····{··|········
0013fdcc: 7760683c 0013fdf8 774ff07b 00000001  <h`w····{·Ow····
0013fddc: 00000000 00000002 00000000 00000000  ················
0013fdec: 0000026e 0000017e ef324506 0013fe5c  n···~····E2·\···
0013fdfc: 0055f4bb ef324506 0013fe5c 0055f69e  ··U··E2·\·····U·
0013fe0c: ffffffff 0053642d ffffffff 7c80e00d  ····-dS········|
0013fe1c: 7ffde000 00000000 00000000 0000026e  ···········n···
0013fe2c: 0000017e 00000001 000f4240 0013fe2c  ~·······@B··,···
0013fe3c: 00000020 0000019a 00000276 00400000   ·······v·····@·
0013fe4c: 00400248 00400220 7c800000 0013fe14  H·@· ·@····|····
0013fe5c: 0013fe88 00561be0 00000000 0013fe98  ······V·········
0013fe6c: 00536766 00400000 7c80b529 00000000  fgS···@·)··|····
0013fe7c: 7ffde000 0013fe74 0013f6f0 0013ffb0  ···t···········
0013fe8c: 00550cec 005d86f8 00000000 0013ffc0  ··U···]·········
0013fe9c: 00550ff9 00400000 00000000 00162347  ··U···@·····G#··
0013feac: 00000001 00000094 00000005 00000001  ················
0013febc: 00000a28 00000002 76726553 20656369  (·······Service 
0013fecc: 6b636150 84003220 00000000 b890ec88  Pack 2··········
0013fedc: 01b90000 b890eb40 00000000 ffffffff  ····@···········
0013feec: 80535020 7ffd9000 ffffffff 805a7580   PS·········uZ·
0013fefc: 8053c818 ffffffff b890ecb8 b890ecbc  ··S·············
0013ff0c: 00008000 b890ed14 84e961bc b890ec24  ·········a··$···
0013ff1c: 804f9aed 804f9af5 84e9618c 84e96020  ··O···O··a·· `··
0013ff2c: 84e96054 84d43718 806383ba 84d08da0  T`···7····c·····
0013ff3c: 84e96020 00550e8d 00300034 00390038   `····U·4·0·8·9·
0013ff4c: 7ffde000 00000044 00163c60 00163548  ···D···`<··H5··
0013ff5c: 00163c70 00000000 00000000 00000000  p<··············
0013ff6c: 00000000 00000000 00000000 00000000  ················
0013ff7c: 00000c01 00000001 00000000 00000000  ················
0013ff8c: 00010001 00000000 00000000 00000000  ················
0013ff9c: 00000000 00162347 00000000 0013feb0  ····G#··········
0013ffac: 00000000 0013ffe0 00550cec 005dba28  ··········U·(·]·
0013ffbc: 00000000 0013fff0 7c816d4f 00300034  ········Om·|4·0·
0013ffcc: 00390038 7ffde000 80543dfd 0013ffc8  8·9·····=T·····
0013ffdc: 84e96020 ffffffff 7c8399f3 7c816d58   `·········|Xm·|
0013ffec: 00000000 00000000 00000000 00550e75  ············u·U·
0013fffc: 00000000                             ····
[/spoiler]
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Does this also happen without the added WADs? This error looks like some memory gets overwritten but that shouldn't be possible unless some corrupt data has been loaded. I'm asking because you are loading a WAD by Jive and he is notorious for including bogus DEH patches. I have seen several WADs by him that crashed ZDoom in one way or another.
lemonzest
Posts: 101
Joined: Wed Aug 31, 2005 19:03
Location: Nottingham, UK

Post by lemonzest »

yeah this happens with just normal doom2.wad, only have strain_fix/jive in there is because its what i'm playing at the moment.

Graf, did you read anything in that thread? it talks of changing alpha test textures to alpha to coverage so multi sampling AA will work on it, all the work is being done with the dll/ini. it works with timmie's so maybe its your startup code?

question, how is it possible to have a 32bit frame buffer, with a 32bit z buffer AND a 8bit stencil? would it not be 24/8 in regards to the z/stencil?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

That weird DLL you are using is doing something wrong it seems. It returns a NULL pointer for something I cannot recognize. Remove it from the game directory and it should work again.

I'm sorry that without the source of it I won't be able to find what is wrong here.
Locked

Return to “Closed Bugs”