New Manjaro XFCE / No audio

Hi, I recently installed manjaro xfce over my arch build. Everything was working fine on my kde arch build. This is my first time using xfce.

So when I try to play audio from vlc commmand line i get -

[0000642d4545b5a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000766c68eca8e0] avcodec decoder: Using Intel i965 driver for Intel(R) Kaby Lake - 2.4.1 for hardware decoding
[vp9 @ 0x766c68ed3c00] get_buffer() failed
[vp9 @ 0x766c68ed3c00] thread_get_buffer() failed
[vp9 @ 0x766c68ed5000] get_buffer() failed
[vp9 @ 0x766c68ed5000] thread_get_buffer() failed

If i try to play youtube videos they won’t play unless I mute them.

If i try to play any game my FPS drops to 5 and no audio will play. Have no problems running the games i tested at 120fps usually.

Audio works when using wmplayer.

So here is some info :::
System:
  Kernel: 6.9.12-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.9-x86_64
    root=UUID=c6ce2870-c819-40e6-adec-52deaae9d2da rw quiet splash
    udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-A v: Rev X.0x
    serial: <superuser required> part-nu: SKU uuid: <superuser required>
    UEFI: American Megatrends v: 0808 date: 06/16/2017
CPU:
  Info: model: Intel Core i7-7700 bits: 64 type: MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF8
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 smt: <unsupported> cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 800 min/max: 800/4200 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 28808
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx

Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK H110I-PLUS driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: HDMI-A-2 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0300
  Device-2: NVIDIA AD107 [GeForce RTX 4060] vendor: Micro-Star MSI
    driver: nvidia v: 550.107.02 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-09) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s bus-ID: 01:00.0 chip-ID: 10de:2882
    class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.13 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,nv,vesa
    dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-size: <missing: xdpyinfo>
  Monitor-1: DP-1-0 pos: primary,right res: 3840x2160 hz: 60 dpi: 163
    size: 600x340mm (23.62x13.39") diag: 690mm (27.15") modes: N/A
  Monitor-2: HDMI-2 pos: left res: 1920x1080 hz: 60 dpi: 40
    size: 1209x680mm (47.6x26.77") diag: 1387mm (54.61") modes: N/A
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.6-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 630 (KBL GT2)
    device-ID: 8086:5912 memory: 7.56 GiB unified: yes

Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  API: ALSA v: k6.9.12-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.3 status: active with: 1: wireplumber
    status: active 2: pipewire-alsa type: plugin tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol

===================================

Your ALSA information is located at http://alsa-project.org/db/?f=62cd5bce1333cf37bb9107f8b0d550a39549122d

The only available device given to me for output is HDMI Digital Stereo but as you can see i have that on off and audio through wmplayer is still working.

As you can see I have all audio turned down to 0 but wmplayer is still working. Everything else is not.

Sorry for not using the proper tags, there is no preview button so I wasn’t sure if i was using the correct ones.

So I want to use my Intel hdmi cable hooked into my tv to play the audio. The NVIDIA card is connected to a monitor w. no audio.

Thanks in advance for your help.

Hi @eldiablo, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Please also note and heed: Forum Rules - Manjaro

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

yes i am familiar with tagging but it’s easy to make a typo and you guys don’t have a preview button as I explained.

but if you’re ok with a misformated message then i will go ahead.

also i looked at other posts and this is the info support always asks for. i did include 3 screenshots, plus all my sys info and a trace of my sound devices.

I do not know what else you need. Like i said i looked at other posts and provided the usual info, the only thing wrong is the formatting.

This ?

…pulseaudio isn’t even in the xfce packagelist any more. You have installed it.

In the repos you will find two meta packages manjaro-pulse and manjaro-pipewire , they will conflict with each other, so that there can only be one remaining in your install. Current default is manjaro-pipewire.

1 Like

guys i am not sure why you reinvented the usual markup language that most people are familiar with like with three backticks?

Regardless here you go -


Hi, I recently installed manjaro xfce over my arch build. Everything was working fine on my kde arch build. This is my first time using xfce.

So when I try to play audio from vlc commmand line i get -

So when I try to play video from vlc command line i get the following error

[0000642d4545b5a0] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[0000766c68eca8e0] avcodec decoder: Using Intel i965 driver for Intel(R) Kaby Lake - 2.4.1 for hardware decoding
[vp9 @ 0x766c68ed3c00] get_buffer() failed
[vp9 @ 0x766c68ed3c00] thread_get_buffer() failed
[vp9 @ 0x766c68ed5000] get_buffer() failed
[vp9 @ 0x766c68ed5000] thread_get_buffer() failed

I have the audio output set to what i usually have it at “HDMI to tv, digital audio”. I know it’s the correct output because my monitor is using DVI cables.

If i try to play youtube videos they won’I play unless I mute them.

If i try to play any game my FPS drops to 5 and no audio will play. I Have no problems running the games i tested at 120fps usually.

Audio works on wmplayer though (!) which is set to the same output as vlc “HDMI …”

Here is my audio info via inxi -Aazy

Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a2f0
    class-ID: 0403
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 01:00.1 chip-ID: 10de:22be class-ID: 0403
  API: ALSA v: k6.9.12-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.3 status: n/a (root, process) with:
    1: wireplumber status: active 2: pipewire-alsa type: plugin
    tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 17.0 status: active (root, process)
    with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol

I also ran the alsa script, here is the url to the trace.

```
http://alsa-project.org/db/?f=62cd5bce1333cf37bb9107f8b0d550a39549122d
```

Let me know if you need any more info and I will get it to you. Thanks in advance!

How is this to be understood ?

With desktop type systems it is usually one or the other gpu in use and using one rules out the other.

As you are trying to send audio using the gpu output through a hdmi cable to a tv - you are most likely not to succeed.

If you want audio to be sent to a tv set - you will have to use audio connection cables to a dedicated audio input on the set in question.

Of course I may be wrong - that happens more often than I like to admit :slight_smile:

And haviing two active audio servers running at the same time - is likely to create conflict of interests - as in - who controls what devices and what is sent to the output.

ALSA data in OP all looks OK, but then Realtek ALC887-VD codecs usually work no problem.
The only thing that is not available OOTB is having independent outputs for headphone & speaker jacks

If an application is configured to play direct to an ALSA device it would take exclusive control of the audio device and other applications would not be able to play audio via PulseAudio
The audio streams for scrcpy shown playing in screenshot could not use the same audio device

To play audio to rear speaker jack or front headphone jack Built-In Audio device should be using Profile: Analog Stereo Output or Analog Stereo Duplex to use microphone/Line-in jack in addition to speaker/headphone jack

I suggest check Profiles for both cards

pactl list cards

and check audio streams from wmplayer/scrcpy and any other applications

pactl list sink-inputs

Post #5 shows one audio server running now:

Server-2: PipeWire v: 1.2.3 status: n/a 

Server-3: PulseAudio v: 17.0 status: active

ALSA data shows 2 external devices connected in ALSA

card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [SMART TV]
  Subdevices: 0/1

card 2: NVidia [HDA NVidia], device 3: HDMI 0 [LG HDR 4K]
  Subdevices: 1/1

0/1 for the first device shows it is not available

If PulseAudio data shows devices are detected and available it should be capable of playing digital audio to either device
But if the output sink for the Smart TV is not available in PulseAudio, one of the applications may be using direct ALSA connection and blocking everything else

1 Like

Hi @eldiablo and welcome to the Manjaro community.

When creating a new post, you should notice a button at the bottom, right, of the opened panel. This will toggle the Preview on and off (show/hide).

The Manjaro forum uses the popular Discourse software, so anything that you’re not comfortable with, you can probably just blame the Discourse devs. :wink:

You may be familiar with Markdown, but you may also be surprised just how many are not, when they first join the forum.

Members may often be proactive in helping new users to maximise readability of their posts, and therefore the potential for quality responses to a support query.

We hope you enjoy your stay.

Cheers.

Not sure that you can run both Pipewire and Pulseaudio as active. Almost bound to be a conflict, and on installation of Pipewire, Pulseaudio should be automatically removed if already installed.

What is the output of:-
pactl info|grep 'Server Name'

Xfce users using PulseAudio might need pipewire installed as a dependency for obs-studio or telegram, But if neither package is installed, pipewire is not required

It’s not misleading information . I had Pulseaudio. When you install manjaro-pipewire, Pulseaudio is automatically removed. You are not given the choice.

Why do you think that would be?

Why not?

Kind of the whole point of why they built audio into the HDMI/DP standard.

I assume reparitioned first, but I also took it as installing overtop of the existing filesystem for a second. (That would be a problem.)

I think you’ll find that the quoted block was pasted from another thread and not a direct response to your comment. The icon colours look similar; perhaps you missed that.

Cheers.

Claiming that pulseaudio and pipewire may conflict was misleading in 2021 because:

  • The conflict is in fact between pulseaudio and pipewire-pulse
  • inxi was incorrectly reporting 2 sound servers running at that time, but inxi developer has updated inxi since then to improve audio data accuracy
  • Some users were using the incorrect data from inxi to encourage users to switch to PipeWire, and they were not deterred by comments from moderators

manjaro-pipewire metapackage replaces pulseaudio pulseaudio-alsa and pulseaudio-bluetooth with pipewire-pulse and pipewire-alsa

manjaro-pulse metapackage replaces pipewire-pulse and pipewire-alsa with pulseaudio pulseaudio-alsa and pulseaudio-bluetooth

Manjaro ISOs up to end of last year included manjaro-pulse
but a user could choose to switch to PipeWire
Manjaro ISOs from beginning of this year include manjaro-pipewire
but a user can choose to switch to PulseAudio

1 Like

So…

  • :white_check_mark: mplayer
  • :x: VLC
  • :x: (Firefox?) YouTube

What about other things?

The VLC error was using the VP9 codec, which is also what YouTube also uses. Just a shot in the dark, but maybe this is related. And maybe towards the hardware acceleration it might be attempting to do.

Need more sources to test to see if that’s worth investigating.

So far OP has mentioned wmplayer, vlc and firefox, and screenshot shows scrcpy
These have non-audio potential points of failure - video and internet

Playing audio via HDMI also has potential points of failure - surround sound channels, audio compression, Audio Return Channel (Smart TV could be try to sending audio to an upstream device)

If information from PulseAudio does not show any issue with audio playback I would move the topic out of the sound section so other users can help with non-audio issues
But if there is an audio issue it would be better to use local audio content instead of online video content for testing