Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 2.4.1 released  (Read 7076 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9658
    • View Profile
    • development blog
    • Email
SFML 2.4.1 released
« on: November 04, 2016, 03:27:50 pm »
We finally got around to releasing a patch version SFML 2.4.1 that addresses a few urgent issues.

Some highlights are:
  • Switched back to pure Xlib instead of XCB + Xlib
  • This fixes quite a few issues for Linux (fullscreen bug, GNOME unresponsive issue, etc.)
  • Removed the internal OpenGL context
  • Which fixed the stack overflow on Windows when using multiple-threads

The full list of bugfixes can be found in the changelog: http://www.sfml-dev.org/changelog.php#sfml-2.4.1

Visit http://www.sfml-dev.org/ for download instructions and extensive documentation. We hope this release is useful to you and would love to get some feedback in our forums!
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Sub

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: SFML 2.4.1 released
« Reply #1 on: November 04, 2016, 07:38:11 pm »
Awesome, looks like some solid fixes  ;D

I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?

korczurekk

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • Email
Re: SFML 2.4.1 released
« Reply #2 on: November 04, 2016, 08:28:53 pm »
Awesome, looks like some solid fixes  ;D
Yep, my SFML-related library was broken after updating to 2.4.0 and 2.4.1 fixed it.  ;D

I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?

Sub

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: SFML 2.4.1 released
« Reply #3 on: November 04, 2016, 08:39:36 pm »
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?
Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc

You can work around it by adding this to the cmake file, https://web.archive.org/web/20160509014317/https://gitlab.peach-bun.com/pinion/SFML/commit/3383b4a472f0bd16a8161fb8760cd3e6333f1782.patch, but antialiasing doesn't appear to work when I compile builds with that workaround.  Nothing is easy lol

korczurekk

  • Full Member
  • ***
  • Posts: 150
    • View Profile
    • Email
Re: SFML 2.4.1 released
« Reply #4 on: November 04, 2016, 09:42:24 pm »
I don't know what is in prebuilt binaries for Linux, but… seriously, you have such a great OS, where recompiling SFML from github is less than 5-6 commands and you download binaries?
Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc

You can work around it by adding this to the cmake file, https://web.archive.org/web/20160509014317/https://gitlab.peach-bun.com/pinion/SFML/commit/3383b4a472f0bd16a8161fb8760cd3e6333f1782.patch, but antialiasing doesn't appear to work when I compile builds with that workaround.  Nothing is easy lol

What distribution do you use? I always typed
Code: [Select]
ccmake .; make; sudo make install and it worked well on Fedora, Ubuntu and Manjaro.  ???

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9658
    • View Profile
    • development blog
    • Email
Re: SFML 2.4.1 released
« Reply #5 on: November 05, 2016, 02:35:19 am »
I'm a bit confused though.  I downloaded the Linux GCC - 64-bit version, and some of the files in the lib folder are named SFML 2.4.0?
The 2.4.0 you see is the SONAME and not the version number.

Yeah.  I ran into this bug when compiling SFML myself

http://stackoverflow.com/questions/21224090/gcc-shared-library-failed-linking-to-glibc
Is this still an issue? Has GCC not been updated yet?
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

Sub

  • Full Member
  • ***
  • Posts: 152
    • View Profile
Re: SFML 2.4.1 released
« Reply #6 on: November 05, 2016, 03:59:58 pm »
I think I was just using an older version of gcc.  I updated to 6.2 and it's fine now. 

eigen

  • Jr. Member
  • **
  • Posts: 64
  • Brobdingnagian ding dong
    • View Profile
    • Pioneersgame.com
Re: SFML 2.4.1 released
« Reply #7 on: November 05, 2016, 09:08:46 pm »
Congrats on a new release :)

Finally seems to work with threaded sprite loading which was a deal-breaker for me since couple of last releases.

Elias Daler

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
    • Blog
    • Email
Re: SFML 2.4.1 released
« Reply #8 on: November 05, 2016, 10:22:53 pm »
Wow! Getting rid of internal context is huge. So glad it's finally part of the SFML. :)
Is it this branch?
Tomb Painter, Re:creation dev | eliasdaler.github.io | @EliasDaler | Tomb Painter dev log

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9658
    • View Profile
    • development blog
    • Email
AW: Re: SFML 2.4.1 released
« Reply #9 on: November 05, 2016, 10:39:48 pm »
Wow! Getting rid of internal context is huge. So glad it's finally part of the SFML. :)
Is it this branch?
Yes, it's quite nice, even if it means that previous OpenGL-SFML applications that depended on implementation details of SFML now might break and need adjustment.
And yes, it's that branch. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

eigen

  • Jr. Member
  • **
  • Posts: 64
  • Brobdingnagian ding dong
    • View Profile
    • Pioneersgame.com
Re: SFML 2.4.1 released
« Reply #10 on: November 06, 2016, 10:43:04 am »
I'm defintely noticing a major slowdown in WAV file loading (using SoundBuffer::loadFromFile). Loading a bunch of small files (< few secs long) previously took around 800ms, but now takes around 6 seconds. Previously I was using SFML 2.3.2. Has anything been changed in that regard?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9658
    • View Profile
    • development blog
    • Email
Re: SFML 2.4.1 released
« Reply #11 on: November 06, 2016, 11:51:02 am »
Previously I was using SFML 2.3.2. Has anything been changed in that regard?
There have been a few changes to the audio module between 2.3.2 and 2.4.0. You can check them out in the changelog. Seems odd that the loading time would jump as much. Is this in debug mode? Are you using the same compiler?
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

hsalamat

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: SFML 2.4.1 released
« Reply #12 on: November 06, 2016, 03:19:07 pm »
Posted this blog about how to set up SFML 2.4.1 with visual studio 2015.

http://sfml-hooman.blogspot.ca/2016/11/setting-up-sfml-with-visual-studio-2015.html

Cheers,
Hooman

Hapax

  • Hero Member
  • *****
  • Posts: 3026
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: SFML 2.4.1 released
« Reply #13 on: November 06, 2016, 04:52:18 pm »
Congratulations on another SFML update! :)

@hsalamat, I don't think copying SFML in its entirety into each solution 's folder should be recommended. Apart from things like difficulty in updating SFML and so many useless copies of SFML, by the end of your course, the SFML DLLs are contained in the solution twice.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

iocpu

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: SFML 2.4.1 released
« Reply #14 on: November 17, 2016, 07:33:23 pm »
Any news on when will the 2.4+ version be available from Ubuntu's official repo?

 

anything