Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[resolved] Issue with sound in Gnome

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
jaileleu
Posts: 7
Joined: 2017-10-29 12:04

[resolved] Issue with sound in Gnome

#1 Post by jaileleu »

Hello,

I've just upgraded from Jessie to Stretch, and things where not as smoothly as I expected...
I certainly did a lot of mess with my packages to succeed in having things working (e.g. I totally removed gnome by error at some point, but now it's back)

Currently, I have trouble with sound in gnome.
When I run gnome-classic session or gnome session, my mp3/ogg/video sound playbacks are all messy, skipping/jumping ahead of time, and making it very unpleasant to listen (I tried with vlc and "video" player)
When I run a gnome flashback metacity session or a kodi session, there is no issue.

Of course I was running Gnome-shell in Jessie and before in Wheezy without any problems.

I have no clue of what can be wrong... so any help to investigate would be appreciated !
Last edited by jaileleu on 2017-10-29 17:54, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Issue with sound in Gnome

#2 Post by Head_on_a_Stick »

jaileleu wrote:I've just upgraded from Jessie to Stretch, and things where not as smoothly as I expected...
I certainly did a lot of mess with my packages to succeed in having things working (e.g. I totally removed gnome by error at some point, but now it's back)
We need *much* more information than this, I'm no good at guessing games.

Did you follow the advice in the official stretch release notes about upgrades from jessie?

If not then I suggest that you restore your jessie backup and run through the dist-upgrade again, properly this time.
deadbang

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

Re: Issue with sound in Gnome

#3 Post by jaileleu »

Thanks for your help !

I tried to follow the advices, yes, but at some point I did a bit to much of apt-get autoremove
What went wrong is that I had a conflict on dbus package, and so I tried an apt-get --fix-broken and... it removes way too much things
The second mistake is that I did a dpkg --clear-selections without understanding what it really does, and so from this point, I had no more analytics to help me

By "restoring your jessie backup", you mean changing the source-list back to jessie, then loading the old dpkg selection ?
I've made a diff from old and current --get-selections, and they are quite different... I don't know how to reload just my old list to be sure to be in the same state again

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Issue with sound in Gnome

#4 Post by Head_on_a_Stick »

jaileleu wrote:By "restoring your jessie backup", you mean changing the source-list back to jessie, then loading the old dpkg selection ?
No, not at all — I mean that you should restore your system to the exact state it was in before the attempted upgrade.

Did you not make backups before trying?

For example, when I upgraded my jessie system I first used my btrfs filesystem to take a snapshot and then I booted into the snapshot to perform the upgrade, I still have a functioning jessie system on the disk afterwards :)
deadbang

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

Re: Issue with sound in Gnome

#5 Post by jaileleu »

I followed https://www.debian.org/releases/stable/ ... ading.html
The main things you'll want to back up are the contents of /etc, /var/lib/dpkg, /var/lib/apt/extended_states and the output of dpkg --get-selections "*" (the quotes are important). If you use aptitude to manage packages on your system, you will also want to back up /var/lib/aptitude/pkgstates.
So I have a backup of my /etc, /dpkg , extended_states and the get-selections list; I generally don't use aptitude. And that's all.
As there were no issue at all when I upgraded from wheezy to jessie 2 years ago, maybe I have been a bit overconfident on that...

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Issue with sound in Gnome

#6 Post by Head_on_a_Stick »

jaileleu wrote:maybe I have been a bit overconfident on that...
+1, you are a braver man than I :mrgreen:

Do APT's logs have any clues as to what may have transpired in this mysterious upgrade?
deadbang

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

Re: Issue with sound in Gnome

#7 Post by jaileleu »

Yes I have the full history, uploaded here https://www.sendspace.com/file/93ga28 (because it does an errror when copied inline here)

here is the sum up of the steps:

full upgrade to be at jessie latest

Code: Select all

Start-Date: 2017-10-28  14:33:38
Commandline: /usr/sbin/synaptic
Then autoremove because I tthought it was removving only unused packages

Code: Select all

Start-Date: 2017-10-28  16:35:49
Commandline: apt-get autoremove
Then I try a upgrade and dist-upgrade (still in jessie) and I'm a bit suprised to see it does install things...

Code: Select all

Start-Date: 2017-10-28  16:40:11
Commandline: apt-get upgrade
1.0.15-2)
End-Date: 2017-10-28  16:42:48

Start-Date: 2017-10-28  16:44:25
Commandline: apt-get dist-upgrade
End-Date: 2017-10-28  16:45:05
So to be sure everything is clean before going I redo an autoremove

Code: Select all

