WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] I've got the sound settings crushed.  (Read 8944 times)

aus9

  • Guest
Re: I've got the sound settings crushed.
« Reply #15 on: April 19, 2020, 09:49:50 AM »
ferran....have you completed all the steps in the pulseaudio info file?

What is the main reason why you need pulseaudio?

2) if interested I can run vlc without pulseaudio....I get errors but I ignore them ;)

do you need pulseaudio for firefox by any chance?

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #16 on: April 19, 2020, 10:10:36 AM »
Rich, It shows this

Code: [Select]
tc@box:~$ ls -l /etc/sysconfig/tcedir/optional/*pulse*
-rw-rw-r-- 1 tc staff  565248 de març  29 23:08 /etc/sysconfig/tcedir/optional/libpulseaudio.tcz
-rw-rw-r-- 1 tc staff      78 de març  29 23:08 /etc/sysconfig/tcedir/optional/libpulseaudio.tcz.dep
-rw-rw-r-- 1 tc staff      52 de març  29 23:08 /etc/sysconfig/tcedir/optional/libpulseaudio.tcz.md5.txt
-rw-rw-r-- 1 tc staff 1105920 de març  29 23:08 /etc/sysconfig/tcedir/optional/pulseaudio.tcz
-rw-rw-r-- 1 tc staff      49 de març  29 23:08 /etc/sysconfig/tcedir/optional/pulseaudio.tcz.md5.txt

c@box:~$ cat /etc/sysconfig/tcedir/optional/pulseaudio.tcz.dep
cat: /etc/sysconfig/tcedir/optional/pulseaudio.tcz.dep: No such file or directory
tc@box:~$


aus9

1) Well... really I don't know certanly... since i came to TC i thinked it's necessary to run pavucontrol.tcz (the volume control extension).

2) I uses Vivaldi now.Whitout pavucontrol I couldn't hear nothing from Youtube videos. Maybe vlc works well... but I don't know yet.  :-\
TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: I've got the sound settings crushed.
« Reply #17 on: April 19, 2020, 10:36:50 AM »
If you downloaded the pulseaudio extension using the apps gui or tce-load, you should have a file named pulseaudio.tcz.dep

I guess the best thing to do is use the apps gui to delete pulseaudio and then download it again.
« Last Edit: April 19, 2020, 10:40:39 AM by Juanito »

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #18 on: April 19, 2020, 03:12:21 PM »
Done juanito.

After I did

Code: [Select]
sudo pulseaudio -vv

But pavucontrol not works. It shows an extense message:

Quote
Connection to PulseAudio failed. Automatic retry in 5s

In this case this is likely because PULSE_SERVER in the Environment/X11 Root Window Propierties or default server in client.conf is misconfigured.

This situation can also arise when PulseAudio crashes and left stale details in X11 Root Window. If this is the case then PulseAudio should autospawn again, or if is not configured you should run start-pulseaudio-x11 manually

Now what?  :'(

By the way: I just can listen and watch the youtube videos, but with headphones because the speakers are still heard at a very low volume. We're moving on :D


« Last Edit: April 19, 2020, 03:26:05 PM by ferran »
TC CorePlus v.11.1 i686 & lots of coffe

aus9

  • Guest
Re: I've got the sound settings crushed.
« Reply #19 on: April 19, 2020, 06:32:57 PM »
gurus are sleeping so there is at least one error.

Quote
sudo pulseaudio -vv

the info file clearly shows a $ preceding that command which means runs as local user

lets check if there are any typos in your files too?

Code: [Select]
cat ~/.X.d/dbus
cat  /opt/bootlocal.sh


good luck
« Last Edit: April 19, 2020, 06:36:39 PM by aus9 »

aus9

  • Guest
Re: I've got the sound settings crushed.
« Reply #20 on: April 19, 2020, 08:13:28 PM »
I wrote poorly

I mean info file does not show sudo....remove sudo please

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #21 on: April 20, 2020, 07:22:16 AM »
Hi again to everybody.

@aus9 you did right in a great part, because i needed to read the pulseaudio.tcz's info. So i created the files .X.d/pulseaudio and .X.d/dbus as if is indicated. No problems with bootlocal.sh. Only we need to start pulseaudio -vv like as sudo from the console (Ctrl-F1) and after to do startx.

Resuming of situation: pulseaudio no works because some modules testing failed. I need to aborted the testing (after a while down).

Yesterday I checked all dependencies of pulseaudio.tcz and libpulseaudio.tcz. I installed the flac.tcz, the rest of extensions was installed already

So the pavucontrol not works too (see above the error message that shows it)

TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: I've got the sound settings crushed.
« Reply #22 on: April 20, 2020, 07:57:23 AM »
"pulseaudio -vv" is only for testing and should not be run as root.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: I've got the sound settings crushed.
« Reply #23 on: April 20, 2020, 08:34:59 AM »
If you want to test that you have all the required dependencies and that pulseaudio works, do this from a terminal window in the gui - there is no need to start the dbus or pulseaudio daemons first or create anything in ~/.X.d:
Code: [Select]
$ tce-load -i alsa-config pavucontrol
$ pavucontrol

If you do not get an errors and pavucontrol opens, you should then be able to play a sound file and hear it.

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #24 on: April 20, 2020, 03:19:41 PM »
juanito, yes... but don't  :'(

Code: [Select]
tc@box:~$ tce-load -i alsa-config pavucontrol
alsa-config is already installed!
pavucontrol is already installed!
tc@box:~$ pavucontrol
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
tc@box:~$

TC CorePlus v.11.1 i686 & lots of coffe

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #25 on: April 20, 2020, 09:04:46 PM »
I'm beginning to think you're no longer interested in the problem...

Okay. At this point, what would happen if I downloaded vlc3.tcz? Can you regulate the volume as well or not?


TC CorePlus v.11.1 i686 & lots of coffe

aus9

  • Guest
Re: I've got the sound settings crushed.
« Reply #26 on: April 20, 2020, 10:07:16 PM »
@ferran
Juanito is in a different timezone to me and I suspect different to you. In the meantime thanks for sharing your errors with us.

Quote
So i created the files .X.d/pulseaudio and .X.d/dbus
No wrong! the info file on 32 bit says
Quote
When it is running correctly
                echo "start-pulseaudio-x11" > ~/.X.d/pulseaudio

but I am pretty sure you are not yet at "running correctly"

pulseaudio attempts to use home configs or system configs.

Quote
Home directory not accessible: Permission denied

right we need to address this first please.  For me 
ls -al .config | grep pulse   NOT OP
drwx-w----    2 tc       staff         4096 Apr 19 22:45 pulse/
ls -al /home/ | grep tc   # NOT OP
drwxr-s---   20 tc       staff         4096 Apr 21 01:48 tc

so can you reveal below permissions

Code: [Select]
ls -al .config | grep pulse
ls -al /home

I am sure when Juanito has time he might improve my answers

In addition, purely voluntary are you using a full persistent home dir or does home get backed up to your "mydata" file?
ie  are you using a boot code  home=<something> 
and if you can catch my drift....trying to use a fully persistent home and backing up to mydata.tgz would seem to be a waste of time IMHO

I am on 64 bit which has vlc so I can not test vlc3 but as Juanito updated it ...no reason why it would not work so why not try it?
Speaking of which.....do you have a PC setup with 32 bit TC and the same PC set up with 64 bit
or no 64 bit etc?
« Last Edit: April 20, 2020, 10:16:29 PM by aus9 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: I've got the sound settings crushed.
« Reply #27 on: April 21, 2020, 01:55:11 AM »
I'm beginning to think you're no longer interested in the problem...
I'm not sure why you would think that given several forum users have posted suggestions.

The file permissions on your home directory seem to be incorrect and it seems likely one or more extensions or their dep files are missing.

I suggest you reboot without any alsa or pulseaudio extensions set "onboot" or "ondemand", without starting the dbus or pulseaudio daemons and without creating anything in ~/.X.d, and then:
Code: [Select]
$ tce-load -i alsa-config pavucontrol
$ pavucontrol

Offline ferran

  • Full Member
  • ***
  • Posts: 159
Re: I've got the sound settings crushed.
« Reply #28 on: April 21, 2020, 10:49:15 AM »
I apologize to everyone. This problem is starting to make me angry...

juanito:

 can easily delete the /.X.d/pulseaudio. No problem.

I can disable the dbus as well without problems.

But usually when I download application from Apps I always do it as "onboot". I can't do it any other way (I learned it from the wiki).

Now, you tell me that alsa and pulseaudio are not configured as "onboot" or "ondemand" and I don't understand what that means:

a) should I delete everything and start again to download alsa and pulseaudio without the "onboot" or "ondemand" option. That for me after all this time checking having all the dependencies of each application, activating and testing the sound, etc. I'm not going to repeat that phase again.

b) Could you configure alsa in some other way that is not "onboot"? If so, I need to know in detail.

Once this question is answered I will continue with the process.
TC CorePlus v.11.1 i686 & lots of coffe

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14790
Re: I've got the sound settings crushed.
« Reply #29 on: April 21, 2020, 11:01:48 AM »
I am proposing something as a test, not for normal operation - if you do not wish to disrupt your settings, you can boot with the boot codes "base" and "norestore", which will have the effect of preventing any extensions being loaded and will prevent your backup being restored.

If you follow the above, you will boot to a console prompt and will need a simple desktop, which can be done like this:
Code: [Select]
$ tce-load -i Xorg-7.7 flwm aterm wbar
$ startx

Once the gui has started, you can open a terminal window and run the commands already mentioned.