Latest Posts

Topic: Can't start under Linux Ubuntu

MegaMatze

Topic Opener
Joined: 2009-06-20, 15:06
Posts: 33
Ranking
Pry about Widelands
Location: Germany
Posted at: 2010-04-28, 09:57

Hi everybody,

I just downloaded the new WL-release, unpacked it and tried to start it. My Ubuntu is up to date and I called

sudo apt-get install libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libboost1.35-dev libggzcore9

to install all the required packages.

The previus build 14 worked this way, the actual does not. When I start it, a black screen appears with nothing more than a cursor. There is no error message and it is not possible to close the black WL-window. When I try to go back to the desktop with Alt-Tab, the gnome menu (for selecting the window you want to go to) appears. However the window I select does not show up. I am stuck to the black WL-window and have to restart my computer face-sad.png

Does anybody know what to do?

Thanks in advance, MegaMatze

Edited: 2010-04-28, 09:59

Top Quote
MegaMatze

Topic Opener
Joined: 2009-06-20, 15:06
Posts: 33
Ranking
Pry about Widelands
Location: Germany
Posted at: 2010-04-28, 10:03

In the downlod section under "Instructions for Ubuntu 9.10 (unofficial packages)" there is a link to ubuntu packages of widelands. But since they are only b14, I dont want to use them, but the new b15.

Is the problem maybe, that I have to install newer versions of the packages: libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-net1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libboost1.35-dev libggzcore9


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2010-04-28, 10:26

Try starting widelands not in fullscreen via --fullscreen="false" and look at the console output, otherwise we can only guess to at what the problems are.

Alternatively, you could build widelands yourself, this is extremely easy under ubuntu.


Top Quote
MegaMatze

Topic Opener
Joined: 2009-06-20, 15:06
Posts: 33
Ranking
Pry about Widelands
Location: Germany
Posted at: 2010-04-28, 18:50

Hi,

without fullscreen it works without problems.

The Output is:

rebekka@rebekka-laptop:~/Desktop/widelands$ ./widelands --fullscreen="false"

Adding directory:./.

Version file found with id "build-15" (real "build-15" )

No version file found

Adding directory:/usr/share/games/widelands

No version file found

Adding directory:.

Version file found with id "build-15" (real "build-15" )

No version file found

Set home directory: /home/rebekka/.widelands

No version file found

LANG de_DE, LANGUAGE de_DE:de

textdomain widelands @ locale

using locale de_DE

SDL_VIDEODRIVER=&

Graphics: Trying Video driver: 0 x11 SDL_VIDEODRIVER=x11

* GRAPHICS REPORT *

VIDEO DRIVER x11

hw surface possible 0

window manager available 1

blitz_hw 0

blitz_hw_CC 0

blitz_hw_A 0

blitz_sw 0

blitz_sw_CC 0

blitz_sw_A 0

blitz_fill 0

video_mem 0

vfmt 0x88eb018

size 1024 768

* END GRAPHICS REPORT *

hw avail:0Graphics: flags: 0

[] Section [global], key 'EXENAME' not used (did you spell the name correctly?)

Sound_Handler: loaded song "music/intro_00.ogg"


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2010-04-28, 19:42

do other SDL games work in fullscreen?


Top Quote
MegaMatze

Topic Opener
Joined: 2009-06-20, 15:06
Posts: 33
Ranking
Pry about Widelands
Location: Germany
Posted at: 2010-04-28, 20:06

Hmm, ... I'm not quite shure if I did the right ting now. I installed "Secret Maryo Chronicles" over the Ubuntu packege management system. The game description said, that it uses the library SDL and OpenGL. So I guess that's one of those SDL games.

The game worked perfectly in fullscrean!

I tried another game called "Chromium BSU" and that also worked!


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2010-04-28, 20:21

I suggest playing non fullscreen then ;). I also suggest opening a bug report on our tracker, and lastly I suggest to build a current version like described on http://wl.widelands.org/wiki/BuildingWidelands/ and see if the problem goes away.


Top Quote
MegaMatze

Topic Opener
Joined: 2009-06-20, 15:06
Posts: 33
Ranking
Pry about Widelands
Location: Germany
Posted at: 2010-04-29, 13:03

Hi,

thanks for your suggestions! I once tried to compile my own version and I failed. Thats too much work for me only to get the fullscreen.

Is there a log or error file or so, that is created when widelands crashes? I could get the error message from there!


Top Quote
SirVer

Joined: 2009-02-19, 14:18
Posts: 1445
Ranking
One Elder of Players
Location: Germany - Munich
Posted at: 2010-04-29, 13:56

You can start widelands like so:

 $ ./widelands --logfile=err.txt

Top Quote
timowi

Joined: 2009-11-01, 22:08
Posts: 146
Ranking
At home in WL-forums
Location: Germany
Posted at: 2010-04-29, 15:25

I have build native ubuntu packages now. You can get them from this ppa:

https://launchpad.net/~timo-wingender/+archive/ppa

They should work better than the generic linux binaries.

Timo


Top Quote