Start-Date: 2017-10-28  16:50:54
Commandline: apt-get autoremove
Remove: libjim0.76:amd64 (0.76-2), amule-common:amd64 (2.3.2-1), ttf-dejavu-core:amd64 (2.34-1), amule-utils:amd64 (2.3.1-9)
End-Date: 2017-10-28  16:51:00
then the big upgrade and dist upgrade from jessie to stretch

Code: Select all

Start-Date: 2017-10-28  17:20:27
Commandline: apt-get upgrade
End-Date: 2017-10-28  17:52:06

Start-Date: 2017-10-28  18:33:29
Commandline: apt-get dist-upgrade
End-Date: 2017-10-28  19:22:25
and so I see they are some bbroken packages, so I fix-brroken them (arrgh)

Code: Select all

Start-Date: 2017-10-28  19:28:34
Commandline: apt-get dist-upgrade
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2017-10-28  19:29:06

Start-Date: 2017-10-29  00:25:51
Commandline: apt --fix-broken install
End-Date: 2017-10-29  00:28:21
then another auto-remove because you ever know (¬__¬) (this one losmy gnome)

Code: Select all

Start-Date: 2017-10-29  00:31:13
Commandline: apt-get autoremove
End-Date: 2017-10-29  00:36:43
after that I found the real fix on the broken package, needing to force another version on dbus

Code: Select all

Start-Date: 2017-10-29  01:35:52
Commandline: /usr/sbin/synaptic
Requested-By: jai (1000)
Downgrade: libdbus-1-3:amd64 (1.11.20-1, 1.10.22-0+deb9u1), dbus:amd64 (1.11.20-1, 1.10.22-0+deb9u1)
Remove: libwine-cms:i386 (1.6.2-20), libwine-gphoto2:i386 (1.6.2-20), libcups2:i386 (2.2.1-8), libdbus-1-3:i386 (1.11.20-1), libavahi-client-dev:amd64 (0.6.32-2), libpulse0:i386 (10.0-1+deb9u1), libdbus-1-dev:amd64 (1.11.20-1), wine32:i386 (1.8.7-2), libasound2-plugins:i386 (1.1.1-1), lmms-vst-server:i386 (1.1.3-7), libavahi-client3:i386 (0.6.32-2), libwine-sane:i386 (1.6.2-20), libsane:i386 (1.0.25-4.1), libwine-openal:i386 (1.6.2-20), libwine:i386 (1.8.7-2)
End-Date: 2017-10-29  01:36:06

Start-Date: 2017-10-29  01:36:19
Commandline: /usr/sbin/synaptic
Requested-By: jai (1000)
Upgrade: dbus-x11:amd64 (1.8.22-0+deb8u1, 1.10.22-0+deb9u1)
End-Date: 2017-10-29  01:36:22
Then I have only add new things to get back Gnome-shell

Code: Select all

Start-Date: 2017-10-29  01:38:12
End-Date: 2017-10-29  01:38:46

Start-Date: 2017-10-29  02:02:38
End-Date: 2017-10-29  02:02:54

Start-Date: 2017-10-29  02:15:07
End-Date: 2017-10-29  02:17:14
EDIT : if needed, I have the term.log too , but I don't think it wold help, as it is even more verbose...
Last edited by jaileleu on 2017-10-29 14:07, edited 1 time in total.

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

Re: Issue with sound in Gnome

#8 Post by jaileleu »

the problem is I don't know what to search/investigate...
the symptom is a difference of sound between flashback session and gnome session, but I don't know what is the difference of the two regarding the sound in there underlayers...

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Issue with sound in Gnome

#9 Post by Segfault »

Do the problems persist if you create a new user and test the sound from new account?

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

Re: Issue with sound in Gnome

#10 Post by jaileleu »

wow... indeed there is no issue with another user
and everythin is far more responsive with the new user too
so it would be something in my profile ?

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Issue with sound in Gnome

#11 Post by Segfault »

There is only one directory a user has write rights to, it is the home directory. So I hope it does not surprise you all user configuration is saved there? Now, you did a massive upgrade. It is always possible your old configuration files are not fully compatible with upgraded applications. I do not use Gnome nor PulseAudio, thus cannot tell what configuration files exactly need to be "doctored". You can always delete them (after backing them up). This will force new config file creation when the application in question is run. Resulting in your customization being lost and defaults reinstated.

jaileleu
Posts: 7
Joined: 2017-10-29 12:04

[Resolved] Issue with sound in Gnome

#12 Post by jaileleu »

so I removed some files from my profile :

Code: Select all

rm -rf .local .config
rm -rf .gconf .gstreamer-0.10 .gsutil
rm -rf .yjp .xsession-errors .xsession-errors.old .xournal 
then I tried again and now it works pretty fine !

Thanks a lot for your time and to have pointed me out the place to look at, I would have continue to struggle with packages for hours...

Post Reply