Zandronum 3.0-alpha-170416-0710

Builds for previous versions go here

Moderator: Developers

User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

Re: Zandronum 3.0-alpha-170416-0710

#21

Post by Cutman » Tue Apr 18, 2017 7:20 pm

They weren't having the issue before TSPG changed their servers to 3.0, and the moment they switched over they started getting this issue.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#22

Post by Torr Samaho » Tue Apr 18, 2017 7:26 pm

Cutman wrote:They weren't having the issue before TSPG changed their servers to 3.0, and the moment they switched over they started getting this issue.
With "this issue" you are referring to the connection problems, which are likely caused by a non-default setting of sv_maxpacketsize on TSPG? The OpenGL thread you linked seems to be almost a month old, so this can't have to do with the recent change on TSPG, right?

User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

Re: Zandronum 3.0-alpha-170416-0710

#23

Post by Cutman » Tue Apr 18, 2017 7:34 pm

Oops! Sorry, I was referring to the OpenGL slowdown. Two people started getting slowdown as soon as they started using 3.0 (only in openGL).

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#24

Post by Torr Samaho » Tue Apr 18, 2017 7:45 pm

Cutman wrote:Oops! Sorry, I was referring to the OpenGL slowdown. Two people started getting slowdown as soon as they started using 3.0 (only in openGL).
There are differences in OpenGL in 2.1.2 and 3.0, so it's possible that they behave differently. Going back to 2.1.2 fixes the problem for the two? And 3.0 never worked for them or they never tried it before? Can you open a ticket for this issue and have them post their console log with all the OpenGL info displayed by 2.1.2 and 3.0 on their systems?

User avatar
Erma
Forum Regular
Posts: 418
Joined: Wed Nov 07, 2012 11:39 pm

Re: Zandronum 3.0-alpha-170416-0710

#25

Post by Erma » Tue Apr 18, 2017 9:18 pm

Just to let you know, Torr Samaho; I responded to the tracker/report about the whole resolution thing. I also uploaded a picture which I've taken to show you how my screen(s) look like.
Image

User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

Re: Zandronum 3.0-alpha-170416-0710

#26

Post by Cutman » Tue Apr 18, 2017 9:19 pm

Torr Samaho wrote:Can you open a ticket for this issue and have them post their console log with all the OpenGL info displayed by 2.1.2 and 3.0 on their systems?
I've posted a ticket with logs from both people. https://zandronum.com/tracker/view.php?id=3074

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: Zandronum 3.0-alpha-170416-0710

#27

Post by Combinebobnt » Wed Apr 19, 2017 12:51 am

torr review (approve :wink: ) rust's ticket it's done but fell in the dust bin:
https://zandronum.com/tracker/view.php?id=1814

i am going testing machine on those bugs but that strkerman cvar one put me to bed jesus that's boring.

edit: UGH these bugs without minimal example wads how the hell am I supposed to test

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#28

Post by Torr Samaho » Wed Apr 19, 2017 6:21 am

Combinebobnt wrote:torr review (approve :wink: ) rust's ticket it's done but fell in the dust bin:
https://zandronum.com/tracker/view.php?id=1814
Thanks for the reminder, I lost track of that.
Combinebobnt wrote:edit: UGH these bugs without minimal example wads how the hell am I supposed to test
Now imagine what I think when I'm supposed to debug these problems without a minimal example ;).

grrfield
 
Posts: 39
Joined: Thu May 05, 2016 7:52 am

Re: Zandronum 3.0-alpha-170416-0710

#29

Post by grrfield » Wed Apr 19, 2017 12:51 pm

Fantastic,

Ready to test those out. Where can I find the files for the raspberry pi (if these have been made/prepared, ofc)?

best regards,

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#30

Post by Torr Samaho » Wed Apr 19, 2017 7:27 pm

grrfield wrote:Ready to test those out. Where can I find the files for the raspberry pi (if these have been made/prepared, ofc)?
So far I never provided raspi binaries. Can you compile Zandronum yourself? Compilation of the current 3.0 source should work without any changes to the source code. I tested it on a raspi 2.

grrfield
 
Posts: 39
Joined: Thu May 05, 2016 7:52 am

Re: Zandronum 3.0-alpha-170416-0710

#31

Post by grrfield » Wed Apr 19, 2017 8:08 pm

Torr Samaho wrote:
grrfield wrote:Ready to test those out. Where can I find the files for the raspberry pi (if these have been made/prepared, ofc)?
So far I never provided raspi binaries. Can you compile Zandronum yourself? Compilation of the current 3.0 source should work without any changes to the source code. I tested it on a raspi 2.
Thank you for your reply.

Last time I got the binaries from a friend of mine and just put them on my raspberry. Did not know there was no difference source code wise. I'll manage to compile it. I count on my other friend named "Google".
I just hope that my "regulars" follow and get zan 3.0 too.

Regards,

and BTW:
- keep up the good work
- good luck with every next step you take (referring to that gzdoom thread)

grrfield
 
Posts: 39
Joined: Thu May 05, 2016 7:52 am

Re: Zandronum 3.0-alpha-170416-0710

#32

Post by grrfield » Wed Apr 19, 2017 8:34 pm

Torr,

Last time I tried compiling 3.0, I followed the instructions on https://wiki.zandronum.com/Compiling_th ... spberry_Pi, but everytime I ended up with compiling 2.1.2. I am a bit confused on how to get the 3.0 code on my machine (and maybe other stuff I may be doing wrong). It does not surprise me entirely that it is not working, since the most recent tag I find on that bitbucket is ZA_2.1.2 (which "maxtagged" will use ..... I guess). A little guidance would be much appreciated here....

My daily purpose involves accounting and consolidation of financial statements, which does not help me very much in what i'm trying to achieve right now (lol).

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#33

Post by Torr Samaho » Wed Apr 19, 2017 9:27 pm

grrfield wrote: Last time I tried compiling 3.0, I followed the instructions on https://wiki.zandronum.com/Compiling_th ... spberry_Pi, but everytime I ended up with compiling 2.1.2. I am a bit confused on how to get the 3.0 code on my machine (and maybe other stuff I may be doing wrong). It does not surprise me entirely that it is not working, since the most recent tag I find on that bitbucket is ZA_2.1.2 (which "maxtagged" will use ..... I guess). A little guidance would be much appreciated here....
We only have tags for the stable versions, that's why you end up compiling 2.1.2 when following the guide. Replace the hg update command with

Code: Select all

hg update df61f80660cc64a71d4bffff53e29e3c79860d40
and you should have the code corresponding to Zandronum 3.0-alpha-170416-0710. You should also skip applying the patch mentioned in the Wiki. 3.0 doesn't need it. If you encounter any problems, just let me know.

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1893
Joined: Mon Jun 04, 2012 3:37 am
Location: Erth
Contact:

Re: Zandronum 3.0-alpha-170416-0710

#34

Post by Combinebobnt » Wed Apr 19, 2017 11:29 pm

ok torr I tested every single ticket that isn't random dusk code or edward san's no examples or that raspberry pi and sql crap (and good lord that damagefactor ticket the hell is he trying to communicate).

grrfield
 
Posts: 39
Joined: Thu May 05, 2016 7:52 am

Re: Zandronum 3.0-alpha-170416-0710

#35

Post by grrfield » Thu Apr 20, 2017 8:37 am

Torr Samaho wrote:
grrfield wrote: Last time I tried compiling 3.0, I followed the instructions on https://wiki.zandronum.com/Compiling_th ... spberry_Pi, but everytime I ended up with compiling 2.1.2. I am a bit confused on how to get the 3.0 code on my machine (and maybe other stuff I may be doing wrong). It does not surprise me entirely that it is not working, since the most recent tag I find on that bitbucket is ZA_2.1.2 (which "maxtagged" will use ..... I guess). A little guidance would be much appreciated here....
We only have tags for the stable versions, that's why you end up compiling 2.1.2 when following the guide. Replace the hg update command with

Code: Select all

hg update df61f80660cc64a71d4bffff53e29e3c79860d40
and you should have the code corresponding to Zandronum 3.0-alpha-170416-0710. You should also skip applying the patch mentioned in the Wiki. 3.0 doesn't need it. If you encounter any problems, just let me know.
When compiling it on a raspberry pi 3B+ I end up with the following at the very end:

Code: Select all

[ 99%] Building CXX object src/CMakeFiles/zdoom.dir/zzautozend.o
[ 99%] Linking CXX executable ../zandronum-server
CMakeFiles/zdoom.dir/tempfiles.o: In function `FTempFileName::FTempFileName(char const*)':
/home/pi/zandronum-build/zandronum/src/tempfiles.cpp:46: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Creating 'zandronum-server.debug' ...
/bin/sh: 1: --only-keep-debug: not found
src/CMakeFiles/zdoom.dir/build.make:9510: recipe for target 'zandronum-server' failed
make[2]: *** [zandronum-server] Error 127
make[2]: *** Deleting file 'zandronum-server'
CMakeFiles/Makefile2:1032: recipe for target 'src/CMakeFiles/zdoom.dir/all' failed
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
pi@grrfield:~/zandronum-build/zandronum $

grrfield
 
Posts: 39
Joined: Thu May 05, 2016 7:52 am

Re: Zandronum 3.0-alpha-170416-0710

#36

Post by grrfield » Thu Apr 20, 2017 2:22 pm

Don't worry, a friend of mine, with more skills compiled it for me.
Thanks anyway

mentaluproar
 
Posts: 22
Joined: Sun Jan 25, 2015 2:52 am

Re: Zandronum 3.0-alpha-170416-0710

#37

Post by mentaluproar » Sun Apr 23, 2017 2:04 am

I'm having trouble compiling this on a fresh arch linux install on my pi 3. The last part of the error log I see is the following:

Performing C++ SOURCE FILE Test DUMB_CAN_USE_SSE failed with the following output:
Change Dir: /home/alarm/zandronum_build/zandronum/buildserver/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0daa1/fast"
/usr/bin/make -f CMakeFiles/cmTC_0daa1.dir/build.make CMakeFiles/cmTC_0daa1.dir/build
make[1]: Entering directory '/home/alarm/zandronum_build/zandronum/buildserver/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0daa1.dir/src.cxx.o
/usr/bin/c++ -DDUMB_CAN_USE_SSE -msse -o CMakeFiles/cmTC_0daa1.dir/src.cxx.o -c /home/alarm/zandronum_build/zandronum/buildserver/CMakeFiles/CMakeTmp/src.cxx
c++: error: unrecognized command line option '-msse'; did you mean '-fdse'?
make[1]: *** [CMakeFiles/cmTC_0daa1.dir/build.make:66: CMakeFiles/cmTC_0daa1.dir/src.cxx.o] Error 1
make[1]: Leaving directory '/home/alarm/zandronum_build/zandronum/buildserver/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_0daa1/fast] Error 2

Source file was:
int main() { return 0; }

I've no idea what's wrong. You?

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#38

Post by Torr Samaho » Sun Apr 23, 2017 5:32 pm

Combinebobnt wrote:ok torr I tested every single ticket that isn't random dusk code or edward san's no examples or that raspberry pi and sql crap (and good lord that damagefactor ticket the hell is he trying to communicate).
Thanks! Now we just need people to supply the missing minimal example wads for the other tickets ;). Any volunteers?
grrfield wrote:Don't worry, a friend of mine, with more skills compiled it for me.
Thanks anyway
I'm glad to hear that it works now!
mentaluproar wrote:I've no idea what's wrong. You?
Looks like your compiler or cmake has a problem trying to figure out whether the flag "-msse" is supported on your system.

Try deleting the block

Code: Select all

if( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
	CHECK_CXX_COMPILER_FLAG( -msse DUMB_CAN_USE_SSE )

	if( DUMB_CAN_USE_SSE )
		set_source_files_properties( src/it/filter.cpp PROPERTIES COMPILE_FLAGS -msse )
	endif( DUMB_CAN_USE_SSE )
endif( "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" )
at the end of the file dumb/CMakeLists.txt.

mentaluproar
 
Posts: 22
Joined: Sun Jan 25, 2015 2:52 am

Re: Zandronum 3.0-alpha-170416-0710

#39

Post by mentaluproar » Mon Apr 24, 2017 2:56 am

Tried that and then got another long string of gibberish. In that gibberish, mention of a python check. I don't have python installed.

So I installed python3 and tada! I'm going to try building against another distro and another OS too. When the wiki gets a refresh, coudl someone add python3 to the prerequisites?

EDIT: Failure during build a 57%. p_spec.cpp 1580:5 error: narrowing conversion of '(-1, -2, or -4)' from 'int' to 'char' inside {} [-Wnarrowing]

I'm going to continue to test against raspbian, dietpi, freebsd and netbsd anyway.

Edit 2: Same error at 57% while building in raspbian, but the build continues rather than halts.
Edit 3: DietPi builds happiily too. Maybe it's just an arch problem?

Is this helpful or should I move this to the tracker?
Last edited by mentaluproar on Mon Apr 24, 2017 7:23 am, edited 1 time in total.

User avatar
Torr Samaho
Lead Developer
Posts: 1543
Joined: Fri May 25, 2012 6:03 pm
Location: Germany

Re: Zandronum 3.0-alpha-170416-0710

#40

Post by Torr Samaho » Mon Apr 24, 2017 6:29 am

mentaluproar wrote:Is this helpful or should I move this to the tracker?
Let's better discuss the technical details on the tracker.

Post Reply