Page 1 of 1
Kodi and MX
Posted: Sat May 15, 2021 1:01 pm
by UncleGrandpa
Using MX19 KDE, it's actually the only distro that works on my pc, believe me I tried a ton other KDE distros. XFCE works too but I like KDE/Plasma better. My problem is when using Kodi (18.5 ver) the volume is always at 100%, I can turn it down but volume will just go back to 100% clicking an icon or just navigating within Kodi. Is this a Kodi problem, KDE problem or a problem with MX??? I have 0 idea how to fix this, I use Kodi a lot but have to use winblows 10 to not get the 100% volume at every click. It's not my speakers or sound card because this works fine on windows 10, the problem doesn't care if I'm connected through my stereo or using Bluetooth speakers or headphones either. Super annoying when some thing you're watching comes on at 100%, surprised my speakers and/or eardrums haven't blown up yet.
Re: Kodi and MX
Posted: Sat May 15, 2021 1:48 pm
by Stevo
That seems to be a unique problem--we haven't had any reports like that with 18.5 or the 19.0 in the test repo.
Do you have the same problem if you update to 19.0, or create a new user account and log in as that user?
Re: Kodi and MX
Posted: Sat May 15, 2021 1:56 pm
by UncleGrandpa
Thanx Stevo,
No I haven't tried 19, will give it a try and let you know if that works.
Re: Kodi and MX
Posted: Sat May 15, 2021 5:36 pm
by UncleGrandpa
Stevo wrote: Sat May 15, 2021 1:48 pm
That seems to be a unique problem--we haven't had any reports like that with 18.5 or the 19.0 in the test repo.
Do you have the same problem if you update to 19.0, or create a new user account and log in as that user?
Still have the same problem, either way, 18.5 or 19, my user account or another no change.
Re: Kodi and MX
Posted: Sat May 15, 2021 8:14 pm
by JayM
Please run Quick System Info and post your system information. Just run it then right-click paste in a reply, don't copy/paste. Instructions are
here if you need them. Thanks.
Re: Kodi and MX
Posted: Sat May 15, 2021 10:19 pm
by UncleGrandpa
JayM wrote: Sat May 15, 2021 8:14 pm
Please run Quick System Info and post your system information. Just run it then right-click paste in a reply, don't copy/paste. Instructions are
here if you need them. Thanks.
I jumped over to an XFCE DE to see if it was caused by KDE but that's not it either???
Code: Select all
System: Host: <filter> Kernel: 5.10.0-5mx-amd64 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-5mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19.4_ahs_x64 patito feo March 31 2021 base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: ASUS product: All Series v: N/A serial: <filter>
Mobo: ASUSTeK model: MAXIMUS VII HERO v: Rev 1.xx serial: <filter>
UEFI [Legacy]: American Megatrends v: 3103 date: 03/09/2016
Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Gaming Mouse serial: <filter>
charge: 10% (should be ignored) rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Illuminated Keyboard K800
serial: <filter> charge: 100% (should be ignored) rechargeable: yes
status: Discharging
CPU: Topology: Quad Core model: Intel Core i5-4690K bits: 64 type: MCP arch: Haswell
family: 6 model-id: 3C (60) stepping: 3 microcode: 28 L2 cache: 6144 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28561
Speed: 1326 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 1326 2: 1326 3: 1326
4: 1326
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: disabled, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA GM204 [GeForce GTX 980] vendor: eVga.com. driver: nouveau v: kernel
bus ID: 01:00.0 chip ID: 10de:13c0
Display: x11 server: X.Org 1.20.10 driver: modesetting unloaded: fbdev,vesa tty: N/A
OpenGL: renderer: NV124 v: 4.3 Mesa 20.3.4 direct render: Yes
Audio: Device-1: Intel 9 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:8ca0
Device-2: NVIDIA GM204 High Definition Audio vendor: eVga.com. driver: snd_hda_intel
v: kernel bus ID: 01:00.1 chip ID: 10de:0fbb
Sound Server: ALSA v: k5.10.0-5mx-amd64
Network: Device-1: Intel Ethernet I218-V vendor: ASUSTeK driver: e1000e v: kernel port: f040
bus ID: 00:19.0 chip ID: 8086:15a1
IF: eth0 state: down mac: <filter>
Device-2: Broadcom and subsidiaries BCM4352 802.11ac Wireless Network Adapter
vendor: ASUSTeK driver: wl v: kernel port: d000 bus ID: 04:00.0 chip ID: 14e4:43b1
IF: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 698.65 GiB used: 9.91 GiB (1.4%)
ID-1: /dev/sda vendor: PNY model: CS900 250GB SSD size: 232.89 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 0613 scheme: MBR
ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 2B6Q scheme: MBR
Partition: ID-1: / raw size: 230.85 GiB size: 226.23 GiB (98.00%) used: 9.91 GiB (4.4%) fs: ext4
dev: /dev/sda1
ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/sda2
Sensors: System Temperatures: cpu: 31.0 C mobo: N/A gpu: nouveau temp: 43 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 0
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ buster main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://la.mxrepo.com/mx/repo/ buster main non-free
2: deb http://la.mxrepo.com/mx/repo/ buster ahs
No active apt repos in: /etc/apt/sources.list.d/various.list
Info: Processes: 243 Uptime: 2m Memory: 15.58 GiB used: 1.12 GiB (7.2%) Init: SysVinit
v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: quick-system-in
running in: quick-system-in inxi: 3.0.36
Re: Kodi and MX
Posted: Sun May 16, 2021 5:20 pm
by Stevo
It's almost certainly due to problems with the opensource nouveau video driver which MX is using by default for your card, which in many situations is not going to take full advantage of your Nvidia card. Kodi uses openGL 3D to drive its GUI, so you may have to try and install the Nvidia video driver instead, and I suggest you try to do so with the MX Nvidia Installer in MX Tools.
Re: Kodi and MX
Posted: Sun May 16, 2021 6:34 pm
by dreamer
It is most likely the flat-volumes setting, which is only used by default in Debian/MX. It has even been changed in upstream PulseAudio.
See this thread:
Make "flat-volumes = no" MX-15 default
viewtopic.php?f=97&t=40639&p=393768
Re: Kodi and MX
Posted: Mon May 17, 2021 1:31 pm
by UncleGrandpa
dreamer wrote: Sun May 16, 2021 6:34 pm
It is most likely the flat-volumes setting, which is only used by default in Debian/MX. It has even been changed in upstream PulseAudio.
See this thread:
Make "flat-volumes = no" MX-15 default
viewtopic.php?f=97&t=40639&p=393768
That's something that's not built in to MX, something I need to add? Presently I have the audio settings in Kodi set to my sound-card, there's a PA setting too but setting audio to that made no diff.
Re: Kodi and MX
Posted: Mon May 17, 2021 3:15 pm
by UncleGrandpa
dreamer wrote: Sun May 16, 2021 6:34 pm
It is most likely the flat-volumes setting, which is only used by default in Debian/MX. It has even been changed in upstream PulseAudio.
See this thread:
Make "flat-volumes = no" MX-15 default
viewtopic.php?f=97&t=40639&p=393768
Edited flat-volumes to 'no' from 'yes' and that made 0 difference
Re: Kodi and MX
Posted: Mon May 17, 2021 3:53 pm
by dreamer
UncleGrandpa wrote: Mon May 17, 2021 3:15 pm
Edited flat-volumes to 'no' from 'yes' and that made 0 difference
You need to
reboot after changing config as root. Make sure your line looks like this in the /etc/pulse/daemon.conf file:
(no blank spaces before or after)
Additional threads:
Pulseaudio madness: Flat-volumes
viewtopic.php?f=108&t=44046
Volume keeps resetting too low...
viewtopic.php?t=59792
Problem with Kodi and audio
viewtopic.php?t=63117
Audio volume control issue in MX
viewtopic.php?t=51059
Soud at max using Kodi
viewtopic.php?p=545849
Re: Kodi and MX
Posted: Tue May 18, 2021 4:40 pm
by UncleGrandpa
dreamer wrote: Mon May 17, 2021 3:53 pm
UncleGrandpa wrote: Mon May 17, 2021 3:15 pm
Edited flat-volumes to 'no' from 'yes' and that made 0 difference
You need to
reboot after changing config as root. Make sure your line looks like this in the /etc/pulse/daemon.conf file:
(no blank spaces)
Here is an additional thread:
Pulseaudio madness: Flat-volumes
viewtopic.php?f=108&t=44046
Additional threads:
Volume keeps resetting too low...
viewtopic.php?t=59792
Problem with Kodi and audio
viewtopic.php?t=63117
Audio volume control issue in MX
viewtopic.php?t=51059
I did exactly that but no change, audio turning on Kodi is still 100%
Re: Kodi and MX
Posted: Tue May 18, 2021 4:49 pm
by dreamer
We need to know if flat-volumes is still enabled on your system.
Open for example VLC and adjust volume and see if your master volume changes. Or change master volume in panel and see if VLC volume changes.
If both change together then flat-volumes is still enabled.
If they are separate then flat-volumes has been disabled.
Re: Kodi and MX
Posted: Tue May 18, 2021 10:01 pm
by UncleGrandpa
We need to know if flat-volumes is still enabled on your system.
Open for example VLC and adjust volume and see if your master volume changes. Or change master volume in panel and see if VLC volume changes.
If both change together then flat-volumes is still enabled.
If they are separate then flat-volumes has been disabled.
[/quote]
Both are together, how do I disable if I edit in daemon.conf and nothing changes, I have exactly what you posted edited.

Re: Kodi and MX
Posted: Wed May 19, 2021 9:21 am
by dreamer
Ah, it should be like this:
(nothing before and nothing after - not even blank spaces)
Your line is still commented out which means it will use default setting for PulseAudio and for this version of PulseAudio that means flat-volumes is enabled.
Just adjust the line as above and reboot.
Then your applications shouldn't affect your master volume anymore.
However, it remains to be seen if it solves the Kodi problem. The Kodi problem may be related or not.
Re: Kodi and MX
Posted: Wed May 19, 2021 12:31 pm
by UncleGrandpa
dreamer wrote: Wed May 19, 2021 9:21 am
Ah, it should be like this:
(nothing before and nothing after - not even blank spaces)
Your line is still commented out which means it will use default setting for PulseAudio and for this version of PulseAudio that means flat-volumes is enabled.
Just adjust the line as above and reboot.
Then your applications shouldn't affect your master volume anymore.
However, it remains to be seen if it solves the Kodi problem. The Kodi problem may be related or not.
Like this?
This seems to have done the trick, volumes are separate now, wasn't sure what you meant,
"Your line is still commented out" anyways thanks Dreamer, thanks for taking the time to help a noob out, very kind!
Re: Kodi and MX
Posted: Wed May 19, 2021 12:58 pm
by dreamer
UncleGrandpa wrote: Wed May 19, 2021 12:31 pm
Like this?
This seems to have done the trick, volumes are separate now, wasn't sure what you meant,
"Your line is still commented out" anyways thanks Dreamer, thanks for taking the time to help a noob out, very kind!
Yes, that looks right. Did it solve your Kodi problem?
Re: Kodi and MX
Posted: Wed May 19, 2021 1:10 pm
by UncleGrandpa
dreamer wrote: Wed May 19, 2021 12:58 pm
UncleGrandpa wrote: Wed May 19, 2021 12:31 pm
Like this?
This seems to have done the trick, volumes are separate now, wasn't sure what you meant,
"Your line is still commented out" anyways thanks Dreamer, thanks for taking the time to help a noob out, very kind!
Yes, that looks right. Did it solve your Kodi problem?
Yes it did, thanx again