LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-15-2013, 11:42 AM   #1
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,293

Rep: Reputation: 123Reputation: 123
No sound from old games (OSS) OR OSS-sound to wrong soundcard


So I finally ditched my old, lovely Debian Lenny w kde 3.5 :'-(
Now I'm going for Linux Mint or LMDE, both with Mate. (Both behave exactly the same here.)

Hardware:
32-bit systems, Intel Pentium Dual_Core (64 bit capable)
My mobo has built-in sound, also my graphics card (Nvidia GT218) has sound via HDMI.
Both these use hda-intel.
lspci:
Code:
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
Sound-system:
First I had PulseAudio and Alsa, with oss-compat. <-- (First thing I fail to understand, why both Alsa AND Pulseaudio??)
Also I installed alsa-oss, didn't change anything.

Normal sound works fine, but when I start my old games (CivCTP, RT2 & smac / Alien Crossfire) there is no sound. However, there's also NO complaint about "no /dev/dsp" or similar when I start them from terminal!?
So I don't know if OSS sound doesn't work, or if it is directed to wrong soundcard? I have nothing I can connect to hdmi-port, so can't check that way.
I can't blacklist driver for one card as they both use the same.

Now sound is the one thing I never really have managed to understand, making it quite difficult for me to troubleshoot.

I tried selecting sound ouput via gnome-control-center and via pavucontrol - both seems to do the same thing, none has any settings specific for OSS.

I tried starting my games using some pulseaudio tools:
Code:
#pacat /dev/urandom > padsp | /usr/local/spel/smac/smacx 
#pacat /dev/urandom | /usr/local/spel/smac/smacx 
#padsp /usr/local/spel/smac/smacx
Created a file /usr/local/bin/sx:
Code:
export LD_PRELOAD=/usr/lib/i386-linux-gnu/libpulsedsp.so
/usr/local/spel/smac/smacx
Nothing works, no error messages. Tried debugging mode whereever I could, nothing.
However, "pacat /dev/urandom > padsp" alone gave sound - well actually noise, like an untuned radio.

I then removed pulseaudio and installed OSS4 - still no difference!

Now I just don't know what to do, any help much appreciated!
 
Old 02-16-2013, 06:19 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,293

Original Poster
Rep: Reputation: 123Reputation: 123
I dragged my 'puter to the TV, plugged in HDMI.
Seems there is no way I can get sound out via hdmi, not regular sound also no sound from my old games.
So one question answered, now remains "How get sound from my old games?"
I reinstalled PulseAudio & a bunch of other sound-related stuff, disabled hdmi-soundcard but still no sound in my games.
(apt-get install mate-media-pulse pulseaudio pulseaudio-utils paman asoundconf-gtk paprefs pavucontrol pulseaudio-module-raop pulseaudio-esound-compat)
 
  


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
No sound using the 64 bit OSS 4 and new sound card (supposedly supported) sandaili Linux - Hardware 0 10-07-2008 12:09 AM
ALSA ESD --> no sound, but OSS sound works intense Slackware 1 03-23-2004 02:34 PM
Can't activate OSS sound output in games dushkinup Linux - Software 0 03-11-2004 02:36 PM
OSS issue: Sound problems in Linux-native games Independence Slackware 3 12-23-2003 09:17 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM


All times are GMT -5. The time now is 12:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration