linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.58k stars 745 forks source link

Cracking sound when shutdown #12446

Open edofe99 opened 1 month ago

edofe99 commented 1 month ago

Distribution

Mint 22 Cinnamon

Package version

6.2.9

Graphics hardware in use

Ryzen 5

Frequency

Always

Bug description

When I turn off my computer I hear a loud crack sound on my speakers. The issue is alerady described here:

Steps to reproduce

I have a ThinkPad T14 Gen 4 AMD, I believe this is a problem that obviosuly does not happen on all devices.

Expected behavior

I expect that there are not strong cracking noise when I turn off my pc.

Additional information

Current work around is to shutdown the pc using this command:

amixer -q -D pulse sset Master mute
shutdown now
claudiux commented 1 month ago

@edofe99

Please try using the sound150@claudiux, replacing 5.4/applet.js and 5.4\settings-schema.json with those in https://github.com/linuxmint/cinnamon-spices-applets/pull/6496

Once installed, remove the sound@cinnamon.org applet from your panel and restart Cinnamon.

In the settings of this applet, in Sound tab, check the option "Try to avoid loud cracking sound at shutdown".

Please tell me if that works as you expect.

edofe99 commented 1 month ago

dear @claudiux

Tried, works good. Any change it will be used by default on the main sound applet? (without having an option to enable/disable it, since it should be enabled by default).

Thank's again.

claudiux commented 1 month ago

Dear @edofe99

I'm glad it works well. Now this option is enabled by default in sound150@claudiux.

I'll try to solve this problem in sound@cinnamon.org.

edofe99 commented 1 month ago

Dear @claudiux, received the applet update and now everything works. If it can help: I think that by solivng the issue "silently" on the main sound applet, or even better, directly inside cinnamon code would be the best choice, I mean to have this by default and not an optional voice inside a menu. Thank's.

claudiux commented 1 month ago

Enhanced Sound applet: done! Sound applet: maybe soon. Inside Cinnamon code: useless.

claudiux commented 1 month ago

The problem (if it's really a problem?) is that I don't get any loud cracking sound at shutdown at all, with my devices.

This issue was easily resolved with the Enhanced Sound applet. Not so with the basic applet.

edofe99 commented 1 month ago

The problem (if it's really a problem?) is that I don't get any loud cracking sound at shutdown at all, with my devices.

I have a Thinkpad T14 G4 with a Ryzen 5... Maybe the hardware it's too recent for mint?

claudiux commented 1 month ago

This is not a problem of too recent hardware.

edofe99 commented 1 month ago

This is not a problem of too recent hardware.

What can it be then?

claudiux commented 1 month ago

This is a material problem, or bass level too high.

My solution is to record the volume level, mute output, then restore the volume level for next time.