Bug 1983504 - HDMI Audio out and Mic not working
Summary: HDMI Audio out and Mic not working
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 34
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-19 02:24 UTC by tylerguglielmo
Modified: 2022-06-08 06:31 UTC (History)
4 users (show)

Fixed In Version: pipewire-0.3.33-3.fc34
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-08 06:31:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of Nvidia driver settings (167.65 KB, image/png)
2021-07-19 02:24 UTC, tylerguglielmo
no flags Details

Description tylerguglielmo 2021-07-19 02:24:21 UTC
Created attachment 1803207 [details]
Screenshot of Nvidia driver settings

Description of problem:

I have recently installed F34 on a new Razer Blade 14 (laptop) machine with an NVIDIA 3060 GPU and AMD CPU. So far I have manged to install the Nvidia drivers from rpm fusion, and make the dGPU the primary GPU. The laptop screen runs fine off the GPU, as well as HDMI video, however HDMI audio is not working (as far as I know the HDMI port is directly connected to the dGPU). The internal laptop speakers are working, but they may be running off the CPU’s internal GPU.

Hoping someone has some ideas on what to do here. Here are some screenshots of various things to give you an idea of what I am working with.

Here is the file /etc/X11/xorg.conf.d/nvidia.conf (against the file’s wishes, I edited it and put the

<Option "PrimaryGPU" "yes">

lines in there)

  1 #This file is provided by xorg-x11-drv-nvidia
  2 #Do not edit
  3 
  4 Section "OutputClass"
  5     Identifier "nvidia"
  6     MatchDriver "nvidia-drm"
  7     Driver "nvidia"
  8     Option "AllowEmptyInitialConfiguration"
  9     Option "SLI" "Auto"
 10     Option "BaseMosaic" "on"
 11     Option "PrimaryGPU" "yes"
 12 EndSection
 13 
 14 Section "ServerLayout"
 15     Identifier "layout"
 16     Option "AllowNVIDIAGPUScreens"
 17     Option "PrimaryGPU" "yes"
 18 EndSection
===================================================================

The output of
lspci | grep VGA
is

01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c4)
====================================================================

The output of
lspci | grep Audio
is

01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
===================================================================

Output of 
aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
=================================================================


Version-Release number of selected component (if applicable):
Fedora 34


How reproducible:
Everytime I plug an HDMI cable in


Steps to Reproduce:
1. Plug in Hdmi cable
2. Play something with sound
3. Hear nothing

Actual results:
No Sound


Expected results:
Sound


Additional info:
Ask and you shall receive

Comment 1 tylerguglielmo 2021-07-20 20:44:54 UTC
Running

sudo dnf swap - -allowerasing pipewire-pulseaudio pulseaudio

rebooting, then

sudo dnf swap --allowerasing pulseaudio pipewire-pulseaudio

and rebooting again got my microphone working. However, HDMI audio out is still not working at all.

I also just tested the headphone jack, and audio is extremely faint. If I turn up volume settings past 100% the sound gets a little louder but distorted. The headphones are essentially unusable either way.

Comment 2 tylerguglielmo 2021-08-10 02:29:16 UTC
Here is some additional info.  This seems like something strange.  Maybe there are some setting to change here?

[tyler@fedora: ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC897 Analog [ALC897 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Comment 3 tylerguglielmo 2021-08-10 02:31:08 UTC
More info

[tyler@fedora: ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=4
    HDA NVidia, HDMI 4
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
    HDA NVidia, HDMI 5
    HDMI Audio Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC897 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

Comment 4 Fedora Update System 2021-08-12 07:26:12 UTC
FEDORA-2021-667b4bfc51 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-667b4bfc51

Comment 5 Fedora Update System 2021-08-13 01:21:51 UTC
FEDORA-2021-667b4bfc51 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 tylerguglielmo 2021-08-13 16:07:06 UTC
This problem persists and should 100% not be closed. Pls help

Comment 7 Ben Cotton 2022-05-12 16:58:17 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Ben Cotton 2022-06-08 06:31:51 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.