Volume Icon with Nvidia card

Hello!

I just did a Manjaro-i3 fresh install.
I have an Nvidia card that's outputting the audio to the monitor through a display port cable. I cannot change the volume with the icon in the bar, even if I choose the correct Alsa device (HDA NVidia). I can do it with PulseAudio (pavucontrol, actually), so I know the audio works but I cannot change the volume.

Any help?

First, if not done already, update your system using

sudo pacman-mirrors -f
sudo pacman -Syyu

Afterwards reboot.

If this alone does not help then please post output of

inxi -Fxxxza --no-host

and use the </> button in the editor to format the output in a nice manner.

I already updated the system, but it didn't change anything.
Maybe changing the mixer that Volume Icon uses?
Or maybe using pasystray? But I don't know how to make it work with the audio keys in my keyboard.

The output of inxi -Fxxxza --no-host is below:

System:    Kernel: 5.6.11-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.3.0
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.6-x86_64
           root=UUID=be8bcdea-fa3a-4f0f-8364-8934db57a29e rw quiet apparmor=1 security=apparmor
           udev.log_priority=3
           Desktop: i3 4.18.1 info: i3bar dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:   Type: Desktop System: LENOVO product: 90DD002CSP v: ideacentre Y900-34ISZ
           serial: <filter> Chassis: type: 3 serial: <filter>
           Mobo: LENOVO model: SKYBAY v: SDK0J40709 WIN 3259588793908 serial: <filter> UEFI: LENOVO
           v: O1ZKT31A date: 11/28/2015
CPU:       Topology: Quad Core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S
           family: 6 model-id: 5E (94) stepping: 3 microcode: D6 L2 cache: 8192 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 64026
           Speed: 2928 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 2184 2: 1942 3: 2293 4: 1696
           5: 1934 6: 2319 7: 2360 8: 2338
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable
           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:
           conditional, RSB filling
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable
Graphics:  Device-1: NVIDIA GM204 [GeForce GTX 980] driver: nvidia v: 440.82 bus ID: 01:00.0
           chip ID: 10de:13c0
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1920x1080~60Hz
           OpenGL: renderer: GeForce GTX 980/PCIe/SSE2 v: 4.6.0 NVIDIA 440.82 direct render: Yes
Audio:     Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Lenovo
           driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:a170
           Device-2: NVIDIA GM204 High Definition Audio driver: snd_hda_intel v: kernel
           bus ID: 01:00.1 chip ID: 10de:0fbb
           Sound Server: ALSA v: k5.6.11-1-MANJARO
Network:   Device-1: Broadcom and subsidiaries BCM4352 802.11ac Wireless Network Adapter
           vendor: ASUSTeK driver: wl v: kernel port: e000 bus ID: 02:00.0 chip ID: 14e4:43b1
           IF: wlp2s0 state: dormant mac: <filter>
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo
           driver: r8169 v: kernel port: d000 bus ID: 03:00.0 chip ID: 10ec:8168
           IF: enp3s0 state: down mac: <filter>
           Device-3: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Lenovo
           driver: ath10k_pci v: kernel port: d000 bus ID: 04:00.0 chip ID: 168c:003e
           IF: wlp4s0 state: up mac: <filter>
           Device-4: Qualcomm Atheros type: USB driver: btusb bus ID: 1-1:2 chip ID: 0cf3:e300
Drives:    Local Storage: total: 2.15 TiB used: 10.15 GiB (0.5%)
           ID-1: /dev/sda vendor: Seagate model: ST2000DX001-SSHD-8GB size: 1.82 TiB block size:
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter>
           rev: CC61 scheme: GPT
           ID-2: /dev/sdb vendor: Samsung model: MZ7LF120HCHP-000L1 size: 111.79 GiB block size:
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 3L0Q scheme: GPT
           ID-3: /dev/sdc vendor: Kingston model: SUV400S37240G size: 223.57 GiB block size:
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: D6SD scheme: GPT
Partition: ID-1: / raw size: 111.49 GiB size: 109.24 GiB (97.98%) used: 10.15 GiB (9.3%) fs: ext4
           dev: /dev/sdb2
Sensors:   System Temperatures: cpu: 42.0 C mobo: 29.8 C gpu: nvidia temp: 38 C
           Fan Speeds (RPM): N/A gpu: nvidia fan: 32%
Info:      Processes: 226 Uptime: 2m Memory: 23.44 GiB used: 2.55 GiB (10.9%) Init: systemd v: 245
           Compilers: gcc: 9.3.0 Shell: zsh v: 5.8 running in: alacritty inxi: 3.0.37

So what I did is binding pactl to change the volume, while I have the applet from pasystray in the bar. So actually, I moved from Alsa to PulseAudio, I think?

The bindings are these, in case anyone has the same problem and want to try:

bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5% #decrease sound volume
bindsym XF86AudioMute exec pactl set-sink-mute 1 toggle

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by