Opened 18 months ago

Last modified 18 months ago

#6646 new defect

No Sound Device found

Reported by: Lou Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

When starting the game for the first time after turning computer on, there is no sound and a message "no sound device found". I have to Alt-F4 and restart the game, and then it works. I'm running Ubuntu 22.04 This is a new issue, since a few days.

Attachments (1)

0ADerror.png (1.1 MB ) - added by Lou 18 months ago.
no sound error

Download all attachments as: .zip

Change History (9)

comment:1 by Vladislav Belov, 18 months ago

Does sound appear in other applications? What would happen if you'd wait some time after the computer is on? Will sound appear from the first run?

comment:2 by Lou, 18 months ago

Hello, I have sound in all other applications on this computer under UBUNTU 22.04 I set the computer on in the morning and sometimes wait till the afternoon to play, it's always without sound on the first run. I have to shut it down and restart, after what it always runs with sound. It is also impossible to get a screenshot, the game just crashes. 0.534 Warning: no sound device was found. I also installed the game on a windows computer, where it runs without sound problem.

comment:3 by Lou, 18 months ago

[[File:0ADerror.png|thumb|no sound error]]

or

https://commons.wikimedia.org/wiki/File:0ADerror.png

by Lou, 18 months ago

Attachment: 0ADerror.png added

no sound error

comment:4 by Lou, 18 months ago

I use Linux UBUNTU 22.04 in FRENCH (maybe this is important ?)

in reply to:  4 comment:5 by Vladislav Belov, 18 months ago

We use OpenAL to play sounds. Maybe it fails to interact with your drivers? Are they up-to-date?

Replying to Lou:

I have sound in all other applications on this computer under UBUNTU 22.04

Do you have by a chance another game that uses OpenAL, like SuperTuxKart, Spring RTS or Warzone 2100?

I set the computer on in the morning and sometimes wait till the afternoon to play, it's always without sound on the first run. I have to shut it down and restart, after what it always runs with sound.

What if it run the game with parameter -nosound for the first time?

It is also impossible to get a screenshot, the game just crashes.

Does it crash only for the first time or always? Could you attach mainlog and crashlog after the crash?

I use Linux UBUNTU 22.04 in FRENCH (maybe this is important ?)

I think there is a low chance that the language affects the audio.

comment:6 by Lou, 18 months ago

I just updated the whole system -- Problem still there

I have OpenTTD game on that computer, works fine. No other game there, except standard card solitaire.

comment:7 by Lou, 18 months ago

I removed the game and reinstalled it (using the ubuntu wallet), problem still there.

I launch the game from the icon on the launchpad, what is the command-line to launch the game ?

comment:8 by Lou, 18 months ago

I removed the game using the ubuntu wallet and reinstalled it by command-line with sudo add-apt-repository ppa:wfg/0ad sudo apt-get update sudo apt-get install 0ad

This solved the problem. It seems like the copy in the ubuntu repository (used by the wallet) is bad.

Thanks for the help, and for the game.

Note: See TracTickets for help on using tickets.