Not logged inOpenClonk Forum
Up Topic Development / Developer's Corner / Closing in on the 6.0 Release!
- - By Maikel Date 2015-01-18 13:00
I think we are getting closer to a 6.0 release. Which means that we won't be doing a 5.2 release. Maybe it is good to rename that roadmap to 6.1, so that we can move critical bugs to the 6.0 roadmap and keep the 6.1 roadmap for the bugfix release of that.
Parent - - By Sven2 Date 2015-02-18 13:15
I think the only main issue that blocks the 6.0 release is still the crash due to that "tri.fanRY <= tri.fanLY" assertion.

I have pushed a branch which sets up the light beams directly to the state in which they were when Maikel got the crah. In this branch, the assertion fails directly at application startup:

https://git.openclonk.org/openclonk.git/shortlog/refs/heads/issue1247 [^]
https://git.openclonk.org/openclonk.git/commitdiff/81ba07cc486263e594ac751400ae15d8e0c88428 [^]

I have no idea what the function is even doing. It seems to ascend and descend over a number of beams. But the beam list is not even sorted (at least X coordinates jump back and forth) and some of the beams have zero size.

Peter/Newton, can you use this to understand what is going wrong? If we get this fixed I think we can finish the 6.0 release soon. The remaining stuff seems rather minor to me and most of it I would consider either easy to fix or not release blocking.
Parent - - By Maikel Date 2015-02-18 13:51
MtBrame needs to be fixed as well before but otherwise I agree. Is all the infrastructure available to run a release?
Parent - - By Sven2 Date 2015-02-18 14:11
Yeah, MtBrame should be easy to fix. My guess is that the old command structure of doing "Exit fails -> RejectEntrance opens door -> Door action calls SetEntrance(true) -> Exit command succeeds" no longer works or is just not implemented for the hut.

Of course we should then also test-play the scenario.
Parent - By Maikel Date 2015-02-18 18:27
That was indeed rather trivial, uncommenting an #include DoorControl...

The doorcontrol library needed some cleaning up though. And ActivateEntrance needs have documentation for its return values.
Parent - - By Newton [de] Date 2015-02-19 00:56
One thing I am fairly sure should be the case is that the beams are sorted in their X-coordinates. (Which the assertion also asserts)

This hints to that the error already happens one step before - at the ray calculation. Sorry, I can't help much there, this is the part of the code I neither touched nor tried to understand so far (because it seemed to work right).
Helpful would be to output the beams in the state in which the assertion happens and draw it.
I might have time on Friday.
Parent - - By Sven2 Date 2015-02-19 10:48

> One thing I am fairly sure should be the case is that the beams are sorted in their X-coordinates. (Which the assertion also asserts)


The assertion checks tri.fanRY <= tri.fanLY. That's checking Y coordinates, isn't it?

> Helpful would be to output the beams in the state in which the assertion happens and draw it.


The beam dump is here:

https://git.openclonk.org/openclonk.git/blob/81ba07cc486263e594ac751400ae15d8e0c88428:/light_section_assertion.txt

The LeftX/RightX coordinates are roughly in ascending order, but there's a few jumps.

If these jumps are the problem, it should be relatively simple to put an assert into all functions of C4FoWBeam.cpp and see which function causes the invalid state.

> I might have time on Friday.


That would be great :-)
Parent - By Newton [de] Date 2015-02-19 20:22

> The assertion checks tri.fanRY <= tri.fanLY. That's checking Y coordinates, isn't it?


Oh right, sorry.
Parent - - By Newton [de] Date 2015-02-19 23:10
I made a little debug tool, could this be of help? *gazing at PeterW*

Use arrow keys left and right to navigate between the beams.

beams.html
Parent - By Sven2 [de] Date 2015-02-19 23:49
Nice visualization! So the beams are properly sorted. X coordinates being unsorted is just because of different sizes in Y direction.
Parent - By PeterW [de] Date 2015-02-23 12:19
Boy, should really check here more often...

Just to quickly finish this discussion: Rays are sorted by *direction*, which is x/y. In this case, the ray was indeed going backwards (so what Newton said was right), but the mistake was in the Y coordinates. Reason for that was simply a rounding error, where a ray got reduced to about 1/1000 of a pixel, and in the process changed its orientation enough to point into a wrong direction. The fix is simply to eliminate such tiny rays instead of reducing them.
Parent - By Maikel Date 2015-02-23 11:20
The things we considered blocking have now been fixed. We could release.
- - By Maikel Date 2015-02-27 13:39
So are there any remaining objections to 6.0 release? And do the release scripts still work?
Parent - - By Clonk-Karl [us] Date 2015-03-01 16:25

> And do the release scripts still work?


