Bonjour,
When I log-in, sound is deactivated and I have to manually start it, doing:
1- killall -9 pulseaudio
2- start-pulseaudio-x11
3- open mixer go to "configation" tab and choose analogic stero duplex.
What is wrong in my sound config and how to correct this.
Thank you.
On Wed, 14 Mar 2018 10:36:33 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
When I log-in, sound is deactivated and I have to manually start it, doing:
Are you sure sound is deactivated? Is it possible it is trying to use the digital output associated with your video card? It is usually found first because video comes up before sound, and thus gets the coveted position 0 that is the sound default.
1- killall -9 pulseaudio
2- start-pulseaudio-x11
3- open mixer go to "configation" tab and choose analogic stero duplex.
What is wrong in my sound config and how to correct this.
After 3, when sound is working, open pavucontrol, go to the output devices tab, and click the green checkmark on the device that you want pulseaudio to start with.
Le 14/03/2018 à 19:36, stan a écrit :
On Wed, 14 Mar 2018 10:36:33 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
When I log-in, sound is deactivated and I have to manually start it, doing:
Are you sure sound is deactivated? Is it possible it is trying to use the digital output associated with your video card? It is usually found first because video comes up before sound, and thus gets the coveted position 0 that is the sound default.
1- killall -9 pulseaudio
2- start-pulseaudio-x11
This part is solved after a system update done yesterday.
3- open mixer go to "configation" tab and choose analogic stero duplex.
What is wrong in my sound config and how to correct this.
After 3, when sound is working, open pavucontrol, go to the output devices tab, and click the green checkmark on the device that you want pulseaudio to start with.
That is what I do evetime I lo-in but this does not survive to a log-out....
On Thu, 15 Mar 2018 11:03:32 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
After 3, when sound is working, open pavucontrol, go to the output devices tab, and click the green checkmark on the device that you want pulseaudio to start with.
That is what I do evetime I lo-in but this does not survive to a log-out....
That should take effect immediately, and pulse should store it immediately. Something is wrong in the configuration of your system. Is there anything in the logs about pulse or alsa failures after you set your system up the way you want? How about problems during discovery at boot in recognizing the sound devices?
Le 15/03/2018 à 22:05, stan a écrit :
On Thu, 15 Mar 2018 11:03:32 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
After 3, when sound is working, open pavucontrol, go to the output devices tab, and click the green checkmark on the device that you want pulseaudio to start with.
That is what I do evetime I lo-in but this does not survive to a log-out....
That should take effect immediately, and pulse should store it immediately. Something is wrong in the configuration of your system. Is there anything in the logs about pulse or alsa failures after you set your system up the way you want?
journactl -u pulseaudio (or alsa*) returns nothing
How about problems during discovery at boot in recognizing the sound devices?
How can I check that?
On 03/16/18 16:06, François Patte wrote:
Le 15/03/2018 à 22:05, stan a écrit :
On Thu, 15 Mar 2018 11:03:32 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
After 3, when sound is working, open pavucontrol, go to the output devices tab, and click the green checkmark on the device that you want pulseaudio to start with.
That is what I do evetime I lo-in but this does not survive to a log-out....
That should take effect immediately, and pulse should store it immediately. Something is wrong in the configuration of your system. Is there anything in the logs about pulse or alsa failures after you set your system up the way you want?
journactl -u pulseaudio (or alsa*) returns nothing
pulseaudio is not a systemd unit. It is started by the desktop based on /etc/xdg/autostart/pulseaudio.desktop.
So, you can use something like....
journalctl -b -0 | grep pulseaudio
On Fri, 16 Mar 2018 09:06:12 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
journactl -u pulseaudio (or alsa*) returns nothing
How about problems during discovery at boot in recognizing the sound devices?
How can I check that?
It sounds like you need a stronger approach. Can you go here https://www.alsa-project.org/main/index.php/Help_To_Debug and download the alsainfo.sh script and run it. Put the output in a file when it asks you. Then use fpaste (a fedora package) to put the file in the fedora project pastebin. That will give you a link that you can post here so it is possible to examine your setup in more detail.
Le 16/03/2018 à 18:19, stan a écrit :
On Fri, 16 Mar 2018 09:06:12 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
journactl -u pulseaudio (or alsa*) returns nothing
How about problems during discovery at boot in recognizing the sound devices?
How can I check that?
It sounds like you need a stronger approach. Can you go here https://www.alsa-project.org/main/index.php/Help_To_Debug and download the alsainfo.sh script and run it. Put the output in a file when it asks you. Then use fpaste (a fedora package) to put the file in the fedora project pastebin. That will give you a link that you can post here so it is possible to examine your setup in more detail.
Here is the link:
http://www.alsa-project.org/db/?f=5ebae0714f190eceb8b6ff7ceb435f434d48ad85
Thank you for helping!
On Fri, 16 Mar 2018 18:50:20 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
Here is the link:
http://www.alsa-project.org/db/?f=5ebae0714f190eceb8b6ff7ceb435f434d48ad85
From that output, you should have sound. Your system put the PCM (analog) card in the 0 slot, and that is the default location for sound to be routed to pulseaudio. Do you by chance have a configuration file for sound in /etc/modprobe.d that assigns a default device other than 0?
You could also do a man pulse-client.conf and check the locations at the top of that to see if you have a pulse configuration file that is overriding your settings via the gui. Especially in your home directory.
Also in ~/.config/pulse there should be a file with []-default-source. Look at that to be sure that it is pointing to device 0, and analog.
It doesn't make sense that you don't have sound. I can offer no more help, perhaps you should post on the alsa-user mailing list, with the link you showed here, to see if anyone there has an answer.
Le 16/03/2018 à 20:52, stan a écrit :
On Fri, 16 Mar 2018 18:50:20 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
Here is the link:
http://www.alsa-project.org/db/?f=5ebae0714f190eceb8b6ff7ceb435f434d48ad85
From that output, you should have sound. Your system put the PCM
(analog) card in the 0 slot, and that is the default location for sound to be routed to pulseaudio. Do you by chance have a configuration file for sound in Nothing that assigns a default device other than 0?
Thank you for helping.
Nothing in /etc/modprobe.d
But in /usr/lib/modprobe.d/ I have a dist-alsa.conf file with:
# ALSA Sound Support # # We want to ensure that snd-seq is always loaded for those who want to use # the sequencer interface, but we can't do this automatically through udev # at the moment...so we have this rule (just for the moment). # # Remove the following line if you don't want the sequencer.
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq
Don't know what it means....
You could also do a man pulse-client.conf and check the locations at the top of that to see if you have a pulse configuration file that is overriding your settings via the gui. Especially in your home directory.
Also in ~/.config/pulse there should be a file with []-default-source. Look at that to be sure that it is pointing to device 0, and analog.
In ~/.config/pulse I have: bd9a117e29a44dd4b335896e866a41d2-default-sink bd9a117e29a44dd4b335896e866a41d2-default-source
Which are empty when I log-in (in that case the config is: "sortie stéréo numérique (iec958) + entrée stéréo analogique" which does not work, no sound)
If I change, in the config tab, to duplex stéréo analogique (which works) and going to the "output peripheric" tab and press the button "define as alternative" these two files in ~/.config/pulse, have alsa_input.pci-0000_00_1b.0.analog-stereo inside, but these files are erased at next login/boot.
It doesn't make sense that you don't have sound.
What could erase the files source/sink in my ~/.config/pulse and why does the fedora default config does not follow the man pulse-client.conf for, according to this manual, there should be a ~/.config/pulse/client.conf file or ~/.config/pulse/client.conf.d/*.conf files...
Regards
On Sat, 17 Mar 2018 11:08:46 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
But in /usr/lib/modprobe.d/ I have a dist-alsa.conf file with:
# ALSA Sound Support # # We want to ensure that snd-seq is always loaded for those who want to use # the sequencer interface, but we can't do this automatically through udev # at the moment...so we have this rule (just for the moment). # # Remove the following line if you don't want the sequencer.
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq
Don't know what it means....
I also have that and sound works fine here. So, I would say not a problem.
In ~/.config/pulse I have: bd9a117e29a44dd4b335896e866a41d2-default-sink bd9a117e29a44dd4b335896e866a41d2-default-source
Which are empty when I log-in (in that case the config is: "sortie stéréo numérique (iec958) + entrée stéréo analogique" which does not work, no sound)
You must have run alsainfo.sh after you corrected your system because this is not what it showed. It showed that the default was pcm (analog). For some reason, at start up, your system is defaulting to the iec958 (digital) interface on your nvidia card at startup. What happens if immediately after startup you run? aplay -D plughw:0,0 [some wav file here] It has to be a wav file as there is no decoding in aplay. You should get sound without making any changes to configuration.
If I change, in the config tab, to duplex stéréo analogique (which works) and going to the "output peripheric" tab and press the button "define as alternative" these two files in ~/.config/pulse, have alsa_input.pci-0000_00_1b.0.analog-stereo inside, but these files are erased at next login/boot.
This is correct, but the erasure, I don't know where that is coming from.
It doesn't make sense that you don't have sound.
What could erase the files source/sink in my ~/.config/pulse and why does the fedora default config does not follow the man pulse-client.conf for, according to this manual, there should be a ~/.config/pulse/client.conf file or ~/.config/pulse/client.conf.d/*.conf files...
I suspect, because of the signature at the front, that those files are recreated by pulse at each start. I think *you* have to create the configuration files in your ~/.config/pulse directory.
Try this: cp the /etc/pulse/client.conf file to ~/.config/pulse. Edit the home directory file and change the line ; default-sink = to default-sink = hw:0,0
That should do the right thing at next boot.
If it doesn't work, run pulseaudio --dump-conf Then paste the output and the contents of /etc/pulse/default.pa somewhere and show the link here. That tells the settings that pulse defaults to and how it is actually running. Do the run after boot and before you make any changes.
Le 17/03/2018 à 17:32, stan a écrit :
On Sat, 17 Mar 2018 11:08:46 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
But in /usr/lib/modprobe.d/ I have a dist-alsa.conf file with:
# ALSA Sound Support # # We want to ensure that snd-seq is always loaded for those who want to use # the sequencer interface, but we can't do this automatically through udev # at the moment...so we have this rule (just for the moment). # # Remove the following line if you don't want the sequencer.
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq
Don't know what it means....
I also have that and sound works fine here. So, I would say not a problem.
In ~/.config/pulse I have: bd9a117e29a44dd4b335896e866a41d2-default-sink bd9a117e29a44dd4b335896e866a41d2-default-source
Which are empty when I log-in (in that case the config is: "sortie stéréo numérique (iec958) + entrée stéréo analogique" which does not work, no sound)
You must have run alsainfo.sh after you corrected your system because this is not what it showed. It showed that the default was pcm (analog). For some reason, at start up, your system is defaulting to the iec958 (digital) interface on your nvidia card at startup.
Not the nvidia card: I recently installed this card and the problem existed before.
What happens if immediately after startup you run? aplay -D plughw:0,0 [some wav file here] It has to be a wav file as there is no decoding in aplay. You should get sound without making any changes to configuration.
Yes, that works
If I change, in the config tab, to duplex stéréo analogique (which works) and going to the "output peripheric" tab and press the button "define as alternative" these two files in ~/.config/pulse, have alsa_input.pci-0000_00_1b.0.analog-stereo inside, but these files are erased at next login/boot.
This is correct, but the erasure, I don't know where that is coming from.
It doesn't make sense that you don't have sound.
What could erase the files source/sink in my ~/.config/pulse and why does the fedora default config does not follow the man pulse-client.conf for, according to this manual, there should be a ~/.config/pulse/client.conf file or ~/.config/pulse/client.conf.d/*.conf files...
I suspect, because of the signature at the front, that those files are recreated by pulse at each start. I think *you* have to create the configuration files in your ~/.config/pulse directory.
Try this: cp the /etc/pulse/client.conf file to ~/.config/pulse. Edit the home directory file and change the line ; default-sink = to default-sink = hw:0,0
This does not work.
That should do the right thing at next boot.
If it doesn't work, run pulseaudio --dump-conf
-----------------------------------------------------------------> daemonize = no fail = yes high-priority = yes nice-level = -11 realtime-scheduling = yes realtime-priority = 5 allow-module-loading = yes allow-exit = yes use-pid-file = yes system-instance = no local-server-type = user cpu-limit = no enable-shm = yes flat-volumes = no lock-memory = no exit-idle-time = 20 scache-idle-time = 20 dl-search-path = /usr/lib64/pulse-11.1/modules default-script-file = /etc/pulse/default.pa load-default-script-file = yes log-target = log-level = notice resample-method = auto avoid-resampling = yes enable-remixing = yes remixing-use-all-sink-channels = yes enable-lfe-remixing = no lfe-crossover-freq = 0 default-sample-format = s16le default-sample-rate = 44100 alternate-sample-rate = 48000 default-sample-channels = 2 default-channel-map = front-left,front-right default-fragments = 4 default-fragment-size-msec = 25 enable-deferred-volume = yes deferred-volume-safety-margin-usec = 8000 deferred-volume-extra-delay-usec = 0 shm-size-bytes = 0 log-meta = no log-time = no log-backtrace = 0 rlimit-fsize = -1 rlimit-data = -1 rlimit-stack = -1 rlimit-core = -1 rlimit-rss = -1 rlimit-as = -1 rlimit-nproc = -1 rlimit-nofile = 256 rlimit-memlock = -1 rlimit-locks = -1 rlimit-sigpending = -1 rlimit-msgqueue = -1 rlimit-nice = 31 rlimit-rtprio = 9 rlimit-rttime = 200000 <-------------------------------------------------------------
Then paste the output and the contents of /etc/pulse/default.pa
-----------------------------------------------------------> #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio. # # PulseAudio is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # PulseAudio is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with PulseAudio; if not, see http://www.gnu.org/licenses/.
# This startup script is used only if PulseAudio is started per-user # (i.e. not in system mode)
.fail
### Automatically restore the volume of streams and devices load-module module-device-restore load-module module-stream-restore load-module module-card-restore
### Automatically augment property information from .desktop files ### stored in /usr/share/application load-module module-augment-properties
### Should be after module-*-restore but before module-*-detect load-module module-switch-on-port-available
### Load audio drivers statically ### (it's probably better to not load these drivers manually, but instead ### use module-udev-detect -- see below -- for doing this automatically) #load-module module-alsa-sink #load-module module-alsa-source device=hw:1,0 #load-module module-null-sink #load-module module-pipe-sink
### Automatically load driver modules depending on the hardware available .ifexists module-udev-detect.so load-module module-udev-detect .else ### Use the static hardware detection module (for systems that lack udev support) load-module module-detect .endif
### Automatically connect sink and source if JACK server is present .ifexists module-jackdbus-detect.so .nofail load-module module-jackdbus-detect channels=2 .fail .endif
### Automatically load driver modules for Bluetooth hardware .ifexists module-bluetooth-policy.so load-module module-bluetooth-policy .endif
.ifexists module-bluetooth-discover.so load-module module-bluetooth-discover .endif
### Load several protocols .ifexists module-esound-protocol-unix.so load-module module-esound-protocol-unix .endif load-module module-native-protocol-unix
### Network access (may be configured with paprefs, so leave this commented ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp #load-module module-native-protocol-tcp #load-module module-zeroconf-publish
### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv
### Load the RTP sender module (also configured via paprefs, see above) #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'" #load-module module-rtp-send source=rtp.monitor
### Load additional modules from GConf settings. This can be configured with the paprefs tool. ### Please keep in mind that the modules configured by paprefs might conflict with manually ### loaded modules. .ifexists module-gconf.so .nofail load-module module-gconf .fail .endif
### Automatically restore the default sink/source when changed by the user ### during runtime ### NOTE: This should be loaded as early as possible so that subsequent modules ### that look up the default sink/source get the right value load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are ### connected to dies, similar for sources load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink. load-module module-always-sink
### Honour intended role device property load-module module-intended-roles
### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle
### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. .ifexists module-console-kit.so #load-module module-console-kit .endif .ifexists module-systemd-login.so load-module module-systemd-login .endif
### Enable positioned event sounds load-module module-position-event-sounds
### Cork music/video streams when a phone stream is active load-module module-role-cork
### Modules to allow autoloading of filters (such as echo cancellation) ### on demand. module-filter-heuristics tries to determine what filters ### make sense, and module-filter-apply does the heavy-lifting of ### loading modules and rerouting streams. load-module module-filter-heuristics load-module module-filter-apply
### Make some devices default set-default-sink output set-default-source input <-------------------------------------------------
Is there somewhere a comprhensive list of configuration files for alsa and pulseaudio?
Thank you.
On Sun, 18 Mar 2018 11:33:36 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
You must have run alsainfo.sh after you corrected your system because this is not what it showed. It showed that the default was pcm (analog). For some reason, at start up, your system is defaulting to the iec958 (digital) interface on your nvidia card at startup.
Not the nvidia card: I recently installed this card and the problem existed before.
That's good information.
What happens if immediately after startup you run? aplay -D plughw:0,0 [some wav file here] It has to be a wav file as there is no decoding in aplay. You should get sound without making any changes to configuration.
Yes, that works
So, it's only a configuration issue. The hardware is being recognized and initialized correctly, but not set to analog as default.
I suspect, because of the signature at the front, that those files are recreated by pulse at each start. I think *you* have to create the configuration files in your ~/.config/pulse directory.
Try this: cp the /etc/pulse/client.conf file to ~/.config/pulse. Edit the home directory file and change the line ; default-sink = to default-sink = hw:0,0
This does not work.
It was a guess, using alsa conventions. I couldn't find any pulse examples that set the sink so I could see what convention they use. You could try variations on this, like hw:0, or device = hw:0, etc. It might be a name though, I'm not sure.
That should do the right thing at next boot.
If it doesn't work, run pulseaudio --dump-conf
-----------------------------------------------------------------> daemonize = no fail = yes
Then paste the output and the contents of /etc/pulse/default.pa
-----------------------------------------------------------> #!/usr/bin/pulseaudio -nF # # This file is part of PulseAudio.
Both of these look fine.
Is there somewhere a comprhensive list of configuration files for alsa and pulseaudio?
I am not aware of such a list, though it might exist.
I think the configuration file for alsa is /etc/asound.conf
For pulse, the files is man pulse-client.conf and man pulse-daemon.conf would be the configuration files.
As far as I can tell, there is no reason for the behavior you are experiencing from the information you have provided. I wonder if it has to do with the fact that the realtek ALC892 is part of a video card, and thus is automatically hard coded to digital output by the video driver. I would think there would be lots of complaints if that was happening, because it wouldn't be only you affected.
Do you have another sound card you can try? If not, there are cheap stereo USB sound devices that sell for around a dollar on ebay. The sound of these is surprisingly good. If everything works correctly when using a dedicated sound device, then it probably has something to do with being part of a video device.
I'm tapped out. You could try opening a bugzilla ticket against pulseaudio to see if anyone there has an idea.
On 03/19/18 06:27, stan wrote:
It was a guess, using alsa conventions. I couldn't find any pulse examples that set the sink so I could see what convention they use.
FWIW, I have a ~/.pulse directory. Within it there is a file called 741a5ee204e44a41982409c7e07d04de-default-sink which contains
[egreshko@meimei .pulse]$ cat 741a5ee204e44a41982409c7e07d04de-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
If one is having problem setting per-user defaults then could it be possible that the permissions/ownership of the ~/.pulse directory or its contents are incorrect?
On 03/19/18 06:44, Ed Greshko wrote:
FWIW, I have a ~/.pulse directory. Within it there is a file called 741a5ee204e44a41982409c7e07d04de-default-sink which contains
Oh, strangely?, I found that on one system the directory was ~/.pulse while another has a set of files in ~/.config/pulse
I suppose the difference may be that the ~/.pulse system has been upgraded since about F22 while the other system is a fresh F27 install
On 19/3/18 9:55 am, Ed Greshko wrote:
On 03/19/18 06:44, Ed Greshko wrote:
FWIW, I have a ~/.pulse directory. Within it there is a file called 741a5ee204e44a41982409c7e07d04de-default-sink which contains
Oh, strangely?, I found that on one system the directory was ~/.pulse while another has a set of files in ~/.config/pulse
I suppose the difference may be that the ~/.pulse system has been upgraded since about F22 while the other system is a fresh F27 install
If it is of any interest, my F27 system is an upgrade from F26 that was a fresh install and it doesn't have a ~/.pulse directory either, it has the ~/.config/pulse directory, which like on Ed's machine, has a default-sink file.
With my Logitech G33 wireless headphones, pulseaudio gives me the option of digital or analogue sound output, and I've found that compared to the analog sound output the digital output is hopeless. With digital output I have to turn the volume output in pulseaudio up to 150% to be able to properly hear the audio, but that introduces "static" artifacts into the audio, the onscreen volume level display when using the volume control on the headphones doesn't match the headphones, in that it reaches 100% before the headphones volume control and increasing the volume on the headphones has no impact on the output volume level. With analog output these processes all work "properly" and are comparable with the same functions under windows.
regards,
Steve
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
Le 18/03/2018 à 23:27, stan a écrit :
On Sun, 18 Mar 2018 11:33:36 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
Googleing a lot, I tried some configuration "by hand" and reach a state that I cannot understand.
I used: pacmd list-cards in order to identify my cards:
-----------------------------------------------------------> 2 card(s) available. index: 0 name: <alsa_card.pci-0000_01_00.1> driver: <module-alsa-card.c> owner module: 6 properties: alsa.card = "1" alsa.card_name = "HDA NVidia" <snip> /forget it, I don't want to use it/
index: 1 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 7 properties: alsa.card = "0" alsa.card_name = "HDA Intel PCH" alsa.long_card_name = "HDA Intel PCH at 0xf7430000 irq 35" <snip>
sinks: alsa_output.pci-0000_00_1b.0.iec958-stereo/#0: Audio interne Stéréo numérique (IEC958) sources: alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor/#0: Monitor of Audio interne Stéréo numérique (IEC958) alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Audio interne Stéréo analogique <-------------------------------------------------------------
So, the card name is "alsa_card.pci-0000_00_1b.0" or index 1.
I tried:
pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo
and it worked : the digital audio was replaced by the analogic audio and sound is working.
I tried to perenise that :
echo 'set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo'
~fp/.config/pulse/default.pa
killed pulseaudio: pkill -f pulseaudio and restarted it: pulseaudio --start
but: E: [pulseaudio] main.c: Échec lors du démarrage du démon.
reason: mars 19 22:11:31 dipankar pulseaudio[17422]: *No card found by this name or index*. mars 19 22:11:31 dipankar pulseaudio[17422]: Échec lors de l'initialisation du démon
lol!
Same result if I replace the card name by the index 1....
Who can explain?
Thank you.
On Sat, 17 Mar 2018 11:08:46 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
In ~/.config/pulse I have: bd9a117e29a44dd4b335896e866a41d2-default-sink bd9a117e29a44dd4b335896e866a41d2-default-source
Which are empty when I log-in (in that case the config is: "sortie stéréo numérique (iec958) + entrée stéréo analogique" which does not work, no sound)
"sortie stéréo numérique (iec958) + entrée stéréo analogique"
If you want me
Not sure whether the following will help, but it might be worth a try:
If you have installed pavucontrol, maybe it: -------> pavucontrol <------
And while you do the following, play some sound file, to see what's happening:
Please note that some "Profile" might be seen as active in the "Configuration" tab and not be working because you switched off (e.g.) the device (TV, Stereo) connected to it. Also have a look at the "Playback" tab. Make sure (bottom page) to show "All Streams". Does the volume meter change while you play sound? If it changes, and you don't hear anything, try changing the playback device with the clickable right-hand-side button (with something like "Built-in <device>" on it) and change it to another device, if possible. If you hear sound by now maybe try to switch off the device that did not work while playing the audio (and after logging in? .. )
Also, maybe see these:
----> gnome-control-center --> Sound <----
---> paprefs <----
Also try reloading your X after changes, if things don't work as expected (might not work on wayland). IIRC on gnome running on X11 reload works with <alt><F2>, then exec "r". But I'm not sure, I don't run gnome shell, just gnome apps ... :)
In awesome wm (hint, hint ... :) reload goes like <ctrl>-<Mod4>-r ...
HTH - Good luck!
On Tue, 20 Mar 2018 00:54:33 +0100 Wolfgang Pfeiffer roto@gmx.net wrote:
On Sat, 17 Mar 2018 11:08:46 +0100 François Patte francois.patte@mi.parisdescartes.fr wrote:
In ~/.config/pulse I have: bd9a117e29a44dd4b335896e866a41d2-default-sink bd9a117e29a44dd4b335896e866a41d2-default-source
Which are empty when I log-in (in that case the config is: "sortie stéréo numérique (iec958) + entrée stéréo analogique" which does not work, no sound)
"sortie stéréo numérique (iec958) + entrée stéréo analogique"
If you want me
^^^^^^^^^ should say:
"If you want me understand what you write pls. try translating it to English ... "
My French is lousy. At best ... ;)
Plus: in my last posting I forgot to mention my hints were done on F26.