LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-14-2003, 11:58 PM   #1
Kuikorosu
LQ Newbie
 
Registered: Feb 2003
Distribution: Gentoo Linux
Posts: 3

Rep: Reputation: 0
Thumbs down Sound doesn't work in XFree86


I've installed the ALSA drivers, and they work fine outside of Xwindows, but when I enter xwindows, either through startx, gdm, or kdm, the sound stops working. The very odd thing is that if I exit Xwindows and go back to the command prompt, the sound starts working again!

I've done a cat /proc/interrupts, and I don't see any IRQ conflicts. lsmod shows all the appropriate drivers, but with one (obvious) difference, and that is the presence of the fglrx driver, which is needed for my display. Here's the output:

Module Size Used by Tainted: P
snd-pcm-oss 39044 0 (autoclean)
snd-mixer-oss 12856 1 (autoclean) [snd-pcm-oss]
fglrx 148424 9
snd-emu10k1 70192 1
snd-pcm 61888 0 [snd-pcm-oss snd-emu10k1]
snd-timer 11112 0 [snd-pcm]
snd-hwdep 4288 0 [snd-emu10k1]
snd-util-mem 1376 0 [snd-emu10k1]
snd-rawmidi 14048 0 [snd-emu10k1]
snd-ac97-codec 30436 0 [snd-emu10k1]
snd-seq-device 4316 0 [snd-emu10k1 snd-rawmidi]
snd 27820 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-rawmidi snd-ac97-codec snd-seq-device]
soundcore 3300 6 [snd]

No applications are using the sound, aside from the esd daemon. (Which ironically works outside of Xwindows as well!) I've been working at this for at least a week now, and I'm finally at my wits end. Any help?
 
Old 02-15-2003, 10:56 AM   #2
php
Member
 
Registered: Jun 2001
Location: USA
Distribution: Slackware
Posts: 827

Rep: Reputation: 30
you didnt even mention what soundcard you have
 
Old 02-15-2003, 01:07 PM   #3
Kuikorosu
LQ Newbie
 
Registered: Feb 2003
Distribution: Gentoo Linux
Posts: 3

Original Poster
Rep: Reputation: 0
It's an SBLive! Value. Using the emu10k1 driver. Actually, I might as well list the specs of my machine.

Athlon XP 1800+
256 MB DDR RAM
SB Live! Value
ATI Radeon 9700 Pro
Generic NIC based using the Realtek 8133too driver.

And the results of a cat /proc/interrupts

0: 5322139 XT-PIC timer
1: 44381 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 256484 XT-PIC eth0
9: 0 XT-PIC acpi
11: 0 XT-PIC EMU10K1
12: 818754 XT-PIC PS/2 Mouse
14: 28104 XT-PIC ide0
15: 4 XT-PIC ide1
NMI: 0
LOC: 5322120
ERR: 694
MIS: 0

Last edited by Kuikorosu; 02-15-2003 at 01:08 PM.
 
Old 02-15-2003, 01:20 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: Sound doesn't work in XFree86

Quote:
Originally posted by Kuikorosu
I've installed the ALSA drivers, and they work fine outside of Xwindows, but when I enter xwindows, either through startx, gdm, or kdm, the sound stops working. The very odd thing is that if I exit Xwindows and go back to the command prompt, the sound starts working again!

snip

No applications are using the sound, aside from the esd daemon. (Which ironically works outside of Xwindows as well!) I've been working at this for at least a week now, and I'm finally at my wits end. Any help?
Did you notice that little blurb at the end of the ALSA install about the mixer levels? Fire up the volume controls and I'll bet all the sliders are bottomed out.
 
Old 02-15-2003, 01:52 PM   #5
Kuikorosu
LQ Newbie
 
Registered: Feb 2003
Distribution: Gentoo Linux
Posts: 3

Original Poster
Rep: Reputation: 0
No, the sliders are fine. Along with the permissions, and the other minor problems that plague the first time ALSA installation. This is the output of aplay and a sound file, which would normally work without Xwindows.

$ aplay 10pins.wav
Playing WAVE '10pins.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: pcm_write:999: write error: Input/output error

Even mp3s work outside of Xwindows, but not within. The real oddity that occurs with MP3s is that they never leave the 0:00 mark when played.

I also found that anything sent to /dev/dsp also returns an Input/Output error. Argh.

Last edited by Kuikorosu; 02-15-2003 at 01:58 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
xfree86 screen resolutions that don't work? Moloko Linux - General 2 03-27-2005 02:33 PM
I can't get my mouse to work in XFree86 dabauer Linux - Hardware 1 02-11-2005 09:26 PM
ATI fglrx 3.7.6 don't work under XFree86 4.4 sharpie Slackware 2 05-24-2004 09:17 PM
need help getting XFree86 & FX5600 to work hollywoodb Linux - Hardware 12 10-06-2003 04:31 AM
Will ATI Radeon 8500 XFree86 4.2 driver work with Xfree86 4.3? Stevetgn Linux - Hardware 1 06-24-2003 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:06 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