Ubuntu / SDL / OGG support not available game doesn't start

4 replies [Last post]
bantamug
User offline. Last seen 16 weeks 1 day ago. Offline
Joined: 2020-04-11
Posts: 1

Hi,

Running Ubuntu 18.04.4 LTS Just installed Hedgewars from the official repository. The game launches fine and I hear background music, but when I go to start a match it fails and I get the error in this image: https://imgur.com/NIcQisc

If I turn off all game sounds and music then I can start a match fine, but as soon as I turn any sounds/music on, I get the same error.

Pasting my game log below in cast it's useful. Thanks in advance for any pointers!

And the last few lines of game0.log

Quote:

0: Ping? Pong!
0: [Con] Init sound...
0: [Con] ok
0: [Con] Open audio...
0: [Con] failed
0: [Con] Init SDL_mixer...
0: [Con] Cannot init OPUS: OGG support not available
0: [Con] Mix_Init: OGG support not available
0: [Cmd] fatal Mix_Init: OGG support not available
0: [IPC out] E

nemo
nemo's picture
User offline. Last seen 6 hours 58 min ago. Offline
Joined: 2009-01-28
Posts: 1807

Huh... I thought those were dependencies of the install...
Guess Locutus can clarify this.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Wuzzy
Wuzzy's picture
User offline. Last seen 10 hours 46 min ago. Offline
Joined: 2012-06-20
Posts: 1190

Make sure you have all core dependencies installed:

https://hedgewars.org/kb/Dependencies

Hi, I am a Hedgewars developer. Smile I accept personal donations in bitcoin. Heart 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

nemo
nemo's picture
User offline. Last seen 6 hours 58 min ago. Offline
Joined: 2009-01-28
Posts: 1807

Could you add a bit more detail as to how you installed hedgewars?

https://packages.ubuntu.com/bionic-updates/hedgewars hedgewars 1.0.0 here depends on sdl2-mixer
https://packages.ubuntu.com/bionic/libsdl2-mixer-2.0-0 which depends on vorbis
https://packages.ubuntu.com/bionic/libvorbisfile3 which depends on ogg
https://packages.ubuntu.com/bionic/libogg0

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Edy666
User offline. Last seen 7 weeks 3 days ago. Offline
Joined: 2020-06-07
Posts: 3

so strange, I installed hedgewars yesternday in ubuntu 18.04.4 LTS with kernel 4.15.0-101-generic and run well. Of couser i instaled .deb version because i saw 2 version in Ubuntu software center, .deb and snap and i prefer .deb

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]