Upgraded sdl package breaks mouse in OpenTTD
From Slackware64 14.0 Changelog.txt
Code:
Fri Feb 8 03:57:05 UTC 2013 When I reverted the package back to the one originally shipped with Slackware, the bug disappeared. So I guess the new sdl fixed some clicking bug, but introduced another one. |
Which openttd?
I have here 1.3.1 on current which has SDL 1.2.15 with the same patch applied and I don't see the bug you describe. Some possibilities 1. Recompile of openttd required 2. Newer openttd required 3. Newer SDL required (any compatibility issues? only a minor version jump) 4. Some other library or even X at play |
Quote:
Quote:
I'll just stay with SDL 1.2.14-5. It's not a big deal. |
For clarity's sake: Are you folks testing with the game windowed or maximized?
I know that certain SDL games were handling the mouse a bit weird in window mode but totally fine maximized (remembering OpenTTD and Battle for Wesnoth). Checking real quick, BFW seems fixed, but not OpenTTD. Edit: Ack. I've got an old OpenTTD. I'll test the new one when I get back home... |
I don't see this issue on Slackware64-14.0 (with latest patches) and OpenTTD 1.3.1. The mouse works fine in windowed mode.
Code:
chess@slack 11:48 PM ~ $ ls /var/log/packages | grep sdl |
There's no difference when running the game in windowed or fullscreen mode. The cursor disappears in both cases.
Code:
bash-4.2$ chpa sdl Thanks for your reply Chess (I'm listening to Linux Reality each night, great show :) At least we know it's something with my system and not a general issue. I don't have the energy to look for the source of the problem, especially if I can easily bypass it by sticking with the previous build of SDL. Thanks guys. |
Have you tried rebuilding OpenTTD against the updated SDL packages?
|
Yes, ReaperX7.
I've had SDL updated since it was released in February and I've built OpenTTD with sbopkg only a few days ago. However, since both you and earlier wildwizard suggested to rebuild the game, I just did the following steps: 1. slackpkg upgrade-all (which updated SDL from -5 to -6) 2. removepkg openttd 3. sbopkg -> build and install openttd And the same thing happens. Next I downgraded to sdl-1.2.14-x86_64-5.txz: mouse works fine. I've even tried downloading sdl-1.2.14-x86_64-6_slack14.0.txz from another mirror, just in case the file was corrupted. |
Quote:
This is a strange bug you are encountering and maybe it's more of a graphics driver or something. I really don't know. I'm on a stock Slackware64-14.0 on my Lenovo laptop with Intel 4000 Ivy Bridge graphics on the 3.8.4 kernel FWIW. At least you're able to find a workaround by downgrading sdl. Post back if you ever find the answer. |
All times are GMT -5. The time now is 08:35 PM. |