summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-May/015326.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-May/015326.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-May/015326.html')
-rw-r--r--zarb-ml/mageia-dev/2012-May/015326.html321
1 files changed, 321 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-May/015326.html b/zarb-ml/mageia-dev/2012-May/015326.html
new file mode 100644
index 000000000..ee13424e0
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-May/015326.html
@@ -0,0 +1,321 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] no sound
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20no%20sound&In-Reply-To=%3C4FA56DE0.6010603%40earthlink.net%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="015345.html">
+ <LINK REL="Next" HREF="015327.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] no sound</H1>
+ <B>Felix Miata</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20no%20sound&In-Reply-To=%3C4FA56DE0.6010603%40earthlink.net%3E"
+ TITLE="[Mageia-dev] no sound">mrmazda at earthlink.net
+ </A><BR>
+ <I>Sat May 5 20:13:52 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="015345.html">[Mageia-dev] no sound
+</A></li>
+ <LI>Next message: <A HREF="015327.html">[Mageia-dev] upstream KDE 283366 (was: no sound)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#15326">[ date ]</a>
+ <a href="thread.html#15326">[ thread ]</a>
+ <a href="subject.html#15326">[ subject ]</a>
+ <a href="author.html#15326">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 2012/05/05 13:37 (GMT+0100) Colin Guthrie composed:
+
+&gt;<i> 'Twas brillig, and Felix Miata did gyre and gimble:
+</I>
+&gt;&gt;&gt;<i> Can you clarify &quot;sound does not work&quot;?
+</I>
+&gt;&gt;<i> Nothing but background hum coming from connected AV amp connected speakers.
+</I>
+&gt;&gt;<i> 00:06.0 Multimedia audio controller: nVidia Corporation NForce2 AC97
+</I>&gt;&gt;<i> Audio Controler (MCP) (rev a1)
+</I>
+&gt;&gt;<i> If so please do attach the output from &quot;pacmd ls&quot;
+</I>
+&gt;&gt;<i> No package named pacmd.
+</I>&gt;&gt;<i> # urpmi pulseaudio-utils
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> # pacmd ls
+</I>&gt;&gt;<i> No PulseAudio daemon running, or not running as session daemon.
+</I>
+&gt;<i> Did you run it as root? If so, run it as a regular user instead.
+</I>
+Doesn't help as user.
+
+&gt;<i> You may
+</I>&gt;<i> with to run &quot;pactl stat&quot; first
+</I>
+First before what? As root on tty2 before logging in as user in KDM?
+
+&gt;<i> if you are in a console as this will
+</I>&gt;<i> trigger an autospawn of pulseaudio if it's not already running (pacmd
+</I>&gt;<i> does not trigger autospawn as it's a debugging tool not a regular client).
+</I>
+&gt;&gt;<i> # startx
+</I>
+&gt;<i> Is this how you start X always?
+</I>
+Not always, but as root often, and on fresh installs and testing
+alpha/beta/RCs, more often than not at least initially following completing
+of an install. I rarely boot a test system directly into runlevel 5, and
+never on first boot, so as to fix kdmrc, Xresources, fstab, hosts,
+bootsplash, smb.conf, resolv.conf, menu.lst and other things that are broken
+for my environment as initialized.
+
+&gt;<i> If so you should know from previous
+</I>&gt;<i> discussions that this behaviour isn't really officially recommended as
+</I>&gt;<i> it does not allow for proper user session tracking and thus has various
+</I>&gt;<i> permissions related issues. It *should* work most of the time, but it is
+</I>&gt;<i> highly recommended that you use a proper DM to login.
+</I>
+<A HREF="https://bugs.mageia.org/show_bug.cgi?id=5760">https://bugs.mageia.org/show_bug.cgi?id=5760</A> and other reasons during release
+next evaluation and troubleshooting make an xdm an annoying time waster that
+I typically avoid except when testing the xdm itself.
+
+&gt;<i> If this is a simple permissions issue, then you can test by running
+</I>&gt;<i> &quot;loginctl&quot; before startx and noting if your sessions is listed. If it
+</I>&gt;<i> is, it should have a number next to it (e.g. 1) and if it is listed you
+</I>&gt;<i> can do: &quot;loginctl session-status 1&quot; (or whatever the number). This
+</I>&gt;<i> should confirm that the session is active. When the session is active
+</I>
+# loginctl
+ SESSION UID USER SEAT
+ 16 0 root seat0
+ 17 2000 tst2000 seat0
+ 18 0 root seat0
+
+# loginctl session-status 17
+17 - tst2000 (2000)
+ Since: Sat, 05 May 2012 13:37:34 -0400; 9min ago
+ Leader: 4855 (login)
+ Seat: seat0; vc4
+ TTY: tty4
+ Service: login; type tty; class user
+ Active: no
+ CGroup: /user/tst2000/17
+ &#915;&#246;&#163; 4855 login -- tst2000
+ &#915;&#246;&#246; 4859 -bash
+
+&gt;<i> your user should be listed in the ACL for the sound device nodes
+</I>&gt;<i> (getfacl /dev/snd/pcm*).
+</I>
+# getfacl /dev/snd/pcm*
+# file: dev/snd/pcmC0D0c
+# owner: root
+# group: audio
+user::rw-
+group::rw-
+mask::rw-
+other::---
+
+# file: dev/snd/pcmC0D0p
+# owner: root
+# group: audio
+user::rw-
+group::rw-
+mask::rw-
+other::---
+
+# file: dev/snd/pcmC0D1c
+# owner: root
+# group: audio
+user::rw-
+group::rw-
+mask::rw-
+other::---
+
+# file: dev/snd/pcmC0D2p
+# owner: root
+# group: audio
+user::rw-
+group::rw-
+mask::rw-
+other::---
+
+&gt;<i> After issuing startx, try the same commands and, in particular, make
+</I>&gt;<i> sure your session is still active. I've tried to ensure that it is kept
+</I>&gt;<i> active (i.e. there is no VT switch), but this isn't 100% reliable.
+</I>
+# loginctl
+ SESSION UID USER SEAT
+ 16 0 root seat0
+ 17 2000 tst2000 seat0
+
+# loginctl session-status 17
+17 - tst2000 (2000)
+ Since: Sat, 05 May 2012 13:37:34 -0400; 1min 21s ago
+ Leader: 4855 (login)
+ Seat: seat0; vc4
+ TTY: tty4
+ Service: login; type tty; class user
+ Active: no
+ CGroup: /user/tst2000/17
+ &#915;&#246;&#163; 4855 login -- tst2000
+ &#915;&#246;&#163; 4859 -bash
+ &#915;&#246;&#163; 4907 /bin/sh /usr/bin/startx
+ &#915;&#246;&#163; 4928 xinit /etc/X11/xinit/xinitrc -- vt4 -auth /home/ts...
+ &#915;&#246;&#163; 4929 /etc/X11/X :0 vt4 -auth /home/tst2000/.serverauth....
+ &#915;&#246;&#163; 4932 /usr/bin/ck-xinit-session /bin/sh -c #!/bin/sh exe...
+ &#915;&#246;&#163; 4960 /usr/bin/dbus-launch --exit-with-session --sh-synt...
+ &#915;&#246;&#163; 4961 /usr/bin/dbus-daemon --fork --print-pid 5 --print-...
+ &#915;&#246;&#163; 4995 /bin/sh /usr/bin/startkde
+ &#915;&#246;&#163; 5064 /usr/lib/kde4/libexec/start_kdeinit +kcminit_start...
+ &#915;&#246;&#163; 5065 kdeinit4: kdeinit4 Running...
+ &#915;&#246;&#163; 5066 kdeinit4: klauncher [kdeinit] --fd=9
+ &#915;&#246;&#163; 5068 kdeinit4: kded4 [kdeinit]
+ &#915;&#246;&#163; 5070 /usr/lib/gam_server
+ &#915;&#246;&#163; 5075 kdeinit4: kglobalaccel [kdeinit]
+ &#915;&#246;&#163; 5113 kwrapper4 ksmserver
+ &#915;&#246;&#163; 5117 kdeinit4: ksmserver [kdeinit]
+ &#915;&#246;&#163; 5138 kwin -session 10d1376e6300013362339230000002043000...
+ &#915;&#246;&#163; 5173 /usr/bin/kactivitymanagerd
+ &#915;&#246;&#163; 5177 /usr/bin/knotify4
+ &#915;&#246;&#163; 5179 kdeinit4: plasma-desktop [kdeinit]
+ &#915;&#246;&#163; 5183 /usr/bin/kuiserver
+ &#915;&#246;&#163; 5192 kdeinit4: kaccess [kdeinit]
+ &#915;&#246;&#163; 5199 kdeinit4: krunner [kdeinit]
+ &#915;&#246;&#163; 5206 kdeinit4: kmix [kdeinit] -session 10d1376e63000133...
+ &#915;&#246;&#163; 5208 kdeinit4: konsole [kdeinit] -session 10d1376e63000...
+ &#915;&#246;&#163; 5209 /usr/bin/pam-panel-icon
+ &#915;&#246;&#163; 5215 /usr/lib/kde4/libexec/polkit-kde-authentication-ag...
+ &#915;&#246;&#163; 5216 kdeinit4: klipper [kdeinit]
+ &#915;&#246;&#163; 5218 /bin/bash
+ &#915;&#246;&#163; 5220 /bin/bash
+ &#915;&#246;&#246; 5227 /sbin/pam_timestamp_check -d root
+
+&gt;<i> startx should print out warnings when things don't work however.
+</I>
+&gt;&gt;<i> (KDE menu has no selection to configure computer. Without it there's no
+</I>&gt;&gt;<i> way I know how to manage systemd like I could with sysvinit.)
+</I>
+&gt;<i> I've no idea about this sorry. You should report it as a separate bug tho'.
+</I>
+This didn't happen on all three installs, so I don't think I can tell what it
+takes to reproduce. All three use the same workspace exclusively, so
+comparing them is awkward.
+
+&gt;&gt;<i> # mcc
+</I>&gt;&gt;<i> bash: mcc: command not found
+</I>&gt;&gt;<i> # chkconfig --list
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> alsa 0:off 1:off 2:off 3:off 4:off 5:off
+</I>&gt;&gt;<i> 6:off 7:off
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> numlock 0:off 1:off 2:on 3:on 4:on 5:on
+</I>&gt;&gt;<i> 6:off 7:on
+</I>&gt;&gt;<i> partmon 0:off 1:off 2:off 3:off 4:off 5:off
+</I>&gt;&gt;<i> 6:off 7:off
+</I>&gt;&gt;<i> resolvconf 0:off 1:off 2:off 3:off 4:off 5:off
+</I>&gt;&gt;<i> 6:off 7:off
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> sound 0:off 1:off 2:on 3:on 4:on 5:on
+</I>&gt;&gt;<i> 6:off 7:off
+</I>
+&gt;<i> In this case, the alsa+sound sysvinit scripts are fully overriden by
+</I>&gt;<i> systemd so the chkconfig output is not actually relevant (see below for
+</I>&gt;<i> my comments about the Troubleshooting section's outdated advice)
+</I>
+&gt;&gt;<i> # systemctl list-unit-files
+</I>&gt;&gt;<i> alsa-restore.service static
+</I>&gt;&gt;<i> alsa-store.service static
+</I>&gt;&gt;<i> alsa.service masked
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> sound.service masked
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> sound.target static
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> What to do?
+</I>
+&gt;<i> Yup that looks as expected.
+</I>
+&gt;<i> Try running the commands above to debug user permissions. I suspect this
+</I>&gt;<i> is where the problem lies but I could be wrong.
+</I>
+&gt;<i> &quot;pacmd ls&quot; output from inside X should work fine as PA will have been
+</I>&gt;<i> started by then and it won't need to be autospawned.
+</I>
+(Konsole)
+$ pacmd ls
+No PulseAudio daemon running, or not running as session daemon.
+
+(Konsole)
+# pacmd ls
+No PulseAudio daemon running, or not running as session daemon.
+# systemctl list-unit-files | grep aud
+# systemctl list-unit-files | grep pul
+# systemctl list-unit-files | grep als
+alsa-restore.service static
+alsa-store.service static
+alsa.service masked
+
+Was easier to figure out what is configured or misconfigured with sysvinit.
+With systemd I have no idea how to figure out what's missing.
+
+I have to believe here there's a sound system dep not marked as such and so
+not installed when no-suggests is set in urpmi.cfg before adding X and KDE to
+a minimal install. :-(
+--
+&quot;The wise are known for their understanding, and pleasant
+words are persuasive.&quot; Proverbs 16:21 (New Living Translation)
+
+ Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
+
+Felix Miata *** <A HREF="http://fm.no-ip.com/">http://fm.no-ip.com/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="015345.html">[Mageia-dev] no sound
+</A></li>
+ <LI>Next message: <A HREF="015327.html">[Mageia-dev] upstream KDE 283366 (was: no sound)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#15326">[ date ]</a>
+ <a href="thread.html#15326">[ thread ]</a>
+ <a href="subject.html#15326">[ subject ]</a>
+ <a href="author.html#15326">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>