LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-19-2005, 05:47 PM   #1
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Why Does Sound Freeze X?


This is going to be a long story made short.....

I never had any problem installing Debian [Testing] on my box, and every desktop environment ran fine except for Gnome. I continually had a problem with X freezing and tried everything from installing video drivers, changing kernels, re-configuring X, replacing XF86 with Xorg, and tinkering with about anything else you could imagine that had to do with the X packages. I never had any success, but mind you all the time KDE, Xfce, and Fluxbox ran fine. I did conclude that the issue must reside somewhere specifically with Gnome but since it always happened on even the default net-install packages I could never find the conflict.

That didn't change until I installed the alsa-utils & related packages, and used them to configure my sound card. This immediately stopped all the X freezes in Gnome. I only decided to pursue this path after it dawned on me that all my freezes occurred while the sound server was running. I to this day have no idea why this occurred or why my "fix" worked.

Enter this week. The problem again was with Gnome and this time the freeze in X occurred after GDM was loaded but before the desktop appeared. If I renamed my hidden Gnome config folders in /home and reset X I could again start a Gnome session with the default settings. However, after enabling the 'sounds for events' option in the Sound Preferences the system would do a hard freeze immediately. If I rebooted and tried to begin a new session the desktop would once more fail to appear.

This time no amount of sound configuration would change the outcome. So I started looking at what alsa packages were installed, and tried to see if deleting any would cause a lot of dependencies to come into play. I found a couple (just plugin types) that didn't trigger any further package removals and uninstalled them. This made no difference. Then I looked at the libesd-alsa0 package and it turned out this was the conflicting library. Once I removed it and installed libesd0 in its place all the freezes stopped. I'd been using libesd-alsa0 for several weeks before any problems surfaced, and it only started after some newer Gnome packages came into the testing repos.

What they heck is going on here? Why would sound play such a role in X?
 
Old 10-10-2005, 04:15 PM   #2
awgie
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Hey Xian,

I'm running Fedora Core 4 and I was experiencing similar problems with my system locking up and I narrowed it down to running XMMS as a user. Running XMMS as root everything was fine. After browsing various forums something clicked and I realized that the difference between my user's setup and root's was that my user was running Sound Server with system sounds enabled. Once I disabled Sound Server startup no more freezing while running XMMS as a user.

Since I am a newbie I couldn't even begin to try to understand where the problem may be. Could there be an issue with ALSA ?

Hope this helps somebody out there.

________________________________________________
Jesus is coming... everyone look busy!!

Last edited by awgie; 10-10-2005 at 04:21 PM.
 
  


Reply



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
the freeze tdmg Ubuntu 5 07-14-2005 09:56 PM
XMMS GMPLAYER freeze when playing sound RRolleston Debian 1 01-08-2005 02:38 AM
XMMS GMPLAYER freeze when playing sound RRolleston Debian 7 01-07-2005 06:44 PM
Keyboard freeze when USB sound card removed Entropius Mandriva 0 04-09-2004 12:38 AM
Freeze Problem on sndconfig (Sound Problem) compupurdy Linux - Laptop and Netbook 0 12-07-2003 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:03 PM.

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