GithubHelp home page GithubHelp logo

sultim-t / prboom-plus-rt Goto Github PK

View Code? Open in Web Editor NEW
812.0 812.0 50.0 15.01 MB

Batchfile 0.05% CMake 2.02% Shell 0.04% C 9.73% Python 0.17% Roff 0.66% HTML 2.16% Objective-C 1.34% C++ 83.66% Perl 0.18%

prboom-plus-rt's People

Contributors

38-vita-38 avatar alexey-lysiuk avatar andrey-budko avatar coelckers avatar crabcrabcam avatar d3archi avatar fabiangreffrath avatar ferk avatar jackrjli avatar jadingtsunami avatar kd-11 avatar kitchen-ace avatar kraflab avatar krys-g avatar pedro-beirao avatar physixcat avatar ramonunch avatar rfomin avatar ritchie333 avatar rrfgamer avatar runlow avatar shadow-hog avatar smiletheory avatar sultim-t avatar tpoppins avatar twelveeyes avatar vilhelmgray avatar wallabra avatar whouishere avatar xaseracheron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prboom-plus-rt's Issues

RTX A5000 GPU no DLSS

I have the "NVIDIA RTX / Quadro Desktop and Notebook Driver Release 510" driver installed and DLSS does not seem to work
DxDiag.txt
.

[REQUEST] Information on Converting WADs for RT

It's what it says on the tin. It seems pretty intuitive how the material properties are set up (and how you'd set your own). I assume there's also a lot of manual lights that had to be placed and all that stuff is defined in map_metainfo_doom1 but it's a little cryptic just looking at it. Some documentation on the conversion process you went through would be a really big deal I think. It would be a pretty big missed opportunity if people didn't start converting their own doom wads to look nice in your renderer. It doesn't have to be super extensive and as far as value for time spent I think it would be very worth it.

ERORR RUNNING

Screenshot (141)
when i ran the application this error was shown. plz help!

compiling in windows

I am trying to compile the source in windows after changing the keys for -rtdevmode command but I keep getting errors. Any step by step guide in doing this? I am really new at this.

Stuttery horizontal mouse movements

Hello,

I am having an issue, the game runs at locked 60 FPS with DLSS performance (RTX 3080), with VSync ON and Uncapped framerate.

Unfortunately, the camera movement is very stuttery (in a regular way) and I do not know why or what I can do about it.

Any ideas?

PS: it is actually smooth with left / right arrows, and issue seems to be present when using a tool to map mouse to Controller. I tried Steam and AntimicroX and they both act the same.

Thanks

[linux] static void not set correctly static void M_RT_UpdateGfxItems(void)

void M_RT_UpdateGfxItems(void);

cmake --build .
[  5%] Built target rdatawad
[  6%] Built target prboomwad
Consolidate compiler generated dependencies of target prboom-plus
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/d_main.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:73:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c: In function ‘D_Display’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:406:31: warning: implicit declaration of function ‘RT_IsClassicHUDEnabled’ [-Wimplicit-function-declaration]
  406 |     dboolean drawclassichud = RT_IsClassicHUDEnabled();
      |                               ^~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:406:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  406 |     dboolean drawclassichud = RT_IsClassicHUDEnabled();
      |     ^~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c: In function ‘BaseName’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:1473:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1473 |   basename = filename + strlen(filename) - 1;
      |            ^
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/e6y.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:74:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c: In function ‘PathFindFileName’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:1178:10: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
 1178 |   return (char*)pT;
      |          ^
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c: In function ‘e6y_WriteStats’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:1011:37: warning: ‘%s’ directive writing up to 199 bytes into a region of size 198 [-Wformat-overflow=]
 1011 |       sprintf(all[level].kill,   " (%s)", tmp.kill  );
      |                                     ^~    ~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:49:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 4 and 203 bytes into a destination of size 200
   33 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   34 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:1012:37: warning: ‘%s’ directive writing up to 199 bytes into a region of size 198 [-Wformat-overflow=]
 1012 |       sprintf(all[level].item,   " (%s)", tmp.item  );
      |                                     ^~    ~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:49:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 4 and 203 bytes into a destination of size 200
   33 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   34 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:494,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:46:
In function ‘strcpy’,
    inlined from ‘AbbreviateName’ at /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/e6y.c:1245:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:90:10: warning: ‘__builtin_strcpy’ accessing between 0 and 9223372036854775806 bytes at offsets 0 and [-2147483648, 2147483647] may overlap up to 9223372034707292158 bytes at offset 9223372034707292157 [-Wrestrict]
   90 |   return __builtin___strcpy_chk (__dest, __src, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/f_finale.c.o
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/f_finale2.c.o
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/f_wipe.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/f_wipe.c:42:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/g_game.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c: In function ‘G_DoWorldDone’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:31: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                               ^~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                             ^~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 5 and 25 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:56: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                        ^~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:52: note: directive argument in the range [-2147483647, 2147483647]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                    ^~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 6 and 15 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c: In function ‘G_DoCompleted’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:31: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                               ^~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                             ^~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 5 and 25 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:56: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                        ^~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:52: note: directive argument in the range [-2147483647, 2147483647]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                    ^~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 6 and 15 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c: In function ‘G_InitNew’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:31: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                               ^~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [1, 2147483647]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                             ^~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 5 and 24 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c: In function ‘G_Ticker’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:31: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Wformat-truncation=]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                               ^~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
 2864 |  else snprintf(lumpname, 9, "E%dM%d", gameepisode, gamemap);
      |                             ^~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2864:29: note: directive argument in the range [-2147483647, 2147483647]
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 5 and 25 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:56: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size 6 [-Wformat-truncation=]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                        ^~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:2863:52: note: directive argument in the range [-2147483647, 2147483647]
 2863 |  if (gamemode == commercial) snprintf(lumpname, 9, "MAP%02d", gamemap);
      |                                                    ^~~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/g_game.c:38:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 6 and 15 bytes into a destination of size 9
   64 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   65 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 11%] Building C object src/CMakeFiles/prboom-plus.dir/g_overflow.c.o
[ 11%] Building C object src/CMakeFiles/prboom-plus.dir/hu_lib.c.o
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/hu_stuff.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c: In function ‘HU_LoadHUDDefs’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c:1159:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 1159 |   hud_widgets_list_t *list = &huds[huds_count - 1];
      |   ^~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c:1163:28: warning: implicit declaration of function ‘ARRAYSIZE’; did you mean ‘GL_ARRAY_SIZE’? [-Wimplicit-function-declaration]
 1163 |   for (int c = 0; c < (int)ARRAYSIZE(all_cfg_items); c++)
      |                            ^~~~~~~~~
      |                            GL_ARRAY_SIZE
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c:1175:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 1175 |         hud_widget_t *item = &list->items[list->count - 1];
      |         ^~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c: In function ‘HU_widget_build_monsec’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c:2103:24: warning: ‘%s’ directive writing up to 199 bytes into a region of size 72 [-Wformat-overflow=]
 2103 |         "STS \x1b\x36K %s \x1b%c%d/%d \x1b\x36I \x1b%c%d/%d \x1b\x36S %s \x1b%c%d/%d",
      |                        ^~
 2104 |         allkills,killcolor,fullkillcount,totalkills,
      |         ~~~~~~~~        
In file included from /usr/include/stdio.h:862,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/z_zone.h:52,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/doomdef.h:49,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_items.h:38,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_player.h:43,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/doomstat.h:43,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/hu_stuff.c:36:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 36 and 494 bytes into a destination of size 80
   33 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   34 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 13%] Building C object src/CMakeFiles/prboom-plus.dir/hu_tracers.c.o
[ 13%] Building C object src/CMakeFiles/prboom-plus.dir/info.c.o
[ 14%] Building C object src/CMakeFiles/prboom-plus.dir/i_capture.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_capture.c:37:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
[ 15%] Building C object src/CMakeFiles/prboom-plus.dir/i_glob.c.o
[ 16%] Building C object src/CMakeFiles/prboom-plus.dir/i_pcsound.c.o
[ 16%] Building C object src/CMakeFiles/prboom-plus.dir/lprintf.c.o
[ 17%] Building C object src/CMakeFiles/prboom-plus.dir/md5.c.o
[ 18%] Building C object src/CMakeFiles/prboom-plus.dir/m_argv.c.o
[ 18%] Building C object src/CMakeFiles/prboom-plus.dir/m_bbox.c.o
[ 19%] Building C object src/CMakeFiles/prboom-plus.dir/m_cheat.c.o
[ 20%] Building C object src/CMakeFiles/prboom-plus.dir/m_menu.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:64:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:4049:13: error: static declaration of ‘M_RT_UpdateGfxItems’ follows non-static declaration
 4049 | static void M_RT_UpdateGfxItems(void)
      |             ^~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:334:6: note: previous declaration of ‘M_RT_UpdateGfxItems’ was here
  334 | void M_RT_UpdateGfxItems(void);
      |      ^~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c: In function ‘M_Drawer’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:6725:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 6725 |   int x,y,max,i;
      |   ^~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c: In function ‘M_ReadSaveStrings’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:991:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  991 |     fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:426: src/CMakeFiles/prboom-plus.dir/m_menu.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/prboom-plus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

#1

[REQUEST] GZ/Zandronum RT next?

Having a basic engine is cool and all but, seeing that GZDoom has lots of renderer options including Vulkan, and that Zandro is based on GZDoom (Uses OpenGL tho), it would be cool to have a more moddable engine aswell.

Not sure how much other mods would weigh on the equation, but im pretty sure its still miles less than HL RT or even SSam.

RTX 2060 and ERROR RT:3

I've a RTX 2060, but the game does not start.
Just after the initial screen and the tart of the music I get in a small window a message "RT: 3" with a "ok" button to press.
I do not get any menu, noting to interact with. If I press ok the game cloeses its windows silently.

AMD Gpu support?

Are there any plans for adding support for AMD Gpus? Would love to play this.

[REQUEST] Colored Point Lights

In the current build there are a lot of cool emissive textures to play with and I've been having fun messing around with colors. However these emissives don't seem to cast player/entity shadows the way the sector lights do so the effect is kind of limited. A mapper can do a lot to make up for this by placing sector lights in the right places but the white lighting washes out the desired color from the emissives. Being able to set a color for each of these lights (even just by editing map_metainfo) would open up a ton of really cool looking mapping possibilities.

doom
Just a screen from me messing around. Thank you again for your time.

DLSS Not available

I am able to run the game but I cannot turn on DLSS.
image
I am running an RTX 3050TI. I do find this funny because Doom Eternal I can't use RT but I can use DLSS and in this game it is the opposite.

Microsoft Defender detected Program:Win32/Uwamson.A!ml in prboom-plus.exe

After extracting prboom-rt-1.0.3-nvidia.zip I performed a right click [Scan with Microsoft Defender...] on the extracted directory. This detected Program:Win32/Uwamson.A!ml in the prboom-plus.exe file. Microsoft Defender was able to quarantine the threat. I deleted the extracted directory and zip and downloaded the zip again, same result. This still may be a false positive but I thought I should still let you know. A little search soon revealed that this has occurred in other github projects, Example: [https://github.com/clangen/musikcube/issues/436]

Attached is an image of the Windows Security report:
WindowsSecurityReport
.

Some areas are pitch black

The best solution I can think of, to mimic the original "lighting", is to make it so the player actually casts a light, like you're always carrying a light source of some kind, attached to your waist or something…

Anyway, great project!

Unscaled mugface color box

I've been able to try out a cooperative demo for fun, and I've noticed that Player 2/3/4 not only have their mugshot boxes colored, but they are also unscaled (as if it was always at 100%). Player 1 however will be always correct since it doesn't include one.

image

[version] upstream parity versioning

it would be preferable if prboom-plus was noted which version is being used

prboom-plus 2.6.2, updated SVN version (2022-02-11)

also "rt v1.0.0" is a bit of a misnomer, first release without any alpha testing.
id prefer "prboom-plus-rt_2.6.2" a,b,c,d,etc to more closely relation this with the upstream versioning

currently: using version 2.6.1um (16 Aug 2021)

PrBoom-Plus 2.6.1um @ 16 Aug 2021

PrBoom 2.6.1um

so technically your release could be prboom-plus-rt_2.6.1a and prboom-plus-rt_2.6.1b
a = v1.0.0
b = v1.0.1

doesnt have to be! just suggestion to keep parity with the upstream base

this also helps identify which versions are being used because of upstream patches and fixes
some pretty serious ones related to SDL2
- fixed Alt+Tabbing on Windows, broken in new SDL2 version

coelckers/prboom-plus@db29f6f

Can't initialize ray tracing engine

Sorry in advance if this is a dumb question.

Every time I try to open the .exe it starts by saying "Running "Doom: Ray Traced" for the first time. Ensure that the latest drivers are used." and then "Can't initialize ray tracing engine."
I have the latest nvidia drivers installed and everything. The only thing that I can currently think of as the reason is that I don't have an RTX card, but it doesn't seem like I actually need one.

I'm probably just being very stupid right now, but could someone please tell my why this is happening?

Use GZDoom as a base next time.

I really wish it was based on a more popular source port, like GZDoom, so I could run all my favorite wads that don't work with PrBoom. Hopefully GZDoom devs will add raytracing as an option based on this code.

CRT look on ReShade? (delete this if not allowed)

Sorry, I didn't know where to ask this but I'll just try my luck.

I just tried this out! Excellent RT mod indeed! I was wondering if anyone here tried it with the 320x200 CRT resolution setting! The CRT look on this one is amazing! And I would to replicate that look on ReShade if anyone knows how!

[REQUEST] Toggle for CRT filter

I'm probably the minority, but I think it's neat to play retro shooters at a low res. There's an option in this port to render at 200p and scale it up, but you always get the CRT filter. I wouldn't mind having the CRT a toggle, so I could play at 200p without the filter.

Newest version trips antivirus

Obviously could be false positives, but Virustotal flags 8 possibles, all but one related to the prboom-plus.exe. Figured better safe than sorry to mention it, if it's nothing feel free to disregard,

Untitled1
Untitled2

cannot enable Nvidia DLSS.. it says unsupported

I cannot enable Nvidia DLSS. I have a 2070RTX. I see it in a supported card list.
I placed both the music folder and nvngx_dlss.dll in the same folder prboom-plus.exe is.
Graphics drivers are updated, I tried running it as administrator and even tried manualy changing cfg file and rt_dlss property to something other than 0 (tried 1 and 2) and nvidia dlss is always grayed out.
I can use AMD fsr though.
settings
files

Originally posted by @clyder in #13 (comment)

Loading wrong iwad

When I first was trying this build, I mistakenly dropped the files into my Doom 2 folder, which is not supported yet. First running a launcher popped up where I selected the doom2 iwad.

But now I dropped the files from the zip into my Ultimate Doom folder and when I run it, I no longer get the launcher and I get an error about an unsupported wad. When starting a new game, instead of seeing Doom 1 E1M1, it loads map 01 from Doom 2. WTF?

So is this prboom port writing a cfg file somewhere that's not in the same location as the exe? I know it generates a cfg there but that has nothing to do with this issue.

[linux] SDL2 fix HINSTANCE and HWND in RT

cmake --build .
[  5%] Built target rdatawad
[  6%] Built target prboomwad
Consolidate compiler generated dependencies of target prboom-plus
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/d_main.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:73:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_common.h:29,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:29,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:101:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Include/RTGL1/RTGL1.h:117:5: error: unknown type name ‘HINSTANCE’
  117 |     HINSTANCE           hinstance;
      |     ^~~~~~~~~
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Include/RTGL1/RTGL1.h:118:5: error: unknown type name ‘HWND’
  118 |     HWND                hwnd;
      |     ^~~~
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:101:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:39:3: error: unknown type name ‘HWND’
   39 |   HWND hwnd;
      |   ^~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:72:14: error: unknown type name ‘HINSTANCE’
   72 | void RT_Init(HINSTANCE hinstance, HWND hwnd);
      |              ^~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:72:35: error: unknown type name ‘HWND’
   72 | void RT_Init(HINSTANCE hinstance, HWND hwnd);
      |                                   ^~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c: In function ‘D_Display’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:406:31: warning: implicit declaration of function ‘RT_IsClassicHUDEnabled’ [-Wimplicit-function-declaration]
  406 |     dboolean drawclassichud = RT_IsClassicHUDEnabled();
      |                               ^~~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:406:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  406 |     dboolean drawclassichud = RT_IsClassicHUDEnabled();
      |     ^~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c: In function ‘BaseName’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:1473:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1473 |   basename = filename + strlen(filename) - 1;
      |            ^
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:160: src/CMakeFiles/prboom-plus.dir/d_main.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/prboom-plus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

i tried brute force removing these headers
#1

DLSS always unavalable

Hi,

First of all thanks for the incredible MOD!

It works fine on my end except for DLSS that always appears in grey as unavailable, even after copying nvngx_dlss.dll to the installation folder.

Tried in two different computers with latest drivers: desktop with RTX 2070 and laptop with quadro RTX 3000.

Thanks.

Portmidi doesn't seem to work properly

Great port, I'm honestly shocked that this is real, I was so convinced this was an April fool's joke.

Anyway, the portmidi option doesn't seem to work at all right now, it still uses the OPL music.

Performance dropping with DLSS on

Hello there,

My system has an Intel i5 8400, an Nvidia GeForce RTX 2060 6GB, 32 GB of Corsair DDR4 2666Mhz RAM. This project is running off of a Samsung 970 Pro NVMe SSD. The latest Nvidia Display drivers are installed as well.

However, whenever I try to activate DLSS modes (other than Ultra Performance), the frame rate drops to worse than what was achieved when DLSS was off. With Ultra Performance mode, the game hits near 60 FPS.

I've tried setting the in-game resolution to 1080p, 1440p, and 4K. But still no difference in the DLSS behaviour. This is confusing me as DLSS should be boosting frame rates, not dropping them to as low as single digits. The game settings are at default as well.

Any idea what I can do to remedy this? Or is an RTX 2060 just unable to play at 60 FPS?

Pre-Release v1.03 still not launching on my 6700xt

image
I know this is a pre-release and bugs are to be expected, but I still cannot get the game to launch (although it does give me a different error then before, so there's progress). I get this error when I try to launch the game.

[linux] fix SDL header discoverability

export RTGL1_SDK_PATH=/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/

mkdir build
cd build

cmake ..

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'RelWithDebInfo' as none was specified.
-- Looking for stricmp
-- Looking for stricmp - not found
-- Looking for strnicmp
-- Looking for strnicmp - not found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for CreateFileMapping
-- Looking for CreateFileMapping - not found
-- Looking for sched_setaffinity
-- Looking for sched_setaffinity - found
-- Looking for usleep
-- Looking for usleep - found
-- Looking for strsignal
-- Looking for strsignal - found
-- Looking for mkstemp
-- Looking for mkstemp - found
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for asm/byteorder.h
-- Looking for asm/byteorder.h - found
-- Looking for dirent.h
-- Looking for dirent.h - found
CMake Warning (dev) at /usr/share/cmake-3.23/Modules/FindOpenGL.cmake:315 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:81 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found PCREPOSIX: /usr/lib/x86_64-linux-gnu/libpcreposix.so  
CMake Warning (dev) at /usr/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PCRE) does
  not match the name of the calling package (PCREPOSIX).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindPCREPOSIX.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:119 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PCRE: /usr/lib/x86_64-linux-gnu/libpcre.so  
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- Found LibMad: /usr/lib/x86_64-linux-gnu/libmad.so  
-- Found FluidSynth: /usr/lib/x86_64-linux-gnu/libfluidsynth.so  
-- Could NOT find Dumb
-- Could NOT find PortMidi (missing: PORTMIDI_LIBRARIES PORTMIDI_INCLUDE_DIR) 
-- Looking for snd_seq_create_simple_port in asound
-- Looking for snd_seq_create_simple_port in asound - found
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so
-- Looking for SDL_JoystickGetAxis
-- Looking for SDL_JoystickGetAxis - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/build

cmake --build .

[  0%] Building C object data/CMakeFiles/rdatawad.dir/rd_main.c.o
[  1%] Building C object data/CMakeFiles/rdatawad.dir/rd_util.c.o
[  2%] Building C object data/CMakeFiles/rdatawad.dir/rd_output.c.o
[  2%] Building C object data/CMakeFiles/rdatawad.dir/rd_sound.c.o
[  3%] Building C object data/CMakeFiles/rdatawad.dir/rd_palette.c.o
[  4%] Building C object data/CMakeFiles/rdatawad.dir/rd_graphic.c.o
[  5%] Linking C executable rdatawad
[  5%] Built target rdatawad
[  6%] Generating ../prboom-plus.wad
[  6%] Built target prboomwad
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/am_map.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/am_map.c:42:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/gl_opengl.h:44:10: fatal error: SDL.h: No such file or directory
   44 | #include <SDL.h>
      |          ^~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:76: src/CMakeFiles/prboom-plus.dir/am_map.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/prboom-plus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Windows 10 - vkGetBufferDeviceAddress could not be found in RayTracedGL1.dll

App wont run for me errors with this message...

image

Couldn't find much on the subject but I did find this post which mentioned about specifying version number 1.2

https://vulkan.lunarg.com/issue/home?limit=10;q=;mine=false;org=false;khronos=false;lunarg=false;indie=false;status=new,open

I had followed the installation instructions and unzipped and added doom.wad etc

If you can get the to bottom of this and fix it? would be great as I'm keen to test this out.

Potential laptop incompatibility

I'm on a Zephyrus G14 laptop with a Ryzen 9 4900HS and RTX 2060, but PrBoom says it can't initialize the ray tracing engine. I have gone into Nvidia Control Panel and forced it to select the 2060.

I cannot seem to load additional wads

Specifically, I'm just trying to load up vanilla compatible maps like Romero's one-humanity. Does this not work the same way as prboom+? Using -file one-humanity.wad doesn't work. Neither does dropping the wad onto the executable, or using the internal launcher. I'm at a complete loss here.

[linux] too many arguments! RT_AddSprite(sectornum, thing, lightlevel);

cmake --build .
[  5%] Built target rdatawad
[  6%] Built target prboomwad
Consolidate compiler generated dependencies of target prboom-plus
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/m_menu.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:64:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c: In function ‘M_Drawer’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:6725:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 6725 |   int x,y,max,i;
      |   ^~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c: In function ‘M_ReadSaveStrings’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_menu.c:991:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  991 |     fread(&savegamestrings[i], SAVESTRINGSIZE, 1, fp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/m_misc.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_misc.c:59:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_misc.c:515:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
  515 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_misc.c: In function ‘M_LoadDefaults’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/m_misc.c:1636:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
 1636 |       fgets(cfgline, CFG_BUFFERMAX, f);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/m_random.c.o
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/p_ceilng.c.o
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/p_checksum.c.o
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/p_doors.c.o
[ 11%] Building C object src/CMakeFiles/prboom-plus.dir/p_enemy.c.o
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/p_floor.c.o
[ 12%] Building C object src/CMakeFiles/prboom-plus.dir/p_genlin.c.o
[ 13%] Building C object src/CMakeFiles/prboom-plus.dir/p_inter.c.o
[ 14%] Building C object src/CMakeFiles/prboom-plus.dir/p_lights.c.o
[ 15%] Building C object src/CMakeFiles/prboom-plus.dir/p_map.c.o
[ 15%] Building C object src/CMakeFiles/prboom-plus.dir/p_maputl.c.o
[ 16%] Building C object src/CMakeFiles/prboom-plus.dir/p_mobj.c.o
[ 17%] Building C object src/CMakeFiles/prboom-plus.dir/p_plats.c.o
[ 17%] Building C object src/CMakeFiles/prboom-plus.dir/p_pspr.c.o
[ 18%] Building C object src/CMakeFiles/prboom-plus.dir/p_saveg.c.o
[ 19%] Building C object src/CMakeFiles/prboom-plus.dir/p_setup.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/p_setup.c: In function ‘P_LoadZNodes’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/p_setup.c:1151:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1151 |   data = W_CacheLumpNum(lump);
      |        ^
[ 19%] Building C object src/CMakeFiles/prboom-plus.dir/p_sight.c.o
[ 20%] Building C object src/CMakeFiles/prboom-plus.dir/p_spec.c.o
[ 21%] Building C object src/CMakeFiles/prboom-plus.dir/p_switch.c.o
[ 22%] Building C object src/CMakeFiles/prboom-plus.dir/p_telept.c.o
[ 22%] Building C object src/CMakeFiles/prboom-plus.dir/p_tick.c.o
[ 23%] Building C object src/CMakeFiles/prboom-plus.dir/p_user.c.o
[ 24%] Building C object src/CMakeFiles/prboom-plus.dir/r_bsp.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_bsp.c: In function ‘R_CheckBBox_T’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_bsp.c:534:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  534 |   angle_t angle1, angle2;
      |   ^~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_bsp.c: In function ‘R_Subsector’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_bsp.c:651:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  651 |     dboolean find_floor = V_GetMode() == VID_MODERT;
      |     ^~~~~~~~
[ 24%] Building C object src/CMakeFiles/prboom-plus.dir/r_data.c.o
[ 25%] Building C object src/CMakeFiles/prboom-plus.dir/r_demo.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_demo.c:56:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_demo.c: In function ‘CheckWadBufIntegrity’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_demo.c:1000:14: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
 1000 |     header = (wadinfo_t*)buffer;
      |              ^
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_demo.c:1010:20: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
 1010 |         fileinfo = (filelump_t*)(buffer + header->infotableofs);
      |                    ^
[ 26%] Building C object src/CMakeFiles/prboom-plus.dir/r_draw.c.o
[ 27%] Building C object src/CMakeFiles/prboom-plus.dir/r_filter.c.o
[ 27%] Building C object src/CMakeFiles/prboom-plus.dir/r_fps.c.o
[ 28%] Building C object src/CMakeFiles/prboom-plus.dir/r_main.c.o
[ 29%] Building C object src/CMakeFiles/prboom-plus.dir/r_patch.c.o
[ 29%] Building C object src/CMakeFiles/prboom-plus.dir/r_plane.c.o
[ 30%] Building C object src/CMakeFiles/prboom-plus.dir/r_segs.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_segs.c: In function ‘R_StoreWallRange’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_segs.c:645:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  645 |   const int shift_bits = 1;
      |   ^~~~~
[ 31%] Building C object src/CMakeFiles/prboom-plus.dir/r_sky.c.o
[ 31%] Building C object src/CMakeFiles/prboom-plus.dir/r_things.c.o
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_things.c: In function ‘R_ProjectSprite’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_things.c:648:5: error: too many arguments to function ‘RT_AddSprite’
  648 |     RT_AddSprite(sectornum, thing, lightlevel);
      |     ^~~~~~~~~~~~
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_things.c:46:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:84:6: note: declared here
   84 | void RT_AddSprite(int sectornum, mobj_t *thing);
      |      ^~~~~~~~~~~~
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_things.c: In function ‘R_AddAllAliveMonstersSprites’:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/r_things.c:904:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  904 |   int i;
      |   ^~~
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:916: src/CMakeFiles/prboom-plus.dir/r_things.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/prboom-plus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

this is about as far as ive gotten. smashing through your code.
#1

[REQUEST] Controller support?

Hello!

Amazing conversion to RayTracing, love it! After Quake we really needed that!

Wondering though if you could add support for (Xbox) gamepad?

Thanks

Not GZDOOM

While playing with this mod i realised a small engine-related bug: The engine isn't GZDOOM

I_SignalHandler: Signal 11

No matter what WAD I use and where I place it, PrBoom always crashes before even loading the title screen with an "Exiting on signal: signal 11" error.
Looking it up doesn't really give me any solutions (despite this being a thing in PrBoom for years)

[linux] fix RTGL1 determine win32/macosx/linux

https://github.com/sultim-t/RayTracedGL1

cmake --build .
[  5%] Built target rdatawad
[  6%] Built target prboomwad
[  6%] Building C object src/CMakeFiles/prboom-plus.dir/am_map.c.o
[  7%] Building C object src/CMakeFiles/prboom-plus.dir/doomdef.c.o
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/doomstat.c.o
[  8%] Building C object src/CMakeFiles/prboom-plus.dir/dstrings.c.o
[  9%] Building C object src/CMakeFiles/prboom-plus.dir/d_deh.c.o
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/d_items.c.o
[ 10%] Building C object src/CMakeFiles/prboom-plus.dir/d_main.c.o
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:73:
/home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/i_video.h:65:5: warning: "RT_SEPARATE_HUD_SCALE" is not defined, evaluates to 0 [-Wundef]
   65 | #if RT_SEPARATE_HUD_SCALE
      |     ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_common.h:29,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/RT/rt_main.h:29,
                 from /home/build/prboom-RTX/prboom-plus-rt-rt-1.0/prboom2/src/d_main.c:101:
/home/build/prboom-RTX/RayTracedGL1-SharedLibrary/Include/RTGL1/RTGL1.h:41:14: fatal error: windows.h: No such file or directory
   41 |     #include <windows.h>
      |              ^~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/prboom-plus.dir/build.make:160: src/CMakeFiles/prboom-plus.dir/d_main.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/prboom-plus.dir/all] Error 2
make: *** [Makefile:136: all] Error 

#1

Denoiser hallucinates incorrect position of first person model

I observed this when implementing AMD support. Strangely, it only happens in specific maps, so it is likely related to the map size. Initially I thought the sreen wipe effect was somehow messing with the motion vectors but this is incorrect. It happens on specific maps and is persistent.
The most obvious case is E1M2 and E4M2 in DOOM1. Here is a screenshot where I rapidly strafe right then immediately start strafing left. You can see the hallucinated first-person model to the right which is the incorrect position. It is persistent, with the fake hand always at the wrong position while in the map. The muzzle flash sprite also shows up at this incorrect position.

Image:
image

Research notes:

  • This is caused by the denoiser. Bypassing it hides the issue.
  • This is not a barrier issue, I hacked the barrier code to inject full barriers for every framebuffer before every operation and the error is still there.
  • GPU load seems to have some impact on this, which is why I suspect the BVH has some influence on how serious it becomes. I need to check how the position and motion vectors are encoded to verify this. For example, when doing a full desktop recording, the bug is almost completely hidden.
  • When going out of bounds with the idclip cheat, you can see a duplicate first person view at the correct position, just dimmed out. I did not get a screenshot of this, but it seems like at least the current position is correct, but the accumulated temporal resolve is not.
  • This problem is visible somewhat on NV cards but it is not very pronounced. It is just that the glitch is exaggerated a lot on AMD hardware.

I captured some footage of it on E1M2, but the glitch is well hidden as the GPU load hides the issue. https://youtu.be/UPYsaqxvPVs
The bug is observable the moment I load into E1M2 if you watch the shotgun sprite closely. It is more noticeable at 1:47-1:48 during the shotgun's reload animation frames.

I'll keep checking, but I don't have much free time to investigate so I figured I may as well have this documented somewhere. Incidentally the video also shows a crash (DEVICE_LOST) that is 100% reproducible at the end. Build used requires sultim-t/RayTracedGL1#11

Norton detects viruses

Norton(an antimalware software) has been detecting prboom rt(AMD nodlss build) as a virus. the specific threats that Norton said are as follows: "WS.Reputation.1" and "SONAR.dropper". the files that Norton removed are RayTracedGL1.dll and prboom-plus.exe. I'm not sure whether Norton is correct or not. Norton is well known for detecting files that are not malware, and I'm just confused whether this is a virus or not.

Asus Laptop with 3070 error no RT device

I have a laptop that has 2 video cards in it, the one built into the CPU and a NVidia 3070, I checked to make sure in the device option PRboom is set to use the 3070 but when i try and start the game it says Cant initialize ray tracing engine:RG cant find physical device. I did verify that ray tracing works fine on other games.
2022-04-16 07_45_15-PrBoom-Plus-RT 2 6 1um

Frequent crashing ("RT: 3" error)

Attempting to start a new game in Episode 1 or Episode 2, or very early in E3M3 Inferno (or attempting to launch the game with Doom2.wad), the game crashes with a cryptic error message that simply says "RT: 3". Very repeatable.

Environment:
prboom-plus-rt 1.0.2a
Ryzen 7 5800X
GeForce RTX 3080
Windows 10 Pro 21H2 (latest updates)
GeForce driver 512.15
primary display resolution: 3840×2160, 120 Hz

Repro steps:

  1. Load prboom-plus-rt by running "prboom-plus.exe"
  2. Launch a new game, select Knee-Deep in the Dead or The Shores of Hell
  3. Note the crash.

Further notes:
Occurs independent of render resolution or whether DLSS is enabled or not.

Any way to use wad to add chapters ?

Hi, is it possible to use with external .wad ?
I want to play prboom-plus-rt with the Sigil chapter from Romero which is available with 2 wad :
SIGIL_COMPAT_v1_21.wad and SIGIL_v1_21.wad
I'm a new user into the modding of doom's games and I don't know where to start.
For the moment I'm just playing with the rt mod on the 4 originals chapters.
Btw, I'm using the original DOOM.WAD from Ultimate Doom.

Download Down

I know, it's not a TECHNICAL bug, but the 1drv link is down. Please let me know if this is just 1drv screwing up or if the link was taken down for a reason

On Linux compilation/running

Some people mentioned that they would like to try native Linux build. I managed to run and play without errors for two episodes now, so I will share some info here.

Code needed some modifications and I created a fork that builds at least on Arch. Many of the things changed are hacks/win32 regressions, also some mystery about DLSS versions required building against 2.3 and loading 2.4, so I am not creating a pull. If anyone experienced with C++/cmake wants to create a proper PR, then this could at least be used as a base.

But for those, that want to at least build it for Linux to check it out, you can try following these instructions. It may or may not build for you, but it is a start

@sultim-t, this is not an issue with the project, feel free to do whatever you wish with this GH issue (add labels/edit/close/etc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.