Jump to content

Xp Sound Stops On Xp 9.31 And Ubuntu 9.10

Featured Replies

Posted
Hello all,

I decided to install Ubuntu 9.10 64-bit on a spare partition that I reserve for that purpose: testing XP under a different OS, while I continue to run a confirmed stable XP setup on a different partition (Ubuntu 9.04 / XP 9.31). The Ubuntu 9.10 Karmic Koala stock install w/o any additional stuff except ia32 lib for XP 9.31 seems to cut the XP sound after about 10 minutes. Other sound (system sounds or Rhythm box are not affect and play as expected). After sound has been cut, restarting XP does not get it back.

Restarting ALSA through the following 2 commands doesn't get it back either:
Quit XP (it'll continue to display the last graphic, till I kill the app)
sudo /etc/init.d/alsa-utils stop
sudo /etc/init.d/alsa-utils start
Start XP
few seconds of sound
silence
Quitting XP: display hangs, till I kill the app.

cat /proc/asound/version

give me:
Advanced Linux Sound Architecture Driver Version 1.0.20.

Some h/w info:
Asus P6T + 6GB ram
i7 920
nVidia GTX 295
1TB HD in 4 partitions

Anyone experienced something similar under Ubuntu 9.10 with XP 9.31?

Thanks

Edited by GlowWorm

Aloha! B-)

. GlowWorm
. http://x-plane.push-point.net/

--- Hangar: Piper Mirage | Cassutt F1 | AADx250TP | AADx1500 | AADx512 | AADx450TJ | AADx510 | AADx470-747 | Cessna T182T | Cirrus SE-22T | Starship 2000A | Lear 25 | B-17F | Velocity XL | Hurricane | Spitfire IX | Colani Fanliner | Concorde | Vulcan | Mustang | EC135 | A109E |
--- Linux Ubuntu 8.04 64-bit || Core i7 2.66GHz || 6GB ram || nVidia GTX 980 @ 3840x1200 || HOTAS Cougar stick || Saitek Pro Flight Rudder || GoFlight: MCP Pro / VR166 / RP48 / T8 || X-Plane 9.31 || 600 XP sim hrs ||

Almost the same issue here. I installed X-Plane 9.21 from DVDs, and I had sound issues (crackling). I installed alsa-oss and ran X-Plane with aoss and it was fine. After upgrading to 9.40RC16, no sound. I know that sound under 9.40 was working fine with Linux Mint 7, so it looks like it is related to Karmic. I think It's back to Jaunty for me, at least until this is properly solved.

What is different: Quitting X-Plane is not a problem, but shutting down and restarting alsa doesn't change a thing. This Pulse thing is not quite polished it would seem.

cat /proc/asound/version also gives me: Advanced Linux Sound Architecture Driver Version 1.0.20.
If there is any other output you think might help, let me know.

Steve

Cayou99

A workaround could be this:

[quote]pcm.card0 {
type hw
card 0
mmap_emulation true
}

pcm.!playback {
type dmix # dmix plugin for mixing the output
ipc_key 1234 # an uniqe number
slave {
pcm "card0"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}

pcm.!capture {
type dsnoop # dsnoop plugin for input
ipc_key 5678 # another uniqe number
slave {
pcm "card0"
period_time 0
period_size 1024
rate 44100
}
}

#
# combined playback/capture device
#
pcm.!duplex {
type asym
playback.pcm "playback"
capture.pcm "capture"
}

#
# making the playback/capture device default
#
pcm.!default {
type plug
slave.pcm "duplex"
}

#
# for oss compatibility (maybe)
#
pcm.!dsp {
type plug
slave.pcm "duplex"
}

ctl.!mixer0 {
type hw
card 0
}[/quote]

Copy this and put it in a texteditor, then name it ".asoundrc" and put it into your home directory. It gives exclusively the soundcard to X-Plane, so Teamspeak and such don't work after that anymore.

Boah, I was tempted to upgrade Ubuntu 9.04 to 9.10 and I am happy I found your topic here. Sorry for you guys.

Cheers
Chris

Edited by xplaneuser

------------------------------------------------------------------------------------------------------------------------
Hardware - The LINUX Flight Simulator machine
Lubuntu 22.04 LTS - LXQT Windows Manager (as Gnome is a taking too much resources)
Intel Core I7 / 6 core -> 12 core hyperthreated / 3930K 3.2Ghz
32GB RAM
Nvidia 1080 GTX PCI/Express 8GB
Driver Version 535

I've got the same issue, Other sound (system sounds or Rhythm box are not affect and play as expected) but no sound for X-Plane (9.30b7)

cat /proc/asound/version
gives me:
Advanced Linux Sound Architecture Driver Version 1.0.20.

Some h/w info:
Asus P5QDelux + 4GB ram
Q9400 Quad 266
nVidia GTX 9800+ 1Gb
1TB HD

Ubuntu 9.10 (64Bit)

Let me know if there is any info I can provide to help. I suspect we will need to wait for an Ubuntu update.
  • Author

Besides the sound, did you have other probs as well?


[quote name='Voidhawk9' date='06 November 2009 - 10:34 PM' timestamp='1257543248' post='464898']
I reverted to Jaunty after experiencing too many issues with Karmic. Solved the problems. :(
[/quote]

Aloha! B-)

. GlowWorm
. http://x-plane.push-point.net/

--- Hangar: Piper Mirage | Cassutt F1 | AADx250TP | AADx1500 | AADx512 | AADx450TJ | AADx510 | AADx470-747 | Cessna T182T | Cirrus SE-22T | Starship 2000A | Lear 25 | B-17F | Velocity XL | Hurricane | Spitfire IX | Colani Fanliner | Concorde | Vulcan | Mustang | EC135 | A109E |
--- Linux Ubuntu 8.04 64-bit || Core i7 2.66GHz || 6GB ram || nVidia GTX 980 @ 3840x1200 || HOTAS Cougar stick || Saitek Pro Flight Rudder || GoFlight: MCP Pro / VR166 / RP48 / T8 || X-Plane 9.31 || 600 XP sim hrs ||

[quote name='Voidhawk9' date='06 November 2009 - 04:34 PM' timestamp='1257543248' post='464898']
I reverted to Jaunty after experiencing too many issues with Karmic. Solved the problems. :(
[/quote]


I have sound problems with 9.10 as well. So, what ALSA driver version do you have in 9.04? I've had X-Plane hang once when trying to quit. Just used the xkill command to exit.

xplane 9.40 rc16
ubuntu 9.10

Edited by KingYaba

There is a fix posted in the ubuntu forums: [url="http://ubuntuforums.org/showthread.php?p=8227911"]http://ubuntuforums.org/showthread.php?p=8227911[/url]. Can someone still in 9.10 try this and report? I reverted to Jaunty as well and will not upgrade until this is properly fixed. Let us know!

Cayou99

[quote name='cayou99' date='08 November 2009 - 08:40 AM' timestamp='1257687635' post='465152']
There is a fix posted in the ubuntu forums: [url="http://ubuntuforums.org/showthread.php?p=8227911"]http://ubuntuforums.org/showthread.php?p=8227911[/url]. Can someone still in 9.10 try this and report? I reverted to Jaunty as well and will not upgrade until this is properly fixed. Let us know!
[/quote]
Oh wow thank you for finding that. I've been flying X-Plane for about ten minutes now and no sound issues. So far so good. I'll post back after a whole Sunday of buzzing around. :)

Well, it ran well for a while. Crackling static came and cut my sound. The fix you posted did not solve the issue.

Edited by KingYaba

I think another possible issue is PulseAudio. PulseAudio is supposed to act as a "high-level software sound multiplexer" for applications. It works fine as long as ALL applications trying to output sound uses PulseAudio rather than the underlying ALSA layer. Problem is X-Plane uses ALSA directly, being unaware of PulseAudio (and vice-versa).

A "hacked" /etc/asound.conf may help:
[code]# Input/Output mixer
pcm.main-asym {
type asym
playback.pcm dmix
capture.pcm dsnoop
}

# Default
pcm.!default {
type plug
slave.pcm main-asym
}

# OSS
pcm.dsp {
type plug
slave.pcm main-asym
}
[/code](which tells ALSA to use its own multiplexer, thus allowing PulseAudio AND other ALSA applications to output sound through it in the same time)

But in some situations, it may not be enough. I thus personally opted for removing PulseAudio altogether! See http://ubuntu-ky.ubuntuforums.org/showthread.php?t=1313253 .

Hope this helps

Edited by Cédric D.

Running X-Plane 12 on Linux/Debian; Intel i7 7700K, 64GB RAM, nVidia RTX4070Ti (12GB), 2x256GB NVMe (RAID1 and RAID0) + 2x4TB SSDs (ZFS)

Cédric D, I'll try that too. It's just X-Plane is pretty unstable in 9.10. Crashes without warning, sound cuts out (going to try the "hack"), and now it won't load. Hangs on plugins.

Ok, well I trashed the preferences and the game loads. I did the asound.conf script so I'll let you know if the sound problems still happen.

Edited by KingYaba

Sounds work perfectly again!
thanks a lot

[size="2"]
[b][font="Courier New"]Ex mea sententia[/font]
[/b][/size]

[quote name='KorenWolf' date='18 November 2009 - 06:52 AM' timestamp='1258545146' post='467155']
Sounds work perfectly again!
thanks a lot
[/quote]

Which of the proposed fixes did you use?

Cayou99

[quote name='KingYaba' date='18 November 2009 - 01:11 AM' timestamp='1258503067' post='467084']
X-Plane is pretty unstable in 9.10. Crashes without warning, sound cuts out (going to try the "hack"), and now it won't load. Hangs on plugins.
[/quote]

Sounds very surprising (I've been running XP 9.40 on Ubuntu 9.10 64-bit for HOURS without a glitch, sometimes with Firefox, Blender, Gimp and (2) Plane-Maker(s) opened at the same time). I would suggest:
1. Test your RAM (unstable system, especially with applications using a lot of RAM, may come from faulty RAM); choose the Memtest option when booting (in the GRUB menu)
2. Disable (uninstall) all XP plugins
3. Re-enable (re-install) them one at a time and see if one particular plugin may cause the instability

Hope it helps

Running X-Plane 12 on Linux/Debian; Intel i7 7700K, 64GB RAM, nVidia RTX4070Ti (12GB), 2x256GB NVMe (RAID1 and RAID0) + 2x4TB SSDs (ZFS)

[quote name='cayou99' date='18 November 2009 - 08:10 AM' timestamp='1258553443' post='467170']
Which of the proposed fixes did you use?
[/quote]


Forgot to mention :D

Cédric D's

[size="2"]
[b][font="Courier New"]Ex mea sententia[/font]
[/b][/size]

[quote name='KorenWolf' date='18 November 2009 - 01:18 PM' timestamp='1258568309' post='467214']
Forgot to mention :D

Cédric D's
[/quote]

Just to be sure : the /etc/asound.conf hack or removing PulseAudio?

I would rather not remove PulseAudio, but the asound.conf mod I can live with. If this works well, perhaps this should be entered in the x-plane linux install wiki.

Thanks!

Cayou99

[quote name='Voidhawk9' date='07 November 2009 - 12:55 PM' timestamp='1257623747' post='465045']
One of my primary issues was not sound, but that my Saitek X52 did not work, at all.

Besides that, my sound card was not even detected. :)
[/quote]

Same here. Works fine now on 8.10. Saitek included (possibly with the help of the X52 plugin).

[quote name='Cédric D.' date='15 November 2009 - 10:53 AM' timestamp='1258300386' post='466569'] See http://ubuntu-ky.ubuntuforums.org/showthread.php?t=1313253 .
[/quote]
I have followed these instructions. I'll let you guys know if X-Plane crackles and or if the sound cuts out.

Cedric, about X-Plane not loading plugins, it's not any single plugin. I tried removing them one at a time. It first hung up on the x737 plugin, then it hung on the 2nd plugin and it just went down the list. When I removed them all, the game just hung on the next loading item. I then trashed the preferences and the game loaded fine. I put the plugins back in their proper place and the game loaded fine.

I'm going to do some flying tonight for about an hour or two and see if the game crashes or if the sound cuts out after disabling and removing pulse audio.

Thanks again.
[quote name='cayou99' date='18 November 2009 - 08:10 AM' timestamp='1258553443' post='467170']
Which of the proposed fixes did you use?
[/quote]

i also use Cédric D's fix in my .asoundrc and sound worked for me, and XP is not hanging on exit now
Hello,

I have the same problem with Fedora 12 and Pulse Audio (X-Plane 9.41). The sound stops :-(
I have tried the Cedric's fix but I have no more sound in other application, the sound works only in X-Plane.

Anybody has a solution ?

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.

Regards,
Armel
Uninstalling Pulse Audio (via Synaptic Package Manager) seems to have done the trick for me. (fixed my sound stopping and also seems to have stopped XP locking up on exit.

Just flew for about 2 hours with no issues.

:-)
  • 2 weeks later...
[quote name='Cédric D.' date='15 November 2009 - 10:53 AM' timestamp='1258300386' post='466569']

A "hacked" /etc/asound.conf may help:
[code]# Input/Output mixer
pcm.main-asym {
type asym
playback.pcm dmix
capture.pcm dsnoop
}

# Default
pcm.!default {
type plug
slave.pcm main-asym
}

# OSS
pcm.dsp {
type plug
slave.pcm main-asym
}
[/code]
[/quote]

I confirm this works for me with Karmic and X-Plane updated to the latest stable release. However, other applications can't play sound while x-plane is running (ie: forget about background music). Still, this works for me and hopefully a more elegant solution will come up eventually, as I don't like the idea of messing up with pulseaudio.

Cayou99

Just experienced the sound drop out. After the sound stops, the X-plane application becomes unresponsive eventually. However, the rest of the desktop is fully functional, including playing music via MoviePlayer.

Hope this gets fixed as XP is amazing on linux.

Edited by seaviper

Patrick

 

Seaviper Simulations

  • 1 month later...
I have experienced all the same issues as listed above.

Using the fix by Cédric D. I now have sound in X-Plane.

This fix is a twofold fix. 1) it fixed the XP sound for me and the second effect was that pulseaudio no longer plays a part in XP sound resulting in better framerate. When running a system monitor (before the fix), pulseaudio jumped in and consumed anywhere between 15%-50% of 1 cpu to process sound compared to the alsa direct sound which seems like it takes 0%.

Thanks again

Regards,

Willbe4ce

[b][b][u][url="http://forums.x-plane.org/index.php?showuser=62119"]
[/url][/u][/b][/b]

AMD Ryzen 3600, 16GB ram & Nvidia 3060ti (8GB) 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.