They should... we can make a dry release to make sure things are packaged correctly.
Reply
Parent - - By Maikel Date 2015-03-12 09:53
Can you have a look at this problem?

Edit: ./openclonk: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

when running the 32-bit linux release on ubuntu 14.04 64-bit.

Otherwise the dry release seemed to have worked fine.
Parent - - By Sven2 Date 2015-03-12 10:12

> Otherwise the dry release seemed to have worked fine.


Custom keyboard config not saving is also a pretty nasty bug I think. Multiple people have complained about it already.
Parent - - By Maikel Date 2015-03-12 10:17
Does it work for the repos version? We can postpone that to the 6.1 bugfix release I suppose.
Parent - By Sven2 Date 2015-03-12 11:55
It should really not be hard to fix. Unfortunately, I don't have time at the moment.

It probably broke when keyboard configs were changed to scan codes to make them keyboard layout independent. Just needs someone to step through the CompileFuncs and see what is happening.
Parent - - By Clonk-Karl [us] Date 2015-03-13 03:07

> Edit: ./openclonk: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory


I don't have an ubuntu around at the moment. Do you have "libvorbisfile3" installed? The release candidate works for me on Debian Jessie.

Do you maybe have a different version of libvorbisfile around?
Reply
Parent - By Maikel Date 2015-03-13 08:22
Yes, I have a different version. Well I guess then the people needing the 32bit version will have the right version.
- - By Newton [de] Date 2015-03-10 11:10
So, what about it, Maikel?
Parent - - By Maikel Date 2015-03-10 11:11
It is quite a lot of work and I don't remember all the steps.

This weekend I have some time, but it would be good if other people are also online/helping.
Parent - - By Sven2 Date 2015-03-10 12:03
I'm very busy finishing my PhD ATM, but I"ll try to be available this weekend.
Parent - By Maikel Date 2015-03-10 14:04
Good luck, no need to be there if you don't have the time!

I will write a blog post for the release.
Parent - - By Newton [de] Date 2015-03-11 00:27
I'll be there. What time?

I have to change the download page after the release because it assumes a 3-digit version number I think.
Parent - By Maikel Date 2015-03-11 08:31
Whatever you prefer I have time in the afternoon and evening of Sunday and Saturday, maybe Sunday is better.
Parent - By Maikel Date 2015-03-14 12:26
So in my opinion we can release the current version, I would set the release time to Sunday (tomorrow) 14:00.
- - By Maikel Date 2015-03-10 14:05
I am trying to gather some release steps. If anyone knows some places where we wrote down more, please let me know. I know about the release button page.
Parent - - By Sven2 Date 2015-03-10 14:30
The procedure could include creation of a release candidate using the dry release function.

I think the tag should be in post release because it cannot be undone. If you tag and then decide to still change something last second, you have to give a new version. It happened to me for the 5.0 release, which then had to become the 5.1 release because some important changes to the update system had to be done.

6.0 will also be the first test of the changed update system.

The checklist at the release button should link to or embed the wiki article I think.
Parent - By Maikel Date 2015-03-10 15:14
Done, except the linking.
Parent - By Newton [de] Date 2015-03-11 00:18
Cool. So cautious, your release steps... ':-)
- - By Maikel Date 2015-03-10 19:55
I made a preview blogpost, feedback and additions much appreciated.
Parent - By Newton [de] Date 2015-03-11 00:26
Cool. Added a paragraph about whats up next.
- By Maikel Date 2015-03-10 19:57 Edited 2015-03-10 20:26
I have made a dry release, would be good if someone can test the windows installers.

Edit: ./openclonk: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory

when running the 32-bit linux release on ubuntu 14.04 64-bit.
- - By B_E Date 2015-03-14 13:19
Just for clarification (for the upcoming update tomorrow):

This is now OpenClonk 5.6.0 right? OC had previously been 5.0.0 up to 5.5.1 (aka "OpenClonk 5.1"). I'm just a bit confused since the dry release is labeled as "openclonk-6.0" this time.
Parent - By Maikel Date 2015-03-14 14:34
We switched to the X.Y versioning system, hopefully doing more minor releases. More it neither needed for the players nor the developers.
- - By B_E Date 2015-03-15 14:39
Could you please also upload the source tarballs (openclonk-6.0-src.tar.gz)?  I'd like to update the AUR entry.
Parent - - By Maikel Date 2015-03-15 14:45
Is work in progress (needs a bit more time, because files need to be removed).
Parent - By B_E Date 2015-03-15 14:47
Thanks!
- By Isilkor Date 2015-03-19 11:59
Bugfixes that should go into a point release in the near future:
- Rendering fix for GeForce 6000/7000 series: f0579f7, d6f219a
Reply
Up Topic Development / Developer's Corner / Closing in on the 6.0 Release!

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill