Help please ! No sound on linux

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Guest

Help please ! No sound on linux

Post by Guest »

I install gzdoom on linux 16.04 (xubuntu) and I have no sound. someone can help me ?
here is the result when I launch it in a terminal:


GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version
Compiled on Apr 14 2018

M_LoadDefaults: Load system defaults.
Can't find './nerve.wad'
W_Init: Init WADfiles.
adding /opt/gzdoom/gzdoom.pk3, 684 lumps
adding /opt/gzdoom/zd_extra.pk3, 132 lumps
adding ./DOOM2.WAD, 2935 lumps
I_Init: Setting up machine state.
CPU Vendor ID: AuthenticAMD
Name: AMD Ryzen 5 1600 Six-Core Processor
Family 23 (23), Model 1, Stepping 1
Features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 HyperThreading
Sound init failed. Using nosound.
V_Init: allocate screen.
S_Init: Setting up sound.
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
script parsing took 113.30 ms
R_Init: Init Doom refresh subsystem.
DecalLibrary: Load decals.
M_Init: Init menus.
P_Init: Init Playloop state.
ParseSBarInfo: Loading custom status bar definition.
D_CheckNetGame: Checking network game status.
player 1 of 1 (1 nodes)
Using video driver x11
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 1060 6GB/PCIe/SSE2
GL_VERSION: 4.5.0 NVIDIA 384.111 (Core profile)
GL_SHADING_LANGUAGE_VERSION: 4.50 NVIDIA

Max. texture size: 32768
Max. texture units: 32
Max. varying: 124
Max. combined shader storage blocks: 96
Max. vertex shader storage blocks: 16
Resolution: 1280 x 720
libWildMidi(_WM_InitReader:53): ERROR Unable to load (Aucun fichier ou dossier de ce type)
gzdoom: Unable to load sound fontUnable to create WildMidi MIDI device. Falling back to OPL
Could not open MIDI out device
Playing demo DEMO1
Cannot play non-GZDoom demos.
Playing demo DEMO2
Cannot play non-GZDoom demos.
Playing demo DEMO3
Cannot play non-GZDoom demos.
_mental_
 
 
Posts: 3814
Joined: Sun Aug 07, 2011 4:32 am

Re: Help please ! No sound on linux

Post by _mental_ »

Do you have OpenAL installed? Because there should be an error message usually. Execute the following command in terminal and post its output

Code: Select all

apt -qq list libopenal1
For me it reports

Code: Select all

libopenal1/xenial,now 1:1.16.0-3 amd64 [installed,automatic]
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49130
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Help please ! No sound on linux

Post by Graf Zahl »

Do you have OpenAL support compiled in? Judging from the messages you get this looks like it is configured to use OpenAL, but no OpenAL support is present in your code.

Normally, before even trying to initialize OpenAL it should print a message, and that isn't there.
Guest

Re: Help please ! No sound on linux

Post by Guest »

for me it reports
libopenal1/xenial 1:1.16.0-3 amd64

I don't know @Graf Zahl i just installed gzdoom with the executable...
Guest

Re: Help please ! No sound on linux

Post by Guest »

the problem is solved thanks it was enough to install OpenAL.
Now I have another prob problem, I can't listen to the sound with my headphones. the probe remains stuck on a second headphone that is plugged in ^^ '(I wish I did not have to unplug it)

In short this is a different problem that may not be related to your software.
I will probably have to open another post ... Thank you for your help have a nice day/night ;)

Return to “Technical Issues”