Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
User avatar
maclura
Posts: 15
Joined: September 20th, 2008, 12:58 pm
Location: Torino, Italy

Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by maclura »

Hello All,
1) up to the day before yesterday all right: Wesnoth 1.8.1 self compiled on Ubuntu 9.04 was working well.

2) yesterday I upgraded my system from Ubuntu 9.04 to Ubuntu 10.04, I recompiled Wesnoth 1.8.1, and Wesnoth 1.8.1 was not working anymore. I cannot use the mouse: the cursor moves, but I cannot select any button (only the keyboard works).

3) so, I formatted my Hard Disc and I tryed with a fresh new installation from CD of Ubuntu 10.04, I downloaded all the required libraries and compiled Wesnoth 1.8.1: the mouse still doesn't work and, moreover, the audio now is off.

I am a little bit confused. Is there anyone who has experienced a similar problem?

Thank you.

Regards
User avatar
norbert
Posts: 368
Joined: June 14th, 2009, 6:57 pm
Location: The Netherlands

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by norbert »

User avatar
maclura
Posts: 15
Joined: September 20th, 2008, 12:58 pm
Location: Torino, Italy

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by maclura »

Thanks a lot norbert.

However the problem is not solved, because as I press ctrl+f to toggle in full screen mode, my X server crash (no more signal output from graphic card!!!!) and I have to reboot the system.

Regards

EDIT: At the moment for me, the only way to play Wesnoth is to use the left mouse button as usually, while the right one is pressed and held down. :(
User avatar
maclura
Posts: 15
Joined: September 20th, 2008, 12:58 pm
Location: Torino, Italy

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by maclura »

A Workaround that works for me now is to disable compiz:

Press ALT+F2 and then digit "metacity --replace" (without quotes).

For more details read this link https://bugs.launchpad.net/ubuntu/+sour ... bug/528957

Thanks to all of you for the help.

PS: the sound problem was originating from my stupidity (with the mute on, no one can hear sounds)!
Last edited by maclura on May 9th, 2010, 12:47 pm, edited 1 time in total.
User avatar
norbert
Posts: 368
Joined: June 14th, 2009, 6:57 pm
Location: The Netherlands

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by norbert »

maclura wrote:as I press ctrl+f to toggle in full screen mode, my X server crash (no more signal output from graphic card!!!!)
You already found a workaround for the SDL issue (libsdl1.2; disable Compiz), but does this also allow you to play in fullscreen? If not, it may be related to how Wesnoth 1.8 auto-detects the maximum available screen resolution and frequency. It sometimes uses higher resolutions and frequencies than available, resulting in monitors not being able to sync with video cards. This could crash X, give overdrive or out of sync errors, make the monitor display weird colors, or make the screen go black. I think it's not related to xserver-org settings, since Wesnoth 1.6 didn't have this issue. Anyways, I'm glad you're now able to play the game again.
Attachments
this is overdrive / out of sync
this is overdrive / out of sync
User avatar
suvorov
Posts: 90
Joined: July 30th, 2006, 11:35 pm
Location: Outer Siberia

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by suvorov »

I had the exact same problem when I upgraded from 9.10 karmic koala ubuntu, to 10.05 lucid lynx.

Actually its not that you can't click on any buttons... you can do so, but you must hold down the left click and then press right click, or vice versa, hold right click and then press left click. One of these two options is required for every input. I have actually played whole games doing this but it is REALLY annoying and makes misclicks about 10 times easier and more likely.

I'll try some of the suggestions above and see if that helps.
It is good that war is terrible, lest we grow too fond.

-Robert E. Lee
snaipperi
Posts: 1
Joined: May 20th, 2010, 7:30 pm

Re: Wesnoth 1.8.1 - Ubuntu 10.04 - Mouse & Sound problems

Post by snaipperi »

suvorov wrote:I had the exact same problem when I upgraded from 9.10 karmic koala ubuntu, to 10.05 lucid lynx.

Actually its not that you can't click on any buttons... you can do so, but you must hold down the left click and then press right click, or vice versa, hold right click and then press left click. One of these two options is required for every input. I have actually played whole games doing this but it is REALLY annoying and makes misclicks about 10 times easier and more likely.

I'll try some of the suggestions above and see if that helps.
Actually, instead of doing it that complicated as trying to click two mouse buttons at the same time, you can also just press any other keyboard key that generates an event, like SHIFT.
Post Reply