Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] What is the difference between SDL and GLX client?

#1
Wink 
Hey!

The title says it all.

I always wanted to know but I was afraid to ask Wink
I'm making Liblast - a FOSS online FPS game made with Godot 4 and a 100% open-source toolchain
Reply

#2
Here's the Wikipedia page on SDL:
http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer

Sometimes one or other version performs better. Sometimes one or other version has problems with input devices. Depending upon your system YMMV. In my experience SDL is more likely to be faster.

Try benchmarking both with the-big-benchmark and seeing if there is a difference.
I'm at least a reasonably tolerable person to be around - Narcopic
Reply

#3
actually in my case glx was faster for 0.5 ... but for the current autobuild glx has problems with the sound crashing ... and sdl has sped up so they are now at equal speed. Glx also crashes for my when I hit the apply settings button in effects and video settings ... sdl does not crash....

so ... I really don't know what the diffrence is either
Reply

#4
I've tried SDL one and:

-I don't get a brief lockup on startup, like with GL version,
-But OTOH all sounds in game are delayed for 0.4-0.5 seconds.
Reply

#5
What os/executable rafallus?
Reply

#6
btw 0.6's sdl and glx have quite the same perfomance on my win7x64 pc. But there is some problems with mouse pointer focus in sdl version, and sometimes it is getting me away from the game to the desktop.

On ubuntu 12.04alpha2 sdl version has +20% higher perfomance then glx. But there is the problem with the screen, it has some black lines at the bottom and the top.
Reply

#7
Quote:What os/executable rafallus?

rafallus
desktop-c2d
Core 2 Duo E8400
4GB
ATI Technologies Inc. ATI Radeon HD 4800 Series 3.2.9704 Compatibility Profile Context
Windows XP x64

64-bit executable.
Reply

#8
for some-reason glx doesn't save replays on mine but sdl does
Reply

#9
windows + sdl-64 is fail atm, try the wgl or 32bit sdl instead.
Reply

#10
SDL: Simple directmedia layer- libsdl.so
GLX: OpenGL -
[Image: steam.gif]











Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] My mouse binds do not work in GLX? FAF 5 1,520 07-29-2022, 08:39 AM
Last Post: FAF
  [NEED HELP] Keybindings not recognized when using the SDL launcher naw 1 1,636 09-02-2019, 05:38 AM
Last Post: naw
  [BUG] SDL version not loading, glx version buggy rendering Halogene 3 3,737 10-19-2017, 06:04 AM
Last Post: Freddy
  [BUG] Devastator/mortar glitch (0.8.2 client/0.8.1 server) gd 4 4,178 05-23-2017, 10:40 PM
Last Post: kaadmy
  [SOLVED] Difference of the 2 update scripts? dreamteam 2 3,938 11-30-2015, 04:35 PM
Last Post: dreamteam
  [NEED HELP] GUI Mouse Problem with GLX Slackhead 2 3,846 08-31-2014, 04:22 AM
Last Post: Slackhead
  [SOLVED] sdl.dll missing wind8.1 maek234 4 5,649 07-05-2014, 04:15 AM
Last Post: Mr. Bougo
  [NEEDS INFO] Some maps wont download through the client. end user 7 9,519 02-22-2013, 10:37 AM
Last Post: end user
Bug [INVALID] Bug: pause between time of mouse click and shot fired in multiplayer YCSSWL(7) 4 4,984 09-22-2012, 01:49 PM
Last Post: adem
Bug [SOLVED] Some comments on output from self-compiled SDL client Gallaecio 4 6,207 09-11-2011, 11:24 AM
Last Post: divVerent

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-