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
  [BUG] Devastator/mortar glitch (0.8.2 client/0.8.1 server) gd 4 3,878 05-23-2017, 10:40 PM
Last Post: kaadmy
  [SOLVED] Difference of the 2 update scripts? dreamteam 2 3,694 11-30-2015, 04:35 PM
Last Post: dreamteam
  [NEEDS INFO] Some maps wont download through the client. end user 7 9,108 02-22-2013, 10:37 AM
Last Post: end user
Bug [SOLVED] Some comments on output from self-compiled SDL client Gallaecio 4 5,961 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-