1 |
New amd64 system with KDE, trying to get sound working. Almost there. First |
2 |
issue I had was that the sound driver apparently doesn't work if compiled |
3 |
into the kernel. If you compile it as a module, it does work. Second, I |
4 |
didn't have the -arts flag enabled before I compiled KDE. (Followed the |
5 |
install instructions at the Gentoo wiki. Not sure if it omits to mention it |
6 |
or if I skipped it when reading.) Then added new useflags for various |
7 |
codecs. (In the last couple of days, I've recompiled all or most of KDE |
8 |
three times.) I now have sound working, and can play MP3s. I can not, |
9 |
however, play ogg vorbis, including the system sound oggs. |
10 |
|
11 |
|
12 |
Use flags are: |
13 |
|
14 |
USE="64bit widescreen -gnome offensive slang unicode mozdevelop kde \ |
15 |
kdecards xinerama opengl qt3 X arts avi live matroska mpeg \ |
16 |
oggvorbis real theora xanim X aac opengl sdl xv dvd dvdnav dvdread \ |
17 |
3dnow 3dnow2 mmx mmx2 mmxext sse sse2 3dnowext a52" |
18 |
|
19 |
oggvorbis is selected. |
20 |
|
21 |
[I] media-libs/libogg |
22 |
Available versions: 1.0 1.1 ~1.1.1 1.1.2 1.1.3 |
23 |
Installed versions: 1.1.3(15:15:59 09/06/07) |
24 |
Homepage: http://xiph.org/ogg/ |
25 |
Description: the Ogg media file format library |
26 |
|
27 |
LIbogg version 1.1.3 is installed. |
28 |
|
29 |
|
30 |
KPlayer, given an ogg file, keeps failing with the same error over and over |
31 |
until I either close it or hit the stop button: |
32 |
|
33 |
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team |
34 |
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 12, Stepping: 0) |
35 |
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 |
36 |
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 |
37 |
Playing /mnt/media/Music/rock/Marilyn Manson/Antichrist Superstar/Marilyn |
38 |
Manson-Antichrist Superstar-12-Antichrist Superstar.ogg. |
39 |
ID_VIDEO_ID=0 |
40 |
libavformat file format detected. |
41 |
[mp3 @ 0x941680]Could not find codec parameters (Audio: mp1, 80 kb/s) |
42 |
LAVF_header: av_find_stream_info() failed |
43 |
Exiting... (End of file) |
44 |
|
45 |
Trying to play an ogg directly from mplayer, I get: |
46 |
|
47 |
root@/# mplayer Disturbed-Believe-03-Awaken.ogg |
48 |
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team |
49 |
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 12, Stepping: 0) |
50 |
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 |
51 |
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 |
52 |
|
53 |
Playing Disturbed-Believe-03-Awaken.ogg. |
54 |
[Ogg] stream 0: audio (Vorbis), -aid 0 |
55 |
Ogg file format detected. |
56 |
Clip info: |
57 |
Name: Awaken |
58 |
Artist: Disturbed |
59 |
Album: Believe |
60 |
Track: 3 |
61 |
Genre: Metal |
62 |
Creation Date: 2002 |
63 |
========================================================================== |
64 |
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders |
65 |
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400) |
66 |
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder) |
67 |
========================================================================== |
68 |
mcop warning: user defined signal handler found for SIG_PIPE, overriding |
69 |
[AO ARTS] can't connect to aRts soundserver |
70 |
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le |
71 |
mcop warning: user defined signal handler found for SIG_PIPE, overriding |
72 |
[AO SDL] Unable to open audio: No available audio device |
73 |
AO: [null] 44100Hz 2ch s16le (2 bytes per sample) |
74 |
Video: no video |
75 |
Starting playback... |
76 |
A: 2.5 (02.5) of 269.2 (04:29.2) 0.6% |
77 |
|
78 |
|
79 |
It recognizes the ogg, and appears to be playing it, but there's no sound. It |
80 |
complains that it can't connect to an arts soundserver, but: |
81 |
|
82 |
root@ /# ps aux | grep arts |
83 |
ddjones 7550 0.0 0.5 42928 10484 ? S Sep18 |
84 |
0:00 /usr/kde/3.5/bin/artsd -F 10 -S 4096 -a alsa -d -b 16 -s 60 -m |
85 |
artsmessage -c drkonqi -l 3 -f |
86 |
|
87 |
artsd is running. Any ideas or hints appreciated. |
88 |
|
89 |
|
90 |
|
91 |
-- |
92 |
gentoo-user@g.o mailing list |