Bug 450271 - Display-Port Audio output not being recognized automatically. This works in X11 sessions but not Wayland sessions.
Summary: Display-Port Audio output not being recognized automatically. This works in X...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.24.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 01:26 UTC by Abdul
Modified: 2022-03-17 04:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
pact list output on the X11 session (17.35 KB, text/plain)
2022-02-15 13:04 UTC, Abdul
Details
pact list output on the Wayland session (32.51 KB, text/plain)
2022-02-15 13:04 UTC, Abdul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abdul 2022-02-15 01:26:02 UTC
Hello

I apologize in advance if this is the wrong place to report this. The reason I think it is something related to plasma is that it is not reproducible in X11 sessions.

SUMMARY
Audio output through the Display-Port cable to my monitor is not being recognized.
The monitor is Gigabyte G27QC 27''

STEPS TO REPRODUCE
1. Start a Wayland session with the same setup

OBSERVED RESULT
No Audio output device.

EXPECTED RESULT
HDMI / Display-Port 3 audio device that uses the monitor's speakers.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux x86_64
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
I am using a RTX 3070 with the nvidia 510.47.03-6 driver. with GBM enabled in kernal parameters to be able to lunch the Wayland session.

I'll be glad to provide anymore needed information.
Comment 1 Nicolas Fella 2022-02-15 12:27:42 UTC
Please attach the output of "pactl list" for both X11 and Wayland
Comment 2 Abdul 2022-02-15 13:04:14 UTC
Created attachment 146767 [details]
pact list output on the X11 session
Comment 3 Abdul 2022-02-15 13:04:40 UTC
Created attachment 146768 [details]
pact list output on the Wayland session
Comment 4 Abdul 2022-02-15 13:07:34 UTC
I would like to add that sometimes the audio output will not be recognized on X11 session login. I have to turn off and on the screen for it to be recognized.
However, it is never recognized in the Wayland session.
Comment 5 Nicolas Fella 2022-02-15 15:33:52 UTC
Note that for HDA NVidia GA104 High Definition Audio Controller the current profile is set to "Off". If you change that to "Digital Stereo (HDMI 3) Output" in the system setting do you get your audio outputs?
Comment 6 Abdul 2022-02-15 17:29:13 UTC
(In reply to Nicolas Fella from comment #5)
> Note that for HDA NVidia GA104 High Definition Audio Controller the current
> profile is set to "Off". If you change that to "Digital Stereo (HDMI 3)
> Output" in the system setting do you get your audio outputs?

Ah yes it works fine now. So this means that this is a human error and not a bug right? 
Sorry if that should've been obvious, I didnt think different sessions will have different audio configurations.
Comment 7 Nicolas Fella 2022-02-15 17:32:20 UTC
When you reboot the system, does it stay that way or is it set to Off again?
Comment 8 Abdul 2022-02-15 20:44:22 UTC
Yes it stays the way it is, with the correct profile.
Comment 9 Bug Janitor Service 2022-03-02 04:35:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2022-03-17 04:35:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!