#exult@irc.freenode.net logs for 10 Dec 2012 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage


[00:02:45] <Malignant_Manor> I have no idea. You're the one who wrote it.
[00:07:34] <Malignant_Manor> It seems like it was the previous default.
[00:12:50] <i30817> FINALLY! Had some strays source installs of SDL2. But the actual problem was that there was one time "SDL2" was named "SDL", and it left a ./lib/pkgconfig/sdl.pc
[00:12:59] <i30817> Never using make install AGAIN
[00:47:58] <i30817> Ok Marzo, the fix works, closed all consoles and opened a new one to make sure the env property was not already set too.
[00:48:34] <i30817> Tell me in the channel if you don't plan on applying the fix, so i can do it on my compile.
[00:49:51] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232])
[01:11:17] <-- i30817 has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 17.0.1/20121129151842])
[01:26:43] <Marzo> i30817: if you read the logs, I applied the fix; if not, this message won't matter anyway...
[02:44:04] --> redwar_ has joined #exult
[02:57:25] <-- redwar_ has left IRC (Remote host closed the connection)
[03:06:24] <-- Dominus has left IRC (Remote host closed the connection)
[03:06:54] --> Dominus has joined #exult
[03:06:54] --- ChanServ gives channel operator status to Dominus
[07:12:50] --> i30817 has joined #exult
[07:13:53] <i30817> Hey marzo. Got a 'interesting' pause when the mouse button hover over the game name in the menu.
[07:13:54] <i30817> Is this the result of the memory leak plugs?
[07:19:11] <i30817> Also a feature that would be really nice would be a toggle for fullscreen; like dosbox. Alt+Enter didn't appear to work.
[07:21:01] <i30817> Maybe would should clean the garbage when the user clicks on the button, not hover over it if that's what is happening with that pause.
[07:21:30] <i30817> It seems to happen again if you leave the text and move over it again
[07:22:37] <i30817> And makes movement over the upper part of the screen very stuttery.
[07:28:44] <Dominus> i30817: fulscreen toggle: have you read the documentation?
[07:33:44] <-- Dominus has left IRC (Ping timeout: 250 seconds)
[07:34:49] --> Dominus has joined #exult
[07:34:50] --- ChanServ gives channel operator status to Dominus
[07:46:02] <i30817> Reading manuals ;)
[07:46:03] <i30817> For noobs.
[07:46:05] <i30817> F4 eh? Very unusual
[07:47:14] <i30817> Also i tried alt+enter.
[07:47:31] <i30817> It's listed as a alternative.
[07:48:55] <i30817> Wait. It doesn't work on the main menu. That's not very virtuous.
[08:58:05] <-- i30817 has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 17.0.1/20121129151842])
[09:10:09] --> Rottingbeef has joined #exult
[09:18:59] <wjp> Marzo: how extensively did you test this SDL_MOUSE_RELATIVE change? It feels a bit risky to just change this for everyone
[09:48:55] <-- wjp has left IRC (Ping timeout: 260 seconds)
[09:49:08] --> wjp has joined #exult
[09:49:16] --- ChanServ gives channel operator status to wjp
[09:54:46] --> i30817 has joined #exult
[09:58:51] <i30817> I tested it a bit. I'm actually on ubuntu raring atm.
[09:58:53] <i30817> But i had noticed this from a long time. Actually a kinda 'got used to it' using windowed mode in sdl apps or making exceedingly small mouse movements.
[09:58:54] <i30817> But it wrecked exult worse of all for some reason. The change also seems to just prevent SDL from doing something extra, so it really shouldn't have additinal effect.
[10:00:25] <i30817> But who knows.
[10:00:46] <wjp> if something is configurable there are generally situations where it is and where it isn't needed, so...
[10:01:04] <Dominus> wjp, Marzo: couldn't we add some cfg setting for SDL environment stuff? something like <SDL_env_1> <SDL_env_2> <SDL_env_3>. Test if these exist and then use these. <SDL_env_1> SDL_MOUSE_RELATIVE=0</SDL_env_1>
[10:01:27] --> Serel_ has joined #exult
[10:01:31] <Dominus> Malignant_manor added a patch for adding directx related sdl environments to the cfg some time ago
[10:01:36] <i30817> Maybe look for the commit that introduced that stuff in the SDL repos?
[10:02:11] <i30817> It's a very harebrained default. I also thought it weird.
[10:02:27] <-- Serel has left IRC (Ping timeout: 260 seconds)
[10:02:31] <wjp> just because your system needs it doesn't make a default harebrained
[10:02:45] <Dominus> I don't dare to judge things that people who made SDL are doing
[10:05:52] <i30817> "Be careful with that function. At least on Linux and SDL 1.2, if you have
[10:05:54] <i30817> full-screen mode and you turn the cursor *on*, then it will jump to an
[10:05:55] <i30817> unpredictable location. There was some discussion about that on the list a
[10:05:57] <i30817> year or two ago. The behaviour is actually not a bug, but a feature (with
[10:05:58] <i30817> a rather convoluted explanation), but the conclusion was that it was a bad
[10:06:00] <i30817> feature. However, it has not been fixed."
[10:06:01] <i30817> http://forums.libsdl.org/viewtopic.php?t=5675&sid=7a1d50192e9ec885d655e3dcbdca7601
[10:08:21] <Dominus> I'd rather hear from sam lantinga on this
[10:08:26] <Marzo> (07:18:58 AM) wjp: Marzo: how extensively did you test this SDL_MOUSE_RELATIVE change? It feels a bit risky to just change this for everyone
[10:08:44] <Marzo> Just enough to see that Exult is unplayable with a touchpad in my system with it
[10:09:09] <Marzo> (and judging by the Launchpad report, for lots of other SDL programs in other systems)
[10:09:23] <i30817> Rationale on this thread http://forums.libsdl.org/viewtopic.php?t=3906&sid=c06d7d2c75884b43d50e74a9d6301926 (but i dont recognize the name).
[10:09:38] <i30817> 2nd post
[10:10:03] <Marzo> Maybe adding an option to gameplay options about an experimental touchpad fix?
[10:10:27] <Marzo> s/?/would be a better way to go?/
[10:10:51] <-- Serel_ has left IRC (Ping timeout: 260 seconds)
[10:11:08] <Dominus> or just an exult.cfg setting without a visible option? Since it is limited to linux
[10:11:21] <wjp> Marzo: do you run ubuntu?
[10:11:21] --> Serel_ has joined #exult
[10:11:25] <Marzo> Yes
[10:11:39] <wjp> I should maybe try it on my laptop tonight
[10:11:44] <wjp> (centos)
[10:11:54] <Marzo> Aye, it would be good
[10:12:16] <Marzo> Especially since I don't think trying it on a virtual machine will help on this case
[10:12:48] <wjp> still a useful data point
[10:14:32] <Marzo> So now I just need to create a VM for a non-Ubuntu distro, install dev tools, grab Exult and try to run it...
[10:14:55] <wjp> ah, I thought you meant you already had it set up
[10:15:01] <wjp> in that case maybe not worth the effort :-)
[10:15:25] <Dominus> marzo, another graphics option bug. When you swithc to fullscreen via toggle (f4 or Alt-enter) it doesn't *stick*. Meaning when you exit exult and start it again it is in windowed mode again
[10:16:17] <Marzo> That at least isn't mine :-)
[10:16:25] <Dominus> :)
[10:17:09] <Marzo> It is just a call to config->set that is either missing or not set to write
[10:17:15] <Marzo> Will check
[10:18:01] <Dominus> he he, and because of the broken fullscreen in SDL < 1.2.15 on OS X I can't test it in my snapshots backup :)
[10:19:16] <Dominus> I'll see if I can find time to test other things during the day. I was quite lucky unearthing the SI bugs last night.
[10:20:40] <Dominus> marzo, are you ok as well with me disabling Exult Studio and Usecode compiler by default in configure? To save us some reports later on :)
[10:20:52] <Marzo> k
[10:21:26] <Dominus> I'll do that then in the next few days when I get to write the docs as well (still missing the great xbr scaler :))
[10:21:42] <Marzo> And a question: does your mac have a touchpad? And if so, does it work OK in fullscreen?
[10:21:59] <Marzo> (with and without the env var change)
[10:22:49] <wjp> it's X11-conditional at the moment, isn't it?
[10:22:55] <Marzo> Yes
[10:23:06] <wjp> or do we also set that #define on OS X?
[10:23:20] <Marzo> Only if ES is being built too
[10:23:28] <Marzo> Which Dominus usually does
[10:24:13] <Dominus> actually I don't build ES usually anymore :)
[10:24:53] <Dominus> and if I disable fast mouse trackpad works fine on OS X but that is without X11
[10:25:45] <Dominus> (except for the cumbersome movement of having to press the tracpad down for the left button hold to move)
[10:27:35] <Marzo> Yes, disabling fast mouse makes it playable with touchpad here too (without the putenv)
[10:27:47] <-- Dominus has left IRC (Read error: No route to host)
[10:28:05] <wjp> fast mouse?
[10:28:18] --> Dominus has joined #exult
[10:28:18] <Dominus> I'm not building with ES anymore since x11 introduces too much weirdness on OS X. keyboard shortcuts, fullscreen etc. I rather try to test the main function than ES
[10:28:18] --- ChanServ gives channel operator status to Dominus
[10:28:28] <Dominus> If I ever find a good way to make a static bundle of Exult and ES that may change :)
[10:29:03] <Marzo> But the putenv does make the touchpad and mouse speeds comparable in fullscreen
[10:29:25] <Dominus> wjp:<fastmouse> **enables faster cursor movement in full screen mode.
[10:29:25] <Marzo> wjp: gameplay options->fullscreen fast mouse
[10:29:46] --> ettin has joined #exult
[10:29:49] * Dominus has to prepare lunch now before the little one wakes up hungry....
[10:30:35] <Marzo> Strangely, in my system the touchpad moves faster in fullscreen with or without fast mouse if SDL_MOUSE_RELATIVE is set
[10:30:56] <Marzo> But with it set to zero, they both have the same speed
[10:34:02] <-- ettin_ has left IRC (*.net *.split)
[10:46:31] <i30817> I tracked down the formula for the fast mouse thing when i thought the problem was in exult code. It's on mouse.cc worldtoscreen and viceversa
[10:48:07] <Marzo> Dominus: fullscreen toggling through key now asks if you want to keep the new state (like the video gump does) and saves to disk if you do (and reverts to previous state otherwise)
[10:49:35] <Marzo> Anyway, go to go; be back later
[10:54:42] <-- Marzo has left IRC (Ping timeout: 264 seconds)
[11:19:00] <-- i30817 has left IRC (Quit: ChatZilla 0.9.88.2 [Firefox 17.0.1/20121129151842])
[11:30:44] <Dominus> Marzo, great, I wouldn't have thought to ask whether fullscreen switch was ok or not :)
[11:35:15] --> i30817 has joined #exult
[11:37:05] <i30817> Anyone know of a way to turn off the top panel in gnome 3 that is fullscreen mode aware? (the plugin in the gnome extension site doesn't cut it)
[11:37:06] <i30817> It's ruining my fullscreen mojo (the top and bottom panels aren't turned off in fullscreen. A huge mistake IMO; though it maybe is because i'm using mutter instead of compiz)
[11:48:50] <Dominus> i30817: about SDL, I hinted at pkg-config stuff to begin with :)
[11:54:10] <i30817> Yeah. I noticed it... later. Still had to remove it manually because pulled the SDL svn and make install'ed it again like a moron
[11:54:12] <wjp> I heard rumours Valve was pushing improvements to Linux fullscreen
[11:54:29] <wjp> which would be a very good thing :-)
[11:55:14] <i30817> I lied. I'm actually using compiz. Thought otherwise. Gonna logout and login now, to test a possible 'fix' (workaround)
[11:55:28] <-- i30817 has left IRC (Remote host closed the connection)
[11:59:10] --> i30817 has joined #exult
[11:59:29] <i30817> didn't work. Ready to kill self or gnome 3 developer
[12:03:40] <i30817> https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/102807
[12:05:28] <i30817> wait a second that is 4 years old and not even gnome 3.
[12:06:18] <-- Kirben has left IRC (Ping timeout: 265 seconds)
[12:27:06] <-- i30817 has left IRC (Remote host closed the connection)
[12:42:31] <Dominus> wjp, sam lantinga of SDL is working for valve... :)
[12:43:59] <wjp> yes
[12:46:17] <Dominus> Marzo, screwy trackpad support is the reason I hope someone will port exult to sdl 2 eventually. some time *after* we actually release. AND SDL 2.0 is actually released (and probably better to wait for the bugfix releas then :))
[13:08:22] --> i30817 has joined #exult
[13:08:50] <i30817> uhoh. Hey marzo; you probably want to revert that touchpad commit
[13:09:23] <i30817> I uninstalled compiz (to just pure gnome shell + mutter).
[13:09:59] <i30817> And now i'm seeing a 'funny' side effect. But first let me test if it is the env property.
[13:12:53] <i30817> Yeah this is sad. Enabling that in this config makes the mouse 'recenter' on screen if you go near the edges.
[13:13:22] <i30817> Seems like that setting to mouse relative movement was is a workaround for another bug.
[13:14:40] <i30817> Funny i couldn't tell with unity+compiz installed. I'm pretty sure i was using mutter too then (since gnome shell only uses mutter).
[13:18:02] <i30817> If you see a bug report on the same issue from 2007.. you'll see that one of the reporters is saying it was 'caused' by 'unclutter'. Which was a app that... hides the mouse cursor.
[13:18:03] <i30817> https://bugs.launchpad.net/ubuntu/+source/unclutter/+bug/61105/comments/24
[13:21:07] <i30817> Ugh terrible.
[13:21:51] <i30817> Marzo does this happen to you (move mouse all the way to the right side of a fullscreen exult menu with the 'fix')
[13:33:59] <-- i30817 has left IRC (Remote host closed the connection)
[13:44:41] <Dominus> maybe you should try a clean system :)
[13:56:05] --> TheCycoONE has joined #exult
[14:10:14] --> Marzo has joined #exult
[15:06:50] <-- nutron has left IRC (Read error: Connection reset by peer)
[15:11:00] --> i30817 has joined #exult
[15:11:32] <i30817> read my message Marzo?
[15:11:56] <Marzo> I did, but I also didn't have time to do anything about it yet
[15:12:54] <i30817> Also in other news, lightdm is crashing gnome shell. Fortunately i had it configured to autologin and only noticed when i tried to logout.
[15:13:53] <i30817> The ubuntu/GNOME friendenmy slash deepens
[15:14:27] <Marzo> Meh, I switched to GDM a few weeks ago
[15:17:17] <i30817> A real pity lightdm is sooooo pretty. It goes very well with my desktop background:
[15:17:18] <i30817> http://25.media.tumblr.com/tumblr_m3q3s0h8iy1qbzzgco1_1280.gif
[15:17:20] <i30817> A pity backgrounds can't be animated.
[15:18:22] <i30817> Though my version is slower and mellow, not that epileptic inducing version.
[15:27:05] <-- i30817 has left IRC (Remote host closed the connection)
[15:33:09] --> i30817 has joined #exult
[15:56:04] <-- RadoS has left IRC (Ping timeout: 244 seconds)
[15:56:35] --> RadoS has joined #exult
[16:02:09] <-- i30817 has left IRC (Remote host closed the connection)
[19:03:26] <-- Marzo has left IRC (Read error: Operation timed out)
[21:07:37] <-- Serel_ has left IRC (Quit: Man who run behind car get exhausted)
[21:12:30] --> Marzo has joined #exult
[21:20:42] <-- Marzo has left IRC (Ping timeout: 252 seconds)
[22:00:12] --> Kirben has joined #exult
[22:00:12] --- ChanServ gives channel operator status to Kirben
[22:05:43] <-- Rottingbeef has left IRC ()
[22:28:19] <-- TheCycoONE has left IRC (Quit: And then there were n-1)
[22:59:03] <-- Dominus has left IRC (Quit: good night)
[23:02:47] --> Dominus has joined #exult
[23:02:48] --- ChanServ gives channel operator status to Dominus
[23:08:53] --> i30817 has joined #exult
[23:27:40] <-- Kirben has left IRC ()
[23:29:42] <-- i30817 has left IRC (Remote host closed the connection)
[23:57:32] --> Kirben has joined #exult
[23:57:33] --- ChanServ gives channel operator status to Kirben