LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 07-30-2018, 01:58 PM   #1
SUSESailor
Member
 
Registered: Jul 2015
Posts: 85

Rep: Reputation: Disabled
apulse error with Scorched Earth 3D


Hello, all.

I finally got tired of PulseAudio's male-cow-traces, so I removed it completely from my system and replaced it with apulse. Firefox is now playing sound again, but I'm having trouble with Scorched Earth 3D. When I launch APULSE_PLAYBACK_DEVICE=plugequal apulse /usr/local/bin/scorched3dc, I get the following error message:

Code:
[apulse] [error] do_connect_pcm: can't set sample format 2 ("S16_LE") for playback device "plugequal". Error code -22 (Invalid argument)
[apulse] [error] do_connect_pcm: failed to open ALSA device. Apulse does no resampling or format conversion, leaving that task to ALSA plugins. Ensure that selected device is capable of playing a particular sample format at a particular rate. They have to be supported by either hardware directly, or by "plug" and "dmix" ALSA plugins which will perform required conversions on CPU.
AL lib: (EE) connect_playback_stream: Stream did not connect: Oops.
Scorched3D : Failed to open sound device
Scorched3D Sound : Failed to aquire sound.
Is anything else currently using the sound card?
Now, it used to work fine when I had the real PulseAudio installed, so I'm sure my sound device can play whatever Scorch wants it to. Besides, I've never heard of a sound device that wouldn't play 16-bit little-endian.

Any ideas on how to fix this?

Thanks in advance!
 
Old 08-12-2018, 12:47 PM   #2
bodqhrohro
Member
 
Registered: Apr 2018
Location: Ukraine
Distribution: Debian GNU/Linux 12
Posts: 62

Rep: Reputation: Disabled
Quote:
Originally Posted by SUSESailor View Post
Besides, I've never heard of a sound device that wouldn't play 16-bit little-endian.
Hardware devices — maybe, but the plugin may not. As I see, plugequal is a simple wrapper for a LADSPA plugin, so it unlikely supports a lot of sample formats. Did you try to chain the audio through dmix as the error message suggests?
 
Old 08-19-2018, 05:51 PM   #3
SUSESailor
Member
 
Registered: Jul 2015
Posts: 85

Original Poster
Rep: Reputation: Disabled
Well, without doing anything differently, the problem seems to have gone away. Scorch now works fine, with no error messages and with full sound.

So, I guess I'll mark the thread solved.

Thank you!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Skype, Apulse, home directory protection and custom menu entry: putting it all together kikinovak Slackware 2 01-09-2016 08:45 AM
[SOLVED] a deb for APULSE (working with Skype)? Xeratul Debian 5 01-22-2015 02:49 PM
no text in scorched earth 3D izquierdista Linux - Games 1 03-15-2008 05:34 PM
Scorched 3D starts but then has a blank screen rpbarlow Linux - Games 0 12-24-2004 10:36 PM
Installing Scorched 3d in Mandrake 10 CE Replicator 3.0 Linux - Newbie 0 04-10-2004 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration